Skip to content

Feature/org design fixes#1787

Closed
Shreyag02 wants to merge 9 commits into
mainfrom
feature/org-design-fixes
Closed

Feature/org design fixes#1787
Shreyag02 wants to merge 9 commits into
mainfrom
feature/org-design-fixes

Conversation

@Shreyag02

Copy link
Copy Markdown
Contributor

Summary

Changes

Technical Details

Test Plan

  • Manual testing completed
  • Build and type checking passes

SQL Safety (if your PR touches *_repository.go or goqu.*)

  • Values flow through ? placeholders, goqu.Ex{}, or goqu.Record{} — never fmt.Sprintf or + building a query that gets executed.
  • ToSQL() callers capture and forward params (query, params, err := stmt.ToSQL(); db.…Context(ctx, …, query, params...)). Never query, _, err := ….
  • No ? placeholders inside single-quoted SQL literals in goqu.L (use make_interval(hours => ?)-style functions instead).
  • Any //nolint:forbidigo or // #nosec G20x annotation has a one-line justification on the same line that a reviewer can verify.

Hide the "New Organization" button (and its separator) while search is
active so the listing navbar stays uncluttered, and align the navbar
height with the org-details navbar (48px) instead of 56px.
Display org member roles as "Owner", "Member", "Admin" instead of "Organization Owner" etc. in the Role column, via a formatRoleTitle helper.
Disable the "Add member" project action when the org has only one member,
since there is no one else to search for and add. Also keep the project
row highlighted while its action menu is open.
Distinguish an empty tab (no data at all) from a no-match search result:
add a dedicated zero state to the members, projects, invoices, tokens and
API tabs via the DataTable zeroState prop, so the "no matches for that
keyword" copy only appears when a search or filter is active. Table headers
are hidden in both states by the DataTable.
@vercel

vercel Bot commented Jul 21, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
frontier Ready Ready Preview, Comment Jul 23, 2026 6:35pm

@coderabbitai

coderabbitai Bot commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 912756c0-b799-444a-ae02-23e740c97872

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

@coveralls

coveralls commented Jul 23, 2026

Copy link
Copy Markdown

Coverage Report for CI Build 29997903965

Warning

Build has drifted: This PR's base is out of sync with its target branch, so coverage data may include unrelated changes.
Quick fix: rebase this PR. Learn more →

Coverage increased (+0.05%) to 46.674%

Details

  • Coverage increased (+0.05%) from the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • 53 coverage regressions across 3 files.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

53 previously-covered lines in 3 files lost coverage.

File Lines Losing Coverage Coverage
core/user/service.go 41 69.09%
internal/reconcile/platformuser_reconciler.go 10 83.7%
internal/reconcile/platformuser.go 2 97.44%

Coverage Stats

Coverage Status
Relevant Lines: 38921
Covered Lines: 18166
Line Coverage: 46.67%
Coverage Strength: 14.3 hits per line

💛 - Coveralls

Use a fixed height instead of min-height so the bar no longer resizes
when the New Organization button (taller than the search field) is
toggled in and out during search.
Show the three-dot action menu only on row hover, keyboard focus, or
while its menu is open, fading the trigger rather than the cell so table
row dividers stay intact. Wrap the project and project-member action
triggers in IconButton for a pointer cursor and hit area, and widen the
project-member popup action column to match the members list.
Disable the popup Add member action for single-member orgs since there
is no one to search for, and highlight a member row while its action
menu is open. Drop the duplicate manual close button in the members and
PAT dialogs now that Dialog.Content renders one, and direct initial
dialog focus to the content body so it never lands on the close button
when the search field is disabled.
@Shreyag02

Copy link
Copy Markdown
Contributor Author

Closing as duplicate of #1799 — both contain the identical set of org design fixes. Continuing with #1799.

@Shreyag02 Shreyag02 closed this Jul 23, 2026
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