Commit Graph
129 Commits
Author SHA1 Message Date
Timothy Jaeryang Baek 916c03829d chore: format 2026-11-17 22:37:26 +09:00
Timothy Jaeryang Baek 6f2fc7bc7a refac 2026-11-10 21:18:18 +09:00
G30 c4daef0c94 fix(a11y): icon buttons named only by a tooltip have names (#33454) 2026-10-31 17:37:16 +09:00
G30 476b6f49e4 fix(a11y): fields on Workspace, Notes, Playground and chat pages have names (#33422) 2026-10-31 05:05:51 +09:00
G30 d89699992a fix(a11y): a group's checkbox in the member picker has a name and isn't inside the group's button (#33418) 2026-10-31 05:05:27 +09:00
G30 15d98d4610 fix(a11y): a filter's clear button has a name and isn't inside the filter's button (#33416) 2026-10-31 05:05:11 +09:00
G30 f2a990f6da fix(a11y): every window has a name for screen readers (#33412) 2026-10-31 04:39:32 +09:00
Timothy Jaeryang Baek 9d1b4ef362 refac 2026-10-30 16:01:47 +09:00
Timothy Jaeryang Baek c7e34e0fa9 refac 2026-10-25 14:34:12 +09:00
G30 5372577430 fix(a11y): the Visibility button's name includes the choice it shows (#33125) 2026-10-25 12:15:42 +09:00
Timothy Jaeryang Baek 1184d36c13 refac 2026-10-21 08:56:52 +09:00
Timothy Jaeryang Baek 5a46aad0f0 refac 2026-10-21 08:56:28 +09:00
Timothy Jaeryang Baek ba34b1c47c refac 2026-10-21 08:41:25 +09:00
G30 b6808df7d6 fix: the close button on 22 dialogs and the update notice gets a name for screen readers (#32615) 2026-10-21 02:31:52 +09:00
Timothy Jaeryang Baek 59d6f5e43c refac 2026-10-16 14:18:22 +04:00
Timothy Jaeryang Baek 5060923c63 refac 2026-10-14 13:53:47 +04:00
Timothy Jaeryang Baek d823ebd96d refac 2026-10-12 23:59:19 +04:00
Timothy Jaeryang Baek e9635596dd refac 2026-10-12 23:22:18 +04:00
Timothy Jaeryang Baek 04bccecb8e refac 2026-10-12 17:29:04 +04:00
Timothy Jaeryang Baek 2bcf9cffe7 refac 2026-10-10 22:59:27 +04:00
Timothy Jaeryang Baek ccc7174371 refac 2026-10-09 18:53:44 +04:00
Timothy Jaeryang Baek e6476928ee refac 2026-10-09 18:37:55 +04:00
Timothy Jaeryang Baek 3302f5eea2 refac 2026-10-09 17:54:24 +04:00
Timothy Jaeryang Baek 784b72f19e refac 2026-10-09 17:24:53 +04:00
Timothy Jaeryang Baek d4f01d7344 refac 2026-10-09 17:20:37 +04:00
Timothy Jaeryang Baek b3ce7de8d3 refac 2026-10-09 17:19:10 +04:00
Timothy Jaeryang Baek 24ee1cb168 refac 2026-10-09 16:31:34 +04:00
Timothy Jaeryang Baek 33dd7dd224 refac 2026-10-09 16:17:11 +04:00
Timothy Jaeryang Baek 37138282fb refac 2026-10-09 15:54:44 +04:00
Timothy Jaeryang Baek 7d205a86dc refac 2026-10-08 23:49:38 +04:00
Timothy Jaeryang Baek d2cacc4b7d refac 2026-10-08 15:06:49 +04:00
Timothy Jaeryang Baek de73bb830a refac 2026-10-08 14:30:07 +04:00
Timothy Jaeryang Baek dd576bade3 refac 2026-10-05 10:40:09 +04:00
G30 af9ef1dcbc fix: hide the group picker from users who may not share with groups (#30189) 2026-09-19 15:34:33 -05:00
G30 5b0f8a73ca fix: keep the select chevron clear of the text in shrink-to-fit selects (#29866) 2026-09-09 16:22:00 -04:00
Timothy Jaeryang Baek 858ab727d2 refac 2026-09-04 18:31:59 -04:00
Timothy Jaeryang Baek 385d08bea5 refac 2026-08-10 19:42:05 -06:00
Timothy Jaeryang Baek d4461bd6f3 refac 2026-08-10 18:52:18 -06:00
Timothy Jaeryang Baek 810378c0b8 refac 2026-07-27 19:39:36 -04:00
Classic298 7e96c53a20 feat: multiselect valve input type with static or dynamic options (#26884)
Adds a multiselect input type for Valves and UserValves so plugin authors can let users pick multiple values from static or runtime-resolved options instead of maintaining comma-separated text fields with hardcoded allowed-value lists in the description.

ENABLED_ITEMS: list[str] = Field(
    default=["foo"],
    json_schema_extra={"input": {"type": "multiselect", "options": "get_item_options"}},
)

@classmethod
def get_item_options(cls):
    return [{"value": "foo", "label": "Foo"}, {"value": "bar", "label": "Bar"}]

Options accept the same shapes as the existing select input: either a static list (strings or {value, label} dicts) or a classmethod name resolved at request time (including __user__ context for UserValves). No backend changes are needed because resolve_valves_schema_options already resolves options independently of the input type.

The new MultiSelect component follows the existing Select portal dropdown pattern and renders checkbox rows that stay open while toggling, with the selected labels shown in the trigger. Values bind as a real string array end to end: the array-to-comma-string conversions in the chat controls valves panel and the valves modal are skipped for multiselect fields, so the stored valve is a native list[str] validated by Pydantic.

Requested in #26848.
2026-07-27 01:11:38 -04:00
Timothy Jaeryang Baek 20647bd2d5 chore: format 2026-07-27 00:12:47 -04:00
Timothy Jaeryang Baek 1f0dc90abe refac 2026-07-26 18:06:03 -04:00
Timothy Jaeryang Baek 381ababeba refac 2026-07-24 00:40:21 -04:00
Timothy Jaeryang Baek e5e2cd7876 refac 2026-07-17 04:48:21 -04:00
Timothy Jaeryang Baek db934a3b4f refac 2026-07-15 16:51:08 -04:00
Timothy Jaeryang Baek 9499587c33 refac 2026-07-15 04:25:51 -04:00
Timothy Jaeryang Baek 2018546a7b refac 2026-07-15 04:18:56 -04:00
Timothy Jaeryang Baek 804ec68a6b refac 2026-07-15 02:01:45 -04:00
Timothy Jaeryang Baek fb2ea27295 refac 2026-07-15 01:59:56 -04:00
Timothy Jaeryang Baek aedb6bef4e refac 2026-07-14 04:15:20 -04:00