mogland / console

🕹️ Powerful Web Console for administers and root|为管理员制作的网页端博客控制台

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Refactor] migrate universal component to radix-ui

wibus-wee opened this issue · comments

commented

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

  1. mod:component
  2. mod:component
  3. mod:component
  4. mod:component
  5. mod:component
    wibus-wee
  6. mod:component mod:page
    wibus-wee
  7. mod:component
    wibus-wee
  8. Brand new enhancement mod:component
  9. Brand new mod:component
    wibus-wee