-
-
Notifications
You must be signed in to change notification settings - Fork 412
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
Add chart theme with transparent background #2415
Conversation
Currently the background of the dark theme differs from the background color of the Android app. With a transparent background, it'll be the same. The version bump is required so the app can use the current `dark` theme for older versions of the server. Closes openhab#1183
I cannot see the issue in the log: https://ci.openhab.org/job/PR-openHAB-Core/3598/org.openhab.core.bundles$org.openhab.core.ui/console |
|
||
/** | ||
* Implementation of the dark {@link ChartTheme chart theme} with transparent background. | ||
*/ |
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.
[ERROR] org.openhab.core.ui.internal.chart.defaultchartprovider.ChartThemeDarkTransparent.java:[20]
An author tag is missing
Locally I get the following error (IntelliJ Idea with built-in mvn and
|
Sounds like a problem with your IntelliJ, if it cannot parse the license file... |
Short update: Using official Maven with Zulu Java 11 I can build the project, but I still have to read the docs on how to run openHAB. |
I posted my current issue with this PR in the forum, but didn't receive an answer so far: https://community.openhab.org/t/basic-authentication-configured-when-running-oh-via-eclipse/125378 |
* Improve exception handling * Add dark_transparent theme * Add null annotations * Use java.time classes instead of Date and magic numbers * Upgrade XChart to 3.1.0 For XChart release notes see: https://knowm.org/open-source/xchart/xchart-change-log/ On newer XChart versions there is an issue when using customized grid lines: knowm/XChart#628 Fixes openhab#1183 Related to openhab#2501 Supersedes openhab#2415 Signed-off-by: Wouter Born <github@maindrain.net>
* Improve exception handling * Add themes * Add null annotations * Use java.time classes instead of Date and magic numbers * Upgrade XChart to 3.1.0 For XChart release notes see: https://knowm.org/open-source/xchart/xchart-change-log/ On newer XChart versions there is an issue when using customized grid lines: knowm/XChart#628 Fixes openhab#1183 Related to openhab#2501 Supersedes openhab#2415 Signed-off-by: Wouter Born <github@maindrain.net>
* Improve exception handling * Add transparent themes * Add null annotations * Use java.time classes instead of Date and magic numbers * Upgrade XChart to 3.1.0 For XChart release notes see: https://knowm.org/open-source/xchart/xchart-change-log/ On newer XChart versions there is an issue when using customized grid lines: knowm/XChart#628 Fixes openhab#1183 Related to openhab#2501 Supersedes openhab#2415 Signed-off-by: Wouter Born <github@maindrain.net>
* Improve exception handling * Add transparent themes * Add null annotations * Use java.time classes instead of Date and magic numbers * Upgrade XChart to 3.1.0 * Fix buggy legend position logic: Reinitialize counter to 0. So it does not work on legend position counter values of previously created charts. Use a local variable for the position counter instead of a field. This prevents issues when creating multiple charts simultanuously. For XChart release notes see: https://knowm.org/open-source/xchart/xchart-change-log/ On newer XChart versions there is an issue when using customized grid lines: knowm/XChart#628 Fixes openhab#1183 Related to openhab#2501 Supersedes openhab#2415 Signed-off-by: Wouter Born <github@maindrain.net>
* Improve exception handling * Add transparent themes * Add null annotations * Use java.time classes instead of Date and magic numbers * Upgrade XChart to 3.1.0 * Fix buggy legend position logic: Reinitialize counter to 0. So it does not work on legend position counter values of previously created charts. Use a local variable for the position counter instead of a field. This prevents issues when creating multiple charts simultanuously. For XChart release notes see: https://knowm.org/open-source/xchart/xchart-change-log/ On newer XChart versions there is an issue when using customized grid lines: knowm/XChart#628 Fixes openhab#1183 Related to openhab#2501 Supersedes openhab#2415 Signed-off-by: Wouter Born <github@maindrain.net>
* Improve exception handling * Add transparent themes * Add null annotations * Use java.time classes instead of Date and magic numbers * Upgrade XChart to 3.1.0 * Fix buggy legend position logic: Reinitialize counter to 0. So it does not work on legend position counter values of previously created charts. Use a local variable for the position counter instead of a field. This prevents issues when creating multiple charts simultanuously. For XChart release notes see: https://knowm.org/open-source/xchart/xchart-change-log/ On newer XChart versions there is an issue when using customized grid lines: knowm/XChart#628 Fixes openhab#1183 Related to openhab#2501 Supersedes openhab#2415 Signed-off-by: Wouter Born <github@maindrain.net>
* Improve exception handling * Add transparent themes * Add null annotations * Use java.time classes instead of Date and magic numbers * Upgrade XChart to 3.1.0 * Fix buggy legend position logic: Reinitialize counter to 0. So it does not work on legend position counter values of previously created charts. Use a local variable for the position counter instead of a field. This prevents issues when creating multiple charts simultanuously. For XChart release notes see: https://knowm.org/open-source/xchart/xchart-change-log/ On newer XChart versions there is an issue when using customized grid lines: knowm/XChart#628 Fixes openhab#1183 Related to openhab#2501 Supersedes openhab#2415 Signed-off-by: Wouter Born <github@maindrain.net>
* Improve exception handling * Add transparent themes * Add null annotations * Use java.time classes instead of Date and magic numbers * Upgrade XChart to 3.1.0 * Fix buggy legend position logic: Reinitialize counter to 0. So it does not work on legend position counter values of previously created charts. Use a local variable for the position counter instead of a field. This prevents issues when creating multiple charts simultanuously. For XChart release notes see: https://knowm.org/open-source/xchart/xchart-change-log/ On newer XChart versions there is an issue when using customized grid lines: knowm/XChart#628 Fixes openhab#1183 Related to openhab#2501 Supersedes openhab#2415 Signed-off-by: Wouter Born <github@maindrain.net>
* Improve exception handling * Add transparent themes * Add null annotations * Use java.time classes instead of Date and magic numbers * Upgrade XChart to 3.1.0 * Fix buggy legend position logic: Reinitialize counter to 0. So it does not work on legend position counter values of previously created charts. Use a local variable for the position counter instead of a field. This prevents issues when creating multiple charts simultanuously. For XChart release notes see: https://knowm.org/open-source/xchart/xchart-change-log/ On newer XChart versions there is an issue when using customized grid lines: knowm/XChart#628 Fixes #1183 Related to #2501 Supersedes #2415 Signed-off-by: Wouter Born <github@maindrain.net>
This has been included in #2502. |
* Improve exception handling * Add transparent themes * Add null annotations * Use java.time classes instead of Date and magic numbers * Upgrade XChart to 3.1.0 * Fix buggy legend position logic: Reinitialize counter to 0. So it does not work on legend position counter values of previously created charts. Use a local variable for the position counter instead of a field. This prevents issues when creating multiple charts simultanuously. For XChart release notes see: https://knowm.org/open-source/xchart/xchart-change-log/ On newer XChart versions there is an issue when using customized grid lines: knowm/XChart#628 Fixes openhab#1183 Related to openhab#2501 Supersedes openhab#2415 Signed-off-by: Wouter Born <github@maindrain.net> GitOrigin-RevId: ac84206
Currently the background of the dark theme differs from the background
color of the Android app. With a transparent background, it'll be the
same.
The version bump is required so the app can use the current
dark
themefor older versions of the server.
Closes #1183
PS: AFAIK this is my first PR here and I'm still having issues setting up my IDE. The build doesn't work for me locally, so I want to see if the CI here passes.