Skip to content

feat(app): build NSGo Player's designed pages - #34

Merged
oneo-me merged 2 commits into
mainfrom
agiox/implement-player-pages
Nov 23, 2026
Merged

oneo-me merged 2 commits into
mainfrom
agiox/implement-player-pages

Conversation

@oneo-me

@oneo-me oneo-me commented Nov 23, 2026 •

Copy link
Copy Markdown
Collaborator

Closes #27

Builds NSGo Player's pages on macOS from the designs in design/, in English and Chinese.

  • Shell: the app's coral theme, the sidebar with Open, each plugin's section (its account's avatar or sign-in) and Settings at its foot, and the toolbar with back and the page's title.
  • Open: the drop area, dragging a file over the window, and the URL field.
  • Plugin pages (home, browse, uploader, search results): cards, sections with More, skeletons while loading, empty, error, sign-in and setup states, loading more on scroll or Load More, and loading more failing in place.
  • Search: the field with its spinner and clear button, suggestions under it with the arrow keys, the kinds once a search answered, and the idle and no-results states.
  • Video: the picture with the play button and progress, uploader, date, length and parts, Resume P2 at … and Play from Start from the resume positions kept, parts marked and with progress, related videos, loading and unavailable states.
  • Player: bars over the picture that hide after 3 s still while playing, the thin seek bar and volume, the time, next part, and panels for parts, speed, subtitles and audio together, and quality; the resume pill, the loading and cannot-play states; Esc closes a menu, leaves full screen, then the player.
  • Settings: General, the plugin list with tiles, sources and switches, and Add Plugin (From Folder…, From Zip…, Use from Path… now a folder picker); each plugin's own page with its account, settings, hosts and Remove Plugin…; plugins the app refused stay listed with why until removed.
  • Dialogs: approving a plugin's hosts, installing and failing in the dialog, removing, and signing in with or without a QR code.

Left for #26, with their places marked in the settings code: From GitHub…, the update check and badges, and the empty list's Install from GitHub. The following page and following a show are goals of the designs waiting for a plugin export, so they are not built.

Tests: go tool nsgo test passes headless (60). In a real macOS window the playback package's tests pass, the player page among them; TestSignInPrompt and the internal/plugin demo tests fail there on main too.

🤖 Generated with Claude Code

@oneo-me oneo-me self-assigned this Nov 23, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@oneo-me
oneo-me marked this pull request as ready for review November 23, 2026 17:25
@oneo-me
oneo-me merged commit 0386bc1 into main Nov 23, 2026
2 checks passed
@oneo-me
oneo-me deleted the agiox/implement-player-pages branch November 23, 2026 17:26
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.

App: build the designed look

1 participant