Remove sprint note type references #48

Closed
opened 2026-03-23 19:28:49 +00:00 by forgejo_admin · 0 comments

Type

Feature

Lineage

plan-platform-sprint-cleanup - standalone cleanup task from pal-e-docs#193

Repo

forgejo_admin/pal-e-app

User Story

As a developer
I want the removed sprint note type cleaned from the frontend
So that the UI does not offer a note type that no longer exists in the platform

Context

The sprint note type has been removed from pal-e-docs as part of issue #193 (pal-e-docs repo). The frontend still references it in the color map and the note type dropdown. These references need to be removed to keep the frontend consistent with the backend.

File Targets

Files the agent should modify:

  • src/lib/colors.ts -- remove sprint: '#2563eb' from TYPE_COLORS
  • src/routes/notes/[slug]/edit/+page.svelte -- remove 'sprint' from NOTE_TYPES array

Acceptance Criteria

  • sprint no longer appears in TYPE_COLORS in colors.ts
  • sprint no longer appears in NOTE_TYPES array in edit page
  • No other references to sprint note type remain in the codebase

Test Expectations

  • Visual inspection: edit page dropdown no longer shows sprint
  • Build succeeds without errors
  • Run command: npm run build

Constraints

  • Two-line change only. No other modifications needed.
  • Keep trailing comma conventions consistent with surrounding code.

Checklist

  • PR opened
  • Tests pass
  • No unrelated changes
  • pal-e-docs#193 -- parent cleanup issue
### Type Feature ### Lineage `plan-platform-sprint-cleanup` - standalone cleanup task from pal-e-docs#193 ### Repo `forgejo_admin/pal-e-app` ### User Story As a developer I want the removed sprint note type cleaned from the frontend So that the UI does not offer a note type that no longer exists in the platform ### Context The sprint note type has been removed from pal-e-docs as part of issue #193 (pal-e-docs repo). The frontend still references it in the color map and the note type dropdown. These references need to be removed to keep the frontend consistent with the backend. ### File Targets Files the agent should modify: - `src/lib/colors.ts` -- remove `sprint: '#2563eb'` from TYPE_COLORS - `src/routes/notes/[slug]/edit/+page.svelte` -- remove `'sprint'` from NOTE_TYPES array ### Acceptance Criteria - [ ] `sprint` no longer appears in TYPE_COLORS in colors.ts - [ ] `sprint` no longer appears in NOTE_TYPES array in edit page - [ ] No other references to sprint note type remain in the codebase ### Test Expectations - [ ] Visual inspection: edit page dropdown no longer shows sprint - [ ] Build succeeds without errors - Run command: `npm run build` ### Constraints - Two-line change only. No other modifications needed. - Keep trailing comma conventions consistent with surrounding code. ### Checklist - [ ] PR opened - [ ] Tests pass - [ ] No unrelated changes ### Related - pal-e-docs#193 -- parent cleanup issue
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
forgejo_admin/pal-e-docs-app#48
No description provided.