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

[BACKLOG-37991] WCAG - Manage Data souces dialog on Safari - bad ui format #1020

Merged
merged 1 commit into from
Feb 13, 2024

Conversation

varuntangirala
Copy link
Contributor

@varuntangirala varuntangirala commented Feb 13, 2024

@pentaho/wcag Please review and merge along with
pentaho/pentaho-platform#5529

@buildguy
Copy link
Collaborator

👍 Frogbot scanned this pull request and found that it did not add vulnerable dependencies.

Note:

Frogbot also supports Contextual Analysis, Secret Detection, IaC and SAST Vulnerabilities Scanning. This features are included as part of the JFrog Advanced Security package, which isn't enabled on your system.


@buildguy
Copy link
Collaborator

✅ Build finished in 7m 4s

Build command:

mvn clean verify -B -e -Daudit -amd -pl widgets

👌 All tests passed!

Tests run: 345, Failures: 0, Skipped: 0    Test Results


ℹ️ This is an automatic message

Copy link

SonarQube Quality Gate

Quality Gate failed

Failed condition E Maintainability Rating on New Code (is worse than A)
Failed condition 0.0% 0.0% Coverage on New Code (is less than 80%)

See analysis details on SonarQube

Fix issues before they fail your Quality Gate with SonarLint SonarLint in your IDE.

@@ -489,13 +501,26 @@ public void setFocusableRow( int row, boolean focus ) {
}
}

protected class MyScrollTable extends ScrollTable {
Copy link
Contributor

Choose a reason for hiding this comment

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

Not a blocker. Consider a more specific class name.

border-left-width: 1px;
}

.safari #datasourceAdminDialog .gwt-ScrollTable :is(.headerWrapper, .dataWrapper) {
Copy link
Contributor

@singletonc singletonc Feb 13, 2024

Choose a reason for hiding this comment

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

Some of these rules are the same and could be combined:

selector1,
selector2,
selector3 {
styles
}

Copy link
Contributor

Choose a reason for hiding this comment

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

Can you clarify which ones? Not spotting.

padding-right: 10px;
}
/* end for styling manage data sources dialog for safari browser */

:where(.responsive#general-datasource-window) #general-settings-box {
box-sizing: border-box;
Copy link
Contributor

@singletonc singletonc Feb 13, 2024

Choose a reason for hiding this comment

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

could add the other border-box rule selectors here or even create/look for a rule that adds the border-box style to any element that has that class

Copy link
Contributor

@dcleao dcleao Feb 14, 2024

Choose a reason for hiding this comment

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

We group CSS properties under the same CSS rule, using the "OR" combinator, within the same context / component. In this case, I think that keeping the safari rules in the "Safari override / hack context" is more important. Although the Safari styles are based on the normal ones, the approach takes a very distinct path, which is very literally a hack. Splitting the hack across multiple places would perhaps make it even harder to understand.
I agree this is debatable 👍

@rmansoor rmansoor merged commit 8144210 into pentaho:master Feb 13, 2024
1 of 2 checks passed
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.

5 participants