159fe3a87d
fix: system default theme for dashboard and booking page ( #15291 )
...
* fix: system default theme
* update
---------
Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com >
Co-authored-by: unknown <adhabal2002@gmail.com >
2024-07-19 13:42:21 +02:00
Hariom Balhara and GitHub
6dfc19247e
fix: Embed theme not working using Embed API ( #10163 )
...
## What does this PR do?
Fixes #10187
See [Tests Done](https://www.loom.com/share/f03e0191b60143d8b45a505042dbfa11 )
## Type of change
- [x] Bug fix (non-breaking change which fixes an issue)
## How should this be tested?
- [x] Configure embed to use `dark` theme and verify that dark theme is shown on event booking page(when user has light theme set). This is failing in main
- Additional Tests for embed to avoid any new regression
- [x] - Configure "auto" theme using embed API and see it reacts to system theme
- [x] - Don't configure any theme and see that "light" theme is shown even when we switch system theme(Because User has configured light theme in App)
- Tests outside embed to avoid any new regression
- [x] - See that light theme is shown even after switching system theme
- [x] - Now, switch the user theme to dark and see that it reflects the change.
## Mandatory Tasks
[x] Make sure you have self-reviewed the code. A decent size PR without self-review might be rejected.
2023-07-17 18:02:42 -07:00
Hariom Balhara and GitHub
8a6b93a747
Fix: Embed - Auto theme configured using embed config doesn't work when there is non-system theme configured in appearance. ( #9030 )
...
* Differentiate b/w auto theme and unspecified theme
* Fix TS
2023-05-22 11:17:56 +00:00
d3f77bf292
Fix: Embed Theme switching when appearance is using System Theme ( #8655 )
...
Co-authored-by: Peer Richelsen <peeroke@gmail.com >
2023-05-05 16:54:06 +05:30
Hariom Balhara and GitHub
a845841ad0
Prevent looping b/w dark and light ( #8440 )
2023-04-21 16:20:27 +05:30
Hariom Balhara and GitHub
c38dd2d072
Hotfix: Fix theme not changing once page has started loading ( #8400 )
...
* Fix theme not changing once page is loaded
* Add toggle case in playground
2023-04-20 11:57:28 +00:00
Hariom Balhara and GitHub
2c96444058
Fix/Keep themes in peace across embed and booking pages and App ( #8108 )
2023-04-17 17:46:54 +05:30
sean-brydon and GitHub
4b0d22655d
Feat/tokens + darkmode + theme support ( #7876 )
2023-04-05 18:14:46 +00:00
Hariom Balhara and GitHub
95c1c81b3b
Fix ColorPicker not showing up and Auto theme not working ( #7626 )
2023-03-09 11:57:59 -07:00
0e7276370f
Fix: mounting state use theme ( #7203 )
...
Co-authored-by: Guest <guest@pop-os.localdomain >
2023-02-20 15:17:33 +05:30
Nafees Nazik and GitHub
485619602f
refactor: usetheme hook ( #7112 )
...
* refactor: useTheme hook
* feat: add mounted state hook
* feat: add mounted hook
* fix: add comments
2023-02-17 11:18:54 +00:00
Omar López and GitHub
7c749299bb
Enforces explicit type imports ( #7158 )
...
* Enforces explicit type imports
* Upgrades typescript-eslint
* Upgrades eslint related dependencies
* Update config
* Sync packages mismatches
* Syncs prettier version
* Linting
* Relocks node version
* Fixes
* Locks @vitejs/plugin-react to 1.3.2
* Linting
2023-02-16 15:39:57 -07:00
464343f5ab
Refactors EE code ( #3490 )
...
* WIP
* WIP
* Type and migration fixes
* Adds missing default import
* Fixes import
* Fixes tRPC imports in App Store
* Migrate stripe helpers
* WIP
* Type fixes
* Type fix?
* WIP
* WIP
* Update index.ts
* Fixes
* Update workflow.tsx
* Moved queries to lib
* Moves QueryCell
* Migrates MultiSelectCheckboxes
* WIP
* CryptoSection type fixes
* WIP
* Import fixes
* Build fixes
* Update app-providers.tsx
* Build fixes
* Upgrades hookform zod resolvers
* Build fixes
* Cleanup
* Build fixes
* Relocates QueryCell to ui
* Moved List and SkeletonLoader
* Revert QueryCell migration
* Can't use QueryCell here
* oops
* CryptoSection cleanup
* Update app-providers.tsx
* Moved ee to features
* ee to features/ee
* Removes @calcom/ee
* Adds possible feature locations
* Build fixes
* Migrates stripe to app-store lib
* Colocates stripe imports
* Update subscription.ts
* Submodule sync
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-07-28 13:58:26 -06:00