[PR #3594] [MERGED] Improve tracker sidebar controls #6009

Closed
opened 2026-10-23 04:06:10 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/3594
Author: @Xelvanis
Created: 7/14/2026
Status: ✅ Merged
Merged: 7/14/2026
Merged by: @SpicyMarinara

Base: staging ← Head: feat/tracker-sidebar-settings


📝 Commits (2)

  • 05eea1e Improve tracker sidebar controls
  • f9f0b5b Merge branch 'staging' into feat/tracker-sidebar-settings

📊 Changes

8 files changed (+257 additions, -174 deletions)

View changed files

📝 packages/client/src/components/chat/HomeCreditsModal.tsx (+27 -0)
📝 packages/client/src/components/chat/RoleplayHUD.tsx (+1 -1)
📝 packages/client/src/components/panels/SettingsPanel.tsx (+1 -1)
📝 packages/client/src/components/ui/TrackerPanelIcon.tsx (+5 -16)
📝 packages/client/src/features/tracker-panel/components/TrackerDataSidebar.tsx (+8 -12)
📝 packages/client/src/features/tracker-panel/components/TrackerSidebarHeader.tsx (+213 -143)
📝 packages/client/src/features/tracker-panel/tracker-panel.types.ts (+1 -0)
📝 scripts/sync-credits.mjs (+1 -1)

📄 Description

Linked issue

Resolves #3595

Why this change

The Tracker Sidebar header had accumulated too many always-visible controls, making it crowded and harder to scan. The controls needed a compact home without losing quick access or keyboard usability.

What changed

  • Replaced the header's individual controls with a Settings toggle and animated drawer.
  • Anchored display controls to the left and edit controls to the right, ordered as side, size, hide, lock, add, and delete.
  • Made edit modes mutually exclusive and added roving arrow-key, Home, and End navigation.
  • Replaced the tracker glyph with a larger d20 icon and added the required Font Awesome attribution to Credits. (If you don't want this change for whatever reason, feel free to remove it)
  • Made the Credits contributor sync tolerate CRLF line endings.

Validation

  • pnpm check passes locally
  • Container (Docker / Podman) built and ran without issue
  • Ran the app, clicked through the changes manually
  • Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)
  • Above manual verification completed (describe below)
  • Read and followed CONTRIBUTING.md

Manual verification notes

  • pnpm check passed locally (TypeScript, ESLint, and production builds).
  • Client ESLint and node --check scripts/sync-credits.mjs passed during the final review.
  • The user manually verified the Settings drawer keyboard navigation, including arrow-key movement and the documented focus order.
  • Container validation, complete responsive/theme coverage, and automated browser smoke tests were not run.
  • pnpm credits:check now performs its comparison but reports the existing contributor snapshot as stale; contributor synchronization is required only during release preparation.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
  • Version/release files updated (only if this PR includes a version bump)

No installation, update, or release documentation is affected. The third-party icon attribution is included in the in-app Credits modal.

UI evidence (if applicable)

image

Summary by CodeRabbit

  • New Features

    • Added a collapsible settings toolbar to the tracker panel for managing editing modes, panel size, and placement.
    • Added keyboard navigation between tracker panel settings controls.
    • Closing the settings toolbar now clears the active editing mode.
  • UI Improvements

    • Updated tracker panel icons and styling for a cleaner, more consistent appearance.
    • Added a “Third-Party Assets” section to the credits modal with attribution and license information.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/3594 **Author:** [@Xelvanis](https://github.com/Xelvanis) **Created:** 7/14/2026 **Status:** ✅ Merged **Merged:** 7/14/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `feat/tracker-sidebar-settings` --- ### 📝 Commits (2) - [`05eea1e`](https://github.com/Pasta-Devs/Marinara-Engine/commit/05eea1eb11ce12224e700b85f6baec7ffcdaa9a1) Improve tracker sidebar controls - [`f9f0b5b`](https://github.com/Pasta-Devs/Marinara-Engine/commit/f9f0b5b83e04ec60ba1c7460d0b98ca5e0344869) Merge branch 'staging' into feat/tracker-sidebar-settings ### 📊 Changes **8 files changed** (+257 additions, -174 deletions) <details> <summary>View changed files</summary> 📝 `packages/client/src/components/chat/HomeCreditsModal.tsx` (+27 -0) 📝 `packages/client/src/components/chat/RoleplayHUD.tsx` (+1 -1) 📝 `packages/client/src/components/panels/SettingsPanel.tsx` (+1 -1) 📝 `packages/client/src/components/ui/TrackerPanelIcon.tsx` (+5 -16) 📝 `packages/client/src/features/tracker-panel/components/TrackerDataSidebar.tsx` (+8 -12) 📝 `packages/client/src/features/tracker-panel/components/TrackerSidebarHeader.tsx` (+213 -143) 📝 `packages/client/src/features/tracker-panel/tracker-panel.types.ts` (+1 -0) 📝 `scripts/sync-credits.mjs` (+1 -1) </details> ### 📄 Description ## Linked issue Resolves #3595 ## Why this change The Tracker Sidebar header had accumulated too many always-visible controls, making it crowded and harder to scan. The controls needed a compact home without losing quick access or keyboard usability. ## What changed - Replaced the header's individual controls with a Settings toggle and animated drawer. - Anchored display controls to the left and edit controls to the right, ordered as side, size, hide, lock, add, and delete. - Made edit modes mutually exclusive and added roving arrow-key, Home, and End navigation. - Replaced the tracker glyph with a larger d20 icon and added the required Font Awesome attribution to Credits. (If you don't want this change for whatever reason, feel free to remove it) - Made the Credits contributor sync tolerate CRLF line endings. ## Validation - [x] `pnpm check` passes locally - [ ] Container (Docker / Podman) built and ran without issue - [x] Ran the app, clicked through the changes manually - [x] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [x] Above manual verification completed (describe below) - [x] Read and followed `CONTRIBUTING.md` ### Manual verification notes - `pnpm check` passed locally (TypeScript, ESLint, and production builds). - Client ESLint and `node --check scripts/sync-credits.mjs` passed during the final review. - The user manually verified the Settings drawer keyboard navigation, including arrow-key movement and the documented focus order. - Container validation, complete responsive/theme coverage, and automated browser smoke tests were not run. - `pnpm credits:check` now performs its comparison but reports the existing contributor snapshot as stale; contributor synchronization is required only during release preparation. ## Docs and release impact - [x] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Version/release files updated (only if this PR includes a version bump) No installation, update, or release documentation is affected. The third-party icon attribution is included in the in-app Credits modal. ## UI evidence (if applicable) <img width="635" height="127" alt="image" src="https://github.com/user-attachments/assets/d6423c1f-7560-4499-8b53-760c3aaadac5" /> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added a collapsible settings toolbar to the tracker panel for managing editing modes, panel size, and placement. - Added keyboard navigation between tracker panel settings controls. - Closing the settings toolbar now clears the active editing mode. - **UI Improvements** - Updated tracker panel icons and styling for a cleaner, more consistent appearance. - Added a “Third-Party Assets” section to the credits modal with attribution and license information. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:06:10 +07:00
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
Pasta-Devs/Marinara-Engine#6009
No description provided.