Skip to content

Activate Bluesky as a first-class desktop platform with a dashboard - #702

Merged
micahflee merged 1 commit into
mainfrom
issue-697-bluesky-platform-view
Sep 11, 2026
Merged

micahflee merged 1 commit into
mainfrom
issue-697-bluesky-platform-view

Conversation

@micahflee

Copy link
Copy Markdown
Member

Closes #697.

Opening a Bluesky local account showed the placeholder panel that #673 left behind. It now opens a real platform view built on Desktop's existing platform conventions, so #674, #676, and #677 have a shell to build into.

This is the shell only. Connecting an identity, saving, and browsing all arrive later, so the dashboard shows those entry points as visibly unavailable rather than hiding them.

What's here

  • BlueskyPlatformConfig, registered in the platform registry alongside X and Facebook.
  • BlueskyViewModel, extending the shared base view model and owning the IPC boundary to the Bluesky account controller.
  • BlueskyWizardDashboard / BlueskyWizardDashboardDisplay platform states.
  • BlueskyView, which AccountView now renders in place of the stub branch, plus the dashboard, sidebar, and job status components.
  • AccountHeader presents the local account's captured profile, falling back to the platform name before an identity is linked. Account removal continues to flow through the header into TabsView, which already destroys Bluesky local storage with UUID confirmation.

Notes for review

Bluesky is the first platform that talks to its API directly instead of being automated in a browser. Platform configs now declare usesWebview, and PlatformView creates a webview only for platforms that use one. A hidden webview with a persistent partition has no business existing for an account that never loads a page. This touches the X and Facebook configs and the shared PlatformView, which is slightly wider than the issue asked for; happy to narrow it if you would rather keep this diff Bluesky-only.

Local storage that cannot be opened is reported and does not stop the dashboard. A person must still be able to see the account and remove it, so init() catches, reports, and continues.

Automatic diagnostics carry the state, job, and error class only. Error messages are dropped, because a message can quote a handle, a DID, or a local path, per docs/adr/0029-minimize-bluesky-diagnostics.md.

The shared test mock gains the power save blocker, because the Bluesky state loop is the first one that runs to completion under test.

Follow-ups

Testing

npm test passes: 104 files, 1303 tests, no type errors. npm run lint is clean.

(This was written by an LLM.)

🤖 Generated with Claude Code

Opening a Bluesky local account showed a placeholder panel that #673 left
behind. It now opens a real platform view built on Desktop's existing
platform conventions, so #674, #676, and #677 have a shell to build into.

This is the shell only: a Bluesky platform config, a view model, the
dashboard state and its display variant, and the view itself. Connecting
an identity, saving, and browsing all arrive later, so the dashboard
shows those entry points as unavailable rather than hiding them.

Bluesky is the first platform that talks to its API directly instead of
being automated in a browser, so platform configs now declare whether
they use a webview, and PlatformView creates one only for platforms that
do. A hidden webview with a persistent partition has no business
existing for an account that never loads a page.

The view model owns the IPC boundary to the Bluesky account controller.
Local storage that cannot be opened is reported and does not stop the
dashboard: a person must still be able to see the account and remove it.

Automatic diagnostics carry the state, job, and error class only. Error
messages are dropped because a message can quote a handle, a DID, or a
local path, per docs/adr/0029-minimize-bluesky-diagnostics.md.

The shared test mock gains the power save blocker, because the Bluesky
state loop is the first one that runs to completion under test.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@micahflee
micahflee merged commit 8da4858 into main Sep 11, 2026
1 check passed
@micahflee
micahflee deleted the issue-697-bluesky-platform-view branch September 11, 2026 18:08
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.

Activate Bluesky as a first-class desktop platform with a dashboard

1 participant