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

Fix "Create profile" page not supporting dark mode (#8110) #9185

Merged
merged 1 commit into from
Dec 23, 2024

Conversation

eliasylonen
Copy link
Contributor

Fixes issue #8110

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

Changes the default color scheme for workspace members from 'Light' to 'System' to respect system dark mode settings during user onboarding.

  • Modified default color scheme value to 'System' in workspace-member.workspace-entity.ts
  • Updated SQL INSERT statement in user-workspace.service.ts to use 'System' as default color scheme
  • Ensures 'Create profile' page respects system dark mode preferences during account creation

2 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings | Greptile

Copy link
Member

@FelixMalfait FelixMalfait left a comment

Choose a reason for hiding this comment

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

Thanks!

@Bonapara fyi - means more people will be using dark mode

@FelixMalfait FelixMalfait merged commit 7d57d61 into twentyhq:main Dec 23, 2024
20 checks passed
Copy link

Thanks @eliasylonen for your contribution!
This marks your 4th PR on the repo. You're top 9% of all our contributors 🎉
See contributor page - Share on LinkedIn - Share on Twitter

Contributions

Weiko added a commit that referenced this pull request Dec 23, 2024
Weiko added a commit that referenced this pull request Dec 23, 2024
…9201)

Reverts #9185
This PR breaks sync-metadata, will merge back after 0.35
Weiko added a commit that referenced this pull request Dec 24, 2024
…& Fix string defaultValues during sync-metadata (#9220)

Restoring #9185
Also fixing sync-metadata with test values in jsonb

## Test
sync-metadata on existing workspaces should replace colorSchema in both
metadata and workspaceMember tables
samyakpiya pushed a commit to samyakpiya/twenty that referenced this pull request Dec 28, 2024
samyakpiya pushed a commit to samyakpiya/twenty that referenced this pull request Dec 28, 2024
…8110)" (twentyhq#9201)

Reverts twentyhq#9185
This PR breaks sync-metadata, will merge back after 0.35
samyakpiya pushed a commit to samyakpiya/twenty that referenced this pull request Dec 28, 2024
…#8110)" & Fix string defaultValues during sync-metadata (twentyhq#9220)

Restoring twentyhq#9185
Also fixing sync-metadata with test values in jsonb

## Test
sync-metadata on existing workspaces should replace colorSchema in both
metadata and workspaceMember tables
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.

3 participants