Skip to content

fix(indexd): added sidenav tab for each data explorer - #1302

Merged
alexfreska merged 1 commit into
mainfrom
fix_indexd_added_sidenav_tab_for_each_data_explorer
Sep 3, 2025
Merged

fix(indexd): added sidenav tab for each data explorer#1302
alexfreska merged 1 commit into
mainfrom
fix_indexd_added_sidenav_tab_for_each_data_explorer

Conversation

@alexfreska

@alexfreska alexfreska commented Sep 3, 2025

Copy link
Copy Markdown
Member
  • This PR moves the data explorer select dropdown options to sidenav tabs.

Screenshot 2025-09-03 at 10.13.40 AM.png

Copilot AI review requested due to automatic review settings September 3, 2025 14:16
@changeset-bot

changeset-bot Bot commented Sep 3, 2025

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 95a771b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 7 packages
Name Type
@siafoundation/react-icons Minor
@siafoundation/design-system Minor
indexd Minor
explorer Patch
hostd Patch
renterd Patch
walletd Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel

vercel Bot commented Sep 3, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
indexd Ready Ready Preview Comment Sep 3, 2025 2:19pm
4 Skipped Deployments
Project Deployment Preview Comments Updated (UTC)
explorer Ignored Ignored Sep 3, 2025 2:19pm
explorer-zen Ignored Ignored Preview Sep 3, 2025 2:19pm
hostd Ignored Ignored Preview Sep 3, 2025 2:19pm
renterd Ignored Ignored Sep 3, 2025 2:19pm

@github-project-automation github-project-automation Bot moved this to In Progress in Sia Sep 3, 2025

alexfreska commented Sep 3, 2025

Copy link
Copy Markdown
Member Author

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull Request Overview

This PR refactors the indexd data explorer from a single tabbed interface to individual pages with dedicated sidebar navigation items. Each data type (hosts, contracts, keys, accounts, alerts) now has its own route and sidebar icon.

  • Replaced single data explorer page with dedicated routes for each data type
  • Added individual sidebar navigation items with appropriate icons for each data explorer
  • Updated navigation logic to support URL search parameters in active state detection

Reviewed Changes

Copilot reviewed 22 out of 22 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
libs/react-icons/src/UsersIcon.tsx Added new UsersIcon component for accounts navigation
libs/react-icons/src/index.ts Exported UsersIcon component
apps/indexd/config/routes.ts Added route definitions for each data explorer page
apps/indexd/components/IndexdSidenav.tsx Added individual navigation items for each data type with icons
libs/design-system/src/app/AppAuthedLayout/SidenavItem.tsx Enhanced active state detection to handle URL search parameters
apps/indexd/components/Data/Layout.tsx Added wrapper div for consistent layout structure
apps/indexd/app/(auth)/page.tsx Changed from data explorer to redirect to hosts page
apps/indexd/app/(auth)/*/page.tsx Created individual page components for each data type
apps/indexd/components/Data/*/index.tsx Refactored tab components to standalone components
apps/indexd/components/Data/index.tsx Removed centralized data explorer component
apps/indexd/components/Data/Views.tsx Removed view selector component

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread apps/indexd/components/IndexdSidenav.tsx

alexfreska commented Sep 3, 2025

Copy link
Copy Markdown
Member Author

Merge activity

  • Sep 3, 7:04 PM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Sep 3, 7:04 PM UTC: @alexfreska merged this pull request with Graphite.

@alexfreska
alexfreska merged commit e58460d into main Sep 3, 2025
53 checks passed
@alexfreska
alexfreska deleted the fix_indexd_added_sidenav_tab_for_each_data_explorer branch September 3, 2025 19:04
@github-project-automation github-project-automation Bot moved this from In Progress to Done in Sia Sep 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants