Skip to content

ui: Library with Prompts and Media tabs - #31

Closed
allozaur wants to merge 4 commits into
allozaur/feat/prompt-libraryfrom
allozaur/feat/library
Closed

allozaur wants to merge 4 commits into
allozaur/feat/prompt-libraryfrom
allozaur/feat/library

Conversation

@allozaur

@allozaur allozaur commented Oct 31, 2026 •

Copy link
Copy Markdown
Owner

Overview

A Library page, reached from the sidebar, with a Prompts tab for the prompt library and a Media tab. Prompts are cards that start a new chat with the prompt as its system message, and can be created, edited and deleted there.

Additional information

Part 13 of 15 of a work-in-progress stack on the fork, based on allozaur/feat/prompt-library. Its diff is only this layer.

The Media tab is still a mock-up with placeholder images, videos and audio clips: nothing stores media yet.

Commits (4)
  • ui : add a Library entry to the sidebar
  • ui : turn the Library into Prompts and Media tabs
  • ui: keep the Library title clear of the status bar and the menu key on phones
  • ui: give New prompt the floating key on phones
Testing
  • Type-check, lint and every test project pass on this layer (pre-commit and pre-push checks).
  • Checked in the browser: a new prompt from the Library, a prompt added from a chat's system message, and a chat started from a prompt card, whose system message shows the prompt it came from.
  • In a phone viewport with the status bar simulated, the Library title starts a row below the menu key, clear of the status-bar fade.
  • In a phone viewport, New prompt is the same floating key on the Prompts tab (the Media tab has none).

Requirements

