Skip to content

feat(nosql): 1-click return to active Mongo collection and Redis key (UI-03 Parity) #1024

Description

@ZhuchkaTriplesix

Summary

Реализовать кнопку быстрого возврата (Return to <object>) в шапке MongoStatsView и RedisView при переходе пользователя с просмотра данных на экран статистики.

Context

В PostgreSQL, MySQL и SQLite в шапке дашборда статистики всегда есть кнопка возврата к последней открытой таблице. В NoSQL-экранах такой механизм отсутствует, из-за чего приходится заново искать коллекцию или ключ в дереве.

Implementation Details

  1. В MongoExplorerView и MongoStatsView сохранять _lastSelectedCollection и отображать OutlineButton(leading: Icon(Icons.table_chart_outlined), child: Text('Return to $lastCollection')).
  2. В RedisView сохранять имя последнего активного ключа _lastSelectedKey и рендерить кнопку возврата в RedisKeyEditor.

Acceptance Criteria

  • При переходе из просмотра документов/ключей в статистику отображается кнопка быстрого возврата.
  • Нажатие восстанавливает просмотр данных без потери контекста.

Activity

  1. added
    enhancementNew feature or request
    uiUser interface components and widgets
    uxUser experience, keyboard shortcuts and interactions
    P2Medium priority / Parity & Refactoring
    on Oct 4, 2026
  2. added a commit that references this issue on Oct 5, 2026
  3. ZhuchkaTriplesix commented on Oct 5, 2026

    @ZhuchkaTriplesix
    MemberAuthor

    Resolved in PR #1076

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

    P2Medium priority / Parity & RefactoringenhancementNew feature or requestuiUser 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