Commit graph

70 commits

Author SHA1 Message Date
Johannes Millan
b2a807f7db perf(archive): remove unused NgRx archive stores to reduce memory usage
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.
2026-01-14 13:45:27 +01:00
Johannes Millan
b964c621ea build(build): eliminate CommonJS module warnings
Replace clipboard, file-saver, and query-string with native browser APIs.
Add remaining CommonJS dependencies to allowedCommonJsDependencies.
2026-01-10 17:00:43 +01:00
Johannes Millan
8e50702009 test: fix 2025-12-05 17:10:37 +01:00
Johannes Millan
e271e130e6 Revert "build: try to fix lighthouse 2"
This reverts commit 562251e2d5.
2025-10-29 19:40:18 +01:00
Johannes Millan
562251e2d5 build: try to fix lighthouse 2 2025-10-29 18:50:34 +01:00
Johannes Millan
dc525eb0a9 refactor: modernize scss syntax and get rid of most of the warnings 2025-09-04 20:29:24 +02:00
Johannes Millan
4987007009 feat: update Angular to v20.1.6
- 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
2025-08-13 19:47:44 +02:00
Johannes Millan
6bed63b52d perf: enable critical CSS inlining for faster initial paint
- 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
2025-08-09 20:55:15 +02:00
Johannes Millan
17963c15c9 build: adjust warn limits (for now) 2025-08-01 18:46:28 +02:00
Johannes Millan
97dd02fe7a build: env file improve 2025-07-14 19:47:48 +02:00
Johannes Millan
b411a6fc6e fix(build): fix Android CI build by correcting Angular output paths
- 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
2025-06-27 14:07:04 +02:00
Johannes Millan
b429492e9c build: re-add electron builder stuff 2025-06-27 12:12:13 +02:00
Johannes Millan
75f1b64105 build: update configuration files
Update various configuration files as part of the build system reorganization.
2025-06-27 10:25:00 +02:00
Johannes Millan
130f2278a1 build: disable sass deprecation warnings 2024-12-18 10:24:11 +01:00
Johannes Millan
4f29224e65 build: add all files to linting 2024-06-19 10:22:36 +02:00
Johannes Millan
74b7ef409d migrate: service worker 2024-06-18 12:26:50 +02:00
Johannes Millan
f2eaad8140 build: remove service worker for now 2024-06-15 13:27:43 +02:00
Johannes Millan
9b5b0892e3 build: upgrade ng core to 18 2024-06-15 12:59:52 +02:00
Johannes Millan
b3b95c58fc build: upgrade ng core to 17 2024-06-15 12:52:53 +02:00
Johannes Millan
2f4f3fcea3 feat(tour): polish styles 2024-01-30 10:53:24 +01:00
Johannes Millan
ba5728c866 build: make es lint faster 2024-01-29 09:57:15 +01:00
Johannes Millan
77219602ba feat(tour): improve styling 2024-01-25 15:18:11 +01:00
Johannes Millan
74d1c40964 feat(tour): add basic steps 2024-01-24 14:54:22 +01:00
Johannes Millan
ff5413c16c fix(fullScreenBlocker): overlay not copied for build 2022-10-16 16:00:21 +02:00
Johannes Millan
4b92a3f9ee feat(fullScreenBlocker): make basic blocker work 2022-10-16 16:00:21 +02:00
Johannes Millan
3895c130b8 build: update angular core 2022-08-05 12:36:54 +02:00
Johannes Millan
dcdfb722c4 build: remove angular custom-webpack in favor of standard angular builder 2021-10-15 12:17:20 +02:00
Johannes Millan
93d30f6443 build: remove electron reload 2021-10-01 15:50:52 +02:00
Johannes Millan
50e6c5b868 build: speed up again with simplified dev build 2021-07-02 13:42:19 +02:00
Johannes Millan
9819d807ff build: disable css inlining 2021-07-02 13:42:19 +02:00
Johannes Millan
7404b6b1ad build: remove deprecated extractCss 2021-05-26 21:15:40 +02:00
William J. Bowman
7d78cf3e1f Re-enable source maps in production 2021-05-13 22:28:53 +02:00
William J. Bowman
4f8b75dec3 Default to including source maps, but remove in production
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
2021-05-13 22:28:53 +02:00
Luca Dalla Valle
f4ef0e2047 feat(eslint): add eslint migration package and perform migration 2021-01-17 13:22:18 +01:00
Johannes Millan
afca335102 fix: reload not working 2020-10-16 22:49:46 +02:00
Dominik Broj
2199eb2c12 Merge remote-tracking branch 'upstream/master' into build/angular-10-upgrade
* 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
  ...
2020-10-10 17:21:27 +02:00
Johannes Millan
c3f5b18535 build: add stageWeb target 2020-10-04 15:54:52 +02:00
Johannes Millan
4a8d4428ed build: disable service worker for production and stage 2020-10-04 15:53:18 +02:00
Johannes Millan
fb3dd42f02 build: disable service worker for production 2020-10-04 15:52:15 +02:00
Dominik Broj
5f3870537a Merge remote-tracking branch 'upstream/master' into build/angular-10-upgrade
* 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
  ...
2020-09-26 13:14:44 +02:00
Johannes Millan
ad53014d4d chore: add stage environment 2020-09-18 15:55:28 +02:00
Dominik Broj
dc1ccacbd9 build: remove e2e with protractor 2020-08-29 17:56:24 +02:00
Johannes Millan
6dfc764ace chore: DOWNGRADE ANGULAR from 10 to 9 2020-07-07 16:45:32 +02:00
Johannes Millan
ebf3d19611 chore: remove unnecessary deps 2020-07-06 00:53:23 +02:00
Johannes Millan
5482581eb9 chore: make everything work without warnings again 2020-07-06 00:27:54 +02:00
Johannes
823f2e1fc3 fix: touchOnly not working as expected 2020-07-01 15:17:09 +02:00
Johannes Millan
2a2f4cf052 chore: move tsconfig.worker.json 2020-06-23 13:29:54 +02:00
Johannes Millan
424f7d9975 chore: add custom webpack 2020-06-18 23:46:03 +02:00
Johannes Millan
3f5b9dd789 chore: add new custom datetime picker 2020-06-15 17:39:38 +02:00
Johannes Millan
db73946589 chore: let e2e tests run on different port 2020-05-15 18:13:19 +02:00