Commit Graph
9 Commits
Author SHA1 Message Date
James Cox 0d6f83bed0 chore(ui): clear eslint no-unused-vars bucket
- Frontend lint cleanup:
  - remove unused imports, constants, locals, and callback parameters across the UI codebase
  - keep template and callback signatures intact where bindings still pass event arguments by explicitly consuming the values instead of changing behavior
- Metadata and reader surfaces:
  - trim dead symbols in the metadata editor, viewer, search, and reader flows without mixing in broader refactors
  - preserve existing runtime behavior while tightening the code paths that the ESLint bucket touches
- Validation:
  - ran `just ui lint` and cleared the `@typescript-eslint/no-unused-vars` bucket; the command still fails on the remaining ESLint backlog
  - ran `just ui check`; deps and typecheck pass, and the remaining failure is the outstanding ESLint backlog
2026-04-22 17:26:47 -04:00
James Cox 32765de84c style(frontend): enforce declaration-block-single-line-max-declarations in scss
- Stylelint:
  - re-enable declaration-block-single-line-max-declarations in the frontend Stylelint config
  - keep the rule change isolated to a formatting-only commit for easier rollback if needed
- Chart styles:
  - expand compressed declaration blocks in the stats chart styles into multi-line blocks
  - reformat the book flow empty-state styles without changing selectors or declarations
- Layout styles:
  - expand the topbar animation keyframe blocks and bulk ISBN status styles to satisfy the single-line declaration limit
- Validation:
  - run just ui stylelint
2026-04-22 17:26:46 -04:00
James Cox d95424dd22 style(frontend): enforce no-empty-source in scss
- Stylelint:
  - re-enable `no-empty-source` in the frontend Stylelint config while keeping the agreed Angular and legacy Sass exceptions untouched
- SCSS:
  - replace empty stylesheet files with explicit placeholder comments to document that those surfaces intentionally rely on shared styling
- Validation:
  - `just ui stylelint`
2026-04-22 17:26:45 -04:00
James Cox 55f448191f style(frontend): enforce rule-empty-line-before in scss
- Stylelint:
  - re-enable `rule-empty-line-before` in the frontend Stylelint config while preserving the agreed Angular and legacy Sass exceptions
- SCSS:
  - normalize blank-line spacing before nested rules and sibling blocks across frontend stylesheets without changing selectors or computed styles
- Validation:
  - `just ui stylelint`
2026-04-22 17:26:44 -04:00
James Cox e46f87eb96 style(frontend): enforce media-feature-range-notation in scss
- Stylelint:
  - re-enable `media-feature-range-notation` in the frontend Stylelint config while keeping the agreed Angular and legacy Sass exceptions untouched
- SCSS:
  - convert parenthesized `min-` and `max-` media features to context range notation across frontend stylesheets without changing breakpoint values
- Validation:
  - `just ui stylelint`
2026-04-22 17:26:43 -04:00
James Cox ddcbb5b666 style(frontend): enforce color-function-notation in scss
- Stylelint:
  - re-enable `color-function-notation` in the frontend Stylelint config while keeping the agreed Angular and legacy Sass exceptions unchanged
- SCSS:
  - normalize comma-based `rgb(...)` color syntax to modern space-and-slash notation across frontend stylesheets without changing color values
- Validation:
  - `just ui stylelint`
2026-04-22 17:26:43 -04:00
James Cox 130463bc4b style(frontend): enforce color-function-alias-notation in scss
- Stylelint:
  - re-enable `color-function-alias-notation` in the frontend Stylelint config while preserving the agreed Angular and legacy Sass exceptions
- SCSS:
  - replace legacy `rgba(...)` aliases with `rgb(...)` across the frontend stylesheet tree without changing color values or selector structure
- Validation:
  - `just ui stylelint`
2026-04-22 17:26:43 -04:00
James Cox 6921da76ba style(frontend): enforce alpha-value-notation in scss
- Stylelint:
  - re-enable `alpha-value-notation` in the frontend Stylelint config while keeping the agreed Angular and legacy Sass exceptions disabled
- SCSS:
  - rewrite decimal alpha values to percentage notation across the frontend stylesheet tree without changing selector structure or layout behavior
- Validation:
  - `just ui stylelint`
2026-04-22 17:26:43 -04:00
James Cox 874b013f75 refactor(frontend): rename booklore-ui to frontend
- Frontend path:
  - rename the tracked Angular app tree from `booklore-ui/` to `frontend/`
  - preserve file contents during the move so this commit stays focused on the path change itself
- Frontend docs:
  - update the moved frontend README and contribution guide where they refer to the renamed folder
  - keep those edits limited to path references introduced by the directory rename
2026-04-22 17:26:39 -04:00