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

Provide Express translations of Core API example apps #987

Closed
gadenbuie opened this issue Jan 10, 2024 · 1 comment
Closed

Provide Express translations of Core API example apps #987

gadenbuie opened this issue Jan 10, 2024 · 1 comment
Labels

Comments

@gadenbuie
Copy link
Collaborator

gadenbuie commented Jan 10, 2024

Process

  1. Before working on an app, add your github handle next to the task item or task group that you're working on, so others don't duplicate your work.
  2. Create an alternative app-express.py app that provides an Express variation of the Shiny Core apps listed below.
  3. If you start to work on an app and decide we should not translate it, please leave a note as to why not.
  4. Submit PRs against main with as many or as few apps as you were able to translate in a session. Please tag @gadenbuie for review so I can track progress.

Tip

I created an example PR translating the input_action_button() example from Core to Express syntax. You can use this example as a reference.

Apps

Page Containers

  • shiny/api-examples/page_fixed/app.py
    • Express automatically chooses page; example doesn't work with explicit shiny.ui.page_fixed() anyway.
  • shiny/api-examples/page_fluid/app.py
    • Express automatically chooses page; example doesn't work with explicit shiny.ui.page_fixed() anyway.
  • shiny/api-examples/page_sidebar/app.py
  • shiny/api-examples/sidebar/app.py

UI Layouts

  • shiny/api-examples/layout_column_wrap/app.py
  • shiny/api-examples/layout_columns/app.py
  • shiny/api-examples/layout_sidebar/app.py
  • shiny/api-examples/markdown/app.py
  • shiny/api-examples/panel_absolute/app.py
  • shiny/api-examples/panel_conditional/app.py
  • shiny/api-examples/panel_title/app.py
    • Doesn't exist in Shiny Express

UI Navigation

UI Inputs

  • shiny/api-examples/input_action_button/app.py @gadenbuie
  • shiny/api-examples/input_action_link/app.py @gshotwell
  • shiny/api-examples/input_checkbox/app.py @gshotwell
  • shiny/api-examples/input_checkbox_group/app.py @gshotwell
  • shiny/api-examples/input_date/app.py @gshotwell
  • shiny/api-examples/input_date_range/app.py @gshotwell
  • shiny/api-examples/input_file/app.py @gshotwell
  • shiny/api-examples/input_numeric/app.py @gshotwell
  • shiny/api-examples/input_password/app.py @gshotwell
  • shiny/api-examples/input_radio_buttons/app.py @gshotwell
  • shiny/api-examples/input_select/app.py @gshotwell
  • shiny/api-examples/input_selectize/app.py @gshotwell
  • shiny/api-examples/input_slider/app.py @gshotwell
  • shiny/api-examples/input_switch/app.py @gshotwell
  • shiny/api-examples/input_text/app.py @gshotwell
  • shiny/api-examples/input_text_area/app.py @gshotwell

UI Other

  • shiny/api-examples/accordion/app.py @gshotwell
  • shiny/api-examples/accordion_panel/app.py@gshotwell
  • shiny/api-examples/insert_accordion_panel/app.py@gshotwell (doesn't seem to work with express)
  • shiny/api-examples/as_fill_item/app.py@gshotwell (skipping)
  • shiny/api-examples/as_fillable_container/app.py@gshotwell (skipping)
  • shiny/api-examples/remove_accordion_panel/app.py@gshotwell (doesn't seem to work with express)

UI Cards

  • shiny/api-examples/card/app.py @gshotwell
  • shiny/api-examples/card_footer/app.py @gshotwell
  • shiny/api-examples/card_header/app.py @gshotwell
  • shiny/api-examples/value_box/app.py @gshotwell
  • shiny/api-examples/showcase_bottom/app.py @gshotwell
  • shiny/api-examples/showcase_left_center/app.py @gshotwell
  • shiny/api-examples/showcase_top_right/app.py @gshotwell

UI Dynamic

  • shiny/api-examples/insert_ui/app.py (skipping)
  • shiny/api-examples/output_ui/app.py @gshotwell
  • shiny/api-examples/remove_ui/app.py(skipping)

Reactive Programming @gshotwell

  • shiny/api-examples/Calc/app.py
  • shiny/api-examples/Effect/app.py
  • shiny/api-examples/Module/app.py (skipping)
  • shiny/api-examples/Progress/app.py
  • shiny/api-examples/Renderer/app.py (skipping)
  • shiny/api-examples/SafeException/app.py (skipping)
  • shiny/api-examples/SilentCancelOutputException/app.py (skipping)
  • shiny/api-examples/SilentException/app.py (skipping)
  • shiny/api-examples/Value/app.py
  • shiny/api-examples/dynamic_route/app.py (skipping)
  • shiny/api-examples/invalidate_later/app.py
  • shiny/api-examples/isolate/app.py
  • shiny/api-examples/poll/app.py (Skipping, express doesn't seem to handle asyncio.Task well)
  • shiny/api-examples/req/app.py

Files

  • shiny/api-examples/download/app.py
  • shiny/api-examples/download_button/app.py
  • shiny/api-examples/download_link/app.py
  • shiny/api-examples/file_reader/app.py

Outputs

  • shiny/api-examples/data_frame/app.py
  • shiny/api-examples/output_image/app.py
  • shiny/api-examples/output_plot/app.py
  • shiny/api-examples/output_table/app.py
  • shiny/api-examples/output_text/app.py
  • shiny/api-examples/output_transformer/app.py

Includes

  • shiny/api-examples/include_css/app.py
  • shiny/api-examples/include_javascript/app.py

Notifications, Pop overs

  • shiny/api-examples/modal/app.py
  • shiny/api-examples/notification_show/app.py
  • shiny/api-examples/popover/app.py
  • shiny/api-examples/tooltip/app.py

Update functions @gshotwell

  • shiny/api-examples/update_accordion/app.py
  • shiny/api-examples/update_accordion_panel/app.py
  • shiny/api-examples/update_action_button/app.py
  • shiny/api-examples/update_checkbox/app.py
  • shiny/api-examples/update_checkbox_group/app.py
  • shiny/api-examples/update_date/app.py
  • shiny/api-examples/update_date_range/app.py
  • shiny/api-examples/update_navs/app.py
  • shiny/api-examples/update_numeric/app.py
  • shiny/api-examples/update_popover/app.py
  • shiny/api-examples/update_radio_buttons/app.py
  • shiny/api-examples/update_select/app.py
  • shiny/api-examples/update_selectize/app.py
  • ~shiny/api-examples/update_sidebar/app.py~ (In express closing the sidebar programatically strips content #1071)
  • shiny/api-examples/update_slider/app.py
  • shiny/api-examples/update_text/app.py
  • shiny/api-examples/update_tooltip/app.py

Others

  • shiny/api-examples/close/app.py
  • shiny/api-examples/event/app.py
  • shiny/api-examples/on_ended/app.py
  • shiny/api-examples/on_flush/app.py
  • shiny/api-examples/on_flushed/app.py
  • shiny/api-examples/render_display/app.py
  • shiny/api-examples/render_image/app.py
  • shiny/api-examples/row/app.py
  • shiny/api-examples/send_custom_message/app.py
  • shiny/api-examples/template/app.py
  • shiny/api-examples/todo_list/app.py
  • shiny/api-examples/www_dir/app.py
@gadenbuie
Copy link
Collaborator Author

Thanks @gshotwell! I'm going to close this and track the final list of translations in #1073

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant