Skip to content

Clearer screenshots-page tip, header Screenshots link, leaner rail - #693

Merged
Zach Dunn (zachdunn) merged 3 commits into
mainfrom
screenshots-page-follow-ups
Aug 17, 2026
Merged

Clearer screenshots-page tip, header Screenshots link, leaner rail#693
Zach Dunn (zachdunn) merged 3 commits into
mainfrom
screenshots-page-follow-ups

Conversation

@zachdunn

Copy link
Copy Markdown
Member

What

Follow-ups on the workspace screenshots page:

  • Tip rewrite. The rail tip led with the uploads screenshot command; the more common path is a plain put with metadata. It now explains how the page's groupings actually derive — path metadata forms the page groups, repo (or the url host) forms the project headings — shows uploads put shot.png --meta path=/settings, and links to the public docs ("how grouping works" → /docs/attach-pull-request-images#put).
  • No quick actions on this tab. New showQuickActions knob on WorkspaceLayout (default on); the screenshots page turns the section (invite teammate + GitHub App CTA) off.
  • Header nav. The signed-in "Files" link is now "Screenshots" and lands on the active workspace's screenshots tab: it points at /account/workspaces?to=screenshots, and the workspaces index's auto-open honors the allowlisted to param (the server-side legacy ?ws= redirect honors it too).

Verification

Verified signed-in on the local stack-raw stack: ?to=screenshots redirects to /account/workspaces/dev-demo/screenshots, the header reads Screenshots, the new tip + docs link render, quick actions are gone, and the narrow-viewport stacked layout is intact. Web tests (630) and typecheck pass.

Follow-up

Ambiguous localhost:3000-style project headings are filed separately as #692 — needs design consideration (derived repo preference, --app as a grouping key, or a distinct "local dev" label).

…ner rail

- Rewrite the screenshots tip to explain how groupings derive (path meta
  for page groups, repo/url host for project headings), lead with put
  --meta over the screenshot command, and link to the public docs
- Hide the rail's quick-actions section (invite teammate / GitHub App
  CTA) on the screenshots tab via a new WorkspaceLayout knob
- Retitle the signed-in header's Files link to Screenshots and land it
  on the active workspace's screenshots tab via an allowlisted
  ?to=screenshots on the workspaces auto-open (server legacy ?ws=
  redirect honors it too)
@changeset-bot

changeset-bot Bot commented Aug 17, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 3ac94a3

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@coderabbitai

coderabbitai Bot commented Aug 17, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are limited based on label configuration.

🏷️ Required labels (at least one) (2)
  • coderabbit:review
  • review
🚫 Excluded labels (none allowed) (1)
  • wip

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 9b0df435-cc21-40da-8d7f-bc7d5f22b523

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Both empty states collapse to a title plus one copyable command
(matching renderGalleriesEmptyHtml's CTA pattern); the rail tip drops to
a single sentence with the docs link carrying the detail.
@zachdunn

Copy link
Copy Markdown
Member Author

Follow-up pushed: both empty states now match the galleries CTA pattern (title + one copyable uploads screenshot command, nothing else), and the rail tip is down to one sentence — the "how grouping works" docs link carries the detail. Verified signed-in at desktop and mobile widths.

renderScreenshotsPlaceholderHtml mirrors the React island's
OverviewLoadingSkeleton markup, so the gap before the dynamic import
resolves shows the same styled skeleton the component renders next —
no dead space or layout jump on cold load.
@zachdunn
Zach Dunn (zachdunn) merged commit 7ea3692 into main Aug 17, 2026
4 checks passed
@zachdunn
Zach Dunn (zachdunn) deleted the screenshots-page-follow-ups branch August 17, 2026 23:23
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