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

Ensure consistent link underline and color on hover #15181

Merged
merged 15 commits into from
Oct 26, 2023

Conversation

m158261
Copy link
Contributor

@m158261 m158261 commented Sep 29, 2023

References

This references Text Issue Area # 2 in #9399

This is a more up to date implementation of #14914

Code changes

Changes to CSS to make links more consistent throughout the application. Added new global CSS variables to light and dark themes.

User-facing changes

Links will have consistent colour and underline on hover therefore improving accessibility.

Current dark theme link

Main branch link dark theme

Updated dark theme link

Link dark theme

Current hover over in dark theme

Main branch link hover over dark theme

Updated hover over in dark theme

Link hover over dark theme

Current light theme link

Main branch link light theme

Updated light theme link

Link light theme

Current hover over in light theme

Main branch link hover over light theme

Updated hover over in light theme

Link hover over light theme

Backwards-incompatible changes

None

@jupyterlab-probot
Copy link

Thanks for making a pull request to jupyterlab!
To try out this branch on binder, follow this link: Binder

@m158261 m158261 marked this pull request as ready for review October 2, 2023 10:59
@m158261
Copy link
Contributor Author

m158261 commented Oct 24, 2023

Hey @krassowski, I'm getting test failures in galata but different tests are failing each time. Is there anything I can do to make the UI tests more stable for this PR?

Copy link
Member

@krassowski krassowski left a comment

Choose a reason for hiding this comment

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

Thank you @m158261. I restated the tests again and hope these will pass now.

if needed we can adjust specific colours later easily thanks to the new variables.

Copy link
Member

@fcollonval fcollonval left a comment

Choose a reason for hiding this comment

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

Thanks @m158261

I'll push a commit that adds the previous variable as fallback to support existing themes not defining the new variables.

Similar to what was done in #11264

packages/extensionmanager/style/base.css Outdated Show resolved Hide resolved
packages/extensionmanager/style/base.css Outdated Show resolved Hide resolved
packages/extensionmanager/style/base.css Outdated Show resolved Hide resolved
packages/rendermime/style/base.css Outdated Show resolved Hide resolved
packages/rendermime/style/base.css Outdated Show resolved Hide resolved
packages/rendermime/style/base.css Outdated Show resolved Hide resolved
packages/rendermime/style/base.css Outdated Show resolved Hide resolved
@krassowski
Copy link
Member

@m158261 just FYI, I would have merged it now but I cannot because the CI is running after you merged the main branch in:

image

I appreciate the effort to ensure the changes are still neatly working with the latest HEAD but when folks do that on a number of PRs we simply run out of CI time (there is a number on concurrent jobs we get as open source project) and it sometimes slows down the process.

Not a big problem, just something for you to consider how often you do the merges, especially when the PR is waiting for review when we see a recent activity it may be wrongly interpreted as "still in progress" and makes the maintainer think "I will come back once CI finishes to check the status".

@m158261
Copy link
Contributor Author

m158261 commented Oct 26, 2023

@m158261 just FYI, I would have merged it now but I cannot because the CI is running after you merged the main branch in:

image

I appreciate the effort to ensure the changes are still neatly working with the latest HEAD but when folks do that on a number of PRs we simply run out of CI time (there is a number on concurrent jobs we get as open source project) and it sometimes slows down the process.

Not a big problem, just something for you to consider how often you do the merges, especially when the PR is waiting for review when we see a recent activity it may be wrongly interpreted as "still in progress" and makes the maintainer think "I will come back once CI finishes to check the status".

@krassowski Sorry! Force of habit. I'll make sure to only merge when necessary in future.

@krassowski krassowski merged commit 94a2070 into jupyterlab:main Oct 26, 2023
75 of 77 checks passed
@tonyfast
Copy link
Contributor

psyched this is merged. this is a win. thanks y'all!

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

Successfully merging this pull request may close these issues.

None yet

4 participants