@allozaur
allozaur force-pushed the allozaur/feat/prompt-library branch from 7d89ebb to dd613da Compare October 31, 2026 17:26
@allozaur
allozaur force-pushed the allozaur/feat/library branch from a0a730e to 967cce8 Compare October 31, 2026 17:26
@allozaur
allozaur added this pull request to stack #33 October 31, 2026 17:29
@allozaur
allozaur force-pushed the allozaur/feat/prompt-library branch from dd613da to 923fd7c Compare October 31, 2026 23:47
@allozaur
allozaur force-pushed the allozaur/feat/library branch 2 times, most recently from 7e06c67 to cb6acee Compare November 1, 2026 00:01
@allozaur
allozaur force-pushed the allozaur/feat/prompt-library branch from 923fd7c to 65bec27 Compare November 1, 2026 00:01
@allozaur
allozaur force-pushed the allozaur/feat/library branch from cb6acee to 0e7dd40 Compare November 1, 2026 00:37
@allozaur
allozaur force-pushed the allozaur/feat/prompt-library branch 2 times, most recently from 758fe5d to fbfc201 Compare November 1, 2026 01:01
@allozaur
allozaur force-pushed the allozaur/feat/library branch 2 times, most recently from 6719c00 to 77aaaff Compare November 1, 2026 01:19
@allozaur
allozaur force-pushed the allozaur/feat/prompt-library branch from 7daf7ab to f44cca5 Compare November 1, 2026 01:32
@allozaur
allozaur force-pushed the allozaur/feat/library branch from 77aaaff to 5ac4d69 Compare November 1, 2026 01:32
@allozaur
allozaur force-pushed the allozaur/feat/prompt-library branch from f44cca5 to cd8209e Compare November 1, 2026 01:53
@allozaur
allozaur force-pushed the allozaur/feat/library branch from 5ac4d69 to 6fa718e Compare November 1, 2026 01:53
@allozaur
allozaur force-pushed the allozaur/feat/prompt-library branch from cd8209e to 443e1c7 Compare November 1, 2026 02:19
@allozaur
allozaur force-pushed the allozaur/feat/library branch from 6fa718e to 0ee6f5d Compare November 1, 2026 02:19
@allozaur
allozaur force-pushed the allozaur/feat/prompt-library branch from 443e1c7 to 19e16b5 Compare November 1, 2026 02:37
@allozaur
allozaur force-pushed the allozaur/feat/library branch 2 times, most recently from 2839ebb to 88d22b9 Compare November 1, 2026 02:47
@allozaur
allozaur force-pushed the allozaur/feat/prompt-library branch 2 times, most recently from 76a88fc to 1ea466f Compare November 1, 2026 09:20
@allozaur
allozaur force-pushed the allozaur/feat/library branch 2 times, most recently from 1ef5d54 to 48d905f Compare November 1, 2026 10:03
@allozaur
allozaur force-pushed the allozaur/feat/prompt-library branch 2 times, most recently from 543e8c8 to 3daac4f Compare November 1, 2026 10:31
@allozaur
allozaur force-pushed the allozaur/feat/library branch from 48d905f to 0863de6 Compare November 1, 2026 10:31
@allozaur
allozaur force-pushed the allozaur/feat/prompt-library branch from 3daac4f to b5df5e9 Compare November 1, 2026 10:48
@allozaur
allozaur force-pushed the allozaur/feat/prompt-library branch from bf39e75 to c181a1c Compare November 1, 2026 15:56
@allozaur
allozaur force-pushed the allozaur/feat/library branch 2 times, most recently from 1b46c1b to 7fc2305 Compare November 1, 2026 17:11
@allozaur
allozaur force-pushed the allozaur/feat/prompt-library branch 2 times, most recently from 27240e5 to ffc55c2 Compare November 1, 2026 17:21
@allozaur
allozaur force-pushed the allozaur/feat/library branch from 7fc2305 to a1f7abd Compare November 1, 2026 17:21
@allozaur
allozaur force-pushed the allozaur/feat/prompt-library branch from ffc55c2 to 7b1ba82 Compare November 1, 2026 17:48
@allozaur
allozaur force-pushed the allozaur/feat/library branch 2 times, most recently from 436932d to ee79f3d Compare November 1, 2026 17:59
@allozaur
allozaur force-pushed the allozaur/feat/prompt-library branch 2 times, most recently from dd68d21 to 8d6b590 Compare November 1, 2026 18:11
@allozaur
allozaur force-pushed the allozaur/feat/library branch 2 times, most recently from 4150885 to 44e9736 Compare November 1, 2026 18:37
@allozaur
allozaur force-pushed the allozaur/feat/prompt-library branch 2 times, most recently from 2099b8a to e40234a Compare November 1, 2026 19:33
@allozaur
allozaur force-pushed the allozaur/feat/library branch from 44e9736 to 0504661 Compare November 1, 2026 19:33
@allozaur
allozaur force-pushed the allozaur/feat/prompt-library branch from e40234a to bacae6b Compare November 1, 2026 20:02
@allozaur
allozaur force-pushed the allozaur/feat/library branch from 0504661 to 8baf1d5 Compare November 1, 2026 20:02
@allozaur
allozaur force-pushed the allozaur/feat/prompt-library branch from bacae6b to a4faab1 Compare November 1, 2026 20:44
@allozaur
allozaur force-pushed the allozaur/feat/library branch 2 times, most recently from 0415b81 to f917a16 Compare November 1, 2026 21:17
@allozaur
allozaur force-pushed the allozaur/feat/prompt-library branch 2 times, most recently from a19afae to d5a70de Compare November 1, 2026 22:16
@allozaur
allozaur force-pushed the allozaur/feat/library branch from f917a16 to 522e8c8 Compare November 1, 2026 22:16
@allozaur
allozaur force-pushed the allozaur/feat/prompt-library branch from d5a70de to c84f063 Compare November 1, 2026 22:33
A Library page, reachable from the sidebar actions, mocked up with placeholder items: a toolbar with file type and source filters, a grid or list view switch, search and a New menu, tabs for recent, favorite, folder, image and all items, and the items as a list or a grid of previews with their actions in a "more actions" menu and on right-click. Nothing acts on real files yet. The page fades in on arrival, with the same fade as the projects pages.

Assisted by: Claude (Opus 5.5 Medium)
The Library keeps two tabs, styled like the Projects page's. Prompts lists
the prompt library as cards, like project cards: a card starts a new chat
whose system message is the prompt, linked to it, and its menu and
right-click also edit or delete it. A New prompt button and search sit
above them, and an empty library points to "Add to library" in a chat.
Media is still a mock-up, of images, videos and audio clips, with search
and the grid or list switch; the folders, documents and the source and
file type filters are gone.

Assisted-by: Claude (Opus 5.5 Medium)
…n phones

Assisted-by: Claude (Opus 5.5 Medium)
Assisted-by: Claude (Opus 5.5 Medium)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant