Skip to content

Dev - #26

Merged
ZhuchkaTriplesix merged 19 commits into
mainfrom
dev
Mar 22, 2026
Merged

Dev#26
ZhuchkaTriplesix merged 19 commits into
mainfrom
dev

Conversation

@ZhuchkaTriplesix

Copy link
Copy Markdown
Member

No description provided.

ZhuchkaTriplesix and others added 19 commits March 21, 2026 17:17
- MongoService: ensureConnected + disconnectByConnectionId; reuse socket per id
- Explorer/stats/databases: use pool; explorer dispose no longer disconnects pool
- Breadcrumb refresh bumps refreshToken; child views reload data; editor refetches doc
- Sidebar Mongo tile uses pool; drop database shows confirmation dialog
- LocalDb.addConnection returns inserted row id

Made-with: Cursor
- FoldersStorage.reload() for tests after seeding SQLite
- Widget test: narrow panel with folder + PG/Redis/Mongo rows (no pumpAndSettle)

Made-with: Cursor
- Stats: Refresh now without full reconnect; auto-refresh Off/3-60s; last updated time
- Stats: periodic poll uses _pollTick; pull-to-refresh matches toolbar
- Collections: show names first; parallel collStats in batches of 6; load generation guard

Made-with: Cursor
…test

Avoids matcher wait on findsOneWidget when folder text appears after _loadData

Made-with: Cursor
Pass animation to _BlurredDialogScaffold; blur sigma and dimming alpha
scale from 0 to target (10, 0.32) over transition duration

Made-with: Cursor
- Remove outer FadeTransition on whole dialog route (was hiding blur at t=0)
- Animate blur/dim on backdrop only; fade+scale dialog content separately

Made-with: Cursor
Rename Default to No limit; add 10s option; 120s shown as 2 min; use material.Text in items

Made-with: Cursor
findsOneWidget polls until a long timeout; assert finder.evaluate().length instead

Made-with: Cursor
Connection.open() previously ignored PostgresConnection.database for URI
connections, so all explorer branches queried the same catalog.

Made-with: Cursor
- ValueKey on database/schema nodes to avoid State reuse across branches
- New folders start collapsed; first load still expands saved folders

Made-with: Cursor
Use _sqliteInt for id, port, folder_id, sort_order, use_ssl and folder
lookups so sqflite_common_ffi rows do not throw on non-int num types.

Made-with: Cursor
Rename state class to public ConnectionsPanelState and expose reload for
widget tests that must await LocalDb/sqflite inside WidgetTester.runAsync.

Made-with: Cursor
…r test

Sqflite FFI needs real async zone; capture ConnectionsPanelState outside
runAsync, call reloadConnectionsFromDb, then pumpAndSettle.

Made-with: Cursor
…rTest

- Increment _loadDataGeneration and ignore stale completions so overlapping
  sqflite-backed loads cannot clobber UI state.
- Add skipInitialDbLoadForTest (default false) for widget tests that reload
  via WidgetTester.runAsync without a second initState _loadData.

Made-with: Cursor
- Assert labels with find.text (widgetWithText+material.Text missed Text across imports).
- Use skipInitialDbLoadForTest + reloadConnectionsFromDb inside runAsync; catch
  reload errors; pump twice after async work.

Made-with: Cursor
@ZhuchkaTriplesix ZhuchkaTriplesix self-assigned this Mar 22, 2026

@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.

123

@ZhuchkaTriplesix ZhuchkaTriplesix added bug Something isn't working enhancement New feature or request labels Mar 22, 2026
@ZhuchkaTriplesix
ZhuchkaTriplesix merged commit f43b21a into main Mar 22, 2026
4 checks passed
ZhuchkaTriplesix added a commit that referenced this pull request Apr 24, 2026
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.

1 participant