Skip to content

tests(controllers): Split _controls.py into separate files #1652

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 9 commits into from
Aug 29, 2024

Conversation

karangattu
Copy link
Collaborator

@karangattu karangattu commented Aug 28, 2024

Split ._controls into separate files so they are easier to refactor and maintain.
The files it will be split in will look like this

├── _accordion.py
├── _base.py
├── _card.py
├── _chat.py
├── _expect.py
├── _file.py
├── _input_buttons.py
├── _input_controls.py
├── _input_fields.py
├── _layout.py
├── _navs.py
├── _output.py
└── _overlay.py

@karangattu karangattu changed the title Split _controls.py into separate files tests(controllers): Split _controls.py into separate files Aug 28, 2024
@karangattu karangattu requested a review from schloerke August 28, 2024 02:44
@karangattu karangattu requested a review from schloerke August 28, 2024 05:01
@schloerke schloerke added this to the v1.1.0 milestone Aug 29, 2024
@schloerke
Copy link
Collaborator

Please wait to merge until py-shiny is on pypi and stable (day after release?). Thank you

@schloerke
Copy link
Collaborator

Goal achieved in PR. Merging as GHA failures are unrelated to changes made

@schloerke schloerke merged commit 8d6fb63 into main Aug 29, 2024
45 of 48 checks passed
@schloerke schloerke deleted the split-_controls branch August 29, 2024 18:24
schloerke added a commit to machow/py-shiny that referenced this pull request Sep 5, 2024
* main:
  CI(deploy): Add more installation configs to surface failure cause (posit-dev#1658)
  `Chat.messages()` no longer trims messages by default (posit-dev#1657)
  tests(controllers): Split _controls.py into separate files (posit-dev#1652)
  Chat tweaks (posit-dev#1607)
  docs: Add modal_show/remove examples (posit-dev#1628)
  Delay sending of chat UI messages until reactive graph is flushed (posit-dev#1593)
  ci(remove future behavior warning): Set the `asyncio_default_fixture_loop_scope` to `fixture` (posit-dev#1655)
  bug: Verify mypy can run on CI (posit-dev#1650)
  Fix CI install failures on Windows (posit-dev#1651)
  Quartodoc 0.7.6 (posit-dev#1636)
  Allow `@chat.transform_assistant_response` function to return `None` (posit-dev#1641)
  feat: Support templates with `_template.json` metadata (posit-dev#1631)
  Fix KeyError when serving static files (posit-dev#1648)
  tests(navsets): Add navsets kitchensink tests (posit-dev#1602)
  Change default claude model to 3.5 sonnet
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants