mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #1420] [Feature]: Pin/favorite a chat so it stays at the top of the sidebar #703
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#703
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?
Originally created by @GetBeholder on GitHub (May 27, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1420
Originally assigned to: @SpicyMarinara on GitHub.
What problem does this solve?
There is no way to pin or favorite a chat so it stays at the top of the sidebar.
With many chats, users must scroll to find their active/important ones. The
current workaround is naming a folder something like "1-Favorites," but folder
grouping sorts grouped chats above ungrouped ones, so active chats kept outside
folders end up at the bottom of the list.
Proposed behavior
Add the ability to mark a chat as pinned/favorite (e.g. a star toggle) and sort
pinned chats first in the sidebar, above the regular sort order. Pinned chats stay
at the top regardless of the chosen sort.
Expected owner or impact area
Refactor branch considerations
From a quick scan (triage pointer, not from the reporter): there is no
pinned/favoritefield on chats today. The sidebar(
src/app/shell/ChatSidebar.tsx) sorts bynewest | oldest | name-asc | name-desc(
ChatSortOption, ~L55) and supports folders. Implementing this means adding apinned/favoriteflag to the chat contract (src/engine/contracts/types/chat.tsplus its schema) and ordering pinned chats first in the sidebar list (and deciding
how pinning interacts with folders). Keep the chat field in the engine/catalog
layer and the toggle/sort UI in the app shell sidebar.
Alternatives considered
AgentX's folder workaround: create a folder named "1-Favorites" and put chats
there. However, folder grouping pushes ungrouped active chats to the bottom, so it
is not equivalent to pin-to-top.
Additional context
Source: forum request by Ryspace [R99] (2-Star), 3:31 PM, with AgentX (3-Star)
agreeing and suggesting a "favorite/star then sort first" approach. Ryspace
attached an image; it was referenced but not provided as a file or URL, so it is
not attached. AgentX also noted that active chats kept outside folders currently
sort to the bottom of the list — relevant to how pinning/sorting should behave.
Template check
Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked:
@SpicyMarinara commented on GitHub (May 27, 2026):
Okay, yeah, we can do the same what we're doing with Favorite characters.
@SpicyMarinara commented on GitHub (May 27, 2026):
Implemented on
refactor.What changed:
pinned.Verification:
git diff --checkpnpm typecheckpnpm lintpnpm check:architecturepnpm buildgraphify update .