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

feat(ui): implement dark mode #133

Merged
merged 53 commits into from
Nov 25, 2023
Merged

feat(ui): implement dark mode #133

merged 53 commits into from
Nov 25, 2023

Conversation

kreshnnikgashi
Copy link
Member

@kreshnnikgashi kreshnnikgashi commented Nov 7, 2023

This closes #116 and #123

@kreshnnikgashi kreshnnikgashi linked an issue Nov 7, 2023 that may be closed by this pull request
@danstarns
Copy link
Member

This is looking great, some initial comments, and expect more to come.

Npm Icon
I find this jarring, it seems to be off to one side.

@kreshnnikgashi I think we should just remove the npm icon now and direct only to the GitHub - wdyt?

Screenshot 2023-11-10 at 12 01 53

Config Icon
Using the user icon could be confusing to developers as we also have a user for the login, Let's keep anything user-related to the cloud and keep this as a cog only.

Screenshot 2023-11-10 at 11 55 49

Editor Color
I think the purple in the dark background is hard to see, try something a little bit lighter.

Screenshot 2023-11-10 at 11 56 41

@danstarns
Copy link
Member

I see we are having issues with the modal colors, I think we should change the modal background to be the same as the trace views, so that we dont have to invert the pilll or background colors, wdyt? @kreshnnikgashi

Screenshot 2023-11-10 at 12 04 24

matches: false,
media: query,
onchange: null,
addListener: jest.fn(), // Deprecated
Copy link
Member

Choose a reason for hiding this comment

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

Why are we using deprecated, methods, can we change to the latest?

Copy link
Member Author

Choose a reason for hiding this comment

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

Actually this is the latest: https://jestjs.io/docs/manual-mocks#mocking-methods-which-are-not-implemented-in-jsdom - however I'm gonna remove these 2 deprecated methods

@kreshnnikgashi
Copy link
Member Author

kreshnnikgashi commented Nov 10, 2023

I see we are having issues with the modal colors, I think we should change the modal background to be the same as the trace views, so that we dont have to invert the pilll or background colors, wdyt? @kreshnnikgashi

Screenshot 2023-11-10 at 12 04 24

I agree @danstarns - should this be the case for all modals or just for trace viewer ?

Copy link
Member

@danstarns danstarns left a comment

Choose a reason for hiding this comment

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

It looks like it's the flaky color e2e tests blocking this. Let's skip those lines and make a separate issue linking to each line.

Great work @kreshnnikgashi let's merge and 🚢 it.

@kreshnnikgashi kreshnnikgashi merged commit 59f0082 into main Nov 25, 2023
13 checks passed
@kreshnnikgashi kreshnnikgashi deleted the feat/dark-mode branch November 25, 2023 08:33
@danstarns danstarns mentioned this pull request Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement dark mode
2 participants