-
Notifications
You must be signed in to change notification settings - Fork 0
refactor: replace use of LumoUtility properties #16
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -22,16 +22,38 @@ | |
| margin: 0; | ||
| padding: 0; | ||
| } | ||
|
|
||
| .inline-combobox::part(input-field) { | ||
| background-color: transparent; | ||
| padding: 0; | ||
| margin: 0; | ||
| } | ||
|
|
||
| vaadin-grid::part(header) { | ||
| display: none; | ||
| } | ||
|
Comment on lines
32
to
34
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🛠️ Refactor suggestion | 🟠 Major 🧩 Analysis chainVerify the impact of globally hiding all grid headers. This selector affects every Run the following script to check if vaadin-grid is used elsewhere: 🏁 Script executed: #!/bin/bash
# Description: Find all usages of vaadin-grid to assess impact of global header hiding
# Search for Grid component instantiation
rg -nP --type=java 'new\s+Grid<' -C3
# Search for vaadin-grid in HTML/templates
fd -e html -e css | xargs rg -n 'vaadin-grid'Length of output: 1115 🏁 Script executed: #!/bin/bash
sed -n '1,200p' src/main/java/com/flowingcode/vaadin/addons/cronexpressionfield/CronExpressionField.javaLength of output: 7400 Scope grid header hiding to CronExpressionField only 🤖 Prompt for AI Agents
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @coderabbitai please create an issue about it. The observation is valid but the issue is not introduced by this PR There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: Length of output: 60 @javier-godoy I've created issue #19 to track the global CSS selector scoping problem. Thanks for clarifying that this is a pre-existing issue separate from the current refactoring work. |
||
| .description-div{ | ||
|
|
||
| .description-div { | ||
| padding: 0; | ||
| margin: 0; | ||
| text-align: center; | ||
| } | ||
|
|
||
| .fc-cron-expression-field { | ||
| justify-content: center; | ||
| align-items: center; | ||
| padding: 0; | ||
| } | ||
|
|
||
| .fc-cron-expression-field-main-layout { | ||
| padding: 0; | ||
| margin: 0; | ||
| } | ||
|
|
||
| .fc-common-expressions-combobox { | ||
| align-self: center; | ||
| } | ||
|
|
||
| .fc-daily-layout-time-amount { | ||
| margin: 0; | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove redundant class addition.
Line 103 already sets
"fc-cron-expression-field"on this component viasetClassName(). Adding it again here is unnecessary.Apply this diff to remove the redundant line:
- addClassName("fc-cron-expression-field");📝 Committable suggestion
🤖 Prompt for AI Agents