Skip to content

feat(ui): introduce core Querya UI Kit components in lib/shared/widgets #1038

Closed

Description

@ZhuchkaTriplesix

Summary

Создать набор стандартизированных компонентов дизайн-системы Querya UI Kit в lib/shared/widgets/ для устранения визуального разнобоя, дублирования верстки и гарантированной поддержки 50+ VS Code тем.

Components to Implement

  1. QueryaConfirmDialog & QueryaModalDialog:
    • Декларативные диалоги подтверждения на базе showAppDialog и QueryaDialogCard (Заголовок, Описание, Иконка, Кнопки Отмена/Подтвердить/Destructive).
  2. QueryaIconButton / QueryaToolbarButton:
    • Кнопка панели инструментов с пресетами плотности (dense: 28x28, standard: 32x32), унифицированными hover-эффектами и встроенным QueryaTooltip.
  3. QueryaSearchField:
    • Поле поиска/фильтрации со встроенным debounce, иконкой лупы, шорткатом и кнопкой быстрой очистки (ESC / ✕).
  4. QueryaSpinner:
    • Индикатор загрузки с пресетами размеров (sm: 14px, md: 20px, lg: 32px) и автоматической привязкой к акцентным цветам активной темы.
  5. QueryaBadge:
    • Типизированные бейджи (type, primaryKey, foreignKey, status, readOnly) на основе токенов QueryaSemanticPalette.
  6. QueryaEmptyState:
    • Унифицированное представление пустых экранов и выборок (Иконка, Заголовок, Описание, Кнопка действия).

Acceptance Criteria

  • Все 6 компонентов реализованы в lib/shared/widgets/ и экспортированы через widgets.dart.
  • Компоненты корректно реагируют на смену темы в рантайме (QueryaThemeScope).
  • Написаны виджет-тесты на каждый компонент в test/shared/widgets/.

Activity

  1. added
    enhancementNew feature or request
    frontendTheme parser epic label: frontend
    uiUser interface components and widgets
    uxUser experience, keyboard shortcuts and interactions
    P1High priority / Core capability
    on Oct 4, 2026
  2. added 2 commits that reference this issue on Oct 5, 2026
  3. ZhuchkaTriplesix commented on Oct 5, 2026

    @ZhuchkaTriplesix
    MemberAuthor

    Resolved in PR #1068

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1High priority / Core capabilityenhancementNew feature or requestfrontendTheme parser epic label: frontenduiUser interface components and widgetsuxUser experience, keyboard shortcuts and interactions

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions