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

override dict in propsbase to use camelCase #3910

Merged
merged 3 commits into from
Sep 11, 2024

Conversation

adhami3310
Copy link
Member

No description provided.

masenf
masenf previously approved these changes Sep 11, 2024
@masenf
Copy link
Collaborator

masenf commented Sep 11, 2024

need to fix these

if "on_dismiss" in d:
d["on_dismiss"] = format.format_queue_events(
self.on_dismiss, _toast_callback_signature
)
if "on_auto_close" in d:
d["on_auto_close"] = format.format_queue_events(
self.on_auto_close, _toast_callback_signature
)

since they're going to be camelCase now

Lendemor
Lendemor previously approved these changes Sep 11, 2024
@adhami3310 adhami3310 dismissed stale reviews from Lendemor and masenf via f2028e2 September 11, 2024 17:56
@adhami3310 adhami3310 merged commit 8657976 into main Sep 11, 2024
46 checks passed
adhami3310 added a commit that referenced this pull request Sep 14, 2024
* override dict in propsbase to use camelCase

* fix underscore in dict

* dang it darglint
adhami3310 added a commit that referenced this pull request Sep 20, 2024
* [WiP] Support UI components returned from a computed var

* Get rid of nasty react hooks warning

* include @babel/standalone in the base to avoid CDN

* put window variables behind an object

* use jsx

* implement the thing

* cleanup dead test code (#3909)

* override dict in propsbase to use camelCase (#3910)

* override dict in propsbase to use camelCase

* fix underscore in dict

* dang it darglint

* [REF-3562][REF-3563] Replace chakra usage (#3872)

* [ENG-3717] [flexgen] Initialize app from refactored code (#3918)

* Remove Pydantic from some classes (#3907)

* half of the way there

* add dataclass support

* Forbid Computed var shadowing (#3843)

* get it right pyright

* fix unit tests

* rip out more pydantic

* fix weird issues with merge_imports

* add missing docstring

* make special props a list instead of a set

* fix moment pyi

* actually ignore the runtime error

* it's ruff out there

---------

Co-authored-by: benedikt-bartscher <31854409+benedikt-bartscher@users.noreply.github.com>

* Merging

* fixss

* fix field_name

* always import react

* move func to file

* do some weird things

* it's really ruff out there

* add docs

* how does this work

* dang it darglint

* fix the silly

* don't remove computed guy

* silly goose, don't ignore var types :D

* update code

* put f string on one line

* make it deprecated instead of outright killing it

* i hate it

* add imports from react

* assert it has evalReactComponent

* do things ig

* move get field to global context

* ooops

---------

Co-authored-by: Khaleel Al-Adhami <khaleel.aladhami@gmail.com>
Co-authored-by: benedikt-bartscher <31854409+benedikt-bartscher@users.noreply.github.com>
Co-authored-by: Elijah Ahianyo <elijahahianyo@gmail.com>
@masenf masenf deleted the override-dict-in-props-base branch December 12, 2024 07:09
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