Skip to content

refactor: upgrade to react 19 - #440

Merged
ObservedObserver merged 7 commits into
masterfrom
refactor/remove-account-system
Jul 12, 2026
Merged

ObservedObserver merged 7 commits into
masterfrom
refactor/remove-account-system

Conversation

@ObservedObserver

Copy link
Copy Markdown
Member

No description provided.

k6sdevbob and others added 6 commits July 9, 2026 04:23
Co-Authored-By: kyusho <antoineyang99@gmail.com>
(cherry picked from commit 3a34047)
(cherry picked from commit 706eca5bcf26282853f0c567f3aff232d2ebd21a)
Replace Fluent/Fabric components and icon fonts with Radix/shadcn primitives and Lucide icons, remove the legacy account/logging layer, add migration gates, and harden shared table behavior including virtualization.
Replace the custom application navigation shell with the shadcn Sidebar composition, preserve grouped navigation and shortcuts, and add responsive Sheet behavior with React 18 and Tailwind 3 compatibility.
@vercel

vercel Bot commented Jul 12, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
rath Ready Ready Preview, Comment Jul 12, 2026 11:10am

Request Review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5462415caa

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

await page.goto('/', { waitUntil: 'networkidle' });
await page.getByRole('button', { name: /Create DataSource/i }).click();
await page.getByText('Demo', { exact: true }).click();
await page.getByRole('gridcell', { name: /^Cars\b/ }).click();

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Select demo cards by their new button role

The demo chooser was migrated in packages/rath-client/src/pages/dataSource/selection/demo.tsx from role="gridcell" items to styled <button> cards, so this smoke test will never find getByRole('gridcell', { name: /^Cars\b/ }) and yarn test:smoke times out before loading the dataset. Query the Cars card as a button, or restore the grid/gridcell roles, so the new CI gate can pass.

Useful? React with 👍 / 👎.

return <SelectLabel key={option.key}>{option.text}</SelectLabel>;
}
return (
<SelectItem key={option.key} value={optionValue(option)} disabled={option.disabled}>

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Avoid passing empty values into Radix Select

Radix Select reserves the empty string value for clearing/placeholder state, but RathSelect forwards every option key verbatim; converted callsites still pass empty-key options such as fieldOptions in encodeCreationPill.tsx and the not_chosen/None options in RExplainer.tsx. Opening any of those selects will throw instead of rendering, so map empty keys to a non-empty sentinel before passing value to SelectItem and translate it back in onChange.

Useful? React with 👍 / 👎.

Comment on lines +4 to +6
branches: [master, dev]
pull_request:
branches: [main, dev]
branches: [master, dev]

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Keep the auto-build workflow on main

This workflow used to run on main, and this checkout still has a main branch with no master ref; after changing both branch filters to master, pushes and pull requests targeting main will no longer run the React 19 build/test gates added below. Unless the repository default branch is being renamed in the same rollout, include main here so the auto-build continues to protect the active branch.

Useful? React with 👍 / 👎.

@ObservedObserver
ObservedObserver merged commit daa4f49 into master Jul 12, 2026
4 checks passed

This branch was successfully deployed

1 active deployment
Preview — 7deaa81e Deployed Jul 12, 2026 by vercel[bot]
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