-
Notifications
You must be signed in to change notification settings - Fork 4.5k
perf: Widget re-rendering refactor #14485
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
Changes from all commits
3ea2117
ff2fc91
2d657db
383aaab
af2f352
779353f
c74f9df
3dc0652
4d9cec6
8027618
0acccaa
6f9b374
aa99be8
28fb4fc
1daa9fb
f08fc55
f196fb9
49dd097
c0ce368
749af42
52a3e8e
02e9b84
d39c970
cbcfbbc
e18af5f
5449dde
59350e3
5f054df
d8c4c3a
66cf39e
846b983
0473bb6
7fd84ab
2faae27
e2c5289
687d5b6
8137cff
1013243
f335d1f
07e5830
ae25600
59df76d
6a81f3f
3c01086
869cdea
5745cdf
01cb9a9
b58f824
2153111
3d82b0a
37ba650
a7b2b5a
5ea91c8
992d1ec
6fefb83
453e40a
6659231
b85ec10
5f115bf
4a03a64
d72182f
20267bc
9361f31
60a9e24
42604b4
e5d0eb7
ddd5477
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| export const modifierKey = Cypress.platform === "darwin" ? "meta" : "ctrl"; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -138,6 +138,15 @@ export const WIDGET_STATIC_PROPS = { | |
| noContainerOffset: false, | ||
| }; | ||
|
|
||
| export const WIDGET_DSL_STRUCTURE_PROPS = { | ||
| children: true, | ||
| type: true, | ||
| widgetId: true, | ||
| parentId: true, | ||
| topRow: true, | ||
| bottomRow: true, | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also, how about making this an
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Unfortunately those are still needed for canvas,
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @rahulramesha , How are widgets getting these props? Are they subscribing to them individually? |
||
| }; | ||
|
|
||
| export type TextSize = keyof typeof TextSizes; | ||
|
|
||
| export const DEFAULT_FONT_SIZE = THEMEING_TEXT_SIZES.base; | ||
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.
Can we add a new line?