Commit graph

29 commits

Author SHA1 Message Date
Johannes Millan
ae63a304a1 build(lighthouse): raise total resource count budget to 300
Lazy route/feature chunks have drifted from 151 (Mar consolidation) back
to 251, tripping the 250 total-count gate in budget.json. Resource count
is a coarse tripwire on HTTP/2 (size + timing budgets guard real perf);
bump with headroom rather than chasing every +1. Align the duplicate
.lighthouserc total.count (was a stale 220 warn) to the same 300.
2026-06-09 17:07:03 +02:00
Johannes Millan
4c869c2e15
feat(plugins): migrate Gitea and Linear issue providers to plugins (#8204)
* feat(plugins): migrate Gitea and Linear issue providers to plugins

* feat(plugins): localize Gitea issue provider config form

Port the existing Gitea translations (F.GITEA.* + shared issue-content keys)
into the plugin's own i18n so non-English users keep localized config labels
after the plugin migration. Generated for all 28 app locales.

* docs(plugins): note Linear teamId/projectId filter is now active

The built-in Linear provider defined teamId/projectId config fields but never
passed them to the search, so they were inert. The plugin honors them as the
field labels promise; document this as a deliberate behavior change.

* test(issue): fix unknown casts in issue-provider migration spec

The spec compiled clean under the app tsconfig (which excludes *.spec.ts)
but failed CI's tsconfig.spec.json build: casting state.entities[id]
(IssueProvider | undefined) straight to Record<string, unknown> is a
TS2352 non-overlap error, and .toBe(already) on a bare literal is a
TS2345. Add the intermediate 'as unknown' so the spec type-checks.

* ci(lighthouse): raise total resource-count budget to 260

Migrating the Gitea and Linear issue providers to bundled plugins adds
two more entries to BUNDLED_PLUGIN_PATHS. Each bundled plugin is
discovered at startup, fetching its manifest.json plus icon.svg, which
pushed the Lighthouse total request count to 251, one over the previous
250 budget. The increase is an inherent, accepted consequence of the
built-in -> bundled-plugin migration (same as github/clickup); bump the
budget to 260 to reflect the new baseline with modest headroom.
2026-06-09 15:03:20 +02:00
Johannes Millan
83800f29e9 fix(ci): guard app-state selectors against undefined and bump lighthouse budgets
App-state selectors crashed during test teardown when the feature store
was unregistered. Lighthouse resource count budgets increased for the
new deadline feature chunks (scripts 170→200, total 220→250).
2026-03-14 13:04:44 +01:00
Johannes Millan
324460dae4 perf: consolidate lazy route chunks (251 → 151)
Group individual loadComponent routes into fewer lazy chunks:
- Tag + project sub-routes share one chunk via context.routes.ts
  using loadChildren with static component imports
- Standalone pages share one chunk via pages.routes.ts barrel
  re-export with loadComponent importing from same module
- Use canActivateChild for FocusOverlayOpenGuard so it re-fires
  when navigating between child routes within the same context

Lighthouse resource budgets updated to match new chunk count.
2026-03-12 12:25:52 +01:00
Johannes Millan
9d488fc237 build(lighthouse): increase resource count budgets
Build now produces 251 script and 295 total resources due to Angular
code-splitting. Raise thresholds to 270/320 to match current output.
2026-03-12 10:54:00 +01:00
Claude
47001a1228
fix(lighthouse): increase font budget for Material Symbols upgrade
The font budget was set to 260KB before the Material Icons to Material
Symbols upgrade. Material Symbols font is ~456KB, causing Lighthouse CI
to fail. Increase budget to 520KB to accommodate the larger font with
headroom for future updates.
2026-01-21 23:18:58 +00:00
Johannes Millan
5e43c022d6 build: fix lighthouse again 5 2025-10-30 17:53:02 +01:00
Johannes Millan
911e81deb4 build: fix lighthouse again 4 2025-10-30 17:45:12 +01:00
Johannes Millan
f57c178981 build: fix lighthouse again 3 2025-10-30 17:43:49 +01:00
Johannes Millan
ae0a8f84f8 build: fix lighthouse again 2 2025-10-30 17:25:43 +01:00
Johannes Millan
df014a9933 build: fix lighthouse again 2025-10-30 16:54:21 +01:00
Johannes Millan
cab1043a46 build: restore old lighthouse-ci.yml cfg 2025-10-30 16:21:41 +01:00
Johannes Millan
05286eb6c3 Revert "build: attempt to fix lighthouse check"
This reverts commit e2c4579c12.
2025-10-29 19:40:18 +01:00
Johannes Millan
85360ce039 Revert "build: try to fix lighthouse"
This reverts commit af93197dff.
2025-10-29 19:40:18 +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
ac833bf70c Revert "build: try to fix lighthouse 3"
This reverts commit 6e5e237856.
2025-10-29 19:40:18 +01:00
Johannes Millan
6e5e237856 build: try to fix lighthouse 3 2025-10-29 19:05:06 +01:00
Johannes Millan
562251e2d5 build: try to fix lighthouse 2 2025-10-29 18:50:34 +01:00
Johannes Millan
af93197dff build: try to fix lighthouse 2025-10-29 18:22:08 +01:00
Johannes Millan
e2c4579c12 build: attempt to fix lighthouse check 2025-10-29 17:15:39 +01:00
Johannes Millan
44b604ce65 build: fix lighthouse 2025-10-28 15:04:22 +01:00
Johannes Millan
ce22606bf3 build: unify lighthouse config 2025-10-23 18:54:32 +02:00
Harshita
3696d62fba fix: properly handle single emoji as project icon 2025-09-20 20:14:06 +05:30
Johannes Millan
b9550f4bfd build: adjust lighthouse warning thresholds 2025-09-13 12:58:25 +02:00
Johannes Millan
64012518a8 chore: adjust Lighthouse budget limits for current resource counts
- Increase script count limit from 90 to 100 (current: 93)
- Increase total resource count limit from 120 to 135 (current: 127)
- Provides reasonable headroom while maintaining performance standards
2025-06-29 15:32:51 +02:00
Johannes Millan
1d1e587639 ci: update Lighthouse resource count thresholds
Increase resource count limits to accommodate current app size:
- Script count: 90 → 100 (current: 93)
- Total resources: 120 → 140 (current: 129)

These changes prevent CI failures while maintaining reasonable
performance constraints.
2025-06-27 23:04:33 +02:00
Johannes Millan
8acea4c70b build: update lighthouse cfg 2025-06-17 22:42:22 +02:00
Johannes Millan
92c8e60f60 build: update lighthouse cfg 2025-06-17 21:04:37 +02:00
Johannes Millan
bd541c067b build: update lighthouse cfg 2025-06-17 20:53:30 +02:00