Skip to content

DX-1485: Multi tabs and search history #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 27 commits into from
Jun 26, 2025
Merged

DX-1485: Multi tabs and search history #17

merged 27 commits into from
Jun 26, 2025

Conversation

ytkimirti
Copy link
Collaborator

No description provided.

Copy link

linear bot commented May 21, 2025

@CahidArda CahidArda requested a review from Copilot May 22, 2025 09:52
Copilot

This comment was marked as outdated.

Copy link

vercel bot commented Jun 11, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-redis-browser ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 24, 2025 7:30pm

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Adds multi-tab support and search history enhancements, along with various style and hook updates across the data browser.

  • Introduce a useTab context and new tab UI (DatabrowserTabs) for per-tab state isolation
  • Enhance SearchInput with history tracking, deduplication, and keyboard navigation in a popover
  • Update multiple components to use useTab, adjust styling/padding, and gate effects based on active tab

Reviewed Changes

Copilot reviewed 20 out of 57 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/components/databrowser/components/sidebar/skeleton-buttons.tsx Adjust loading skeleton wrapper styles
src/components/databrowser/components/sidebar/search-input.tsx Add search history, dedupe logic, popover with keyboard nav
src/components/databrowser/components/sidebar/keys-list.tsx Switch key list to useTab store context
src/components/databrowser/components/sidebar/infinite-scroll.tsx Guard fetch-on-mount by active tab, spread props & styles
src/components/databrowser/components/sidebar/index.tsx Sidebar layout padding and removed borders/bg
src/components/databrowser/components/sidebar/empty.tsx Empty state background styling
src/components/databrowser/components/sidebar/db-size.tsx Swap to useRedis hook for DB-size query
src/components/databrowser/components/display/key-actions.tsx Add “Copy key” menu item, update delete styling
src/components/databrowser/components/display/input/custom-editor.tsx Gate Monaco language reset by active tab
src/components/databrowser/components/display/index.tsx Remove border/bg and switch to useTab for key selection
src/components/databrowser/components/display/header-badges.tsx Rename TTL hook import
src/components/databrowser/components/display/display-simple.tsx Remove extra padding
src/components/databrowser/components/display/display-list.tsx Switch list display to useTab, add transition-colors
src/components/databrowser/components/display/display-list-edit.tsx Switch edit form to useTab, remove extra padding
src/components/databrowser/components/display/display-header.tsx Switch header to useTab, remove padding
src/components/databrowser/components/databrowser-tabs.tsx New tabs UI component
src/components/databrowser/components/databrowser-instance.tsx New instance layout with panels (needs tab context)
src/components/databrowser/components/add-key-modal.tsx Switch add-key modal to useTab
package.json Bump Radix UI packages, add label package
index.html Update playground script path

@ytkimirti ytkimirti merged commit f4b90c3 into master Jun 26, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants