Bug/69693 adjust the workspace badge icon style to primer#21364
Conversation
|
Caution The provided work package version does not match the core version Details:
Please make sure that:
|
9c1b5d2 to
47f210a
Compare
0229dae to
40aa94f
Compare
655161b to
48d185c
Compare
EinLama
left a comment
There was a problem hiding this comment.
The changes themselves look good, but two specs are legitimately red:
- spec/features/projects/persisted_lists_spec.rb
- spec/features/projects/lists/filters_spec.rb
| @@ -1,5 +1,7 @@ | |||
| @use "sass:list" | |||
|
|
|||
| @import '../../../../../global_styles/content/_autocomplete.sass' | |||
There was a problem hiding this comment.
I think this import can be removed. It should happen implicitly.
There was a problem hiding this comment.
Unfortunately it is not the case. Alternatively I could add the import to the frontend/src/assets/sass/_helpers.sass, but it's not really a helper class. It would also mean the _autocomplete.sass would be duplicated for every component importing the helper.
There was a problem hiding this comment.
Where does it raise an error? I removed the line and clicked through a couple of pages. Could not find an issue.
There was a problem hiding this comment.
The asset compiler raises the error:
✘ [ERROR] The target selector was not found.
Use "@extend %autocomplete-description !optional" to avoid this error.
╷
108 │ @extend %autocomplete-description
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
src/app/spot/styles/sass/components/list.sass 108:11 root stylesheet [plugin angular-sass]
angular:styles/global:spot:1:8:
1 │ @import 'src/spot.scss';
╵ ~~~~~~~~~~~~~~~
There was a problem hiding this comment.
I had that too when I removed the line, but a page reload removed the issue and the app still worked afterwards. I suspected this error was a false-positive due to me removing the import line while the server is running. But maybe that was wrong and a server restart would have left the page unusable.
|
@EinLama thank you for the review. I addressed the failing specs. |
EinLama
left a comment
There was a problem hiding this comment.
👍 looks nicer than before 🙂
Ticket
https://community.openproject.org/wp/69693
What are you trying to accomplish?
Adapt the workspace badge style to be closer to Primer ActionList item with description:
Screenshots
What approach did you choose and why?
Merge checklist