Skip to content
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

feat: dashboard lumo styles #7904

Merged
merged 14 commits into from
Oct 4, 2024
Merged

Conversation

tomivirkki
Copy link
Member

Description

First iteration of dashboard Lumo theme.
Visual tests are to be added separately once the component design is finalized.

Part of https://github.com/orgs/vaadin/projects/70/views/1?pane=issue&itemId=75293217

Type of change

Feature

@ugur-vaadin
Copy link
Contributor

There seems to be an issue with dragging an unfocused item in Firefox with this change. I cannot reproduce it using the feature branch.

@tomivirkki
Copy link
Member Author

FIxed, also fixed the following as discussed internally

  • moved the title element inside the shadow root of widget/section
  • used <vaadin-dashboard-button> instead of <vaadin-button>

Copy link
Contributor

@ugur-vaadin ugur-vaadin left a comment

Choose a reason for hiding this comment

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

We should also remove the mention of title slots from the JSDocs of widget and section. Otherwise LGTM. One more review from someone would be good to have before we merge.

aria-label="${this.__i18n.resizeGrowWidth}"
title="${this.__i18n.resizeGrowWidth}"
@click="${() => fireResize(this, 1, 0)}"
id="resize-grow-width"
></button>
<button
part="resize-grow-width-button"
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: might consider expand instead of grow 🤔

Copy link
Member Author

Choose a reason for hiding this comment

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

The terminology is the same that's used for the accessible names/i18n, originating from here. Let's discuss changing it separately.

Copy link

sonarcloud bot commented Oct 4, 2024

@tomivirkki tomivirkki merged commit 182159b into feat/dashboard Oct 4, 2024
9 checks passed
@tomivirkki tomivirkki deleted the feat/dashboard-lumo-styles branch October 4, 2024 14:30
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.

3 participants