Skip to content

refactor(site): simplify workspace topbar #11370

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jan 2, 2024

Conversation

BrunoQuaresma
Copy link
Collaborator

From @mafredri feedback:

  • It looks a bit busy in my eyes, I think it could be simplified further.
  • Maybe we can change the beginning to [template icon] [username] / [workspace] (i) [Stops in ...]. My thought is that behind (i) (info) we can show template name, current version, etc.
  • the current version of the workspace/template is quite uninteresting and only needed in special circumstances.

Changes:

  • Moved template name and version into a tooltip when hovering the template icon
  • Moved the user name to be the first info in the "workspace path"
  • Removed the outdated pill as well since we already have on the page an update button and alert with this information.

Before:
Screenshot 2024-01-02 at 14 24 34

After:
Screenshot 2024-01-02 at 14 50 34

@BrunoQuaresma BrunoQuaresma self-assigned this Jan 2, 2024
Copy link
Member

@mafredri mafredri left a comment

Choose a reason for hiding this comment

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

Love it, great work! ❤️

mode="hover"
// title={`${
// workspace.template_display_name ?? workspace.template_name
// } on version ${workspace.latest_build.template_version_name}`}
Copy link
Member

Choose a reason for hiding this comment

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

Is the commented code intentional? Will it be used later?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

No, ty!

@BrunoQuaresma BrunoQuaresma merged commit c37c0e7 into main Jan 2, 2024
@BrunoQuaresma BrunoQuaresma deleted the bq/refactor-new-ws-header branch January 2, 2024 18:17
@github-actions github-actions bot locked and limited conversation to collaborators Jan 2, 2024
@BrunoQuaresma
Copy link
Collaborator Author

Related to #11491

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants