Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor Table component into hooks and MST #47

Closed
amivanoff opened this issue Nov 18, 2021 · 0 comments · Fixed by #48
Closed

Refactor Table component into hooks and MST #47

amivanoff opened this issue Nov 18, 2021 · 0 comments · Fixed by #48
Assignees

Comments

@amivanoff
Copy link
Member

amivanoff commented Nov 18, 2021

  • Inject MST deeper into the table components tree and maybe drop ContextProps wrappers. Do not snapshot all MST collections too eraly at the root Table component.
  • Refactor Table, extract data transfirmation functions into React Hooks.
  • Delete all mentions of UI Schemas. All UI styles should be derived from JSON Schema, ViewKind and ViewDescr.
  • Unify formatters and cells in a Table.
    • All "formatting functions" should be encapsulated in specific cells renderers.
    • Maybe we should replace a "formatter" property in a Table in a ViewKind with a "cell" property.
    • Cells (and its formatting capabilities) could be configured with cell's properties in a ViewKind/ViewDescr.
@amivanoff amivanoff changed the title Refactor Table component Refactor Table component into hooks and MST Nov 18, 2021
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 a pull request may close this issue.

2 participants