-
Notifications
You must be signed in to change notification settings - Fork 300
[WIP] Added coloring option for dirty-marker #2391
Conversation
…nfiguration by dirty-marker color
@wheyerstrass great work on the PR just a couple of notes re. the config option I think we have a couple related to the tab so the marker option would be best grouped with those e.g. |
… to Configuration mockup
Looking through the travis-ci log it looks like the job has been terminated because this happens in a loop:
Is this a test I can reproduce locally ? |
Codecov Report
@@ Coverage Diff @@
## master #2391 +/- ##
==========================================
- Coverage 38.2% 38.19% -0.01%
==========================================
Files 300 300
Lines 12518 12522 +4
Branches 1647 1649 +2
==========================================
+ Hits 4782 4783 +1
- Misses 7481 7484 +3
Partials 255 255
Continue to review full report at Codecov.
|
@wheyerstrass I've re-run the CI test and they pass (they flake out on occasion, which is known were trying to resolve that) thanks for the PR looks good and for making the changes 👍 |
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.
@wheyerstrass just tried this locally and it works really well thanks again
Just realised you still had a WIP flag on this lemme know if I jumped the gun and we can revert it and re-open the PR sorry about that should have checked in first |
@akin909 I wanted to make the config to dirty-marker component passing more robust, because right now this line: background-color: ${props => props.userColor || props.theme.foreground} would fail if |
@wheyerstrass I can revert the change and you could re-open a PR with the included change or you could add the new change to the updated master and I'll merge that to go with this? |
The latter seems the easiest 👍 |
add the new change in a new PR sorry should have clarified that |
I'll make a new PR |
@akin909 Ok it looks like it does work as expected. I don't know why |
As dicussed with @akin909 and @hoschi in #1580 I created a styled component that replaces the current dirty-marker. Its
background-color
can be customized using the configuration keyeditor.dirtyMarker.userColor
, which accepts css color values and defaults to the current themesforeground
color.