Skip to content

Refactor dashboard detail and review components#40

Merged
stylessh merged 3 commits intomainfrom
stylessh/dashboard-components
Apr 9, 2026
Merged

Refactor dashboard detail and review components#40
stylessh merged 3 commits intomainfrom
stylessh/dashboard-components

Conversation

@stylessh
Copy link
Copy Markdown
Owner

@stylessh stylessh commented Apr 9, 2026

Reorganize dashboard components into feature folders by moving the command palette and labels UI out of the root components directory.

Extract the issue, pull, and review routes into feature-local component modules so the route files mostly contain loader and SEO wiring.

Add shared detail-page primitives for layout, headers, sidebars, and activity chrome, and move relative-time formatting into a shared util.

Keep the existing behavior intact while making the dashboard detail surfaces easier to extend and reuse.

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Apr 9, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
diffkit abbd785 Commit Preview URL

Branch Preview URL
Apr 09 2026, 01:53 PM

stylessh added 2 commits April 9, 2026 09:50
When selecting lines top-to-bottom in a split diff, the side metadata
sent to the GitHub API was swapped — line got the anchor's side instead
of the endpoint's side. Now correctly assigns sides based on selection
direction.
@stylessh stylessh merged commit 34e5636 into main Apr 9, 2026
4 checks passed
stylessh added a commit that referenced this pull request Apr 18, 2026
* Refactor dashboard detail components

* Fix side/startSide swap in multi-line review comment selection

When selecting lines top-to-bottom in a split diff, the side metadata
sent to the GitHub API was swapped — line got the anchor's side instead
of the endpoint's side. Now correctly assigns sides based on selection
direction.

* Fix TS error: accept string | undefined in toGithubSide helper
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