Skip to content

fix(web): studio grid and research search polish#377

Merged
jerry609 merged 1 commit intodevfrom
fix/rebuild-pr-374-ui
Mar 13, 2026
Merged

fix(web): studio grid and research search polish#377
jerry609 merged 1 commit intodevfrom
fix/rebuild-pr-374-ui

Conversation

@jerry609
Copy link
Owner

Summary

  • remove the overlapping rounded-corner effect in the research search box
  • switch the studio paper grid to per-card single-line borders instead of an outer framed gap grid
  • intentionally leave unchanged to avoid carrying unrelated lockfile noise from the old PR

Why this replaces #374

The old PR is blocked by repository code-scanning rules waiting on historical commits ( / merge commit ) that cannot be retroactively given CodeQL results. This PR rebuilds the same UI changes on top of current so GitHub can produce a fresh set of CodeQL and CI results.

Validation

Copilot AI review requested due to automatic review settings March 13, 2026 05:13
@coderabbitai
Copy link

coderabbitai bot commented Mar 13, 2026

Warning

Rate limit exceeded

@jerry609 has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 4 minutes and 45 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 061bc0bf-1c89-4026-b35c-9a9d3f5c765e

📥 Commits

Reviewing files that changed from the base of the PR and between c31dc3c and 33a2191.

📒 Files selected for processing (2)
  • web/src/components/research/SearchBox.tsx
  • web/src/components/studio/PaperGallery.tsx
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch fix/rebuild-pr-374-ui
📝 Coding Plan
  • Generate coding plan for human review comments

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 and usage tips.

@gemini-code-assist
Copy link

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request focuses on polishing the user interface for the research search box and the studio paper gallery. The changes address visual inconsistencies, specifically an overlapping rounded-corner effect in the search box and a desire to switch to a more refined per-card border display in the paper grid. This PR also serves as a rebuild of previous UI changes on top of the current main branch to resolve code-scanning rule blocks from historical commits, ensuring fresh CodeQL and CI results.

Highlights

  • Research Search Box UI: Removed an overlapping rounded-corner effect in the research search box by adjusting CSS properties to ensure proper rendering.
  • Studio Paper Grid Styling: Refactored the styling of the studio paper grid to use individual single-line borders for each card, replacing the previous outer framed gap grid approach.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Changelog
  • web/src/components/research/SearchBox.tsx
    • Added overflow-hidden to the main search box container to prevent content overflow issues.
    • Applied !rounded-none !border-0 !shadow-none to the search input field to remove conflicting default styles.
  • web/src/components/studio/PaperGallery.tsx
    • Modified the grid container to remove gap-px, border, and bg-zinc-300 classes, setting gap-0 instead.
    • Introduced logic to calculate colIndex, isFirstRow, and isFirstCol for dynamic border application.
    • Applied border-r, border-b, border-t (for first row), and border-l (for first column) to individual paper cards to create distinct borders.
Activity
  • This pull request was created to replace a previous PR (fix(web): UI polish for studio grid and research search box #374) that was blocked by repository code-scanning rules due to historical commits. This new PR rebuilds the same UI changes on top of the current main branch to allow GitHub to generate fresh CodeQL and CI results.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Rebuilds UI polish changes from blocked PR #374: fixes overlapping rounded corners in the research search box and switches the studio paper grid from a framed gap-based layout to per-card single-line borders.

Changes:

  • Studio PaperGallery grid switched from gap-px with colored background to gap-0 with conditional per-card borders for clean single-width separators
  • Research SearchBox textarea gets overflow-hidden on container and !important style resets to prevent double rounded-corner artifacts

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
web/src/components/studio/PaperGallery.tsx Replace gap-based grid border trick with per-card conditional border classes
web/src/components/research/SearchBox.tsx Add overflow-hidden and force-reset textarea border/radius/shadow

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces several UI polishing changes. In the research search box, it fixes an overlapping rounded-corner issue by using overflow-hidden and resetting the inner Textarea styles. For the studio paper gallery, it refactors the grid from a gap-based border simulation to explicit borders on each card, which improves clarity. The changes are well-implemented and achieve the desired visual results. I've left one comment regarding a minor code cleanup for better maintainability.

disabled={disabled || isSearching}
className={cn(
"min-h-[56px] max-h-[200px] resize-none border-0 bg-transparent",
"min-h-[56px] max-h-[200px] resize-none border-0 bg-transparent !rounded-none !border-0 !shadow-none",

Choose a reason for hiding this comment

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

medium

This line includes both border-0 and !border-0. While tailwind-merge correctly resolves this by prioritizing the !border-0 class (due to the !important flag), including the redundant border-0 class can be confusing for future maintenance. It's best to remove the redundant class for improved code clarity.

Suggested change
"min-h-[56px] max-h-[200px] resize-none border-0 bg-transparent !rounded-none !border-0 !shadow-none",
"min-h-[56px] max-h-[200px] resize-none bg-transparent !rounded-none !border-0 !shadow-none",

@github-actions
Copy link

Vercel Preview

@jerry609 jerry609 merged commit 3748271 into dev Mar 13, 2026
15 checks passed
@jerry609 jerry609 deleted the fix/rebuild-pr-374-ui branch March 13, 2026 16:14
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.

2 participants