Skip to content

Task 018: Merge TemplatedInput and TemplatedTextarea - #16

Merged
Igloczek merged 3 commits into
masterfrom
task/018-merge-templated-fields
Jun 30, 2026
Merged

Igloczek merged 3 commits into
masterfrom
task/018-merge-templated-fields

Conversation

@Igloczek

@Igloczek Igloczek commented Jun 30, 2026 •

Copy link
Copy Markdown
Collaborator

Implements tasks/018-merge-templated-fields.md from the ponytail audit backlog.

Goal

One templated field component instead of two copies sharing Liquid help text.

Scope

  • Create TemplatedField.vue with as prop (input | textarea) or multiline boolean.
  • Migrate ~14 notification components from TemplatedInput / TemplatedTextarea.
  • Delete the two old components.

Acceptance criteria

  • TemplatedInput.vue and TemplatedTextarea.vue deleted.
  • All notification forms using templated fields still bind v-model correctly.
  • Liquid introduction help block appears once in the new component.
  • bun run lint passes.
  • bun run build:frontend succeeds.

Depends on

Nothing.

Verification

bun run lint
bun run build:frontend
rg "TemplatedInput|TemplatedTextarea" src

Audit reference

Finding #21 — duplicate templated field components.

@Igloczek

Copy link
Copy Markdown
Collaborator Author

/ponytail-review

  • Scope limited to templated field consolidation; no behavior changes beyond component merge
  • as="input" used for SMTP subject and Ntfy title; as="textarea" (default) for message/body fields
  • Remaining rg hits are only legacy computed property names (e.g. telegramTemplatedTextareaPlaceholder), not component imports

16 files changed, 87 insertions(+), 158 deletions(-)

@Igloczek
Igloczek force-pushed the task/018-merge-templated-fields branch from 9b8a61f to 5c91ed0 Compare June 30, 2026 12:03
Igloczek added 3 commits June 30, 2026 14:19
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
Igloczek force-pushed the task/018-merge-templated-fields branch from 5c91ed0 to e5301a6 Compare June 30, 2026 12:19
@Igloczek
Igloczek merged commit 6d391ea into master Jun 30, 2026
1 check passed
Igloczek added a commit that referenced this pull request Aug 8, 2026
Task 018: Merge TemplatedInput and TemplatedTextarea
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