Skip to content

feat(browse): pin folders per server above recent directories - #1570

Merged
RonenMars merged 1 commit into
mainfrom
feat/pinned-folders
Nov 18, 2026
Merged

RonenMars merged 1 commit into
mainfrom
feat/pinned-folders

Conversation

@RonenMars

@RonenMars RonenMars commented Nov 18, 2026 •

Copy link
Copy Markdown
Owner

Summary

Browse
  Pinned            <- new, folders pinned on this server
  Recent directories
  breadcrumb row    <- new pin toggle for the folder being browsed

Tapping a pinned row starts a session there, like a recent row, and its trailing button unpins it.
Pins live in the streamer's runtime.db (/api/pinned-dirs), so every paired device sees the same list.
The whole feature stays hidden on a server that does not report pinnedDirs in /api/info.

Evidence

  • Before: no way to keep a folder at the top of Browse.
    After: pin, list and unpin through the new section.
    Not re-run for this PR, CI is the check.

Merge Danger

Door: two-way

Needs a streamer that reports pinnedDirs; an older streamer shows no Pinned section and no toggle.

The streamer half is RonenMars/threadbase-streamer#1284, which adds /api/pinned-dirs and reports pinnedDirs in /api/info.
That PR was open and unmerged when this one was prepared.
Merging this first is safe, because the feature stays hidden until a streamer reports pinnedDirs.

Blast Radius: Browse screen

Browse gains a Pinned section above Recent directories, listing the folders pinned on that server.
Tapping a pinned row starts a session there, like a recent row, and its trailing button unpins it.
A pin toggle in the breadcrumb row pins or unpins the folder being browsed.

Pins live in the streamer's runtime.db (/api/pinned-dirs), so every paired device sees the same list.
The whole feature stays hidden on a server that does not report pinnedDirs in /api/info.
@RonenMars
RonenMars merged commit 96c1e80 into main Nov 18, 2026
24 checks passed
@RonenMars
RonenMars deleted the feat/pinned-folders branch November 18, 2026 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant