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

Support system themes for Pipeline editor #769

Merged
merged 1 commit into from
Sep 26, 2023

Conversation

timja
Copy link
Member

@timja timja commented Aug 19, 2023

Amends #654

see PR description in jenkinsci/theme-manager-plugin#171 for details on the change

this has no UI changes other than dark system theme is now supported as well as dark theme

Testing done

Tested with:

  • No theme set
  • Default theme explicitly set
  • Dark
  • Dark (system) - dark
  • Dark (system) - light
  • Live switching between dark and light on the system theme and seeing it automatically adapting

Submitter checklist

Preview Give feedback

@@ -191,17 +191,6 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>io.jenkins.plugins</groupId>
<artifactId>theme-manager</artifactId>
Copy link
Member Author

Choose a reason for hiding this comment

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

only needed as a JavaScript API now so not needed to be in pom. We could leave it in bumping the version to ensure that the plugins work together but I don't think needed

@@ -8,7 +8,7 @@
"scripts": {
"dev": "webpack --config webpack.dev.js",
"prod": "webpack --config webpack.prod.js",
"start": "yarn dev -- --watch",
"start": "yarn dev --watch",
Copy link
Member Author

Choose a reason for hiding this comment

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

deprecation warning in my build console that yarn hasn't needed this since yarn v1.0

@timja timja marked this pull request as ready for review August 19, 2023 20:49
@timja timja requested a review from a team as a code owner August 19, 2023 20:49
@timja timja requested a review from jglick September 26, 2023 07:36
Copy link
Member

@jglick jglick left a comment

Choose a reason for hiding this comment

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

Does not appear to break anything when run on master without theme-manager.

@jglick jglick merged commit 65dec41 into jenkinsci:master Sep 26, 2023
@timja timja deleted the update-theme-api branch September 26, 2023 12:56
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.

2 participants