Skip to content

Move Explore All Tables to Separate Page

What

This MR moves the "Explore All Tables" view from sharding_keys.erb into its own dedicated page. Here's what was done (entirely by Duo):

Created New Template

Created templates/explore_tables.erb - A new dedicated template for the "Explore All Tables" functionality with:

  • Clean, focused interface for table exploration
  • All the original filtering capabilities (Status, Schema, Table Size, Feature Category, etc.)
  • Responsive table with sortable columns
  • Smart floating jump button for navigation
  • Consistent styling and navigation with other pages

Updated Original Template

Modified templates/sharding_keys.erb to:

  • Remove the entire "Explore All Tables" <details> section
  • Replace it with a simple button link to the new dedicated page
  • Remove all related JavaScript code for table filtering
  • Clean up the page to focus on its core sharding key progress functionality

Updated Data Generation Script

Modified scripts/sharding_keys/data.rb to:

  • Include the new explore_tables.erb template in the HTML generation
  • Generate the new explore_tables.html file in the public directory

Updated Navigation

Updated all navigation dropdowns across templates to include the new "Explore all tables" link:

  • templates/sharding_keys.erb
  • templates/explore_tables.erb
  • templates/sharding_summary.erb
  • scripts/schema_migration/data.rb
  • scripts/cells_10/data.rb

Benefits of This Change

  • Better User Experience: The table exploration functionality now has its own dedicated page with more space and focus
  • Improved Performance: The main sharding keys page loads faster without the heavy table filtering JavaScript
  • Better Organization: Separates concerns - the main dashboard shows progress, while the dedicated page allows detailed exploration
  • Consistent Navigation: All pages now have consistent navigation with the new explore tables option
  • Maintainability: Easier to maintain and enhance the table exploration features independently
  • The new page will be accessible at /explore_tables and provides the same powerful filtering and search capabilities that were previously embedded in the sharding keys page, but now in a dedicated, focused interface.
Edited by Nick Nguyen

Merge request reports

Loading