BlogRexa DB Journal

RexaDB v1.2.1 — The One Where Everything Got Resizable

Picture this: you're 12 foreign keys deep into a query. Your sidebar is eating half your screen like it's paying rent. You *know* you had the perfect snippet so…

Flaxo · May 17, 2026 · 5 min read

Picture this: you're 12 foreign keys deep into a query. Your sidebar is eating half your screen like it's paying rent. You know you had the perfect snippet somewhere around version 3, but you've saved over it four times since then. And the data grid? It keeps stealing focus from your editor like an overeager golden retriever — "hey! hey! look at me! I'm a grid!"

We fixed all of that. Here's the story.


Snippet Versioning — Because Ctrl+Z Has Limits

You know how in video games you can quick-save before a boss fight? SQL snippets now have that.

Every snippet keeps a full version history. Save snapshots as you iterate — name them whatever you want ("v1-finally-works", "v2-oh-thats-why", "v3-production-blessing"). Browse the timeline. Restore any previous version with one click.

We even cascade-delete future versions on restore, because time travel is cool, but accidentally resurrecting the version you just deleted is Back to the Future levels of paradox we don't need.

Resizable Sidebars — Grab That Edge

Every. Single. Sidebar.

The explorer sidebar. The database tree. The dashboard list. The git panel. They all have a subtle little drag handle now. You know, that satisfying vertical line that screams "I dare you to grab me."

Hover. Grab. Drag. Left, right, whatever feels right. Min 200px, max 480px. Widths persist across restarts via localStorage. Set it once, forget it forever — like a good relationship, but with pixels.

Column Visibility — Hide the Noise

Be honest: do you really need to see deleted_at, updated_at, created_at, created_at_unix, created_at_timestamp_tz, and legacy_created_at_v2 on every single query?

No. No you don't.

Hit the "Columns" dropdown in the toolbar, uncheck what you don't need, and watch your 50-column users table magically become a 7-column users table. Visibility per table. Persisted across sessions. Your eyes will thank you.

Usage Analytics — Look How Productive You Are

We built a full analytics dashboard. Total queries. Success rate. Average duration. Top queries. Per-connection activity. Peak usage days. Peak usage hours.

It's like a Fitbit for your database career. But unlike a Fitbit, it won't judge you for skipping a day.

Charts courtesy of recharts (area, bar, pie — oh my). Data covers the last 30 days, because anything older is ancient history and we're not archaeologists.

FK Preview — Now With Navigation

Foreign key previews got a glow-up. Remember when you'd hover a cell, see the FK popup, and then have to manually search for that record in the referenced table? Those were the dark ages.

Now the popup is resizable (drag from the bottom-right corner like a proper window). And there's a shiny new "Open in table" button that jumps directly to the referenced table with the FK filter pre-applied. One click from order.user_id → the full users row. We call this "productivity with extra steps removed." Apple calls it "courage."

AI Agents — Bring Your Own Key

v1.2.1 opens the doors to AI agents in the studio. Configure any provider via API key — OpenAI, Gemini, pick your poison.

The system prompt now includes schema context so the agent actually knows your tables exist. Revolutionary concept, right?

And hey — if you want to feel extra fancy, we've got pre-built support for Codex CLI, OpenCode, and Claude Code as tab-completable agent presets. Type the name. Hit enter. Watch the magic. Question your job security. It's the full emotional cycle.

60+ Settings to Tweak (or Break Entirely)

The settings panel went from "a few toggles" to "a full-on NASA control room."

Choose your SQL editor engine (Monaco or CodeMirror — team Monaco, let's fight). Configure the SQL formatter down to keywordCase, denseOperators, and newlineBeforeSemicolon (you absolute maniacs). Toggle Vim mode. Auto-save queries. Glassmorphic headers. Grid animations. Skeleton loaders. Sleek layout. Auto-close panes. Confirm sheet close. Restore app state.

Some of these settings exist because you asked for them. Some exist because we got bored on a Sunday. We're not telling you which is which.

Dashboard Export/Import

Export dashboards — folders, widgets, the works — as a single JSON file. Share with coworkers. Import into another workspace. Finally, a way to show off your carefully crafted dashboard without screaming "hey look at my screen" across the office.

Custom Page Size — For the Perfectionists

25, 50, 100, 200, 500. The usual suspects. But what if you need exactly 437 rows per page? What if 100 is too few and 200 is too many and 150 offends your sensibilities?

Select "Custom..." Type your number. Any number. 437. 69. We don't judge. Well, maybe a little.

Focus Management — No More Editor Fight Club

The data grid had a nasty habit of stealing focus from the Monaco editor, input fields, and dialogs. It meant well — it just really wanted to be the center of attention.

We taught it boundaries. If you're typing in the SQL editor, the grid stays in its lane. If a dialog is open, the grid sits quietly. It's not a bug fix, it's a behavioral intervention.

Keybindings

New keyboard shortcuts for navigating tables, schemas, tabs, the SQL editor, and more. Fully typed. Discoverable. If you've ever wanted to live entirely on your keyboard like some sort of cyberpunk protagonist, now's your chance.


Upgrade to v1.2.1 and finally tame that sidebar. Your screen real estate has never been more balanced. Namaste.