mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-01-09 23:16:13 +01:00
Mejoras en frontend TypeScript: - Agrega notificaciones de error al usuario usando ToastService cuando falla la carga de metadatos (tags, correspondents, document types, etc.) - Mantiene console.error para debugging pero ahora también muestra mensajes visibles al usuario - Mensajes localizados con $localize para soporte multiidioma Mejoras en backend Python: - Agrega CanApplyAISuggestionsPermission al action apply_suggestion - Mejora logging de errores con información específica sobre qué objeto no se encontró y qué usuario intentó aplicar la sugerencia - Separa las excepciones DoesNotExist para proporcionar mensajes de error más específicos (Tag, Correspondent, DocumentType, StoragePath) - Agrega comentarios explicativos sobre validación de permisos Estos cambios aseguran que: 1. Los usuarios reciben feedback visible cuando algo falla 2. Se verifican permisos apropiados antes de aplicar sugerencias AI 3. Los logs contienen información detallada para debugging 4. Los mensajes de error son específicos y útiles Relacionado con: mejoras de CI/CD y calidad de código |
||
|---|---|---|
| .. | ||
| __mocks__ | ||
| e2e | ||
| src | ||
| .editorconfig | ||
| .eslintrc.json | ||
| .gitignore | ||
| .npmrc | ||
| angular.json | ||
| extra-webpack.config.ts | ||
| jest.config.js | ||
| messages.xlf | ||
| package-lock.json | ||
| package.json | ||
| playwright.config.ts | ||
| pnpm-lock.yaml | ||
| README.md | ||
| setup-jest.ts | ||
| tsconfig.app.json | ||
| tsconfig.json | ||
| tsconfig.spec.json | ||
PaperlessUi
This project was generated with Angular CLI version 10.1.5.
Development server
Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.
Code scaffolding
Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.
Build
Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --configuration production flag for a production build.
Running unit tests
Run ng test to execute the unit tests via Karma.
Running end-to-end tests
Run ng e2e to execute the end-to-end tests via Protractor.
Further help
To get more help on the Angular CLI use ng help or go check out the Angular CLI README.