Archives (archiveYoung, archiveOld) were being loaded into NgRx state
at startup but their selectors were never read anywhere in the codebase.
All code that needs archives loads them directly from IndexedDB via
ArchiveDbAdapter (StateSnapshotService, TaskArchiveService, etc).
This change removes the archive store registrations from NgRx, which:
- Reduces memory usage for users with large archives
- Improves startup time (no longer dispatching large archive data to NgRx)
- Reduces GC pressure (fewer large objects in memory)
Archive functionality is unaffected - archives are still stored in
IndexedDB and loaded on-demand when needed for worklog, sync, etc.
- Updated Angular CLI from 19.2.15 to 20.1.5
- Updated Angular Core and all related packages to 20.1.6
- Updated workspace defaults and TypeScript configurations
- Migrated DOCUMENT imports from @angular/common to @angular/core
Note: typia transform error occurred but core update successful
- Set inlineCritical to true in all production builds
- This inlines critical CSS in the HTML for faster FCP
- Roboto fonts already have font-display: swap via @fontsource
- Update productionWeb and stageWeb configurations to use proper outputPath format
- Use object format with base: "dist" and browser: "browser" to ensure output goes to dist/browser
- Fixes "The web assets directory must contain an index.html file" error during npm run sync:android
- Ensures compatibility with Angular 19 application builder output structure
Angular was configured to not generate source maps by default, but to do it in
production.
This seems exactly backwards---I don't want source maps in production (to save
space), but do wants them during development
* upstream/master: (131 commits)
5.9.15
fix: prevent adding tags via short syntax for child tasks #568
fix: app not closing on windows for some people #567
fix: make tests work again
fix: special case #568
fix: throw error for inconsistent sub task data #568
feat: write auto repair for wrongly unarchived archived sub tasks #568
feat: write auto repair for wrongly archived sub tasks
5.9.14
fix: about for mas...
fix: text overlap
Improve portuguese translation
build: fix syntax error in mac deploy script
build: fix syntax error in mac deploy script
build: fix mac deploy script 2
build: fix mac deploy script
5.9.13
build: remove productName again for mas
5.9.12
build: add correct author name
...
* upstream/master: (83 commits)
docs: update contributing stuff
docs: update contributing stuff
feat: make AppDataForProjects non optional
5.9.0
fix: lint
feat(autoRepair): make stray backup stuff translateable
feat(autoRepair): re-enable stray backup check
feat(autoRepair): add a little bit of logging
feat(autoRepair): make restoring orphaned tasks work
feat(autoRepair): make restore from archive work
feat(autoRepair): make _removeMissingIdsFromLists work
feat(autoRepair): make _removeDuplicatesFromArchive work
feat(autoRepair): make fix duplicate tasks work
refactor(autoRepair): make dataRepair non async
test(autoRepair): prepare more tests
test(autoRepair): make app data mock available
test(autoRepair): outline tests
feat(autoRepair): trigger for data import and data init if data is broken
fix: another read-only error #538
test: make new error cases work
...