Title: Component Generation by plt-joey · Pull Request #16 · plotly/Dash.NET · GitHub
Open Graph Title: Component Generation by plt-joey · Pull Request #16 · plotly/Dash.NET
X Title: Component Generation by plt-joey · Pull Request #16 · plotly/Dash.NET
Description: Create a separate project publishable as a dotnet tool for component generation. Update 2021-07-01: Added samples for generation via string manipulation and generation via AST Update 2021-08-20: Code complete and ready for first-pass reviews NOTES TO REVIEWERS: I made minor changes to Dash.NET itself that the generated components require to function. If you are testing a generated component in a dash app you have to point it at the version of Dash.NET in this PR, and not the one on nuget For that same reason I have not added anything to the build scripts for publishing this tool yet, the updated version of Dash.NET has to be published first Using the generated components also requires a minor change to the dash app template (!2), contentRoot needs to point to the build output, and not to the source code: let contentRoot = Reflection.Assembly.GetExecutingAssembly().Location |> Path.GetDirectoryName Rough todo list, in no particular order Create new project based on existing BackboneGenerator.fsx Refactor existing generator Switch to AST based generation Add property generation Add property Enum and Union(?) type handling Generate documentation Switch components to Feliz-style instantiation (see !18) Harden Add: Automatic component .js script loading on import/use Project generation Build pipeline generation Nuget package definition generation CLI Parse information from metadata.json Add support for flow types and ts types Add package/publish steps for the dotnet tool Automatic component publishing? (may want to separate this into a second task/PR) Unit Tests Fix Build Scripts Documentation
Open Graph Description: Create a separate project publishable as a dotnet tool for component generation. Update 2021-07-01: Added samples for generation via string manipulation and generation via AST Update 2021-08-20: Co...
X Description: Create a separate project publishable as a dotnet tool for component generation. Update 2021-07-01: Added samples for generation via string manipulation and generation via AST Update 2021-08-20: Co...
Opengraph URL: https://github.com/plotly/Dash.NET/pull/16
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:b5d2201d-7e09-c503-99f0-f03ff6c7eaf6 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | E8E8:13A543:1CEAEE8:248A928:69919941 |
| html-safe-nonce | 923ccd4b4a842f634df2cdd6223c46343ed5e34cb16cb1747a90f406902dc341 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOEU4OjEzQTU0MzoxQ0VBRUU4OjI0OEE5Mjg6Njk5MTk5NDEiLCJ2aXNpdG9yX2lkIjoiNjA3MTQ4MDg1MDc1MDQ3ODY1NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 91cf30e0c474b4d4acb9f514d0651304d6755b6b21e68e3206d77f2559d9329b |
| hovercard-subject-tag | pull_request:680275985 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/plotly/Dash.NET/pull/16/checks |
| twitter:image | https://avatars.githubusercontent.com/u/66274832?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/66274832?s=400&v=4 |
| og:image:alt | Create a separate project publishable as a dotnet tool for component generation. Update 2021-07-01: Added samples for generation via string manipulation and generation via AST Update 2021-08-20: Co... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/plotly/Dash.NET git https://github.com/plotly/Dash.NET.git |
| octolytics-dimension-user_id | 5997976 |
| octolytics-dimension-user_login | plotly |
| octolytics-dimension-repository_id | 290554921 |
| octolytics-dimension-repository_nwo | plotly/Dash.NET |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 290554921 |
| octolytics-dimension-repository_network_root_nwo | plotly/Dash.NET |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width