Skip to content

refactor(redis, mongodb): colours through context.colors; 15 files off shadcn (#1731) - #1740

Merged
ZhuchkaTriplesix merged 1 commit into
devfrom
refactor/colors-redis-mongo
Oct 18, 2026
Merged

ZhuchkaTriplesix merged 1 commit into
devfrom
refactor/colors-redis-mongo

Conversation

@ZhuchkaTriplesix

Copy link
Copy Markdown
Member

Part of #1731 (folders features/redis and features/mongodb, ~175 reads). Epic #1465.

Mechanical, no visual change:

  • Theme.of(context).colorScheme and shadcn.Theme.of(context).colorScheme → context.colors;
  • the ColorScheme / shadcn.ColorScheme types of parameters and fields → QueryaUiColors. Several widgets took the same scheme twice (colorScheme and shadcnCs); both are QueryaUiColors now, and the colorScheme parameter of the Redis type editors, the key, database and Mongo list rows is named colors;
  • tests that build those editors pass colors: from context.colors.

15 files no longer import shadcn: the scheme was all they took from it (Mongo collections, databases, document editor, documents view, explorer, stats; Redis hash, list, set and zset editors, databases, explorer, key editor, keys view, view). They leave the shadcn ratchet: 52 → 37 files.

The guard colors_through_context_test.dart now covers connections, mongodb and redis.

dart analyze is clean; Redis, Mongo, NoSQL, guards, main-screen and e2e suites pass locally.

@github-actions github-actions Bot added theme Theming, colors, VS Code themes frontend Theme parser epic label: frontend ui User interface components and widgets P2 Medium priority / Parity & Refactoring labels Oct 18, 2026
@github-actions github-actions Bot added this to the Theme system milestone Oct 18, 2026
@ZhuchkaTriplesix
ZhuchkaTriplesix merged commit 0334740 into dev Oct 18, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

frontend Theme parser epic label: frontend P2 Medium priority / Parity & Refactoring theme Theming, colors, VS Code themes ui User interface components and widgets

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant