Conversation
Introduce a dashboard-driven layout and following UI, plus related backend/refactors. - Add LayoutContext and layout_with_context to render richer side-panel info (anonymous mode, tor onion address, follower/following counts) and move alpha card to a dashboard. - Implement a live composer character counter and improve composer HTML (ids, accessibility). - Add AccountView, following_accounts, follow_counts, instance_counts, is_following helpers; make follow/unfollow return boolean and enforce idempotency/notification creation. - Add following page and unfollow route/handler; add profile follow/unfollow controls and helper to centralize profile control rendering. - Extract spawn_onion_forwarding from serve into its own function and replace print_startup_summary with print_startup_dashboard that reports instance and Tor status on startup. - Replace many direct render::layout_with_csrf calls with a page_layout helper that builds LayoutContext from AppState, simplifying handlers. - Several CSS, template, JS and test updates to support the new UI and behaviors. These changes improve UX around user discovery/following, surface Tor and instance status, and tidy server-side layout logic.
Remove the Playwright-based browser test tooling and references, including package.json, package-lock.json, playwright.config.ts, and the tests/e2e rustpost.spec.ts, and delete related README and .gitignore entries. Update src/render.rs to: wrap the dashboard account display in a link to /users/{username}, remove the Tor onion entry from the dashboard panel, simplify quick-links, add .dashboard-account CSS rules, and add a unit test (dashboard_uses_account_link_without_duplicate_feed_links_or_onion) to verify the new dashboard rendering behavior.
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.
No description provided.