ObsiViewer/index.tsx
Bruno Charest 545c07a4b3 feat: enhance notes list with filtering, sorting and view modes
- Added comprehensive filtering system with support for file types, tags, and quick links
- Implemented sort options (title, created, updated) with dropdown menu
- Added three view modes (compact, comfortable, detailed) for different density layouts
- Added note color indicators and hover actions (edit, delete) to note cards
- Integrated file type detection with appropriate icons for different content types
- Added filter badges to show
2025-10-31 10:54:17 -04:00

34 lines
1.1 KiB
TypeScript

import { bootstrapApplication } from '@angular/platform-browser';
import { provideHttpClient } from '@angular/common/http';
import { registerLocaleData } from '@angular/common';
import { LOCALE_ID, provideZonelessChangeDetection, APP_INITIALIZER } from '@angular/core';
import localeFr from '@angular/common/locales/fr';
import { AppComponent } from './src/app.component';
import { provideViewers } from './src/app/services/file-viewer-registry.service';
import { initializeRouterLogging } from './src/core/logging/log.router-listener';
import { initializeVisibilityLogging } from './src/core/logging/log.visibility-listener';
registerLocaleData(localeFr);
bootstrapApplication(AppComponent, {
providers: [
provideZonelessChangeDetection(),
provideHttpClient(),
{ provide: LOCALE_ID, useValue: 'fr' },
...provideViewers(),
{
provide: APP_INITIALIZER,
useFactory: initializeRouterLogging,
multi: true,
},
{
provide: APP_INITIALIZER,
useFactory: initializeVisibilityLogging,
multi: true,
},
],
}).catch(err => console.error(err));
// AI Studio always uses an `index.tsx` file for all project types.