Repository navigation
Activate Bluesky as a first-class desktop platform with a dashboard - #702
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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/BlueskyWizardDashboardDisplayplatform states.BlueskyView, whichAccountViewnow renders in place of the stub branch, plus the dashboard, sidebar, and job status components.AccountHeaderpresents 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 intoTabsView, 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, andPlatformViewcreates 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 sharedPlatformView, 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
BaseViewModelinto a webview-free core and a browser-automation layer.BlueskyViewModelcurrently inherits an automation surface it never uses, and that issue now blocks Save and browse public Bluesky records offline with durable, resumable jobs #676 so the split lands before Bluesky grows jobs.BlueskyJobStatusComponentis a third verbatim copy of the X and Facebook ones. De-duplicating all three felt like scope creep here.Testing
npm testpasses: 104 files, 1303 tests, no type errors.npm run lintis clean.(This was written by an LLM.)
🤖 Generated with Claude Code