-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
[55775] Follow-up issues for the Dark mode #16002
Conversation
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.
While testing the checked issues in the ticket, I found some things that are not working as expected:
- On the overview page, the graph text is now readable. However, the grid itself is not visible:
![Bildschirmfoto 2024-07-03 um 07 57 42](https://private-user-images.githubusercontent.com/7457313/345301086-af36409e-c164-426f-914c-f3ee8aefb160.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjExMzY1NTIsIm5iZiI6MTcyMTEzNjI1MiwicGF0aCI6Ii83NDU3MzEzLzM0NTMwMTA4Ni1hZjM2NDA5ZS1jMTY0LTQyNmYtOTE0Yy1mM2VlOGFlZmIxNjAucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcxNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MTZUMTMyNDEyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MGJhNDYzZGM4ZDBiMmU0MTM0YTUxMmQyMjIwYWY0YzNkMGEzMTQyMzZkNjkxZjVjOTc2N2MwODgyZjRjYjdjZSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.CqzdnSFu4gFt3pHVyp4VdOkfcqOuW4Aaguj_T_tCKd8)
![Bildschirmfoto 2024-07-03 um 07 57 54](https://private-user-images.githubusercontent.com/7457313/345301104-f8b7fc5f-a79f-4e86-bd53-378fcbf651b6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjExMzY1NTIsIm5iZiI6MTcyMTEzNjI1MiwicGF0aCI6Ii83NDU3MzEzLzM0NTMwMTEwNC1mOGI3ZmM1Zi1hNzlmLTRlODYtYmQ1My0zNzhmY2JmNjUxYjYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcxNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MTZUMTMyNDEyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MjI4ZTNlMzA2NjI1ZDJmNWRlMDI0MjcxY2JlODdmMjJhNmYwYWFiZDU1MzYzOWUyZmUzNDBhNGZjNzIzNTc1MSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.vIOsdl9fguBZZbDGEvxMmvJ1CXaBsF_o7ihbrEU5Xz0)
- The input on the repository page is still white
![Bildschirmfoto 2024-07-03 um 07 58 36](https://private-user-images.githubusercontent.com/7457313/345301170-4018aef5-017a-4b5c-9bde-e3eeb1cf8a85.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjExMzY1NTIsIm5iZiI6MTcyMTEzNjI1MiwicGF0aCI6Ii83NDU3MzEzLzM0NTMwMTE3MC00MDE4YWVmNS0wMTdhLTRiNWMtOWJkZS1lM2VlYjFjZjhhODUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcxNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MTZUMTMyNDEyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NTU4ZDE5MDY3YWIyZTI1NjgzNTUyMzM0OWZhNzJjMzExMTVhOWM2NmY1NjZmMzMyODMyN2ExMGQ1Y2YyZmJhYyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.RDlsypmm7LM-vJfB_B-esWrcy2oN17zyeHFbArHWShU)
- The table on the cost reports page is also white
![Bildschirmfoto 2024-07-03 um 07 59 08](https://private-user-images.githubusercontent.com/7457313/345301309-521066b7-cf9c-4239-a470-8d8bfb836ac1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjExMzY1NTIsIm5iZiI6MTcyMTEzNjI1MiwicGF0aCI6Ii83NDU3MzEzLzM0NTMwMTMwOS01MjEwNjZiNy1jZjljLTQyMzktYTQ3MC04ZDhiZmI4MzZhYzEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcxNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MTZUMTMyNDEyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZDJlMzk2ZDQ1ODJlNDRlYWNiMWI0NWIxNWZhZjRiYzI4M2VjNWFjYWNmZjdlOWVkMmU0YWMyYTE2YWI2YjJkNSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.glJX4-OnDGkHDw1leIqMMqEL5LeIAFHg_vqnZx3ceoA)
- Hovering over an attached file (e.g. in documents) still has the white hover effect
![Bildschirmfoto 2024-07-03 um 08 01 17](https://private-user-images.githubusercontent.com/7457313/345301426-a186f420-eb11-4f0f-9324-20f7e52d2fc3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjExMzY1NTIsIm5iZiI6MTcyMTEzNjI1MiwicGF0aCI6Ii83NDU3MzEzLzM0NTMwMTQyNi1hMTg2ZjQyMC1lYjExLTRmMGYtOTMyNC0yMGY3ZTUyZDJmYzMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcxNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MTZUMTMyNDEyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MmYwMWYyMjcxMmQxYTFmZDBlNjBhMjYxZjhlOTJiYmI4ZGE3MDNmZjFmMTBhNzU5YWY4ZGUwMDgyNDY1OGQyMCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.1DxFPkM1H4r-umPgEgdnUXOFP1OuCk_8zZ_Gs17jRvU)
- When trying to enable a project attribute in a new project I still don't see which projects are already selected and thus disabled in the dropdown (in the screen shot below, "Seeded project" is disabled)
![Bildschirmfoto 2024-07-03 um 08 03 57](https://private-user-images.githubusercontent.com/7457313/345301661-dde9ceef-041d-47bd-b6aa-2cad7997a5a5.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjExMzY1NTIsIm5iZiI6MTcyMTEzNjI1MiwicGF0aCI6Ii83NDU3MzEzLzM0NTMwMTY2MS1kZGU5Y2VlZi0wNDFkLTQ3YmQtYjZhYS0yY2FkNzk5N2E1YTUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcxNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MTZUMTMyNDEyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZTU3YzFiM2Q0NWUwZDIwYTJmYzUzZWJiMWVkYWM0YTA5YjYyYzc2OWQwZjA4OTNjZjBhMzk1NTk2ZmNlOWI5NyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.MDsRt8ODLXZ6LQ3q1Iij0sWi7z5Syi0BVzaxHdVBubE)
select | ||
-webkit-appearance: none !important | ||
-moz-appearance: none !important | ||
background: var(--body-background) !important | ||
background-image: var(--select-arrow-bg-color-url) !important | ||
background-repeat: no-repeat !important | ||
background-position-x: 100% !important | ||
background-position-y: 5px !important | ||
margin-right: 2rem !important | ||
padding-right: 2rem !important | ||
|
||
&>option | ||
background-color: var(--body-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.
Please double check whether all of this (and the new variable) is really needed. We already have a similar thing here. Ideally, you'd only have to change the $select-arrow-color
.
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.
Hi @HDinger,
thanks for the hints, image-triangle() function only receives colors like '#000', we can't pass a variable to it and $select-arrow-color is not a global variable, so I can't map it to another value in primer-mapping file.
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.
Hi @bsatarnejad
I have only some minor remarks left 👍
@@ -157,6 +156,9 @@ select | |||
|
|||
&:not(.FormControl-select) | |||
@if $select-arrow | |||
background: transparent url(image-triangle($select-arrow-color)) right 10px center no-repeat |
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.
Please remove the image-triangle
function as well as it is not used anywhere else
@@ -112,7 +112,7 @@ div.autocomplete | |||
border-color: var(--borderColor-default) !important | |||
|
|||
.ng-select-container | |||
background-color: transparent !important | |||
background-color: var(--body-background) !important |
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.
@@ -98,10 +98,32 @@ export class WorkPackageEmbeddedGraphComponent { | |||
} | |||
|
|||
protected setChartOptions() { | |||
const bodyFontColor= getComputedStyle(document.body).getPropertyValue('--body-font-color'); | |||
const gridLineColor= getComputedStyle(document.body).getPropertyValue('--borderColor-default'); |
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.
065a8b9
to
281363b
Compare
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.
Hi @bsatarnejad
I have only one remark left 👍
@@ -187,4 +187,8 @@ export class WorkPackageEmbeddedGraphComponent { | |||
this.chartHeight = '100%'; | |||
} | |||
} | |||
|
|||
private isBarChart() { |
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.
I think that Bar charts are not the only ones in which we want to show the axis. I think we want to show them for all types except "pie" and "doughnut" (like it was before)
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.
Hi @HDinger
I checked stage, we only show the grid line for bar, horizontal bar and line graphs.
There were no grid lines for pie, doughnut, polar area and radar graph types.
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.
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.
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.
Forget my previous comment, I was on the wrong commit 🤦♀️ Everything is looking good 👍
b2f19ae
to
8f45700
Compare
Generated by 🚫 Danger |
https://community.openproject.org/work_packages/55775/activity