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

Generate (e.g. Orders List) #45

Closed
3 tasks
jozef-slezak opened this issue Jan 8, 2021 · 2 comments
Closed
3 tasks

Generate (e.g. Orders List) #45

jozef-slezak opened this issue Jan 8, 2021 · 2 comments
Assignees
Projects

Comments

@jozef-slezak
Copy link
Contributor

jozef-slezak commented Jan 8, 2021

Goal: generating new master/detail (focus now only on tables table/list) from an existing enity (typescript type alias).
Keep in mind that we do not want only to generate new page but also adding/removing columns (later filters...). To achieve this we would reuse some parts of the generator (generate only a specific column for a specificy typescript alias property) and the generated output would be placed in a specific place in the original source code (think about it like intellisence/hints/refactoring).

Input for generator (user specifies those inputs, reasonable default would be fine):

Outputs:

Inspiration:

FYI, related issue #68

https://ts-ast-viewer.com/

Deliverables:

  • code generation implementation according above requirements
  • markdown how to generate files in to example-material-ui and example-grommet using CLI on your localhost
  • demo integration
@jozef-slezak
Copy link
Contributor Author

Once we integrate the generator into the UI we might inspire by https://tabular.grommet.io/

image

@jozef-slezak
Copy link
Contributor Author

@mat-app, please improve the "graphics" of generate example-material-ui. The original customers page is nicer then the generated one.

image

image

@jozef-slezak jozef-slezak added this to To do in codegen via automation Apr 19, 2021
codegen automation moved this from To do to Done Apr 19, 2021
@jozef-slezak jozef-slezak unpinned this issue Jun 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

2 participants