mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1186] [MERGED] Extract tracker card color manager logic #4964
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#4964
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/1186
Author: @Xelvanis
Created: 5/25/2026
Status: ✅ Merged
Merged: 5/25/2026
Merged by: @Xelvanis
Base:
refactor← Head:chore/tracker-card-color-manager📝 Commits (2)
0ffc44eExtract tracker card color logic into testable hookf369de8Add non-target tracker color cache assertions📊 Changes
4 files changed (+762 additions, -516 deletions)
View changed files
📝
src/features/shell/settings/components/settings/TrackerCardColorSettings.tsx(+15 -516)➕
src/features/shell/settings/hooks/tracker-card-color-manager.test.ts(+164 -0)➕
src/features/shell/settings/hooks/tracker-card-color-manager.ts(+289 -0)➕
src/features/shell/settings/hooks/use-tracker-card-color-manager.ts(+294 -0)📄 Description
Summary
TrackerCardColorSettings.Linked Issue
No linked issue.
Changelog
Not needed: internal refactor/test coverage only; no release-notable behavior change.
Validation
pnpm vitest run src/features/shell/settings/hooks/tracker-card-color-manager.test.tspnpm typecheckpnpm check:architecturepnpm buildpnpm testNative QA
Tauri app pass completed against the tracker card color settings flow:
Remaining Risk
Character-target save was covered by focused cache tests, but not manually exercised in native Tauri during the app pass.
Summary by CodeRabbit
Refactor
Tests
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.