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

Form with examples #2979

Merged

Conversation

liquidcarbon
Copy link
Contributor

@liquidcarbon liquidcarbon commented Nov 26, 2024

📝 Summary

Provides recipes for pre-populating forms from examples or query parameters

🔍 Description of Changes

New form recipe
Less hacky #2928 :)

📋 Checklist

  • I have read the contributor guidelines.
  • For large changes, or changes that affect the public API: this change was discussed or approved through an issue, on Discord, or the community discussions (Please provide a link if applicable).
  • I have added tests for the changes made.
  • I have run the code and verified that it works as expected.

Copy link

vercel bot commented Nov 26, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
marimo-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 26, 2024 9:28pm
marimo-storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 26, 2024 9:28pm

Copy link
Contributor

@mscolnick mscolnick left a comment

Choose a reason for hiding this comment

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

this is a great example! thanks for adding it

@mscolnick mscolnick merged commit 4590e48 into marimo-team:main Nov 26, 2024
19 checks passed
@liquidcarbon liquidcarbon deleted the populating-form-with-examples branch November 26, 2024 21:36
@liquidcarbon
Copy link
Contributor Author

@mscolnick the link got reformatted to https://marimo.app/l/w21a3x?t1=query&t2=params and therefore the linked notebook is broken... how to prevent & from becoming & ?

@liquidcarbon liquidcarbon restored the populating-form-with-examples branch November 26, 2024 21:49
mscolnick pushed a commit that referenced this pull request Nov 26, 2024
## 📝 Summary

#2979 (comment)
After checking the updated website, noticed that the query parameter in
the link to notebook got reformatted to
`https://marimo.app/l/w21a3x?t1=query&t2=params` - which breaks the
notebook.

## 🔍 Description of Changes

try HTML instead of Markdown link

## 📋 Checklist

- [x] I have read the [contributor
guidelines](https://github.com/marimo-team/marimo/blob/main/CONTRIBUTING.md).
- [x] For large changes, or changes that affect the public API: this
change was discussed or approved through an issue, on
[Discord](https://marimo.io/discord?ref=pr), or the community
[discussions](https://github.com/marimo-team/marimo/discussions) (Please
provide a link if applicable).
- [x] I have added tests for the changes made.
- [x] I have run the code and verified that it works as expected.

## 📜 Reviewers
 @mscolnick
Light2Dark pushed a commit to Light2Dark/marimo that referenced this pull request Nov 27, 2024
## 📝 Summary

Provides recipes for pre-populating forms from examples or query
parameters

## 🔍 Description of Changes

[New form recipe](https://marimo.app/l/w21a3x?t1=query&t2=params)
Less hacky marimo-team#2928 :)

## 📋 Checklist

- [x] I have read the [contributor
guidelines](https://github.com/marimo-team/marimo/blob/main/CONTRIBUTING.md).
- [x] For large changes, or changes that affect the public API: this
change was discussed or approved through an issue, on
[Discord](https://marimo.io/discord?ref=pr), or the community
[discussions](https://github.com/marimo-team/marimo/discussions) (Please
provide a link if applicable).
- [x] I have added tests for the changes made.
- [x] I have run the code and verified that it works as expected.
Light2Dark pushed a commit to Light2Dark/marimo that referenced this pull request Nov 27, 2024
## 📝 Summary

marimo-team#2979 (comment)
After checking the updated website, noticed that the query parameter in
the link to notebook got reformatted to
`https://marimo.app/l/w21a3x?t1=query&t2=params` - which breaks the
notebook.

## 🔍 Description of Changes

try HTML instead of Markdown link

## 📋 Checklist

- [x] I have read the [contributor
guidelines](https://github.com/marimo-team/marimo/blob/main/CONTRIBUTING.md).
- [x] For large changes, or changes that affect the public API: this
change was discussed or approved through an issue, on
[Discord](https://marimo.io/discord?ref=pr), or the community
[discussions](https://github.com/marimo-team/marimo/discussions) (Please
provide a link if applicable).
- [x] I have added tests for the changes made.
- [x] I have run the code and verified that it works as expected.

## 📜 Reviewers
 @mscolnick
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.

2 participants