Skip to content

refactor(client): migrate deprecated Ant Design v6 APIs#2954

Merged
AlreadyBored merged 2 commits intomasterfrom
apalchys/replace-deprecated-ant-design-apis
Apr 2, 2026
Merged

refactor(client): migrate deprecated Ant Design v6 APIs#2954
AlreadyBored merged 2 commits intomasterfrom
apalchys/replace-deprecated-ant-design-apis

Conversation

@apalchys
Copy link
Copy Markdown
Member

@apalchys apalchys commented Mar 16, 2026

Motivation

  • Bring client codebase in line with Ant Design v6 API surface after migration to remove deprecated props and avoid runtime breakage.
  • Standardize modal and layout prop usage across shared components and pages to follow the new open/styles/variant conventions.

Description

  • Replace visible -> open for modal wrappers and their callers, including CommentModal, StudentMentorModal, and all discovered usages in page components so modals use open consistently.
  • Replace deprecated style props: change bordered={false} -> variant="borderless" and convert bodyStyle/headStyle/overlayStyle -> styles={{ body: {...} }} or styles={{ header: {...} }} where applicable in Card, Table, Popover, and Modal usages across client/src.
  • Applied the pattern-based updates across a sweep of UI components and pages under client/src (shared components, modules, and pages) to remove v5-style props and align with v6 API shapes.

@apalchys apalchys added deploy and removed codex labels Mar 16, 2026
@apalchys apalchys force-pushed the apalchys/replace-deprecated-ant-design-apis branch from 9478e90 to 2f758b6 Compare March 18, 2026 22:48
@apalchys apalchys force-pushed the apalchys/replace-deprecated-ant-design-apis branch from 2f758b6 to 94d032b Compare March 18, 2026 22:51
@apalchys apalchys marked this pull request as ready for review March 18, 2026 22:51
Copy link
Copy Markdown
Contributor

@AlreadyBored AlreadyBored left a comment

Choose a reason for hiding this comment

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

@apalchys E2E tests fail because of this

Image

Looks like it's not related with your changes

@AlreadyBored AlreadyBored merged commit b3aaedb into master Apr 2, 2026
4 checks passed
@AlreadyBored AlreadyBored deleted the apalchys/replace-deprecated-ant-design-apis branch April 2, 2026 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants