From c45613a3ad66f224328be827a5a7d50639387955 Mon Sep 17 00:00:00 2001 From: dave Date: Sat, 28 Mar 2026 16:34:39 +0000 Subject: [PATCH] storkit: create 442_refactor_deduplicate_stage_display_name_into_shared_module --- ...e_stage_display_name_into_shared_module.md | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .storkit/work/1_backlog/442_refactor_deduplicate_stage_display_name_into_shared_module.md diff --git a/.storkit/work/1_backlog/442_refactor_deduplicate_stage_display_name_into_shared_module.md b/.storkit/work/1_backlog/442_refactor_deduplicate_stage_display_name_into_shared_module.md new file mode 100644 index 00000000..35c02d6c --- /dev/null +++ b/.storkit/work/1_backlog/442_refactor_deduplicate_stage_display_name_into_shared_module.md @@ -0,0 +1,23 @@ +--- +name: "Deduplicate stage_display_name into shared module" +--- + +# Refactor 442: Deduplicate stage_display_name into shared module + +## Current State + +- TBD + +## Desired State + +`stage_display_name` has a `pub fn` in `chat/transport/matrix/notifications.rs` and a private copy in `chat/transport/matrix/delete.rs` with slightly different casing ("backlog" vs "Backlog", "in-progress" vs "Current"). The delete.rs copy should use the canonical version from notifications.rs, adjusting the callsite if the casing difference matters. + +## Acceptance Criteria + +- [ ] Private stage_display_name in delete.rs is removed +- [ ] delete.rs uses the pub version from notifications.rs +- [ ] Display casing is consistent or callsite is adjusted to handle the difference + +## Out of Scope + +- TBD