2 Commits

Author SHA1 Message Date
waynebian01
da2eeb3b39 Refactor UI components for improved theming and accessibility
- Updated UiCardPanel to use UiTheme.CardCornerRadius for consistent corner styling.
- Modified UiPillTab to enable TabStop and set AccessibleRole to PageTab, enhancing keyboard navigation.
- Implemented keyboard handling in UiPillTab for Enter and Space keys to trigger click events.
- Enhanced focus visuals in UiPillTab with focus rectangle drawing.
- Introduced new constants in UiTheme for CardPadding, PageGap, ActionButtonHeight, GridRowHeight, TabBarHeight, CardCornerRadius, and ControlCornerRadius for better layout management.
- Updated UnitEditorForm to utilize new theming constants and improved layout with UiCardPanel for better visual structure.
- Refined action button styling in UnitEditorForm for consistent button sizes and margins.
- Adjusted labeled row height in UnitEditorForm for better alignment.
2026-08-25 15:58:44 +08:00
waynebian01
d7021f2f20 feat: add rule comment functionality with dedicated editor
- Introduced a new column for rule comments in the ModuleEditorControl.
- Implemented a RuleTextEditorForm for editing comments.
- Enhanced the rules grid to support comment display and editing.
- Updated data handling to include comments in rule metadata.
- Improved UI responsiveness and aesthetics for the comment editor.
2026-08-24 20:32:06 +08:00