Folo/locales
Innei 4d6ca1b02f
refactor: redesign action rule editor layout (#4587)
* refactor: redesign action rule editor layout

* refactor(action): enhance action setting layout and functionality

- Introduced a new ShareImportSection component for better organization of action sharing and importing features.
- Updated EmptyActionPlaceholder styles for improved UI consistency.
- Refactored ActionButtonGroup to utilize useCallback for better performance.
- Adjusted layout and styling across various components for a cleaner and more cohesive design.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor(action): improve layout and functionality of action components

- Integrated ScrollArea for better scrolling behavior in RuleList and RuleCard components.
- Enhanced styling for various sections, including WhenSection and ThenSection, to improve visual consistency.
- Updated button variants and class names for better adherence to design tokens.
- Refactored layout structures to ensure a more cohesive user experience across action-related components.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor(action): enhance RuleList and context menu functionality

- Introduced RuleListItem component to improve the structure and readability of the RuleList.
- Added context menu support for rule deletion, enhancing user interaction.
- Updated the delete rule logic to handle selected index adjustments more intuitively.
- Improved styling and layout for better visual consistency across action components.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor(action): update icon usage in CompactRuleCard

- Replaced icon classes in CompactRuleCard component to use MingCute icons for better consistency and adherence to design tokens.
- Updated the arrow icons to `i-mingcute-arrow-up-line` and `i-mingcute-arrow-down-line` for improved visual clarity.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor(action): update RuleCardToolbar to use Button component

- Replaced the native button element with the Button component from the UI library for better consistency and adherence to design tokens.
- Updated button properties to align with the new component's API, enhancing the overall styling and functionality of the RuleCardToolbar.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor(action): clean up RuleCardToolbar button class

- Removed commented-out className from the button in RuleCardToolbar for improved code clarity and maintainability.
- This change aligns with the ongoing efforts to streamline component code and enhance readability.

Signed-off-by: Innei <tukon479@gmail.com>

---------

Signed-off-by: Innei <tukon479@gmail.com>
2025-10-23 16:16:42 +08:00
..
ai feat: server shorcuts 2025-10-23 11:31:35 +08:00
app feat: add last used login method tracking and localization updates 2025-10-21 21:45:44 +08:00
common feat(feed): a masonry view for all feed (#4335) 2025-09-05 21:24:42 +08:00
errors chore(ipc): extract as `electron-ipc-decorator` 2025-08-22 16:59:53 +08:00
external feat: add last used login method tracking and localization updates 2025-10-21 21:45:44 +08:00
lang feat: optimize language selector display 2025-04-30 15:58:25 +08:00
mobile/default chore: update japanese languages (#4346) 2025-08-15 23:16:46 +08:00
native chore: remove zen and wider mode 2025-09-12 20:47:07 +08:00
settings refactor: redesign action rule editor layout (#4587) 2025-10-23 16:16:42 +08:00
shortcuts fix(locales): normalize description punctuation across multiple languages 2025-09-24 14:05:06 +08:00