Kavita/UI/Web
Joe Milazzo b55d9e3994
CBL Import Rework (#1862)
* Fixed a typo in a log

* Invalid XML files now "validate" correctly by sending back a failure.

* Cleaned up messaging on backend and frontend to provide some linking on series name when collision, handle corrupt xml files, etc.

* When reading list conflict occurs, show the reading list name that's conflicting. Started refactoring the code to allow multiple files to be imported at once.

* Started adding new CBL elements for some enhancements I have planned with maintainers.

* Default to empty string for IpAddress to allow to fallback into existing experience

* Tweaked the layout of reading list page (not complete), moved some not used much controls to page extras and reordered the buttons for reading list

* Edit Reading Lists now allows selection of cover image from existing items

* Fixed a bug where cover chooser base64 to image would fail to write webp files.

* Refactored the validate step to now handle multiple files in one go.

* Clean up code

* Don't show CBL name if there were xml errors that prevented showing it

* Don't allow user to go prev step after they perform the import.

* Cleaned up the heading code for accordions

* Fixed a bug with import keeping failed items

* Sort the failures to the bottom of result windows

* CBL import is pretty solid. Need one pass from Robbie on Reading List Page
2023-03-07 13:18:26 -08:00
..
.github/workflows On Deck + Misc Fixes and Changes (#1215) 2022-04-11 15:43:40 -07:00
src CBL Import Rework (#1862) 2023-03-07 13:18:26 -08:00
.editorconfig Angular 15 (#1764) 2023-01-30 06:27:52 -08:00
.eslintrc.json Angular 15 (#1764) 2023-01-30 06:27:52 -08:00
.gitignore On Deck + Misc Fixes and Changes (#1215) 2022-04-11 15:43:40 -07:00
angular.json Bumped css budget (#1856) 2023-03-06 12:34:31 -08:00
LICENSE The big one (#396) 2021-07-17 14:03:11 -05:00
package-lock.json Reading List Fixes (#1784) 2023-02-12 08:20:51 -08:00
package.json Reading List Fixes (#1784) 2023-02-12 08:20:51 -08:00
README.md [Manga Reader] Swipe Support (#1735) 2023-01-09 06:48:18 -08:00
tsconfig.app.json Angular 15 (#1764) 2023-01-30 06:27:52 -08:00
tsconfig.json CBL Import (#1834) 2023-03-03 14:51:11 -08:00
tsconfig.spec.json The big one (#396) 2021-07-17 14:03:11 -05:00

Kavita Webui

This project was generated with Angular CLI version 11.0.0.

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. Your backend must be served on port 5000.

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 --prod 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.

Run npx playwright test --reporter=line or npx playwright test to run e2e tests.

Connecting to your dev server via your phone

ng serve --host 0.0.0.0 and update environment.ts to your local ip.