Skip to content

Add sidebar metadata#3302

Open
charliepark wants to merge 6 commits into
mainfrom
sidebar_metadata
Open

Add sidebar metadata#3302
charliepark wants to merge 6 commits into
mainfrom
sidebar_metadata

Conversation

@charliepark

@charliepark charliepark commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

We have a number of forms and views contained within sidebars. In our designs, we have a Properties Table at the top of the sidebar including static metadata, like the ID, Created At, Updated At, (more on those three in a sec, but "etc. for now") details for the given resource. Not all of our sidebars currently include the relevant metadata.

This PR adds those PropertiesTables to the sidebars throughout the app. A few examples …

Screenshot 2026-07-22 at 8 59 56 AM Screenshot 2026-07-22 at 8 59 28 AM Screenshot 2026-07-22 at 9 01 04 AM Screenshot 2026-07-22 at 9 01 35 AM Screenshot 2026-07-22 at 8 58 59 AM

As you can see, every resource ends up having the three elements of ID, Created At, and Updated At. Part of this PR involves setting those as the defaults, with the easy addition of relevant-to-that-type-of-resource extra rows. This does make the metadata tables a little taller, and Crespo noted in #994 that we might want to figure out how to tighten up the tables, possibly by removing the Updated row. That's certainly an option if we feel like it's too tall.

The PR also updates a few of the resources to have LinkCells, where you can click on the name of the resource in the parent overview table and open the sidebar, without needing to click on the action button and then the "Edit" button from within the dropdown. This PR doesn't remove the existing Edit button in the action menu, even though there's a bit of redundancy there.

Closes #994

@vercel

vercel Bot commented Jul 22, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
console Ready Ready Preview Jul 22, 2026 10:30pm

Request Review

routerRoutesColHelper.accessor('name', {
header: 'Name',
cell: (info) => (
<LinkCell

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Worth noting that currently we disable the edit button on the router route if the route is a VPC subnet. By making this a LinkCell, the route sidebar is openable, but we already prevent the user from modifying the route:

Image

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.

Add minitable of non-editable fields to edit modals

1 participant