Repository navigation
Task 022: Lazy-load notification form components - #21
Merged
Merged
Conversation
5 tasks
Collaborator
Author
/ponytail-reviewMain bundle −224 kB; provider forms split into async chunks. No new registry abstraction. Lean already. Ship.
|
Igloczek
force-pushed
the
task/022-lazy-load-notification-forms
branch
from
June 30, 2026 12:03
fe2c944 to
fb75c5d
Compare
Igloczek
added a commit
that referenced
this pull request
Jun 30, 2026
Consolidate duplicate templated field components into a single TemplatedField with an `as` prop (`input` | `textarea`). Migrate all 14 notification forms and remove the old components. Task 018 — ponytail audit finding #21.
Replace 94 eager static imports with import.meta.glob + defineAsyncComponent so each provider form loads as its own chunk on demand. Wrap the dynamic form in NotificationDialog with Suspense for a loading spinner. Main app chunk: 1869 kB → 1645 kB (−224 kB).
Igloczek
force-pushed
the
task/022-lazy-load-notification-forms
branch
from
June 30, 2026 12:21
fb75c5d to
62ca9c5
Compare
Igloczek
added a commit
that referenced
this pull request
Aug 8, 2026
Consolidate duplicate templated field components into a single TemplatedField with an `as` prop (`input` | `textarea`). Migrate all 14 notification forms and remove the old components. Task 018 — ponytail audit finding #21.
Igloczek
added a commit
that referenced
this pull request
Aug 8, 2026
…forms Task 022: Lazy-load notification form components
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements tasks/022-lazy-load-notification-forms.md from the ponytail audit backlog.
Goal
Stop bundling all 94 notification forms on initial load.
Scope
src/components/notifications/index.tsto use dynamic imports keyed by provider type.NotificationDialog.vueto resolve async components (loading state optional).Acceptance criteria
index.tshas no staticimport X from "./X.vue"for every provider (async map ordefineAsyncComponentfactory).bun run lintpasses.bun run build:frontendsucceeds.ANALYZE=1output).Depends on
Nothing (can run in parallel with Task 018).
Verification
Audit reference
Finding #3 — eager notification form imports.