Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
250 commits
Select commit Hold shift + click to select a range
0dfe999
Add a plugin hook for Vite plugins
FarhanAliRaza Nov 27, 2026
091afa3
Scaffold reflex-components-ui and the rx.ui namespace
FarhanAliRaza Nov 27, 2026
c72d618
Merge PR 4 of the rx.ui plan: Plugin.get_vite_plugins() hook
FarhanAliRaza Nov 27, 2026
d4a909d
Load dynamic-component libraries as chunks of their own
FarhanAliRaza Nov 27, 2026
5dc02bf
Merge PR 1 of the rx.ui plan: load dynamic-component libraries on demand
FarhanAliRaza Nov 27, 2026
7ea1a0f
Format the ESLint config as the repository's formatter does
FarhanAliRaza Nov 27, 2026
f365f87
Merge PR 5 of the rx.ui plan: reflex-components-ui scaffold and rx.ui…
FarhanAliRaza Nov 27, 2026
4ecf2d4
Start a prerendered page's scripts after its first paint
FarhanAliRaza Nov 27, 2026
c05dd41
Document the early click hand-over in the frontend README
FarhanAliRaza Nov 27, 2026
f7e8892
Ship the state runtime and the toaster only to apps that use them
FarhanAliRaza Nov 27, 2026
0bb8a71
Add UIPlugin and rx.ui.box, compiled to a plain div through StyleX
FarhanAliRaza Nov 27, 2026
9ffb744
Merge PR 6 of the rx.ui plan: UIPlugin, StyleX in the build, rx.ui.box
FarhanAliRaza Nov 27, 2026
257e5e0
Remove a duplicated command line from AGENTS.md
FarhanAliRaza Nov 27, 2026
d3b3fc9
Take the early click over right before hydration
FarhanAliRaza Nov 27, 2026
698cb49
Add typed rx.ui styles with lowering and merging
FarhanAliRaza Nov 27, 2026
66d9d3f
Merge PR 8a of the rx.ui plan: typed StyleProps, style lowering and m…
FarhanAliRaza Nov 27, 2026
0cfa6b5
Generate the rx.ui tokens, color scales and themes from Radix Themes
FarhanAliRaza Nov 27, 2026
5b481d2
Merge PR 3 of the rx.ui plan: state runtime and toaster ship only whe…
FarhanAliRaza Nov 27, 2026
035c744
Build the rx.ui test pages with the layer prefix an app uses
FarhanAliRaza Nov 27, 2026
8112e82
Merge PR 7a of the rx.ui plan: tokens, color scales and themes as Sty…
FarhanAliRaza Nov 27, 2026
7ba9da5
Apply the rx.ui theme at the root, add rx.ui.theme and rx.ui.tokens (…
FarhanAliRaza Nov 27, 2026
da98a77
Merge PR 2 of the rx.ui plan: scripts start after first paint on prer…
FarhanAliRaza Nov 27, 2026
c38fb26
Test the rx.ui themes and tokens, and subscribe a bound theme to its …
FarhanAliRaza Nov 27, 2026
795856c
Add the rx.ui parity harness and behaviour contract
FarhanAliRaza Nov 27, 2026
bc1f083
Carry the class of an appearance on a boxless element, and sweep the …
FarhanAliRaza Nov 27, 2026
e9fc4a9
Merge PR 9 of the rx.ui plan: parity harness and behaviour contract
FarhanAliRaza Nov 27, 2026
1fae9d2
Document themes and tokens, regenerate the stubs, and type the tests
FarhanAliRaza Nov 27, 2026
b996372
Read the appearance from the props, and settle the type checks of the…
FarhanAliRaza Nov 27, 2026
aaa0b27
Compile rx.ui styles: merge in Python, emit one StyleX declaration
FarhanAliRaza Nov 27, 2026
93ae32c
Merge PR 8b of the rx.ui plan: style compiler wired into UIComponent,…
FarhanAliRaza Nov 27, 2026
4fa651e
Refuse a Radix theme in UIPlugin, and test selection and a state-boun…
FarhanAliRaza Nov 27, 2026
5127fc7
Type the state-bound page of the shared test app
FarhanAliRaza Nov 27, 2026
b6ccd86
Wait for the hydration commit before the parity harness reads a page
FarhanAliRaza Nov 27, 2026
051ccf1
Merge the style compiler and the parity harness, and join theme class…
FarhanAliRaza Nov 27, 2026
c9dfa02
Merge the parity harness readiness fix: wait for committed hydration
FarhanAliRaza Nov 27, 2026
0fd5c27
WIP: import Emotion's jsx only in modules that render a css prop
FarhanAliRaza Nov 27, 2026
3b54a6f
Wire color_scheme into UIComponent, and adapt the theme tests to the …
FarhanAliRaza Nov 27, 2026
aab5b83
Test color_scheme and the whole token sweep live on the merged base
FarhanAliRaza Nov 27, 2026
9bf05cc
Document the theme classes without the StyleX runtime, and settle the…
FarhanAliRaza Nov 27, 2026
453dfe1
Merge PR 7b of the rx.ui plan: Theme, rx.ui.theme, rx.ui.tokens, colo…
FarhanAliRaza Nov 27, 2026
fc2450c
WIP: update exact-output tests for the jsx import rule
FarhanAliRaza Nov 27, 2026
5a894f9
WIP: safety net for css keys, unit tests for the jsx import rule and …
FarhanAliRaza Nov 27, 2026
340238a
Give rx.ui components element props, Radix breakpoints for props, res…
FarhanAliRaza Nov 27, 2026
e1665c8
Add the layout and typography components of rx.ui, with their style t…
FarhanAliRaza Nov 27, 2026
ec44971
WIP: news, stubs, integration test, type fixes
FarhanAliRaza Nov 27, 2026
0cad8c5
Add the parity matrices and contracts of the layout and typography wa…
FarhanAliRaza Nov 27, 2026
12230ac
WIP: keep the cached tag per kind of code, rx.ui elements never ask f…
FarhanAliRaza Nov 27, 2026
d269a61
Hold the typography matrices to zero differing pixels
FarhanAliRaza Nov 27, 2026
521d08b
Ship Emotion only in modules that render a css prop
FarhanAliRaza Nov 27, 2026
ae31b44
Test the layout and typography wave: components, responsive props, as…
FarhanAliRaza Nov 27, 2026
3e49da5
Merge PR 16 of the rx.ui plan: Emotion-free pages
FarhanAliRaza Nov 27, 2026
9caa657
Exercise the layout and typography components in the shared integrati…
FarhanAliRaza Nov 27, 2026
b030bf0
Document the conventions of an rx.ui component, add the news fragment…
FarhanAliRaza Nov 27, 2026
bedf0d4
Keep the child of as_child in place when it is bound to state, and ti…
FarhanAliRaza Nov 27, 2026
60f8bcd
Merge PR 10 of the rx.ui plan: layout and typography components
FarhanAliRaza Nov 27, 2026
a8dac31
Restore the imports the rx.ui test fixtures need after the merge
FarhanAliRaza Nov 27, 2026
24e3d7a
Dispatch an early click only after the page's mount effects
FarhanAliRaza Nov 27, 2026
18bd167
Add keyframes to rx.ui styles, a radius of its own to a component, an…
FarhanAliRaza Nov 27, 2026
6e05759
Merge the early-click fix: hold clicks during hydration, replay once …
FarhanAliRaza Nov 27, 2026
3253205
Add rx.ui.button and rx.ui.spinner, and keep the styles of a pseudo-e…
FarhanAliRaza Nov 27, 2026
272a557
Add rx.ui.icon_button, and the matrices and contracts of the spinner …
FarhanAliRaza Nov 27, 2026
0c836a0
Remove the worktree pointers committed by mistake
FarhanAliRaza Nov 27, 2026
d02e18e
Filter high-contrast solid code under the pointer inside a link, as R…
FarhanAliRaza Nov 27, 2026
7f36d31
Test the button, the icon button, the spinner, keyframes, a radius of…
FarhanAliRaza Nov 27, 2026
6b1d5ea
Document the conventions of the display and action wave, and add its …
FarhanAliRaza Nov 27, 2026
d7e6d19
Settle the types of the button table and regenerate the stubs
FarhanAliRaza Nov 27, 2026
7e78b57
Merge the first part of PR 11 of the rx.ui plan: button, icon button,…
FarhanAliRaza Nov 27, 2026
d0fb57f
Add rx.ui.badge
FarhanAliRaza Nov 27, 2026
2593eb3
Add rx.ui.data_list, and props that stand for a CSS property
FarhanAliRaza Nov 27, 2026
d7d64c5
Add rx.ui.progress, and let a style play several animations together
FarhanAliRaza Nov 27, 2026
cd423d4
Add rx.ui.card, and render the inset matrix inside it
FarhanAliRaza Nov 27, 2026
797c4a9
Add rx.ui.avatar: an image over its fallback, and the one script that…
FarhanAliRaza Nov 27, 2026
f2eaeb3
Add rx.ui.callout, with its parts and the form made from a text
FarhanAliRaza Nov 27, 2026
3009d73
Tidy the callout declarations
FarhanAliRaza Nov 27, 2026
17acb4a
Add rx.ui.skeleton: a span around text, or the element it stands in for
FarhanAliRaza Nov 27, 2026
89eb321
Compare each skeleton with its own declared style
FarhanAliRaza Nov 27, 2026
ea42645
Add rx.ui.scroll_area, which scrolls natively
FarhanAliRaza Nov 27, 2026
785e084
Add rx.ui.table, with its parts
FarhanAliRaza Nov 27, 2026
3372a8b
Keep the cells whose Radix reference depends on timing out of the scr…
FarhanAliRaza Nov 27, 2026
5594633
Let a component keep the styles of the child it is rendered as, and s…
FarhanAliRaza Nov 27, 2026
53f6642
Type the scrolling box of a table
FarhanAliRaza Nov 27, 2026
4e3425f
Exercise the display and action components in the shared integration app
FarhanAliRaza Nov 27, 2026
4593d4f
Record what the display and action wave adds and settles
FarhanAliRaza Nov 27, 2026
8a64c8e
Merge PR 11 of the rx.ui plan: display and action components
FarhanAliRaza Nov 27, 2026
02cb375
Turn the wheel until the scroll area moves in its no-JavaScript contr…
FarhanAliRaza Nov 28, 2026
2a6ec7e
Add rx.ui.checkbox: a native input drawn as the Radix checkbox
FarhanAliRaza Nov 28, 2026
7a8920c
Add rx.ui.switch: a native checkbox with the role of a switch
FarhanAliRaza Nov 28, 2026
287cf92
Add rx.ui.radio and rx.ui.radio_group: native radio buttons that shar…
FarhanAliRaza Nov 28, 2026
e06e128
Add rx.ui.checkbox_group, on the group machinery the radio group shares
FarhanAliRaza Nov 28, 2026
09c465b
Add rx.ui.radio_cards and rx.ui.checkbox_cards: labels around native …
FarhanAliRaza Nov 28, 2026
bae63a8
Add rx.ui.input, rx.ui.text_field and rx.ui.text_area
FarhanAliRaza Nov 28, 2026
f60fda9
Add rx.ui.form: the form element of Reflex, with fields and messages
FarhanAliRaza Nov 28, 2026
033f4dd
Add rx.ui.segmented_control: native radio buttons drawn as one control
FarhanAliRaza Nov 28, 2026
b605c9e
Add rx.ui.slider: native range inputs over the track of Radix Themes
FarhanAliRaza Nov 28, 2026
89469e4
Add rx.ui.select on a native popover
FarhanAliRaza Nov 28, 2026
6f9508b
Let the sonner package import and build without reflex-components-core
FarhanAliRaza Nov 28, 2026
9c39d53
Follow the app root's per-library loaders in the docs frontend test
FarhanAliRaza Nov 28, 2026
e8af565
Compare a progress keyframe offset to the precision Firefox keeps
FarhanAliRaza Nov 28, 2026
55a2bbc
Cover the form controls in the shared app, and say how behaviour is b…
FarhanAliRaza Nov 28, 2026
b0be82a
Merge CI fixes: sonner import without core, docs frontend test, progr…
FarhanAliRaza Nov 28, 2026
fd120ba
Make the rx.ui scroll area a tab stop in every browser
FarhanAliRaza Nov 28, 2026
cd546f9
Settle the types of the form controls, and record what the wave costs
FarhanAliRaza Nov 28, 2026
f0740fa
Mark a select as closed by Escape only while its list is open
FarhanAliRaza Nov 28, 2026
5df006b
Decide which jsx a module imports from its code, not by rendering com…
FarhanAliRaza Nov 28, 2026
6807594
Update the reflex-base news fragment and stub hashes
FarhanAliRaza Nov 28, 2026
dce4aff
Merge the step 16 follow-up: decide the jsx import from a module's co…
FarhanAliRaza Nov 28, 2026
760fb24
Make code inside an rx.ui link a stacking context, as in Radix Themes
FarhanAliRaza Nov 28, 2026
5b92c28
Let the parity matrices render in other fonts than the theme's
FarhanAliRaza Nov 28, 2026
90d9e40
Compile three inputs the review found crashing
FarhanAliRaza Nov 28, 2026
b455c98
Type the two rx.ui changes of this branch for pyright
FarhanAliRaza Nov 28, 2026
5706739
Wait for the avatars of Radix before the avatar matrix is read
FarhanAliRaza Nov 28, 2026
7e12e2c
Merge branch 'ccr-5792db6b-a8cwgd' of https://github.com/reflex-dev/r…
FarhanAliRaza Nov 28, 2026
d90a3fe
Hold the rx.ui unit tests to nothing a Windows path changes
FarhanAliRaza Nov 28, 2026
9f8b2a7
Merge CI fixes, batch 2: Windows paths, link focus ring under other f…
FarhanAliRaza Nov 28, 2026
829c590
Give the shadow of an rx.ui key the layers of one appearance alone
FarhanAliRaza Nov 28, 2026
d85c4e3
Record the run time of the last full pass of the harness
FarhanAliRaza Nov 28, 2026
1b835c4
Merge PR 12 of the rx.ui plan: form controls
FarhanAliRaza Nov 28, 2026
ddf21c6
Read pyright's output as UTF-8 in the rx.ui type-check tests
FarhanAliRaza Nov 28, 2026
d87693e
Scroll the focused scroll area with Space in its contract step
FarhanAliRaza Nov 28, 2026
d2b71d2
Merge CI fixes, batch 3 so far: UTF-8 pyright output, scroll area key…
FarhanAliRaza Nov 28, 2026
122e09f
Add rx.ui.tabs: buttons and panels, selected by a small script
FarhanAliRaza Nov 28, 2026
df4701f
Match two computed styles of Radix inside the rx.ui avatar and button
FarhanAliRaza Nov 28, 2026
d144988
Compare the computed styles of the elements inside a parity cell
FarhanAliRaza Nov 28, 2026
495fd00
Let a shorthand kept whole replace the longhands written before it
FarhanAliRaza Nov 28, 2026
60420d0
Lower three shorthands as CSS reads them
FarhanAliRaza Nov 28, 2026
a00f072
Choose the matching gray when a gray bound to state is "auto"
FarhanAliRaza Nov 28, 2026
e740350
Size the letters of an rx.ui avatar bound to state by their number
FarhanAliRaza Nov 28, 2026
6118486
Type the props of the counted avatar fallback
FarhanAliRaza Nov 28, 2026
15d2f2f
Scale the rx.ui progress indicator by the maximum it is read out with
FarhanAliRaza Nov 28, 2026
3ec4add
Give an rx.ui component the accent and radius its fields default to
FarhanAliRaza Nov 28, 2026
7378496
Let the type of an rx.ui style value hold None
FarhanAliRaza Nov 28, 2026
9fcbcf6
Add rx.ui.accordion on native details, and settle the types of the tabs
FarhanAliRaza Nov 28, 2026
c678079
Say to the type checker that a test passes a size tabs do not have
FarhanAliRaza Nov 28, 2026
8225bbe
Fix two early-interaction gaps of the frontend shell
FarhanAliRaza Nov 28, 2026
ca4d236
Style the sticky label and logo outside the badge, at the app's break…
FarhanAliRaza Nov 28, 2026
4794fa2
Name the stylesheet of the sticky badge where its stub shows it
FarhanAliRaza Nov 28, 2026
405831b
Compare every loader of the app root in the tests that read one
FarhanAliRaza Nov 28, 2026
695ac44
Settle the types of the accordion's table and tests
FarhanAliRaza Nov 28, 2026
3d4a433
Put None last in the rx.ui value type and follow the avatar in the ap…
FarhanAliRaza Nov 28, 2026
8cb8017
Merge branch 'ccr-5792db6b-a8cwgd' of https://github.com/reflex-dev/r…
FarhanAliRaza Nov 28, 2026
aced038
Hold three form-control tests to nothing a Python version changes
FarhanAliRaza Nov 28, 2026
d187b7b
Name the keys that do not scroll a focused scroll area
FarhanAliRaza Nov 28, 2026
e1426e6
Compare an element inside a cell only when both systems build it alike
FarhanAliRaza Nov 28, 2026
4e8f180
Merge CI fixes, batch 3: descendant style comparison, shorthand lower…
FarhanAliRaza Nov 28, 2026
faaca26
Add rx.ui.dialog on a native modal dialog, and the open look of a button
FarhanAliRaza Nov 28, 2026
f0eb792
Add rx.ui.alert_dialog on the native dialog of rx.ui.dialog
FarhanAliRaza Nov 28, 2026
53b8c14
Add rx.ui.drawer on the native dialog, sliding in from an edge
FarhanAliRaza Nov 28, 2026
fd643b8
Put the list of a select on whole pixels before it is first drawn
FarhanAliRaza Nov 28, 2026
cb5c71d
Hold the radio contracts to what every browser does, and say what a w…
FarhanAliRaza Nov 28, 2026
a98881e
Add rx.ui.popover on the popup of the select, and settle the drawer's…
FarhanAliRaza Nov 28, 2026
4c71e77
Compare what is inside the form controls, and keep the ring of a chec…
FarhanAliRaza Nov 28, 2026
4fa3465
Record the popup on whole pixels and the size of its script
FarhanAliRaza Nov 28, 2026
dd3c48b
Add rx.ui.tooltip, opened under the pointer and with the focus by hov…
FarhanAliRaza Nov 28, 2026
708d0c3
Merge the form controls follow-up: whole-pixel popups, WebKit radio c…
FarhanAliRaza Nov 28, 2026
85fa2a4
Read the order of the sides of a select from its field
FarhanAliRaza Nov 28, 2026
bc31ac5
Hold the scroll area to the keys that scroll it in every engine
FarhanAliRaza Nov 28, 2026
5d8c809
Give the focus a place to go before the radio group in its Shift+Tab …
FarhanAliRaza Nov 28, 2026
b0fbb17
Merge the integration branch: whole-pixel popups, a stricter harness,…
FarhanAliRaza Nov 28, 2026
944c7bf
Wait for Radix in two contract steps instead of racing it
FarhanAliRaza Nov 28, 2026
304c5a5
Merge CI fixes, batch 4: select side order test, WebKit scroll keys, …
FarhanAliRaza Nov 28, 2026
ac799e0
Add rx.ui.hover_card, rx.ui.dropdown_menu and rx.ui.context_menu
FarhanAliRaza Nov 28, 2026
cb99c67
Follow the open look of a button in the declarations of the shared app
FarhanAliRaza Nov 28, 2026
71e3fe2
Record what the overlays wave costs and settled, and format its scripts
FarhanAliRaza Nov 29, 2026
b12cb69
Check what a menu says exactly, and keep a change off a menu's radio …
FarhanAliRaza Nov 29, 2026
4c74729
Merge PR 13 of the rx.ui plan: overlays and disclosure
FarhanAliRaza Nov 29, 2026
175dd50
Start an app in the appearance its rx.ui theme pins
FarhanAliRaza Nov 29, 2026
3bb9135
Add the page-weight apps and measure them with reflex-bench
FarhanAliRaza Nov 29, 2026
9f4c6a1
Budget the page apps in CI, and split the parity run into shards
FarhanAliRaza Nov 29, 2026
83b2582
Add rx.ui.color_mode and its icon, button and switch
FarhanAliRaza Nov 29, 2026
657a6bc
Say a popup opens and closes on beforetoggle, which is never late or …
FarhanAliRaza Nov 29, 2026
b8e2587
Record the parity seconds the shards are balanced by
FarhanAliRaza Nov 29, 2026
ca6af3f
Merge PR 15 of the rx.ui plan: benchmark apps, size budgets in CI, pa…
FarhanAliRaza Nov 29, 2026
6ee0ea5
Read the order of the sides of a popover from its field
FarhanAliRaza Nov 29, 2026
50989c2
Merge branch 'ccr-5792db6b-a8cwgd' of https://github.com/reflex-dev/r…
FarhanAliRaza Nov 29, 2026
8c3134e
Refuse the spacing props rx ignores, and render html_for on a text label
FarhanAliRaza Nov 29, 2026
b9a371a
Merge CI fixes, batch 5 task 1: margin and padding shorthands raise w…
FarhanAliRaza Nov 29, 2026
8623bf4
Regenerate the stub hash of the rx.ui group components after the merge
FarhanAliRaza Nov 29, 2026
dca6471
Add rx.ui.theme_panel
FarhanAliRaza Nov 29, 2026
2a04619
Drive the theme panel and the color mode controls in the shared app
FarhanAliRaza Nov 29, 2026
643571e
Keep the registry of refs in a module of its own
FarhanAliRaza Nov 29, 2026
8d98b70
Record what the app-level wave costs and settled
FarhanAliRaza Nov 29, 2026
6d00e5c
Run the root of an app without state without the event runtime
FarhanAliRaza Nov 29, 2026
c8315e0
Import isTrue into a memo module only when it calls it
FarhanAliRaza Nov 29, 2026
2e35e1e
Merge branch 'ccr-5792db6b-a8cwgd' of https://github.com/reflex-dev/r…
FarhanAliRaza Nov 29, 2026
a8995f7
Say how the context module of an app without state runs its events
FarhanAliRaza Nov 29, 2026
bb0da6b
Merge CI fixes, batch 5 task 2: stateless apps keep the event runtime…
FarhanAliRaza Nov 29, 2026
07caee0
Regenerate the stub hash of the sonner toast after the merge
FarhanAliRaza Nov 29, 2026
45b0977
Default the theme panel open in its docs, and list the memoized style…
FarhanAliRaza Nov 29, 2026
5704aae
Merge the integration branch into the app-level wave
FarhanAliRaza Nov 29, 2026
83ff40e
Merge PR 14 of the rx.ui plan: theme panel, color-mode controls, defa…
claude Nov 29, 2026
fd6b2ce
Queue the events of an app without state with no lazy import
FarhanAliRaza Nov 29, 2026
b2d0f96
Budget the stateless page app on the JS its first page loads
FarhanAliRaza Nov 29, 2026
a38b261
Merge CI fixes: stateful runtime back under its budget, first-page JS…
claude Nov 29, 2026
791f71e
Merge the pushed PR head into the local wave 5 merge
claude Nov 29, 2026
6efcd66
Name the color mode controls in their errors, and record their parity…
FarhanAliRaza Nov 29, 2026
5835b8f
Merge the wave 5 fixes: parity timings for the new components, color-…
claude Nov 29, 2026
4a48027
Add the rx.ui migration codemod
FarhanAliRaza Nov 29, 2026
935970e
Test the migration codemod on fixture apps
FarhanAliRaza Nov 29, 2026
8a3bfd5
Check style dicts named by a variable, and probe colors and state values
FarhanAliRaza Nov 29, 2026
f23fef1
Keep what a probe prints out of the migration's output
FarhanAliRaza Nov 29, 2026
2462d97
Report lengths written without a unit, which rx drops and rx.ui makes…
FarhanAliRaza Nov 29, 2026
17f9a38
Type-check the migration codemod, list its guide under Styling, add i…
FarhanAliRaza Nov 29, 2026
5232e3d
Add the guide to migrating to rx.ui
FarhanAliRaza Nov 29, 2026
4f74590
Read self in a state as a Python value, and list migrate.py in the RE…
FarhanAliRaza Nov 29, 2026
dbd004b
Document rx.ui: guides, and an rx.ui tab on the layout, typography an…
FarhanAliRaza Nov 29, 2026
882fd7b
Merge PR 17 of the rx.ui plan: migration codemod and guide
claude Nov 29, 2026
efaf06e
Document the rx.ui data display and disclosure components
FarhanAliRaza Nov 29, 2026
84ebc03
Give rx.ui inputs bound to state the props of their debounce wrapper
FarhanAliRaza Nov 29, 2026
1c29b54
Document the rx.ui form controls
FarhanAliRaza Nov 29, 2026
c40c8b5
Refuse a length without a unit, as the browser drops it from rx
FarhanAliRaza Nov 29, 2026
51aaf6e
Document the rx.ui overlays, skeleton, theme, color mode controls and…
FarhanAliRaza Nov 29, 2026
db0123e
Name components in rx.ui errors as an app writes them
FarhanAliRaza Nov 29, 2026
81775fc
reflex-bench: detect the topology of a tag-less checkout from its sou…
FarhanAliRaza Nov 29, 2026
811da8d
Merge CI fixes, batch 6: input debounce, lengths without a unit, publ…
claude Nov 29, 2026
7e91157
List rx.ui props in a compact generated table, to keep the docs build…
FarhanAliRaza Nov 29, 2026
dc92101
Read an rx.ui page's description without parsing the page twice
FarhanAliRaza Nov 29, 2026
4af93f5
Merge PR 18 of the rx.ui plan: library pages, styling and theming guides
claude Nov 29, 2026
5af47ae
Merge branch 'ccr-5792db6b-a8cwgd' of https://github.com/reflex-dev/r…
FarhanAliRaza Nov 29, 2026
63d0c64
Write rx.ui demos with spacing instead of unitless gaps, and format them
FarhanAliRaza Nov 29, 2026
bad49bf
Merge docs fixes: rx.ui demos use spacing, formatted markdown
claude Nov 29, 2026
8c58a89
Compile refs imported from state.js beside refs from refs.js
FarhanAliRaza Nov 29, 2026
6caec6a
Render the popover attributes of rx.ui as React names them, and key p…
FarhanAliRaza Nov 29, 2026
a15c8e8
Refuse the children of rx.ui.switch, which crashed the page
FarhanAliRaza Nov 29, 2026
28d54e9
Name rx.ui.tooltip in the error of a tooltip without an element child
FarhanAliRaza Nov 29, 2026
2089652
Merge branch 'ccr-5792db6b-a8cwgd' of https://github.com/reflex-dev/r…
FarhanAliRaza Nov 29, 2026
76874db
Format css-props.js as the pre-commit hook does
FarhanAliRaza Nov 29, 2026
edccffa
Keep the line endings of a file the rx.ui codemod rewrites
FarhanAliRaza Nov 29, 2026
619d4f7
Give the docs' app-root evaluation the registry of refs it now reads
FarhanAliRaza Nov 29, 2026
88e36af
Give the kitchen sink the spacing it meant: spacing and padding with …
FarhanAliRaza Nov 29, 2026
6698dc7
Spend the Escape that closes an rx.ui hover card or tooltip
FarhanAliRaza Nov 29, 2026
9b760dc
Hold the contracts to what each engine computes, and say what a wait …
FarhanAliRaza Nov 29, 2026
792f1e0
Read the animations of a progress bar once its transition has ended
FarhanAliRaza Nov 29, 2026
9ca07bd
Give an rx.ui drawer its slide-out and keep Tab in its panel outside …
FarhanAliRaza Nov 29, 2026
ec5516b
Say Escape closed an rx.ui popup wherever the focus was
FarhanAliRaza Nov 29, 2026
5f36463
Say a drawer has slid out after it says it closed; wait for both hove…
FarhanAliRaza Nov 29, 2026
4d7acb7
Keep the subpath of a versioned library in its import
claude Nov 29, 2026
f2df188
Pilot: rx.ui tabs, dropdown_menu and dialog on UI SDK parts
claude Nov 29, 2026
70c82a2
Regenerate the stubs of the dialog and the dropdown menu on UI SDK
claude Nov 29, 2026
bb251ff
Hold the shared rx.ui app to the tabs and the trigger looks on UI SDK
claude Nov 29, 2026
47a2f64
rx.ui on UI SDK, wave A: popover, alert_dialog, drawer and select
claude Nov 29, 2026
aef7e3d
rx.ui on UI SDK, wave B: context_menu, hover_card and tooltip
claude Nov 29, 2026
1c9d4db
Keep a menu label anywhere in its menu, and allow the UI SDK differen…
claude Nov 29, 2026
7971d9a
Finish wave B: the keyboard place of a context menu, stubs, guide and…
claude Nov 29, 2026
b130e33
rx.ui on UI SDK, wave C: accordion, slider and segmented_control
claude Nov 29, 2026
3e00696
rx.ui on UI SDK, wave D: avatar, form, text field slots and theme panel
claude Nov 29, 2026
851ac25
rx.ui on UI SDK: docs, news, README and budgets
claude Nov 29, 2026
d36e9eb
Drop the segmented control keys and accordion tab order of ours
claude Nov 29, 2026
4297858
Drop the stub hash of the deleted _popup module
claude Nov 29, 2026
55e90f1
Fix CI of rx.ui on UI SDK: imports beside Base UI, docs, engine contr…
claude Nov 29, 2026
f34a811
Wait for the scrollbar of a long Radix menu before capturing it
claude Nov 29, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 4 additions & 0 deletions .github/rulesets/main-required-checks.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@
"context": "reflex-init-in-docker-test-gate",
"integration_id": 15368
},
{
"context": "size-budgets-gate",
"integration_id": 15368
},
{
"context": "unit-tests-gate",
"integration_id": 15368
Expand Down
24 changes: 22 additions & 2 deletions .github/workflows/benchmarks_daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,13 @@ jobs:
- shard: exact
filters: "wire.* size.*"
timeout: 10
# The page apps of examples/pages, which need rx.ui: their sizes and
# Lighthouse audits, reported against their budgets. Not in `daily`,
# which release backfills also run.
- shard: pages
suite: pages
filters: "size.* lighthouse.*"
timeout: 45
timeout-minutes: ${{ matrix.timeout }}
runs-on: ubuntu-24.04-arm
steps:
Expand All @@ -68,7 +75,7 @@ jobs:
with:
python-version: "3.12"
- name: Install the harness
run: uv sync --no-dev --group bench --extra db
run: uv sync --no-dev --group bench --extra db --extra ui
# The harness owns every cache a measured phase reads; none is restored.
- name: Point the bench home at the job's temporary directory
run: echo "REFLEX_BENCH_HOME=$RUNNER_TEMP/reflex-bench" >> "$GITHUB_ENV"
Expand All @@ -88,18 +95,31 @@ jobs:
env:
FILTERS: ${{ matrix.filters }}
SHARD: ${{ matrix.shard }}
SUITE: ${{ matrix.suite || 'daily' }}
# Manual dispatches are ad-hoc runs, kept out of the daily series.
RUN_KIND: ${{ github.event_name == 'schedule' && 'daily' || 'ci' }}
run: |
set -f
# shellcheck disable=SC2086
uv run --no-sync reflex-bench run --suite daily $FILTERS --kind "$RUN_KIND" \
uv run --no-sync reflex-bench run --suite "$SUITE" $FILTERS --kind "$RUN_KIND" \
--json "$SHARD.json" --no-save --fail-on never
- name: Summarize
if: always() && hashFiles(format('{0}.json', matrix.shard)) != ''
env:
SHARD: ${{ matrix.shard }}
run: uv run --no-sync reflex-bench export "$SHARD.json" --to md >> "$GITHUB_STEP_SUMMARY"
# The Lighthouse budgets are reported, never enforced: the check fails
# only when a budgeted benchmark is missing or failed.
- name: Report the page apps against their budgets
if: always() && matrix.shard == 'pages' && hashFiles('pages.json') != ''
run: |
{
echo '### Page apps'
uv run --no-sync reflex-bench export pages.json --to pages
echo '```'
uv run --no-sync reflex-bench budgets check pages.json
echo '```'
} >> "$GITHUB_STEP_SUMMARY"
- name: Upload the result
if: always()
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/dispatch_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,10 @@ on:
description: "reflex-components-sonner"
type: boolean
default: false
reflex_components_ui:
description: "reflex-components-ui"
type: boolean
default: false
reflex_docgen:
description: "reflex-docgen"
type: boolean
Expand Down Expand Up @@ -207,6 +211,7 @@ jobs:
${{ inputs.reflex_components_react_player && 'reflex-components-react-player' || '' }}
${{ inputs.reflex_components_recharts && 'reflex-components-recharts' || '' }}
${{ inputs.reflex_components_sonner && 'reflex-components-sonner' || '' }}
${{ inputs.reflex_components_ui && 'reflex-components-ui' || '' }}
${{ inputs.reflex_docgen && 'reflex-docgen' || '' }}
${{ inputs.reflex_hosting_cli && 'reflex-hosting-cli' || '' }}
${{ inputs.reflex_otel && 'reflex-otel' || '' }}
Expand Down
123 changes: 122 additions & 1 deletion .github/workflows/integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,125 @@ jobs:
- name: Run Playwright integration tests
env:
REFLEX_REDIS_URL: ${{ matrix.state_manager == 'redis' && 'redis://localhost:6379' || '' }}
run: uv run pytest tests/integration/tests_playwright --reruns 3 -rs -v --maxfail=5 --splits 2 --group ${{ matrix.split_index }}
# The rx.ui parity harness has jobs of its own below: it compares
# pixels, which a rerun must not paper over.
run: uv run pytest tests/integration/tests_playwright --ignore=tests/integration/tests_playwright/test_ui_parity.py --reruns 3 -rs -v --maxfail=5 --splits 2 --group ${{ matrix.split_index }}

# The look of every rx.ui component against the Radix one it replaces:
# pixels, computed styles and accessibility tree, cell by cell. The
# components are split into shards of about equal run time
# (packages/reflex-components-ui/parity/ui_parity/shards.py), each building
# the pages of its own components; every matrix runs in exactly one shard.
ui-parity:
needs: changes
if: needs.changes.outputs.run == 'true'
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
# shards.COUNT of them: tests/units/test_workflow_gates.py checks.
shard: [1, 2, 3]
runs-on: ubuntu-22.04
env:
UI_PARITY_REPORT: ui-parity-report
UI_PARITY_SHARD: ${{ matrix.shard }}/3
# The build and the matrices of the shard together, in seconds: the run
# fails above.
UI_PARITY_BUDGET_SECONDS: "900"
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-tags: true
fetch-depth: 0
persist-credentials: false
- uses: ./.github/actions/setup_build_env
with:
python-version: "3.14"
run-uv-sync: true
- name: Install Playwright Chromium
run: uv run playwright install chromium --only-shell
- name: Compare the shard's matrices with Radix Themes
run: uv run pytest tests/integration/tests_playwright/test_ui_parity.py -k "not test_contract" -rs -v
- name: Report the run time
if: always()
run: |
if [ -f "$UI_PARITY_REPORT/timings.json" ]; then
{
echo "### rx.ui parity run time, shard $UI_PARITY_SHARD"
echo '```json'
cat "$UI_PARITY_REPORT/timings.json"
echo '```'
} >> "$GITHUB_STEP_SUMMARY"
fi
- name: Upload the shard's report
if: always()
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: ui-parity-report-${{ matrix.shard }}
path: ui-parity-report
if-no-files-found: warn

# The browsable report of every shard as one, also when a shard failed.
ui-parity-report:
needs: [changes, ui-parity]
if: always() && needs.changes.outputs.run == 'true'
timeout-minutes: 15
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-tags: true
fetch-depth: 0
persist-credentials: false
- uses: ./.github/actions/setup_build_env
with:
python-version: "3.14"
run-uv-sync: true
# Each artifact in a directory of its name: the shards' results.json
# and index.html would overwrite each other.
- name: Download the shards' reports
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
pattern: ui-parity-report-*
path: shards
- name: Assemble the report
run: uv run python scripts/ui_parity.py --merge shards/* --report ui-parity-report
- name: Upload the report
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: ui-parity-report
path: ui-parity-report
if-no-files-found: error

# The behaviour contract of every rx.ui component, and of the Radix one it
# replaces, in each browser engine.
ui-contracts:
needs: changes
if: needs.changes.outputs.run == 'true'
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
engine: [chromium, firefox, webkit]
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-tags: true
fetch-depth: 0
persist-credentials: false
- uses: ./.github/actions/setup_build_env
with:
python-version: "3.14"
run-uv-sync: true
- name: Install Playwright ${{ matrix.engine }}
env:
ENGINE: ${{ matrix.engine }}
run: uv run playwright install --with-deps "$ENGINE"
- name: Run every contract in ${{ matrix.engine }}
env:
ENGINE: ${{ matrix.engine }}
run: uv run pytest tests/integration/tests_playwright/test_ui_parity.py --browser "$ENGINE" -k test_contract -rs -v

bun-only-startup:
needs: changes
Expand Down Expand Up @@ -413,6 +531,9 @@ jobs:
reflex-docs-macos,
app-harness,
app-harness-playwright,
ui-parity,
ui-parity-report,
ui-contracts,
bun-only-startup,
]
if: always()
Expand Down
74 changes: 60 additions & 14 deletions .github/workflows/size_budgets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,17 @@ concurrency:

# Bundle bytes are deterministic, so they gate every pull request on a standard
# runner: no statistics, no dedicated benchmark machine, no secrets. No branch
# filter on pull_request, so stacked pull requests are checked too.
# filter on pull_request, so stacked pull requests are checked too, and no path
# filter, so the gate always reports (the changes job filters instead).
on:
pull_request:
paths:
- "reflex/**"
- "packages/**"
- "examples/playground/**"
- "pyproject.toml"
- "uv.lock"
- ".github/workflows/size_budgets.yml"
- ".github/actions/setup_build_env/**"
push:
branches: ["main"]
paths:
- "reflex/**"
- "packages/**"
- "examples/playground/**"
- "examples/pages/**"
- "pyproject.toml"
- "uv.lock"
- ".github/workflows/size_budgets.yml"
Expand All @@ -39,9 +33,38 @@ defaults:
shell: bash

jobs:
# A path filter on the pull_request trigger would leave the required gate
# unreported on a pull request it skips; filtered here, the job below skips
# and the gate passes.
changes:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: read
outputs:
run: ${{ steps.filter.outputs.changed }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- uses: ./.github/actions/changed_paths
id: filter
with:
paths: |
reflex/**
packages/**
examples/playground/**
examples/pages/**
pyproject.toml
uv.lock
.github/workflows/size_budgets.yml
.github/actions/setup_build_env/**

size-budgets:
name: size-budgets
timeout-minutes: 20
needs: changes
if: needs.changes.outputs.run == 'true'
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
# fetch-tags/fetch-depth: the workspace packages derive their versions from git.
Expand All @@ -55,17 +78,40 @@ jobs:
with:
python-version: "3.14"
run-uv-sync: true
# With CI=true, `run` fails only when the export fails (nothing is
# compared without --baseline); `budgets check` is the gate.
- name: Export the playground and measure its size
# The playground and every app of examples/pages. With CI=true, `run`
# fails only when an export fails (nothing is compared without
# --baseline); `budgets check` is the gate.
- name: Export the apps and measure their size
env:
RUN_KIND: ${{ github.event_name == 'pull_request' && 'pr' || 'ci' }}
run: uv run --no-sync reflex-bench run 'size.*' --json size-result.json --no-save --kind "$RUN_KIND"
- name: Report the page weights
if: always()
run: |
if [ -f size-result.json ]; then
{
echo '### Page weight'
uv run --no-sync reflex-bench export size-result.json --to pages
} >> "$GITHUB_STEP_SUMMARY"
fi
- name: Check the size budgets
run: uv run --no-sync reflex-bench budgets check size-result.json
run: uv run --no-sync reflex-bench budgets check size-result.json --only 'size.*'
- name: Upload the result
if: always()
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: size-result
path: size-result.json

# The one status check the branch rules require from this workflow.
size-budgets-gate:
needs: [changes, size-budgets]
if: always()
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- uses: ./.github/actions/ci_gate
with:
needs: ${{ toJSON(needs) }}
30 changes: 29 additions & 1 deletion .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,34 @@ jobs:
if-no-files-found: error
retention-days: 7

ui-js-checks:
# Checks the javascript reflex-components-ui embeds: its lint rules (no
# components, no barrels, StyleX), the type check, the generated files and
# the tests.
needs: changes
if: needs.changes.outputs.run == 'true'
timeout-minutes: 10
runs-on: ubuntu-latest
defaults:
run:
working-directory: packages/reflex-components-ui/js
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 22
cache: npm
cache-dependency-path: packages/reflex-components-ui/js/package-lock.json
- run: npm ci
- run: npm run lint
- run: npm run typecheck
- run: npm run generate:check
# The tests of the tokens and themes read computed styles in a browser.
- run: npx playwright install --with-deps --only-shell chromium
- run: npm test

unit-tests-macos:
timeout-minutes: 30
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
Expand Down Expand Up @@ -224,7 +252,7 @@ jobs:
# jobs above directly does not survive: check names follow the matrix and the
# display names, and a job that a filter skips must not block the merge.
unit-tests-gate:
needs: [changes, unit-tests, js-unit-tests, unit-tests-macos]
needs: [changes, unit-tests, js-unit-tests, ui-js-checks, unit-tests-macos]
if: always()
runs-on: ubuntu-latest
steps:
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ examples/*
!examples/README.md
!examples/ruff.toml
!examples/playground/
!examples/pages/
.web
.states
.idea
Expand All @@ -32,8 +33,9 @@ reflex.db
.env.*
node_modules
package-lock.json
# ...except the frontend package, which CI installs with `npm ci`.
# ...except the javascript packages, which CI installs with `npm ci`.
!packages/reflex-frontend/package-lock.json
!packages/reflex-components-ui/js/package-lock.json
*.pyi
.pre-commit-config.yaml
.claude/.worktrees
Expand Down
Loading
Loading