Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -130,3 +130,4 @@ test-results.xml
results-inspect-ai/
test-results-inspect-ai/
tests/inspect-ai/scripts/test_metadata.json
/.claude/
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### New features

* Added toast notification system with `ui.toast()`, `ui.toast_header()`, `ui.show_toast()`, and `ui.hide_toast()`. Toast notifications are temporary, non-intrusive messages that support multiple semantic types (success, warning, error, etc.), flexible positioning (9 positions: top/middle/bottom × left/center/right), auto-hide with configurable duration, optional headers with icons, and programmatic control. (#2111)

* Added a new `input_submit_textarea()` input element, which is similar to `input_text_area()`, but includes a submit button to only submit the text changes to the server on click. This is especially useful when the input text change triggers a long-running operation and/or the user wants to type longer-form input and review it before submitting it. (#2099)

### Bug fixes
Expand Down
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,10 @@ format-isort: FORCE
@echo "-------- Sorting imports with isort --------"
isort .

test-update-snapshots: FORCE ## Update test snapshots
@echo "-------- Updating test snapshots ----------"
pytest --snapshot-update

docs: FORCE ## docs: build docs with quartodoc
@echo "-------- Building docs with quartodoc ------"
@cd docs && make quartodoc
Expand Down
4 changes: 4 additions & 0 deletions docs/_quartodoc-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,10 @@ quartodoc:
- ui.help_text
- ui.notification_show
- ui.notification_remove
- ui.toast
- ui.toast_header
- ui.show_toast
- ui.hide_toast
- ui.modal
- ui.modal_show
- ui.modal_remove
Expand Down
4 changes: 4 additions & 0 deletions docs/_quartodoc-express.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,10 @@ quartodoc:
- express.ui.help_text
- express.ui.notification_show
- express.ui.notification_remove
- express.ui.toast
- express.ui.toast_header
- express.ui.show_toast
- express.ui.hide_toast
- express.ui.modal
- express.ui.modal_show
- express.ui.modal_remove
Expand Down
1 change: 1 addition & 0 deletions docs/_quartodoc-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ quartodoc:
- playwright.controller.Card
- playwright.controller.Popover
- playwright.controller.Sidebar
- playwright.controller.Toast
- playwright.controller.Tooltip
- title: UI Inputs
desc: Methods for interacting with Shiny app input value controller.
Expand Down
Loading
Loading