Skip to content

[Refactor] migrate universal component to radix-ui #133

@wibus-wee

Description

@wibus-wee

Why?

As we iterated, we found that the original general-purpose component needed to pile on functionality, but at the same time, the component performance and use experience were poor due to design flaws.

On the other hand, we don't need to write the component functionality specifically, we just need to write the style that best suits the console

Why there is a task called Table (EachPage)?

We used @tanstack/react-table as a table processing dependency in this refactoring plan.

In addition, the data formats of different pages are not the same, and the functions that need to be displayed are not consistent.

We can only make most of the components reusable as much as possible

### Components
- [x] https://github.com/mogland/console/pull/136
- [x] https://github.com/mogland/console/pull/139
- [ ] https://github.com/mogland/console/pull/143
- [ ] https://github.com/mogland/console/pull/137
- [x] https://github.com/mogland/console/pull/138
- [x] https://github.com/mogland/console/pull/140
- [ ] https://github.com/mogland/console/pull/145
- [ ] https://github.com/mogland/console/pull/146
- [ ] https://github.com/mogland/console/pull/147
- [ ] FileContextMenu
- [ ] Radio
- [ ] Tabs
- [ ] Tags
- [ ] Toggle
- [x] DarkMode Support
- [x] ~~Collapse~~ **`we use @headless/ui to implement it`**
- [x] ~~Color~~ **`need custom implementment`**

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions