Commit Graph

1619 Commits

Author SHA1 Message Date
Floyd Wang d00ee66ea3 Done MVP 2026-01-28 16:02:30 +08:00
Jason Lee 2a3c297d76 focus_trap: Add to support focus_trap. (#1977)
https://github.com/user-attachments/assets/fc0b992e-4b7b-4315-98de-df21a42029f7
2026-01-28 03:15:46 +00:00
Ylin 3522e0deed input: Fix custom text_view_style not working (#1975) 2026-01-27 15:21:22 +08:00
Iain fa110ebf04 input: Fix clear button showing in disabled state (#1973)
## Description

Hide clear button when the input is disabled.

## Screenshot

| Before                       | After                       |
| ---------------------------- | --------------------------- |
| <img width="341" height="327" alt="image"
src="https://github.com/user-attachments/assets/0d3377ed-32ff-41f9-ae68-fbff5af8b26c"
/> | <img width="360" height="338" alt="image"
src="https://github.com/user-attachments/assets/48f1b9c1-1210-4861-998c-476389ccd44f"
/> |

## Checklist

- [x] I have read the [CONTRIBUTING](../CONTRIBUTING.md) document and
followed the guidelines.
- [x] Reviewed the changes in this PR and confirmed AI generated code
(If any) is accurate.
- [x] Passed `cargo run` for story tests related to the changes.
- [ ] Tested macOS, Windows and Linux platforms performance (if the
change is platform-specific)
2026-01-26 13:51:20 +00:00
Jason Lee 35f55766f7 context_menu: Fix context menu shadow. (#1874)
Closes #1860

| Before |  After |
| --- | --- |
| <img width="402" height="337" alt="image"
src="https://github.com/user-attachments/assets/2c54af02-5519-48e2-8aab-d3472ab5d1f8"
/> | <img width="416" height="330" alt="image"
src="https://github.com/user-attachments/assets/eb49275d-2807-46a7-8b70-e18344a54664"
/> |
2026-01-24 14:10:16 +08:00
fhluo 6e5bd33028 select: Fix perform_search to call SelectItem::matches (#1968)
Previously, `SearchableVec::perform_search` used hardcoded title
matching, which prevented users from implementing custom search logic.
2026-01-23 13:33:09 +08:00
Jason Lee 8671be2005 docs: Refactor skills based on skill-creator. (#1966) 2026-01-21 17:57:44 +08:00
Floyd Wang 46c5cf6dfa root: Implement styled (#1965)
Closes #1964
2026-01-21 06:28:28 +00:00
Floyd Wang f8f1ec8a98 popover: Use mouse down events to dismiss (#1962)
Closes #1961
2026-01-20 13:53:28 +08:00
Jason Lee 64ef2a69fd popover: Refactor center Popover position. (#1956)
Closes #1951
2026-01-17 10:14:21 +08:00
Floyd Wang a5529f6639 table: Add support for data dump (#1942) 2026-01-16 16:32:58 +08:00
Floyd Wang 2f34808dfb scrollable: Fix the container specified size possibly not working (#1954)
Continue #1921.
2026-01-16 16:05:52 +08:00
Floyd Wang f66d17e2b2 input: Fix push history may not be on a char boundary (#1953) 2026-01-16 14:07:33 +08:00
Floyd Wang 733cff2a69 plot: Fix point scale range not working (#1952) 2026-01-16 04:08:32 +00:00
Leo 90b707a7f1 docs: Keep the doc version in sync with the package official version (#1946)
Closes #1947

## Description

The `Release Docs` action is currently triggered by a tag, but this can
cause it to become unsynchronized with the official package version if
the package fails to publish.

To address this, change the `Release Docs` action to be triggered by the
`Release Crate` workflow. Once that workflow completes successfully, it
will trigger the documentation release, ensuring that the doc version
stays in sync with the official package version.
2026-01-16 10:25:15 +08:00
Floyd Wang 6b7ff0b9c0 progress: Fix incorrect border radius of inner bar (#1950)
| Before | After |
| - | - |
| <img width="972" height="769" alt="SCR-20260116-jdxv-2"
src="https://github.com/user-attachments/assets/0bbb0e8b-fecf-4189-951d-9c692ae40fc3"
/> | <img width="969" height="755" alt="SCR-20260116-jdpc"
src="https://github.com/user-attachments/assets/f60857ce-e80f-4894-942a-449b77409e90"
/> |
2026-01-16 02:05:18 +00:00
fhluo 0891c81cbf theme: Fix theme sorting (#1948)
## Description

Derive `Ord` for `ThemeMode` and include mode in the sorting logic of
`ThemeRegistry::sorted_themes`.

## Screenshot

| Before                       | After                       |
| ---------------------------- | --------------------------- |
| <img width="200" alt="before"
src="https://github.com/user-attachments/assets/376e0abb-be27-49fd-b84d-dd0f2ee906ae"
/> | <img width="200" alt="after"
src="https://github.com/user-attachments/assets/2fd559ab-4ed4-4619-bcc7-fb1dd5364bdc"
/> |
2026-01-16 10:01:17 +08:00
fhluo a93725f2d9 docs: Fix description list example (#1949)
Fix `DescriptionList` example to use the correct `item` method.
2026-01-16 09:44:16 +08:00
Elliott Minns f86cbdd2a8 input: Triple click support for line selection (#1917)
## Description

This PR adds in support for triple clicking an input field, which
selects the entire line. This keeps the input component similar to
expected behavior in operating systems such as macOS.

## How to Test

Navigate to an input field and click the mouse three times. Entire line
should be selected rather than just the current word. Double click still
works as expected.

## Checklist

- [X] I have read the [CONTRIBUTING](../CONTRIBUTING.md) document and
followed the guidelines.
- [X] Reviewed the changes in this PR and confirmed AI generated code
(If any) is accurate.
- [X] Passed `cargo run` for story tests related to the changes.
- [x] Tested macOS, Windows and Linux platforms performance (if the
change is platform-specific)
2026-01-15 15:05:20 +00:00
Floyd Wang 2e75bebf47 date_picker: Fix incorrect placeholder text color (#1945)
Closes #1944.

| Before | After |
| - | - |
| <img width="1055" height="759" alt="SCR-20260115-rfpd"
src="https://github.com/user-attachments/assets/02c39b6d-d64c-4a8e-a5fd-2849f3225aba"
/> | <img width="1008" height="761" alt="After"
src="https://github.com/user-attachments/assets/9d77b3aa-9295-4f46-b7aa-8c3fe71b67f8"
/> |
2026-01-15 11:50:33 +00:00
Jason Lee 66fb7f4b95 docs: Add CLAUDE.md for Claude Code guidance (#1943)
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-15 19:21:50 +08:00
Floyd Wang 1a19df56ca popover: Notify when the content bounds change (#1941) 2026-01-15 16:00:44 +08:00
Ylin e065a41edd dock: Pub dock panel and active_ix of table_panel (#1940) 2026-01-15 15:48:36 +08:00
Floyd Wang 9933b62bc3 popover: Restore lost with_priority (#1939)
Cause by #1931.
2026-01-15 06:31:25 +00:00
Floyd Wang 50270c4e80 popup_menu: Improve dismiss events (#1938)
Handle left mouse button up and right mouse button down events.
2026-01-15 13:53:20 +08:00