-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[IMPL] - added support for sass and scss stylesheet languages #4292
base: main
Are you sure you want to change the base?
[IMPL] - added support for sass and scss stylesheet languages #4292
Conversation
- better checking of stylesheets to be compiled - added support for sass and scss stylesheet languages - the stylesheets files are now copied to ".web/styles/" at compile time - relock poetry file for libsass deps - stylesheet compiler unit tests also check the contents of the file
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.
This looks much better now, a few nitpicks and we should be good to go !
* improve typing for serializer decorator * use wrapped logic * dang it darglint --------- Co-authored-by: Khaleel Al-Adhami <[email protected]>
* Add Missing Table props * add more props
Co-authored-by: simon <[email protected]>
* Codeblock cleanup in markdown * Initial approach to getting this working with rx.memo and reflex web * abstract the map var logic * the tests are not valid + pyright fix * darglint fix * Add unit tests plus mix components * pyi run * rebase on main * fix darglint * testing different OS * revert * This should fix it. Right? * Fix tests * minor fn signature fix * use ArgsFunctionOperation * use destructured args and pass the tests * fix remaining unit tests * fix pyi files * rebase on main * move language regex on codeblock to markdown * fix tests --------- Co-authored-by: Khaleel Al-Adhami <[email protected]>
These are useful for typing purposes and should be exposed at the top level to avoid requiring deep imports from subpackages that we may need to change later.
Units tests
|
Attempting to initialize relationship fields in a sqlmodel model throws an error, so only pass defined pydantic __fields__ if the type is a Model.
well, for the |
* Astral 0.5.0 path change https://github.com/astral-sh/uv/releases Use XDG (i.e. ~/.local/bin) instead of the Cargo home directory in the installer * Fix path in production-app-platform example --------- Co-authored-by: Masen Furer <[email protected]>
@@ -165,7 +239,7 @@ def test_compile_stylesheets_exclude_tailwind(tmp_path, mocker): | |||
|
|||
assert compiler.compile_root_stylesheet(stylesheets) == ( | |||
str(Path(".web") / "styles" / "styles.css"), | |||
"@import url('../public/styles.css'); \n", | |||
"@import url('./styles.css'); \n", |
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.
are you sure this won't break anything?
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.
I don't know where this could cause a problem, since all the supported stylesheet files in the app/assets
directories and subdirectories are copied or compiled and saved in the .web/styles
directory and no longer in the .web/public
directories.
and also, I checked the second batch of the tests/integration
group and the tests/integration/test_tailwind.py
(which is the only one to have tests impacted by the changes) passed the tests without any errors, which is why I don't understand the error in the first batch of the tests/integration
group.
* redesign error boundary screen * pyi time * add color * i hate python 3.9
* Temporarily downpin @radix-ui/themes <3.1.5 A visual/style regression was introduced in @radix-ui/themes 3.1.5 as described in radix-ui/themes#627 which reflex needs to avoid. * Get expected radix library version from component
…eflex-dev#4371) Because of some dodgy logic in Base.get_value and State.dict / State.get_delta when the value of some state var X happened to be the name of another var in the state Y, then the value for X would be returned as the value of Y. wat. Fixes reflex-dev#4369
- better checking of stylesheets to be compiled - added support for sass and scss stylesheet languages - the stylesheets files are now copied to ".web/styles/" at compile time - relock poetry file for libsass deps - stylesheet compiler unit tests also check the contents of the file
…/KronosDev-Pro/reflex into add-sass-scss-stylesheet-support
All Submissions:
Type of change
New Feature Submission:
Changes To Core Features: