Commit Graph

2 Commits

Author SHA1 Message Date
Evan Rusackas
fb69984857 feat: updated viz plugin generator (#636)
* feat: hello world plugin

* Fix yeoman generator

* Adding Emotion to template and template result

* adding `reactify` technique to example code

* fixing errant comma

* annoying lint issue

* React needed for JSX

* questionable typing fix

* labelling options

* freshly generated hello world

* linting and freshly generated plugin

* add comments to buildQuery

* Add docs

* nixing word cloud console logs

* lint annoyance

* a note on multiple plugin exports

* second option for building a plugin is now enabled

* Officially supporting viz plugins ;)

* fresh plugin build

* Adding note about controls,  and TODOs for example controls

* linting

* new lock file

* adding file structure to readme

* more transform props notes

* better notes, better linting

* Adding a third option for rendering plugin

* fresh package rendering

* manually updated plugin. Now let's see if the generator matches it!

* template changes, fresh plugin render.

* moving file tree to the right place

* touchups to template (killing third option)

* thumbnail update

* Spit out form data, for good measure.

* more clarity

* dummy controls

* bold control works, fresh docs, fresh build!

* typing for fancy props

* bump superset-ui deps to 0.14

* Implement header text and font size

* Add tests + mcense headers + inor cleanup

* Replace YourPluginName with packageLabel in README

* remove trailing spaces

* fix hard coded reference to HelloWorld

* removing legacy generators

* plugin comment tweaks

* typescript comments, minor formatting

* adding option for badges in readme

* generator offers choice of function or class plugin

* Add timeseries option

* killing the plugin... we'll make that a separate PR.

* add new tests

* remove unnecessary imports

* fix timeseries type

* comment on value/label in select options

Co-authored-by: Jesse Yang <jesse.yang@airbnb.com>

* moving renderTrigger note up to first instance

* control-utils -> chart-controls

* Wrapper -> Styles nomenclature

* Stronger typing (H/T @ktmud)

* ControlPanelConfig type on control config

* nixing requiresTime

* moving Styles component to be external, passing it props

* lint nits

* typing tweak

Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
Co-authored-by: Jesse Yang <jesse.yang@airbnb.com>
2021-11-26 11:46:31 +08:00
Krist Wongsuphasawat
86f0007a77 Add generator-superset (#21)
* add generator to monorepo

* Squash all attempts (+21 squashed commits)
Squashed commits:
[cca27ae] enable jest projects
[e7dc4ce] wip
[dd3ea7a] run in order
[cf87275] define projects
[69baf16] use specific version
[c880cfa] ignore generator test
[e9e0fd3] update travis
[4bbb3c0] update travis
[d63118b] update travis config
[267fe08] remove config
[44883e8] update travis
[40580c3] reduce node version
[59b6add] update ignore rule
[fbbd03c] update readme
[b299dfe] remove script
[a988933] fix test and lint
[95b7d5b] try install and not install
[f4583b4] remove unnecessary files
[c735329] remove eslint-config-xo
[49b3106] pass lint and test
[56c6def] remove git and readd

* can get test to pass if exclude generator-superset

* add afterall to correct working directory

* update config

* add readme
2021-11-26 11:44:34 +08:00