Replies: 1 comment
-
As evaluated in #281 and discussed in the developer meeting today, we will go with the antd ProTable for now, as it offers some benefits for our use cases:
We will still need to extend upon this component:
Also, it is not 100% clear yet if the fact that the antd ProComponents are built on top of UmiJS will result in any issues for our architecture, as the technical implications are not fully clear yet. Some possible areas:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
After going through the current tasks (#269, #271, #272, #273) for improving the generic
ResourceTable
component, I came to the conclusion that it is a good idea to provide convenient defaults (e.g. for columns, rendering of columns, filtering), but still allow everything to be overwritten if required. IMHO, this is important as it allows the new component to be used without sacrificing flexibility whenever we need it.Basically, every option that is provided by the basic antd table component should be available in
ResourceTable
, but it should add automatic configuration based on the backend resource schema. AFAIK, this is the exact approach that the antd ProTable follows. It claims to make CRUD-workflows very easy without configuration, but keeps the configurability of the original antd table component.I believe we should check how the configuration of the antd ProTable component works and decide if we should mimic the concepts or simply use the pro component in MrMap.
Beta Was this translation helpful? Give feedback.
All reactions