Skip to content

Redis connection pull - #6

Merged
ZhuchkaTriplesix merged 17 commits into
devfrom
redis-connection-pull
Mar 5, 2026
Merged

Redis connection pull#6
ZhuchkaTriplesix merged 17 commits into
devfrom
redis-connection-pull

Conversation

@ZhuchkaTriplesix

Copy link
Copy Markdown
Member

No description provided.

Move connections_panel.dart, new_connection_dialog.dart,
new_folder_dialog.dart, and driver_manager_dialog.dart from
features/main_screen/ to features/connections/ for better
project organization. Each connector type now has its own
dedicated folder under lib/features/.
Move mongodb_connection_form.dart and mongo_databases_view.dart
from features/main_screen/ to features/mongodb/. Keeps all
MongoDB-specific UI (connection form, databases list, server
status view) in a dedicated directory.
Move redis_connection_form.dart and redis_view.dart from
features/main_screen/ to features/redis/. All Redis-specific
UI (connection form, server info dashboard) is now grouped
in its own directory.
Update import paths in main_screen.dart and workspace_panel.dart
to reference the new feature directory locations:
- connections_panel, new_connection_dialog, driver_manager_dialog
  -> features/connections/
- mongodb_connection_form, mongo_databases_view -> features/mongodb/
- redis_connection_form, redis_view -> features/redis/
- redis_info_test.dart: tests for parseRedisInfo() and helper
  functions (sectionValue, sectionInt, sectionDouble)
- redis_connection_test.dart: tests for RedisConnection initial
  state, disconnect safety, and error handling
- redis_service_test.dart: tests for RedisService.createConnection(),
  getConnection(), disconnect(), and validation
- mongo_service_test.dart: tests for MongoService.createConnection(),
  getConnection(), validation, and connection replacement
- mongo_connection_data_test.dart: tests for MongoConnectionData
  validation logic (isValid) and default values
- mongodb_connection_test.dart: comprehensive tests for
  MongoConnection.buildConnectionUri() and initial state
- connection_row_test.dart: tests for ConnectionRow serialization
  (toMap/fromMap), round-trip, and edge cases
- Run tests on push/PR to main, dev, and connector branches
- Run flutter analyze for code quality checks
- Uses Flutter 3.38.5 stable channel
- Both jobs run in parallel on Ubuntu latest
- driver_urls.dart: add library directive to fix dangling doc comment
- folders_storage.dart: add curly braces in for loop
- app_theme.dart: use const with ThemeData.dark and Typography.geist()
- connections_panel.dart: const Text and Padding widgets
- driver_manager_dialog.dart: const constructors, remove unused _refreshStatus
- new_connection_dialog.dart: const Dialog and Text widgets
- new_folder_dialog.dart: const Dialog and Text widgets
- main_screen.dart: const SizedBox, Text, Icon widgets; sort child properties last
- query_editor_tab.dart: const Padding and Card widgets
- results_tab.dart: fix const Center with non-const child
- mongo_databases_view.dart: remove unused BorderSide, MainAxisAlignment, Divider imports; add const Text widgets
- mongodb_connection_form.dart: add const Text, Divider, SizedBox, CircularProgressIndicator widgets
- redis_connection_form.dart: const Text, Divider widgets
- redis_view.dart: const Text, SizedBox, CircularProgressIndicator widgets
- mongo_service_test.dart: const ConnectionRow instances
- redis_service_test.dart: const ConnectionRow instances
- connection_row_test.dart: const ConnectionRow instances
@ZhuchkaTriplesix ZhuchkaTriplesix self-assigned this Mar 5, 2026
@ZhuchkaTriplesix ZhuchkaTriplesix added bug Something isn't working enhancement New feature or request labels Mar 5, 2026
@ZhuchkaTriplesix
ZhuchkaTriplesix requested a review from Reei-dp March 5, 2026 20:04

@Reei-dp Reei-dp left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

10/10

@ZhuchkaTriplesix ZhuchkaTriplesix left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gemius code

@ZhuchkaTriplesix
ZhuchkaTriplesix merged commit 02bb290 into dev Mar 5, 2026
4 checks passed
@ZhuchkaTriplesix
ZhuchkaTriplesix deleted the redis-connection-pull branch March 5, 2026 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants