Skip to content

T UI#1

Merged
csd113 merged 7 commits into
mainfrom
TUI
May 19, 2026
Merged

T UI#1
csd113 merged 7 commits into
mainfrom
TUI

Conversation

@csd113
Copy link
Copy Markdown
Owner

@csd113 csd113 commented May 18, 2026

No description provided.

csd113 added 7 commits May 18, 2026 15:17
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.
@csd113 csd113 merged commit f1880dc into main May 19, 2026
7 checks passed
@csd113 csd113 deleted the TUI branch May 19, 2026 01:29
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.

1 participant