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

api!: Move most methods from shiny.experimental.ui into shiny.ui; Deprecate most of shiny.experimental.ui #753

Merged
merged 65 commits into from
Oct 19, 2023

Conversation

schloerke
Copy link
Collaborator

@schloerke schloerke commented Oct 6, 2023

Goal:
Move almost everything (if not everything), out of shiny.experimental.ui and into shiny.ui. Rearrange function locations as necessary to be pythonic. Deprecate every previously existing method in shiny.experiemental.ui that was ported.

Method to not port:

  • Valuebox's showcase methods. This API will change in the near future
  • Card's card_body() method. It should either be necessary or not. Currently going with not, therefore skipping it from the public API.

Overarching Tasks:

  • Port from shiny.experimental.ui to shiny.ui
    • Add deprecated methods for shiny.experimental.ui
  • Move api-examples from ./shiny/experimental/api-examples to ./shiny/api-examples
  • Update e2e tests
  • Do not use "deprecated experimental methods"
  • Documentation
    • Update method documentation to not use experimental
    • Update quartodoc's config to expose newly ported methods
    • Remove experimental methods from quartodoc's config

Followup PRs:

@schloerke schloerke self-assigned this Oct 6, 2023
CHANGELOG.md Outdated Show resolved Hide resolved
docs/_quartodoc.yml Outdated Show resolved Hide resolved
docs/_quartodoc.yml Outdated Show resolved Hide resolved
docs/_quartodoc.yml Outdated Show resolved Hide resolved
js/build.ts Outdated Show resolved Hide resolved
js/text-area/textarea-autoresize.ts Outdated Show resolved Hide resolved
js/package.json Outdated Show resolved Hide resolved
shiny/experimental/ui/__init__.py Outdated Show resolved Hide resolved
shiny/ui/_html_deps_external.py Show resolved Hide resolved
shiny/ui/__init__.py Show resolved Hide resolved
shiny/ui/__init__.py Show resolved Hide resolved
shiny/ui/_card.py Show resolved Hide resolved
shiny/ui/_input_text.py Outdated Show resolved Hide resolved
shiny/ui/_output.py Outdated Show resolved Hide resolved
shiny/ui/_page.py Outdated Show resolved Hide resolved
shiny/ui/_sidebar.py Show resolved Hide resolved
shiny/ui/_sidebar.py Outdated Show resolved Hide resolved
shiny/ui/fill/_fill.py Show resolved Hide resolved
@schloerke schloerke marked this pull request as ready for review October 18, 2023 23:58
@schloerke schloerke merged commit 1095566 into main Oct 19, 2023
23 of 24 checks passed
@schloerke schloerke deleted the x_into_main branch October 19, 2023 00:57
schloerke added a commit that referenced this pull request Oct 19, 2023
* main:
  api!: Move most methods from `shiny.experimental.ui` into `shiny.ui`; Deprecate most of `shiny.experimental.ui` (#753)
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