Skip to content

Dashboard-first redesign based on Reddit feedback - #1

Merged
antarr merged 7 commits into
mainfrom
reddit-feedback
Apr 9, 2026
Merged

antarr merged 7 commits into
mainfrom
reddit-feedback

Conversation

@antarr

@antarr antarr commented Apr 9, 2026

Copy link
Copy Markdown
Owner

Summary

  • Dashboard as default landing page — server health, top 5 slow queries, top 5 expensive queries, and index alert badges load on mount
  • Query Explorer — merged Visual Builder and SQL Query into one tab with a mode toggle
  • Tab reorder — Dashboard, Slow Queries, Query Stats, Server, Table Sizes, Unused Indexes, Duplicate Indexes, Query Explorer, AI Tools
  • Suggested migrations — duplicate and unused index tabs now generate a timestamped Rails migration with copy-to-clipboard
  • Install generator — rails generate mysql_genius:install creates initializer and mounts the engine
  • RuboCop — added rubocop-shopify + rubocop-rspec, fixed all offenses
  • CI matrix — added Rails 8.0/8.1 and Ruby 3.4
  • SSL fix — explicit CA cert file for AI API requests
  • Gemspec/README — updated to lead with monitoring, new screenshots

Test plan

  • Verify dashboard loads with server health cards, slow queries, expensive queries, index alerts
  • Verify "Details" link on dashboard navigates to Server tab
  • Verify "View all" links navigate to Slow Queries and Query Stats tabs
  • Verify index alert badges navigate to Duplicate Indexes and Unused Indexes tabs
  • Verify Query Explorer toggle switches between Visual Builder and SQL Editor modes
  • Verify suggested migration appears on Duplicate Indexes and Unused Indexes tabs with copy button
  • Verify rails generate mysql_genius:install creates initializer and mounts engine
  • Run bundle exec rspec — 71 examples, 0 failures
  • Run bundle exec rubocop — 0 offenses

@antarr antarr self-assigned this Apr 9, 2026
@antarr
antarr force-pushed the reddit-feedback branch from ee1d3db to 27fae12 Compare April 9, 2026 10:25
@antarr

antarr commented Apr 9, 2026

Copy link
Copy Markdown
Owner Author

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

🤖 Generated with Claude Code

antarr added 5 commits April 9, 2026 09:59
- Configure rubocop-shopify as base style, add rubocop-rspec
- Fix bare rescues, use Comparable#clamp, class << self, proper block args
- Rename sql_validation_spec.rb to sql_validator_spec.rb
- Extract shared HTTP mock helpers in ai_client_spec
- Fix SSL certificate verification for AI API requests
- Fix slow_queries to return 200 when unconfigured
- Update gemspec description to lead with monitoring
- Add Ruby 3.4 and Rails 8.0, 8.1 to test matrix
- Exclude Ruby 3.4 from Rails 6.1/7.0 (mutex_m removed from stdlib)
- Add RuboCop step to CI workflow
- Update README compatibility table
- New Dashboard tab as default landing page with server health, top 5
  slow queries, top 5 expensive queries, and index alert badges
- Merge Visual Builder and SQL Query into unified Query Explorer tab
- Reorder tabs: Dashboard, Slow Queries, Query Stats, Server, Table Sizes,
  Unused Indexes, Duplicate Indexes, Query Explorer, AI Tools
- Add suggested Rails migration with copy button to duplicate/unused index tabs
- Add clipboard fallback for non-HTTPS environments
- Add dashboard link to Server tab details
- Update screenshots
rails generate mysql_genius:install creates config/initializers/mysql_genius.rb
with all configuration options documented and mounts the engine in routes.
@antarr
antarr force-pushed the reddit-feedback branch from 27fae12 to 1c37db8 Compare April 9, 2026 14:59
@antarr
antarr merged commit d419d05 into main Apr 9, 2026
22 of 32 checks passed
@antarr
antarr deleted the reddit-feedback branch April 9, 2026 15:25
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.

1 participant