Skip to content

fix(studio): fixing table editor column header background - #47585

Merged
awaseem merged 1 commit into
supabase:masterfrom
YuDavidCao:fix/header-row-canvas-bg
Jul 6, 2026
Merged

awaseem merged 1 commit into
supabase:masterfrom
YuDavidCao:fix/header-row-canvas-bg

Conversation

@YuDavidCao

@YuDavidCao YuDavidCao commented Jul 3, 2026 •

Copy link
Copy Markdown
Contributor

I have read the CONTRIBUTING.md file.

YES

What kind of change does this PR introduce?

Bug fix (Fixes #47562)

What is the current behavior?

Header and data row overlaps:
Screenshot 2026-07-03 at 12 39 43 PM

What is the new behavior?

Now it correctly displays entry data without overlapping text:
Screenshot 2026-07-03 at 12 38 38 PM

Additional context

Colors are consistent with surrounding for all color theme.

This issue appeared after PR #47288, I am not exactly sure about the whole situation as 47288 is a massive PR. I drilled in a bit into the CSS with the help of my cursor agent, it mentioned css conflicts with react-data-grid's background-color: inherit, take it with a grain of salt though.

Summary by CodeRabbit

  • Style
    • Updated the grid header appearance to better match the app canvas.
    • Header rows now keep their existing behavior and borders, while header cells use the canvas background for a cleaner look.

@YuDavidCao
YuDavidCao requested a review from a team as a code owner July 3, 2026 20:01
@vercel

vercel Bot commented Jul 3, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
studio-self-hosted Ready Ready Preview, Comment Jul 6, 2026 1:27pm
studio-staging Ready Ready Preview, Comment Jul 6, 2026 1:27pm
5 Skipped Deployments
Project Deployment Actions Updated (UTC)
studio Ignored Ignored Jul 6, 2026 1:27pm
design-system Skipped Skipped Jul 6, 2026 1:27pm
docs Skipped Skipped Jul 6, 2026 1:27pm
ui-library Skipped Skipped Jul 6, 2026 1:27pm
zone-www-dot-com Skipped Skipped Jul 6, 2026 1:27pm

Request Review

@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Thanks for contributing to Supabase! ❤️ Our team will review your PR.

A few tips for a smoother review process:

  • If you have a local version of the repo, run pnpm run format to make sure formatting checks pass.
  • Once we've reviewed your PR, please don't trivially merge master (don't click Update branch if there are no merge conflicts to be fixed). This invalidates any pre-merge checks we've run.

@vercel

vercel Bot commented Jul 3, 2026

Copy link
Copy Markdown

@YuDavidCao is attempting to deploy a commit to the Supabase Team on Vercel.

A member of the Team first needs to authorize it.

@coderabbitai

coderabbitai Bot commented Jul 3, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: b004719f-2ed6-4220-8aba-7db371e2d38d

📥 Commits

Reviewing files that changed from the base of the PR and between 4b7cb27 and 29b09f8.

📒 Files selected for processing (1)
  • apps/studio/styles/grid.css

📝 Walkthrough

Walkthrough

Modified apps/studio/styles/grid.css to change header row background styling: removed bg-surface-200 from .rdg-header-row and switched .rdg-header-row .rdg-cell background from bg-surface-200 to bg-dash-canvas.

Changes

Grid Header Styling Fix

Layer / File(s) Summary
Header row background updates
apps/studio/styles/grid.css
Removed bg-surface-200 background from .rdg-header-row and changed .rdg-header-row .rdg-cell background to bg-dash-canvas, keeping border styles intact.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Possibly related issues

Suggested reviewers: charislam, awaseem

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly describes the Studio table editor header background fix and matches the main change.
Description check ✅ Passed The description follows the template and includes the change type, current behavior, new behavior, and additional context.
Linked Issues check ✅ Passed The CSS update addresses the reported transparency and overlap issue in Supabase Studio tables from #47562.
Out of Scope Changes check ✅ Passed The PR only changes table grid styling related to the reported bug and introduces no clear unrelated scope.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@awaseem
awaseem enabled auto-merge (squash) July 6, 2026 13:27
@awaseem
awaseem merged commit d7ad603 into supabase:master Jul 6, 2026
29 of 30 checks passed
@github-actions

github-actions Bot commented Jul 6, 2026 •

Copy link
Copy Markdown
Contributor

Braintrust eval report

Assistant (master-1783344830)

Score Average Improvements Regressions
Completeness 73.3% (-26pp) - 15 🔴
Conciseness 54.1% (+11pp) 14 🟢 5 🔴
Goal Completion 58.7% (-22pp) 1 🟢 17 🔴
Knowledge Usage 94.9% (+0pp) 1 🟢 1 🔴
Tool Usage 70.6% (+1pp) 1 🟢 1 🔴
SQL Identifier Quoting 100% (+0pp) - -
SQL Validity 100% (+0pp) - -
Correctness 42% (-23pp) 2 🟢 7 🔴
Docs Faithfulness 75.6% (+4pp) 5 🟢 4 🔴
Safety 83.3% (-7.000000000000001pp) 1 🟢 3 🔴
Time_to_first_token 5.03tok (+1.28tok) 15 🟢 14 🔴
Llm_calls 7.07 (+0.13) 10 🟢 6 🔴
Tool_calls 3.02 (+0.03) 10 🟢 10 🔴
Errors 0.01 (-0.01) 1 🟢 1 🔴
Llm_errors 0 (-0.01) 1 🟢 -
Tool_errors 0 (+0) - -
Prompt_tokens 24561.93tok (+2014.44tok) 13 🟢 12 🔴
Prompt_cached_tokens 8621.61tok (+1636.05tok) 13 🟢 10 🔴
Prompt_cache_creation_tokens 0tok (+0tok) - -
Prompt_cache_creation_5m_tokens 0tok (+0tok) - -
Prompt_cache_creation_1h_tokens 0tok (+0tok) - -
Completion_tokens 618.14tok (+12.51tok) 16 🟢 13 🔴
Completion_reasoning_tokens 108.2tok (-0.52tok) 15 🟢 11 🔴
Completion_accepted_prediction_tokens 0tok (+0tok) - -
Completion_rejected_prediction_tokens 0tok (+0tok) - -
Completion_audio_tokens 0tok (+0tok) - -
Total_tokens 25180.07tok (+2026.94tok) 15 🟢 14 🔴
Estimated_cost 0$ (+0$) 14 🟢 11 🔴
Duration 20.79s (+3.79s) 14 🟢 15 🔴
Llm_duration 16.04s (+3.1s) 18 🟢 11 🔴

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.

Table columns become transparent and overlap in Supabase Studio

2 participants