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

Support query params #676

Merged
merged 1 commit into from
Aug 6, 2024
Merged

Conversation

wwwillchen
Copy link
Collaborator

@wwwillchen wwwillchen commented Jul 26, 2024

Fixes #340.

This provides query param support using a dict-like API with inspiration from the Web API and Streamlit's API.

@wwwillchen wwwillchen marked this pull request as ready for review August 2, 2024 23:22
Copy link
Collaborator

@richard-to richard-to left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice. I'm sure some people will be really happy to see this feature arrive.

docs/api/query_params.md Show resolved Hide resolved
docs/api/query_params.md Show resolved Hide resolved
docs/api/query_params.md Show resolved Hide resolved
mesop/commands/navigate.py Show resolved Hide resolved
mesop/examples/query_params.py Show resolved Hide resolved
mesop/features/query_params.py Show resolved Hide resolved
mesop/runtime/context.py Outdated Show resolved Hide resolved
mesop/utils/url_utils.py Show resolved Hide resolved
mesop/web/src/utils/query_params.ts Outdated Show resolved Hide resolved
@wwwillchen wwwillchen force-pushed the simple_query_params branch 4 times, most recently from c8a8392 to a5db26f Compare August 6, 2024 23:29
tested

fix

give more time

clean

more

fix

pr comments
@wwwillchen wwwillchen merged commit 3ffd914 into google:main Aug 6, 2024
2 checks passed
@wwwillchen wwwillchen deleted the simple_query_params branch August 6, 2024 23:50
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.

Retrieve query params from URL to use in Mesop
2 participants