Skip to content

Update data extensions modelling table title bar#2574

Merged
robertbrignull merged 2 commits intomainfrom
robertbrignull/data-title
Jul 4, 2023
Merged

Update data extensions modelling table title bar#2574
robertbrignull merged 2 commits intomainfrom
robertbrignull/data-title

Conversation

@robertbrignull
Copy link
Copy Markdown
Contributor

Updates the title bar of the modelling tables to match the new designs:
Screenshot 2023-07-03 at 15 57 09

I removed the old status info, since that is not present in the new designs.

A lot of manual styling was needed to get these new elements looking like the designs. Hopefully that's ok, but if it's too complicated or it's straying a bit too far from VS Code design principles then we can look at that.

The "Model with AI" / "Model from source" buttons and the "UNSAVED" label aren't hooked up to anything yet, but we'll get to those in a later PR. I gave them all no-op handlers for now. Since the data extensions view is not released yet we're not too worried about how the view looks while this work is in progress.

Checklist

  • CHANGELOG.md has been updated to incorporate all user visible changes made by this pull request.
  • Issues have been created for any UI or other user-facing changes made by this pull request.
  • [Maintainers only] If this pull request makes user-facing changes that require documentation changes, open a corresponding docs pull request in the github/codeql repo and add the ready-for-doc-review label there.

@robertbrignull robertbrignull requested a review from a team as a code owner July 3, 2023 15:07
externalApiUsages={grouped[libraryName]}
modeledMethods={modeledMethods}
mode={mode}
hasUnsavedChanges={false}
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.

I've made this hidden by default, but to see it for testing just change this to true. You can use the "Data extensions editor" storybook to view it.

We could also add a storybook for the LibraryRow component, if that would be helpful.

Copy link
Copy Markdown
Contributor

@shati-patel shati-patel left a comment

Choose a reason for hiding this comment

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

LGTM! We can always adjust how we handle the buttons later, if need be 😎 🚢

@robertbrignull robertbrignull merged commit f8ad722 into main Jul 4, 2023
@robertbrignull robertbrignull deleted the robertbrignull/data-title branch July 4, 2023 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants