Skip to content

Task 023: Drive NotificationDialog categories from registry metadata - #24

Merged
Igloczek merged 4 commits into
masterfrom
task/023-notification-dialog-metadata
Jun 30, 2026
Merged

Igloczek merged 4 commits into
masterfrom
task/023-notification-dialog-metadata

Conversation

@Igloczek

@Igloczek Igloczek commented Jun 30, 2026 •

Copy link
Copy Markdown
Collaborator

Implements tasks/023-notification-dialog-metadata.md from the ponytail audit backlog.

Goal

Remove ~200 LOC of hardcoded optgroup names in NotificationDialog.vue.

Scope

  • Add category/group metadata to src/server/notification-provider-registry.ts (or a shared JSON module imported by frontend).
  • Expose metadata via existing API or static import from a generated/shared file.
  • Replace notificationNameList computed in NotificationDialog.vue with registry-driven groups.

Acceptance criteria

  • Adding a new provider requires updating registry metadata only — not a large switch in NotificationDialog.vue.
  • All providers still appear in the correct category in the add-notification dropdown.
  • NotificationDialog.vue shrinks by at least 100 LOC.
  • bun run lint passes.
  • bun run build:frontend succeeds.

Depends on

Nothing.

Verification

bun run lint
bun run build:frontend
wc -l src/components/NotificationDialog.vue

Audit reference

Finding #20 — NotificationDialog provider taxonomy.

@Igloczek

Copy link
Copy Markdown
Collaborator Author

/ponytail-review

Deletion/simplification pass aligned with task scope. No speculative abstractions added.

6 files changed, 305 insertions(+), 370 deletions(-)

@Igloczek
Igloczek force-pushed the task/023-notification-dialog-metadata branch from 295eee9 to 7336bb6 Compare June 30, 2026 12:03
Igloczek added a commit that referenced this pull request Jun 30, 2026
Stop loading country-flag-emoji-polyfill on every page boot. Native flag
emoji rendering is sufficient; Windows may show two-letter regional codes
instead of flag glyphs.

Task 015 — audit finding #24.
Igloczek added 4 commits June 30, 2026 14:30
Add shared notification-provider-metadata module as the single source of
truth for provider module paths, display labels, and dropdown categories.
Refactor NotificationDialog to render optgroups from registry data instead
of a large hardcoded computed property.

Task 023 — ponytail audit finding #20.
@Igloczek
Igloczek force-pushed the task/023-notification-dialog-metadata branch from 7336bb6 to a2e2cf4 Compare June 30, 2026 12:30
@Igloczek
Igloczek merged commit b60f782 into master Jun 30, 2026
@Igloczek
Igloczek deleted the task/023-notification-dialog-metadata branch June 30, 2026 12:58
Igloczek added a commit that referenced this pull request Aug 8, 2026
Stop loading country-flag-emoji-polyfill on every page boot. Native flag
emoji rendering is sufficient; Windows may show two-letter regional codes
instead of flag glyphs.

Task 015 — audit finding #24.
Igloczek added a commit that referenced this pull request Aug 8, 2026
…adata

Task 023: Drive NotificationDialog categories from registry metadata
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant