chore: split CLI into multiple files#18082
Conversation
7a953c4 to
773832e
Compare
There was a problem hiding this comment.
kind of unfortunate we have to do this, since it's slightly harder to maintain. What's was the problem?
There was a problem hiding this comment.
At this point the file is still manageable, but I'm planning to add more commands in the next months (for syncing to/from DBT and other metric stores) and I'm worried it's going to get too big.
I followed the pattern described in the docs (https://click.palletsprojects.com/en/6.x/quickstart/#nesting-commands). Not sure if there's a better way of doing this that doesn't require touching this file when adding a new command. :-/
There was a problem hiding this comment.
previously we only needed to add has a decorator superset.command. No need to issue superset.add_command(<Callable>)
There was a problem hiding this comment.
Right, but I don't think that would work here.
For example, in cli/celery.py we could try this:
from superset.cli.main import superset
@superset.command() # instead of @click.command
def some_command():
...But the command wouldn't be registered until we explicitly import the cli.celery module. So we'd have to add this to cli/main.py:
from superset.cli import celerySo we'd have an import that is needed because of an implicit side effect, which IMHO is worse than explicitly having to register everything.
There was a problem hiding this comment.
@dpgaspar I was able to load them dynamically.
aa49ec8 to
6fc34e6
Compare
Codecov Report
@@ Coverage Diff @@
## master #18082 +/- ##
==========================================
- Coverage 66.01% 65.83% -0.19%
==========================================
Files 1570 1577 +7
Lines 61775 61828 +53
Branches 6244 6244
==========================================
- Hits 40780 40702 -78
- Misses 19395 19526 +131
Partials 1600 1600
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
dpgaspar
left a comment
There was a problem hiding this comment.
LGTM!
We should have more test coverage on these.
* fix: handle null values in time-series table (#18039) * cleanup column_type_mappings (#17569) Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * important change to MakeFile (#18037) * Update superset-e2e.yml (#18041) * Revert "Update superset-e2e.yml (#18041)" (#18051) This reverts commit b565273. * feat: Trino Authentications (#17593) * feat: support Trino Authentications Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * docs: Trino Authentications Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * chore(supeset.utils.core): move all database utils to database utils module (#18058) * chore(plugin-chart-echarts): add types to controls (#18059) * fix(generator): more cleanup to plugin framework (#18027) * fix(generator): more cleanup to plugin framework * fix typo and package name * add docs * fix typo * Update superset-frontend/webpack.config.js Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com> * fix generator reference * add steps to tutorial and fix package version * refine docs/readme Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com> * feat(advanced analytics): support groupby in resample (#18045) * fix(dashboard): scope of nativefilter not update (#18048) * fix(generator): add lockfile and fix styling issues (#18073) * fix(generator): add lockfile and fix styling issues * fix margins and remove redundant scroll * update tutorial * refactor(sql_lab): SQL Lab Persistent Saved State (#17771) * a lot of console logs * testing * test * added saved_query to remoteId * created useEffect so that title properly changes in modal * Update superset-frontend/src/SqlLab/actions/sqlLab.js Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> * refactor(example_data): replace the way the birth_names data is loaded to DB (#18060) * refactor: replace the way the birth_names data is loaded to DB * fix failed unit test * fix failed unit test * fix failed tests * fix pass wrong flag of support datetime type * remove unused fixture * feat: add chart description in info tooltip (#17207) * feat: add chart list description * fix: text overflow * fix: text-overflow with line-height * Correction of proper names format in README (#18087) * chore: added SEO routes * fix can't use examples helpers on non app context based environment (#18086) * chore: split CLI into multiple files (#18082) * chore: split CLI into multiple files * Update tests * Who fixes the fixtures? * Add subcommands dynamically * Rebase * fix misspelling (#18097) * refactor: sqleditorleftbar to functional (#17807) * Working on converting sqleditorleftbar to functional component * Creating draft PR to address bug * Still working on solving re rendering bug * infinite rerender fix * Creating draft PR to address bug * Cleaning up in preparation for push * Made changes suggested by Elizabeth * Fixed issues as per Lindsey's comment Co-authored-by: Arash <arash.afghahi@gmail.com> * fix rat excludes and headers * fix(docs): fix path of image for "Create New Chart" (#18089) * Migrate Checkbox story to tsx - see #18100 (#18101) Looks good! * refactor: migrate RowCountLabel to TypeScript & added story (#18105) * enable superbook for explore component * migrate RowCountLabel to TypeScript * add storybook for RowCountLabel * fix: logging warning on dataframe (don't use python's warnings) (#18111) * fix: logging warning on dataframe (don't use python's warnings) * lint * update changelog and updating for 1.4.0 (#18083) * feat: Adds a key-value endpoint to store charts form data (#17882) * feat: Adds a key-value endpoint to store charts form data * Fixes linting problems * Removes the query_params from the endpoints * Refactors the commands * Removes unused imports * Changes the parameters to use dataclass * Adds more access tests * Gets the first dataset while testing * Adds unit tests for the check_access function * Changes the can_access check * Always check for dataset access * fix(explore): fix chart embed code modal glitch (#17843) * feat(plugin-chart-echarts): support non-timeseries x-axis (#17917) * feat(plugin-chart-echarts): support non-timeseries x-axis * fix tests * change formula return type from Date to number * add x_axis test coverage * rename func and improve coverage * add x-axis control to bar chart * remove redundant console.log * fix description * make x-axis control mandatory * 🙃 * fix x-axis formatter * fix showValues * fix implicit rDTTM_ALIAS references in postProcessing * replace TIME_COLUMN with DTTM_ALIAS * fix remaining implicit indexes * fix: Disable filtering on wide result sets (#18021) * fix: handle null values in time-series table (#18039) * cleanup column_type_mappings (#17569) Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * important change to MakeFile (#18037) * add missing is_timeseries to pivot op Co-authored-by: Erik Ritter <erik.ritter@airbnb.com> Co-authored-by: Grace Guo <grace.guo@airbnb.com> Co-authored-by: Đặng Minh Dũng <dungdm93@live.com> Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com> * feat(country-map): added new countries in country-chart-map (#18081) * chore: migrating storybook jsx to typescript #18100 (#18133) * Migrating storybook jsx to typescript #18100 * Migrating storybook jsx to typescript Co-authored-by: Jayakrishnan Karolil <jayakrishnan.karolil@nielsen.com> * feat(annotation): add toast feedback to annotation templates (#18116) * feat(dashboard): add toast feedback to dashboard actions (#18114) * feat(explore): more toast feedback on user actions in Explore (#18108) * feat(explore): add toasts feedback when user copies chart url * Show toast message when updating chart properties * Change toast type to success when saving chart * Use success toast from props * Fix tests * Use withToasts instead of dispatch * Use PropertiesModalProps instead of any * Docs: fix typo (#18125) * fix: undefined error when adding extra sequential color scheme (#18152) * feat: allow assets to be managed externally (#18093) * feat: allow assets to be managed externally * Use server_default * chore: use pkg_resources for cleaner config (#18130) * refactor: Moves the Explore form_data endpoint (#18151) * refactor: Moves the Explore form_data endpoint * Removes unused imports * Fixes openapi schema error * Fixes typo * Renames and UPDATING.md Co-authored-by: Grace Guo <grace.guo@airbnb.com> Co-authored-by: Đặng Minh Dũng <dungdm93@live.com> Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com> Co-authored-by: Hugh A. Miles II <hughmil3s@gmail.com> Co-authored-by: ofekisr <35701650+ofekisr@users.noreply.github.com> Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com> Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com> Co-authored-by: Yongjie Zhao <yongjie.zhao@gmail.com> Co-authored-by: Stephen Liu <750188453@qq.com> Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> Co-authored-by: Adam Dobrawy <ad-m@users.noreply.github.com> Co-authored-by: Beto Dealmeida <roberto@dealmeida.net> Co-authored-by: Emily Wu <86927881+em0227@users.noreply.github.com> Co-authored-by: Josue Lugaro <82119536+JosueLugaro@users.noreply.github.com> Co-authored-by: Arash <arash.afghahi@gmail.com> Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com> Co-authored-by: Daniel Vaz Gaspar <danielvazgaspar@gmail.com> Co-authored-by: Elizabeth Thompson <eschutho@gmail.com> Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com> Co-authored-by: Erik Ritter <erik.ritter@airbnb.com> Co-authored-by: Hammad-Raza <hammadraza42@hotmail.com> Co-authored-by: jayakrishnankk <kk.jayakrishnan@gmail.com> Co-authored-by: Jayakrishnan Karolil <jayakrishnan.karolil@nielsen.com> Co-authored-by: Farid Rener <proteusvacuum@users.noreply.github.com>
* setup docusaurus * rename * add introduction content * chore(docsV2): move content from docs to docsV2 (#17714) * add FAQs and contribution pages * chore: add api, security, and roadmap pages, include swaggerui in dependency for api page * chore: move api page header below imports * chore: change API page info alert to use built in Infima class instead of custom class Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local> * chore(docs-v2): moving more markdown content to new documentation site (#17736) * chore: move markdown content and images for docs installation directory to docs-v2 * chore: move docs miscellaneous directory content to docs-v2 * chore(docs-v2): move over connecting to databases content and rename some files to .mdx Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local> * Update styling and logo (#17990) * update styling * update colors * chore(docs-v2): remove blog and tutorial and update some styling (#17929) * add superset logo and favicon, change styles to better match current docs, add prettierrc * change file types to mdx * Add simple superset dark mode freindly logo * clean up default pages - blog and tutorial docs Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local> * Chore: moving charts and dashboard to docusaurus (#18036) * add contributing add creating charts and dashboards * delete extra images * update rat-excludes * Port homepage (#18115) * Port community page (#18128) * chore: add seo redirects for Docs v@ (#18092) * fix: handle null values in time-series table (#18039) * cleanup column_type_mappings (#17569) Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * important change to MakeFile (#18037) * Update superset-e2e.yml (#18041) * Revert "Update superset-e2e.yml (#18041)" (#18051) This reverts commit b565273. * feat: Trino Authentications (#17593) * feat: support Trino Authentications Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * docs: Trino Authentications Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * chore(supeset.utils.core): move all database utils to database utils module (#18058) * chore(plugin-chart-echarts): add types to controls (#18059) * fix(generator): more cleanup to plugin framework (#18027) * fix(generator): more cleanup to plugin framework * fix typo and package name * add docs * fix typo * Update superset-frontend/webpack.config.js Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com> * fix generator reference * add steps to tutorial and fix package version * refine docs/readme Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com> * feat(advanced analytics): support groupby in resample (#18045) * fix(dashboard): scope of nativefilter not update (#18048) * fix(generator): add lockfile and fix styling issues (#18073) * fix(generator): add lockfile and fix styling issues * fix margins and remove redundant scroll * update tutorial * refactor(sql_lab): SQL Lab Persistent Saved State (#17771) * a lot of console logs * testing * test * added saved_query to remoteId * created useEffect so that title properly changes in modal * Update superset-frontend/src/SqlLab/actions/sqlLab.js Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> * refactor(example_data): replace the way the birth_names data is loaded to DB (#18060) * refactor: replace the way the birth_names data is loaded to DB * fix failed unit test * fix failed unit test * fix failed tests * fix pass wrong flag of support datetime type * remove unused fixture * feat: add chart description in info tooltip (#17207) * feat: add chart list description * fix: text overflow * fix: text-overflow with line-height * Correction of proper names format in README (#18087) * chore: added SEO routes * fix can't use examples helpers on non app context based environment (#18086) * chore: split CLI into multiple files (#18082) * chore: split CLI into multiple files * Update tests * Who fixes the fixtures? * Add subcommands dynamically * Rebase * fix misspelling (#18097) * refactor: sqleditorleftbar to functional (#17807) * Working on converting sqleditorleftbar to functional component * Creating draft PR to address bug * Still working on solving re rendering bug * infinite rerender fix * Creating draft PR to address bug * Cleaning up in preparation for push * Made changes suggested by Elizabeth * Fixed issues as per Lindsey's comment Co-authored-by: Arash <arash.afghahi@gmail.com> * fix rat excludes and headers * fix(docs): fix path of image for "Create New Chart" (#18089) * Migrate Checkbox story to tsx - see #18100 (#18101) Looks good! * refactor: migrate RowCountLabel to TypeScript & added story (#18105) * enable superbook for explore component * migrate RowCountLabel to TypeScript * add storybook for RowCountLabel * fix: logging warning on dataframe (don't use python's warnings) (#18111) * fix: logging warning on dataframe (don't use python's warnings) * lint * update changelog and updating for 1.4.0 (#18083) * feat: Adds a key-value endpoint to store charts form data (#17882) * feat: Adds a key-value endpoint to store charts form data * Fixes linting problems * Removes the query_params from the endpoints * Refactors the commands * Removes unused imports * Changes the parameters to use dataclass * Adds more access tests * Gets the first dataset while testing * Adds unit tests for the check_access function * Changes the can_access check * Always check for dataset access * fix(explore): fix chart embed code modal glitch (#17843) * feat(plugin-chart-echarts): support non-timeseries x-axis (#17917) * feat(plugin-chart-echarts): support non-timeseries x-axis * fix tests * change formula return type from Date to number * add x_axis test coverage * rename func and improve coverage * add x-axis control to bar chart * remove redundant console.log * fix description * make x-axis control mandatory * 🙃 * fix x-axis formatter * fix showValues * fix implicit rDTTM_ALIAS references in postProcessing * replace TIME_COLUMN with DTTM_ALIAS * fix remaining implicit indexes * fix: Disable filtering on wide result sets (#18021) * fix: handle null values in time-series table (#18039) * cleanup column_type_mappings (#17569) Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * important change to MakeFile (#18037) * add missing is_timeseries to pivot op Co-authored-by: Erik Ritter <erik.ritter@airbnb.com> Co-authored-by: Grace Guo <grace.guo@airbnb.com> Co-authored-by: Đặng Minh Dũng <dungdm93@live.com> Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com> * feat(country-map): added new countries in country-chart-map (#18081) * chore: migrating storybook jsx to typescript #18100 (#18133) * Migrating storybook jsx to typescript #18100 * Migrating storybook jsx to typescript Co-authored-by: Jayakrishnan Karolil <jayakrishnan.karolil@nielsen.com> * feat(annotation): add toast feedback to annotation templates (#18116) * feat(dashboard): add toast feedback to dashboard actions (#18114) * feat(explore): more toast feedback on user actions in Explore (#18108) * feat(explore): add toasts feedback when user copies chart url * Show toast message when updating chart properties * Change toast type to success when saving chart * Use success toast from props * Fix tests * Use withToasts instead of dispatch * Use PropertiesModalProps instead of any * Docs: fix typo (#18125) * fix: undefined error when adding extra sequential color scheme (#18152) * feat: allow assets to be managed externally (#18093) * feat: allow assets to be managed externally * Use server_default * chore: use pkg_resources for cleaner config (#18130) * refactor: Moves the Explore form_data endpoint (#18151) * refactor: Moves the Explore form_data endpoint * Removes unused imports * Fixes openapi schema error * Fixes typo * Renames and UPDATING.md Co-authored-by: Grace Guo <grace.guo@airbnb.com> Co-authored-by: Đặng Minh Dũng <dungdm93@live.com> Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com> Co-authored-by: Hugh A. Miles II <hughmil3s@gmail.com> Co-authored-by: ofekisr <35701650+ofekisr@users.noreply.github.com> Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com> Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com> Co-authored-by: Yongjie Zhao <yongjie.zhao@gmail.com> Co-authored-by: Stephen Liu <750188453@qq.com> Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> Co-authored-by: Adam Dobrawy <ad-m@users.noreply.github.com> Co-authored-by: Beto Dealmeida <roberto@dealmeida.net> Co-authored-by: Emily Wu <86927881+em0227@users.noreply.github.com> Co-authored-by: Josue Lugaro <82119536+JosueLugaro@users.noreply.github.com> Co-authored-by: Arash <arash.afghahi@gmail.com> Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com> Co-authored-by: Daniel Vaz Gaspar <danielvazgaspar@gmail.com> Co-authored-by: Elizabeth Thompson <eschutho@gmail.com> Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com> Co-authored-by: Erik Ritter <erik.ritter@airbnb.com> Co-authored-by: Hammad-Raza <hammadraza42@hotmail.com> Co-authored-by: jayakrishnankk <kk.jayakrishnan@gmail.com> Co-authored-by: Jayakrishnan Karolil <jayakrishnan.karolil@nielsen.com> Co-authored-by: Farid Rener <proteusvacuum@users.noreply.github.com> * remove unneeded requirement Co-authored-by: Corbin Robb <31329271+corbinrobb@users.noreply.github.com> Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local> Co-authored-by: Daniel W <61300812+The-hyphen-user@users.noreply.github.com> Co-authored-by: Geido <60598000+geido@users.noreply.github.com> Co-authored-by: Srini Kadamati <skadamat@gmail.com> Co-authored-by: Grace Guo <grace.guo@airbnb.com> Co-authored-by: Đặng Minh Dũng <dungdm93@live.com> Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com> Co-authored-by: ofekisr <35701650+ofekisr@users.noreply.github.com> Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com> Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com> Co-authored-by: Yongjie Zhao <yongjie.zhao@gmail.com> Co-authored-by: Stephen Liu <750188453@qq.com> Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> Co-authored-by: Adam Dobrawy <ad-m@users.noreply.github.com> Co-authored-by: Beto Dealmeida <roberto@dealmeida.net> Co-authored-by: Emily Wu <86927881+em0227@users.noreply.github.com> Co-authored-by: Josue Lugaro <82119536+JosueLugaro@users.noreply.github.com> Co-authored-by: Arash <arash.afghahi@gmail.com> Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com> Co-authored-by: Daniel Vaz Gaspar <danielvazgaspar@gmail.com> Co-authored-by: Elizabeth Thompson <eschutho@gmail.com> Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com> Co-authored-by: Erik Ritter <erik.ritter@airbnb.com> Co-authored-by: Hammad-Raza <hammadraza42@hotmail.com> Co-authored-by: jayakrishnankk <kk.jayakrishnan@gmail.com> Co-authored-by: Jayakrishnan Karolil <jayakrishnan.karolil@nielsen.com> Co-authored-by: Farid Rener <proteusvacuum@users.noreply.github.com>
* setup docusaurus * rename * add introduction content * chore(docsV2): move content from docs to docsV2 (#17714) * add FAQs and contribution pages * chore: add api, security, and roadmap pages, include swaggerui in dependency for api page * chore: move api page header below imports * chore: change API page info alert to use built in Infima class instead of custom class Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local> * chore(docs-v2): moving more markdown content to new documentation site (#17736) * chore: move markdown content and images for docs installation directory to docs-v2 * chore: move docs miscellaneous directory content to docs-v2 * chore(docs-v2): move over connecting to databases content and rename some files to .mdx Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local> * Update styling and logo (#17990) * update styling * update colors * chore(docs-v2): remove blog and tutorial and update some styling (#17929) * add superset logo and favicon, change styles to better match current docs, add prettierrc * change file types to mdx * Add simple superset dark mode freindly logo * clean up default pages - blog and tutorial docs Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local> * Chore: moving charts and dashboard to docusaurus (#18036) * add contributing add creating charts and dashboards * delete extra images * update rat-excludes * Port homepage (#18115) * Port community page (#18128) * chore: add seo redirects for Docs v@ (#18092) * fix: handle null values in time-series table (#18039) * cleanup column_type_mappings (#17569) Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * important change to MakeFile (#18037) * Update superset-e2e.yml (#18041) * Revert "Update superset-e2e.yml (#18041)" (#18051) This reverts commit b565273. * feat: Trino Authentications (#17593) * feat: support Trino Authentications Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * docs: Trino Authentications Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * chore(supeset.utils.core): move all database utils to database utils module (#18058) * chore(plugin-chart-echarts): add types to controls (#18059) * fix(generator): more cleanup to plugin framework (#18027) * fix(generator): more cleanup to plugin framework * fix typo and package name * add docs * fix typo * Update superset-frontend/webpack.config.js Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com> * fix generator reference * add steps to tutorial and fix package version * refine docs/readme Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com> * feat(advanced analytics): support groupby in resample (#18045) * fix(dashboard): scope of nativefilter not update (#18048) * fix(generator): add lockfile and fix styling issues (#18073) * fix(generator): add lockfile and fix styling issues * fix margins and remove redundant scroll * update tutorial * refactor(sql_lab): SQL Lab Persistent Saved State (#17771) * a lot of console logs * testing * test * added saved_query to remoteId * created useEffect so that title properly changes in modal * Update superset-frontend/src/SqlLab/actions/sqlLab.js Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> * refactor(example_data): replace the way the birth_names data is loaded to DB (#18060) * refactor: replace the way the birth_names data is loaded to DB * fix failed unit test * fix failed unit test * fix failed tests * fix pass wrong flag of support datetime type * remove unused fixture * feat: add chart description in info tooltip (#17207) * feat: add chart list description * fix: text overflow * fix: text-overflow with line-height * Correction of proper names format in README (#18087) * chore: added SEO routes * fix can't use examples helpers on non app context based environment (#18086) * chore: split CLI into multiple files (#18082) * chore: split CLI into multiple files * Update tests * Who fixes the fixtures? * Add subcommands dynamically * Rebase * fix misspelling (#18097) * refactor: sqleditorleftbar to functional (#17807) * Working on converting sqleditorleftbar to functional component * Creating draft PR to address bug * Still working on solving re rendering bug * infinite rerender fix * Creating draft PR to address bug * Cleaning up in preparation for push * Made changes suggested by Elizabeth * Fixed issues as per Lindsey's comment Co-authored-by: Arash <arash.afghahi@gmail.com> * fix rat excludes and headers * fix(docs): fix path of image for "Create New Chart" (#18089) * Migrate Checkbox story to tsx - see #18100 (#18101) Looks good! * refactor: migrate RowCountLabel to TypeScript & added story (#18105) * enable superbook for explore component * migrate RowCountLabel to TypeScript * add storybook for RowCountLabel * fix: logging warning on dataframe (don't use python's warnings) (#18111) * fix: logging warning on dataframe (don't use python's warnings) * lint * update changelog and updating for 1.4.0 (#18083) * feat: Adds a key-value endpoint to store charts form data (#17882) * feat: Adds a key-value endpoint to store charts form data * Fixes linting problems * Removes the query_params from the endpoints * Refactors the commands * Removes unused imports * Changes the parameters to use dataclass * Adds more access tests * Gets the first dataset while testing * Adds unit tests for the check_access function * Changes the can_access check * Always check for dataset access * fix(explore): fix chart embed code modal glitch (#17843) * feat(plugin-chart-echarts): support non-timeseries x-axis (#17917) * feat(plugin-chart-echarts): support non-timeseries x-axis * fix tests * change formula return type from Date to number * add x_axis test coverage * rename func and improve coverage * add x-axis control to bar chart * remove redundant console.log * fix description * make x-axis control mandatory * 🙃 * fix x-axis formatter * fix showValues * fix implicit rDTTM_ALIAS references in postProcessing * replace TIME_COLUMN with DTTM_ALIAS * fix remaining implicit indexes * fix: Disable filtering on wide result sets (#18021) * fix: handle null values in time-series table (#18039) * cleanup column_type_mappings (#17569) Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * important change to MakeFile (#18037) * add missing is_timeseries to pivot op Co-authored-by: Erik Ritter <erik.ritter@airbnb.com> Co-authored-by: Grace Guo <grace.guo@airbnb.com> Co-authored-by: Đặng Minh Dũng <dungdm93@live.com> Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com> * feat(country-map): added new countries in country-chart-map (#18081) * chore: migrating storybook jsx to typescript #18100 (#18133) * Migrating storybook jsx to typescript #18100 * Migrating storybook jsx to typescript Co-authored-by: Jayakrishnan Karolil <jayakrishnan.karolil@nielsen.com> * feat(annotation): add toast feedback to annotation templates (#18116) * feat(dashboard): add toast feedback to dashboard actions (#18114) * feat(explore): more toast feedback on user actions in Explore (#18108) * feat(explore): add toasts feedback when user copies chart url * Show toast message when updating chart properties * Change toast type to success when saving chart * Use success toast from props * Fix tests * Use withToasts instead of dispatch * Use PropertiesModalProps instead of any * Docs: fix typo (#18125) * fix: undefined error when adding extra sequential color scheme (#18152) * feat: allow assets to be managed externally (#18093) * feat: allow assets to be managed externally * Use server_default * chore: use pkg_resources for cleaner config (#18130) * refactor: Moves the Explore form_data endpoint (#18151) * refactor: Moves the Explore form_data endpoint * Removes unused imports * Fixes openapi schema error * Fixes typo * Renames and UPDATING.md Co-authored-by: Grace Guo <grace.guo@airbnb.com> Co-authored-by: Đặng Minh Dũng <dungdm93@live.com> Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com> Co-authored-by: Hugh A. Miles II <hughmil3s@gmail.com> Co-authored-by: ofekisr <35701650+ofekisr@users.noreply.github.com> Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com> Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com> Co-authored-by: Yongjie Zhao <yongjie.zhao@gmail.com> Co-authored-by: Stephen Liu <750188453@qq.com> Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> Co-authored-by: Adam Dobrawy <ad-m@users.noreply.github.com> Co-authored-by: Beto Dealmeida <roberto@dealmeida.net> Co-authored-by: Emily Wu <86927881+em0227@users.noreply.github.com> Co-authored-by: Josue Lugaro <82119536+JosueLugaro@users.noreply.github.com> Co-authored-by: Arash <arash.afghahi@gmail.com> Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com> Co-authored-by: Daniel Vaz Gaspar <danielvazgaspar@gmail.com> Co-authored-by: Elizabeth Thompson <eschutho@gmail.com> Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com> Co-authored-by: Erik Ritter <erik.ritter@airbnb.com> Co-authored-by: Hammad-Raza <hammadraza42@hotmail.com> Co-authored-by: jayakrishnankk <kk.jayakrishnan@gmail.com> Co-authored-by: Jayakrishnan Karolil <jayakrishnan.karolil@nielsen.com> Co-authored-by: Farid Rener <proteusvacuum@users.noreply.github.com> * fix up links * Fix whitespace * Remove unwanted change * Add apache links Co-authored-by: hughhhh <hughmil3s@gmail.com> Co-authored-by: Corbin Robb <31329271+corbinrobb@users.noreply.github.com> Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local> Co-authored-by: Daniel W <61300812+The-hyphen-user@users.noreply.github.com> Co-authored-by: Srini Kadamati <skadamat@gmail.com> Co-authored-by: Grace Guo <grace.guo@airbnb.com> Co-authored-by: Đặng Minh Dũng <dungdm93@live.com> Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com> Co-authored-by: ofekisr <35701650+ofekisr@users.noreply.github.com> Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com> Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com> Co-authored-by: Yongjie Zhao <yongjie.zhao@gmail.com> Co-authored-by: Stephen Liu <750188453@qq.com> Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> Co-authored-by: Adam Dobrawy <ad-m@users.noreply.github.com> Co-authored-by: Beto Dealmeida <roberto@dealmeida.net> Co-authored-by: Emily Wu <86927881+em0227@users.noreply.github.com> Co-authored-by: Josue Lugaro <82119536+JosueLugaro@users.noreply.github.com> Co-authored-by: Arash <arash.afghahi@gmail.com> Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com> Co-authored-by: Daniel Vaz Gaspar <danielvazgaspar@gmail.com> Co-authored-by: Elizabeth Thompson <eschutho@gmail.com> Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com> Co-authored-by: Erik Ritter <erik.ritter@airbnb.com> Co-authored-by: Hammad-Raza <hammadraza42@hotmail.com> Co-authored-by: jayakrishnankk <kk.jayakrishnan@gmail.com> Co-authored-by: Jayakrishnan Karolil <jayakrishnan.karolil@nielsen.com> Co-authored-by: Farid Rener <proteusvacuum@users.noreply.github.com>
* setup docusaurus * rename * add introduction content * chore(docsV2): move content from docs to docsV2 (#17714) * add FAQs and contribution pages * chore: add api, security, and roadmap pages, include swaggerui in dependency for api page * chore: move api page header below imports * chore: change API page info alert to use built in Infima class instead of custom class Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local> * chore(docs-v2): moving more markdown content to new documentation site (#17736) * chore: move markdown content and images for docs installation directory to docs-v2 * chore: move docs miscellaneous directory content to docs-v2 * chore(docs-v2): move over connecting to databases content and rename some files to .mdx Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local> * Update styling and logo (#17990) * update styling * update colors * chore(docs-v2): remove blog and tutorial and update some styling (#17929) * add superset logo and favicon, change styles to better match current docs, add prettierrc * change file types to mdx * Add simple superset dark mode freindly logo * clean up default pages - blog and tutorial docs Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local> * Chore: moving charts and dashboard to docusaurus (#18036) * add contributing add creating charts and dashboards * delete extra images * update rat-excludes * Port homepage (#18115) * Port community page (#18128) * chore: add seo redirects for Docs v@ (#18092) * fix: handle null values in time-series table (#18039) * cleanup column_type_mappings (#17569) Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * important change to MakeFile (#18037) * Update superset-e2e.yml (#18041) * Revert "Update superset-e2e.yml (#18041)" (#18051) This reverts commit b565273. * feat: Trino Authentications (#17593) * feat: support Trino Authentications Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * docs: Trino Authentications Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * chore(supeset.utils.core): move all database utils to database utils module (#18058) * chore(plugin-chart-echarts): add types to controls (#18059) * fix(generator): more cleanup to plugin framework (#18027) * fix(generator): more cleanup to plugin framework * fix typo and package name * add docs * fix typo * Update superset-frontend/webpack.config.js Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com> * fix generator reference * add steps to tutorial and fix package version * refine docs/readme Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com> * feat(advanced analytics): support groupby in resample (#18045) * fix(dashboard): scope of nativefilter not update (#18048) * fix(generator): add lockfile and fix styling issues (#18073) * fix(generator): add lockfile and fix styling issues * fix margins and remove redundant scroll * update tutorial * refactor(sql_lab): SQL Lab Persistent Saved State (#17771) * a lot of console logs * testing * test * added saved_query to remoteId * created useEffect so that title properly changes in modal * Update superset-frontend/src/SqlLab/actions/sqlLab.js Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> * refactor(example_data): replace the way the birth_names data is loaded to DB (#18060) * refactor: replace the way the birth_names data is loaded to DB * fix failed unit test * fix failed unit test * fix failed tests * fix pass wrong flag of support datetime type * remove unused fixture * feat: add chart description in info tooltip (#17207) * feat: add chart list description * fix: text overflow * fix: text-overflow with line-height * Correction of proper names format in README (#18087) * chore: added SEO routes * fix can't use examples helpers on non app context based environment (#18086) * chore: split CLI into multiple files (#18082) * chore: split CLI into multiple files * Update tests * Who fixes the fixtures? * Add subcommands dynamically * Rebase * fix misspelling (#18097) * refactor: sqleditorleftbar to functional (#17807) * Working on converting sqleditorleftbar to functional component * Creating draft PR to address bug * Still working on solving re rendering bug * infinite rerender fix * Creating draft PR to address bug * Cleaning up in preparation for push * Made changes suggested by Elizabeth * Fixed issues as per Lindsey's comment Co-authored-by: Arash <arash.afghahi@gmail.com> * fix rat excludes and headers * fix(docs): fix path of image for "Create New Chart" (#18089) * Migrate Checkbox story to tsx - see #18100 (#18101) Looks good! * refactor: migrate RowCountLabel to TypeScript & added story (#18105) * enable superbook for explore component * migrate RowCountLabel to TypeScript * add storybook for RowCountLabel * fix: logging warning on dataframe (don't use python's warnings) (#18111) * fix: logging warning on dataframe (don't use python's warnings) * lint * update changelog and updating for 1.4.0 (#18083) * feat: Adds a key-value endpoint to store charts form data (#17882) * feat: Adds a key-value endpoint to store charts form data * Fixes linting problems * Removes the query_params from the endpoints * Refactors the commands * Removes unused imports * Changes the parameters to use dataclass * Adds more access tests * Gets the first dataset while testing * Adds unit tests for the check_access function * Changes the can_access check * Always check for dataset access * fix(explore): fix chart embed code modal glitch (#17843) * feat(plugin-chart-echarts): support non-timeseries x-axis (#17917) * feat(plugin-chart-echarts): support non-timeseries x-axis * fix tests * change formula return type from Date to number * add x_axis test coverage * rename func and improve coverage * add x-axis control to bar chart * remove redundant console.log * fix description * make x-axis control mandatory * 🙃 * fix x-axis formatter * fix showValues * fix implicit rDTTM_ALIAS references in postProcessing * replace TIME_COLUMN with DTTM_ALIAS * fix remaining implicit indexes * fix: Disable filtering on wide result sets (#18021) * fix: handle null values in time-series table (#18039) * cleanup column_type_mappings (#17569) Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * important change to MakeFile (#18037) * add missing is_timeseries to pivot op Co-authored-by: Erik Ritter <erik.ritter@airbnb.com> Co-authored-by: Grace Guo <grace.guo@airbnb.com> Co-authored-by: Đặng Minh Dũng <dungdm93@live.com> Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com> * feat(country-map): added new countries in country-chart-map (#18081) * chore: migrating storybook jsx to typescript #18100 (#18133) * Migrating storybook jsx to typescript #18100 * Migrating storybook jsx to typescript Co-authored-by: Jayakrishnan Karolil <jayakrishnan.karolil@nielsen.com> * feat(annotation): add toast feedback to annotation templates (#18116) * feat(dashboard): add toast feedback to dashboard actions (#18114) * feat(explore): more toast feedback on user actions in Explore (#18108) * feat(explore): add toasts feedback when user copies chart url * Show toast message when updating chart properties * Change toast type to success when saving chart * Use success toast from props * Fix tests * Use withToasts instead of dispatch * Use PropertiesModalProps instead of any * Docs: fix typo (#18125) * fix: undefined error when adding extra sequential color scheme (#18152) * feat: allow assets to be managed externally (#18093) * feat: allow assets to be managed externally * Use server_default * chore: use pkg_resources for cleaner config (#18130) * refactor: Moves the Explore form_data endpoint (#18151) * refactor: Moves the Explore form_data endpoint * Removes unused imports * Fixes openapi schema error * Fixes typo * Renames and UPDATING.md Co-authored-by: Grace Guo <grace.guo@airbnb.com> Co-authored-by: Đặng Minh Dũng <dungdm93@live.com> Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com> Co-authored-by: Hugh A. Miles II <hughmil3s@gmail.com> Co-authored-by: ofekisr <35701650+ofekisr@users.noreply.github.com> Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com> Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com> Co-authored-by: Yongjie Zhao <yongjie.zhao@gmail.com> Co-authored-by: Stephen Liu <750188453@qq.com> Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> Co-authored-by: Adam Dobrawy <ad-m@users.noreply.github.com> Co-authored-by: Beto Dealmeida <roberto@dealmeida.net> Co-authored-by: Emily Wu <86927881+em0227@users.noreply.github.com> Co-authored-by: Josue Lugaro <82119536+JosueLugaro@users.noreply.github.com> Co-authored-by: Arash <arash.afghahi@gmail.com> Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com> Co-authored-by: Daniel Vaz Gaspar <danielvazgaspar@gmail.com> Co-authored-by: Elizabeth Thompson <eschutho@gmail.com> Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com> Co-authored-by: Erik Ritter <erik.ritter@airbnb.com> Co-authored-by: Hammad-Raza <hammadraza42@hotmail.com> Co-authored-by: jayakrishnankk <kk.jayakrishnan@gmail.com> Co-authored-by: Jayakrishnan Karolil <jayakrishnan.karolil@nielsen.com> Co-authored-by: Farid Rener <proteusvacuum@users.noreply.github.com> * Fix broken build * Revert unwanted change Co-authored-by: hughhhh <hughmil3s@gmail.com> Co-authored-by: Corbin Robb <31329271+corbinrobb@users.noreply.github.com> Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local> Co-authored-by: Daniel W <61300812+The-hyphen-user@users.noreply.github.com> Co-authored-by: Srini Kadamati <skadamat@gmail.com> Co-authored-by: Grace Guo <grace.guo@airbnb.com> Co-authored-by: Đặng Minh Dũng <dungdm93@live.com> Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com> Co-authored-by: ofekisr <35701650+ofekisr@users.noreply.github.com> Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com> Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com> Co-authored-by: Yongjie Zhao <yongjie.zhao@gmail.com> Co-authored-by: Stephen Liu <750188453@qq.com> Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> Co-authored-by: Adam Dobrawy <ad-m@users.noreply.github.com> Co-authored-by: Beto Dealmeida <roberto@dealmeida.net> Co-authored-by: Emily Wu <86927881+em0227@users.noreply.github.com> Co-authored-by: Josue Lugaro <82119536+JosueLugaro@users.noreply.github.com> Co-authored-by: Arash <arash.afghahi@gmail.com> Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com> Co-authored-by: Daniel Vaz Gaspar <danielvazgaspar@gmail.com> Co-authored-by: Elizabeth Thompson <eschutho@gmail.com> Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com> Co-authored-by: Erik Ritter <erik.ritter@airbnb.com> Co-authored-by: Hammad-Raza <hammadraza42@hotmail.com> Co-authored-by: jayakrishnankk <kk.jayakrishnan@gmail.com> Co-authored-by: Jayakrishnan Karolil <jayakrishnan.karolil@nielsen.com> Co-authored-by: Farid Rener <proteusvacuum@users.noreply.github.com>
* chore: split CLI into multiple files * Update tests * Who fixes the fixtures? * Add subcommands dynamically * Rebase
* setup docusaurus * rename * add introduction content * chore(docsV2): move content from docs to docsV2 (apache#17714) * add FAQs and contribution pages * chore: add api, security, and roadmap pages, include swaggerui in dependency for api page * chore: move api page header below imports * chore: change API page info alert to use built in Infima class instead of custom class Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local> * chore(docs-v2): moving more markdown content to new documentation site (apache#17736) * chore: move markdown content and images for docs installation directory to docs-v2 * chore: move docs miscellaneous directory content to docs-v2 * chore(docs-v2): move over connecting to databases content and rename some files to .mdx Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local> * Update styling and logo (apache#17990) * update styling * update colors * chore(docs-v2): remove blog and tutorial and update some styling (apache#17929) * add superset logo and favicon, change styles to better match current docs, add prettierrc * change file types to mdx * Add simple superset dark mode freindly logo * clean up default pages - blog and tutorial docs Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local> * Chore: moving charts and dashboard to docusaurus (apache#18036) * add contributing add creating charts and dashboards * delete extra images * update rat-excludes * Port homepage (apache#18115) * Port community page (apache#18128) * chore: add seo redirects for Docs v@ (apache#18092) * fix: handle null values in time-series table (apache#18039) * cleanup column_type_mappings (apache#17569) Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * important change to MakeFile (apache#18037) * Update superset-e2e.yml (apache#18041) * Revert "Update superset-e2e.yml (apache#18041)" (apache#18051) This reverts commit b565273. * feat: Trino Authentications (apache#17593) * feat: support Trino Authentications Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * docs: Trino Authentications Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * chore(supeset.utils.core): move all database utils to database utils module (apache#18058) * chore(plugin-chart-echarts): add types to controls (apache#18059) * fix(generator): more cleanup to plugin framework (apache#18027) * fix(generator): more cleanup to plugin framework * fix typo and package name * add docs * fix typo * Update superset-frontend/webpack.config.js Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com> * fix generator reference * add steps to tutorial and fix package version * refine docs/readme Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com> * feat(advanced analytics): support groupby in resample (apache#18045) * fix(dashboard): scope of nativefilter not update (apache#18048) * fix(generator): add lockfile and fix styling issues (apache#18073) * fix(generator): add lockfile and fix styling issues * fix margins and remove redundant scroll * update tutorial * refactor(sql_lab): SQL Lab Persistent Saved State (apache#17771) * a lot of console logs * testing * test * added saved_query to remoteId * created useEffect so that title properly changes in modal * Update superset-frontend/src/SqlLab/actions/sqlLab.js Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> * refactor(example_data): replace the way the birth_names data is loaded to DB (apache#18060) * refactor: replace the way the birth_names data is loaded to DB * fix failed unit test * fix failed unit test * fix failed tests * fix pass wrong flag of support datetime type * remove unused fixture * feat: add chart description in info tooltip (apache#17207) * feat: add chart list description * fix: text overflow * fix: text-overflow with line-height * Correction of proper names format in README (apache#18087) * chore: added SEO routes * fix can't use examples helpers on non app context based environment (apache#18086) * chore: split CLI into multiple files (apache#18082) * chore: split CLI into multiple files * Update tests * Who fixes the fixtures? * Add subcommands dynamically * Rebase * fix misspelling (apache#18097) * refactor: sqleditorleftbar to functional (apache#17807) * Working on converting sqleditorleftbar to functional component * Creating draft PR to address bug * Still working on solving re rendering bug * infinite rerender fix * Creating draft PR to address bug * Cleaning up in preparation for push * Made changes suggested by Elizabeth * Fixed issues as per Lindsey's comment Co-authored-by: Arash <arash.afghahi@gmail.com> * fix rat excludes and headers * fix(docs): fix path of image for "Create New Chart" (apache#18089) * Migrate Checkbox story to tsx - see apache#18100 (apache#18101) Looks good! * refactor: migrate RowCountLabel to TypeScript & added story (apache#18105) * enable superbook for explore component * migrate RowCountLabel to TypeScript * add storybook for RowCountLabel * fix: logging warning on dataframe (don't use python's warnings) (apache#18111) * fix: logging warning on dataframe (don't use python's warnings) * lint * update changelog and updating for 1.4.0 (apache#18083) * feat: Adds a key-value endpoint to store charts form data (apache#17882) * feat: Adds a key-value endpoint to store charts form data * Fixes linting problems * Removes the query_params from the endpoints * Refactors the commands * Removes unused imports * Changes the parameters to use dataclass * Adds more access tests * Gets the first dataset while testing * Adds unit tests for the check_access function * Changes the can_access check * Always check for dataset access * fix(explore): fix chart embed code modal glitch (apache#17843) * feat(plugin-chart-echarts): support non-timeseries x-axis (apache#17917) * feat(plugin-chart-echarts): support non-timeseries x-axis * fix tests * change formula return type from Date to number * add x_axis test coverage * rename func and improve coverage * add x-axis control to bar chart * remove redundant console.log * fix description * make x-axis control mandatory * 🙃 * fix x-axis formatter * fix showValues * fix implicit rDTTM_ALIAS references in postProcessing * replace TIME_COLUMN with DTTM_ALIAS * fix remaining implicit indexes * fix: Disable filtering on wide result sets (apache#18021) * fix: handle null values in time-series table (apache#18039) * cleanup column_type_mappings (apache#17569) Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * important change to MakeFile (apache#18037) * add missing is_timeseries to pivot op Co-authored-by: Erik Ritter <erik.ritter@airbnb.com> Co-authored-by: Grace Guo <grace.guo@airbnb.com> Co-authored-by: Đặng Minh Dũng <dungdm93@live.com> Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com> * feat(country-map): added new countries in country-chart-map (apache#18081) * chore: migrating storybook jsx to typescript apache#18100 (apache#18133) * Migrating storybook jsx to typescript apache#18100 * Migrating storybook jsx to typescript Co-authored-by: Jayakrishnan Karolil <jayakrishnan.karolil@nielsen.com> * feat(annotation): add toast feedback to annotation templates (apache#18116) * feat(dashboard): add toast feedback to dashboard actions (apache#18114) * feat(explore): more toast feedback on user actions in Explore (apache#18108) * feat(explore): add toasts feedback when user copies chart url * Show toast message when updating chart properties * Change toast type to success when saving chart * Use success toast from props * Fix tests * Use withToasts instead of dispatch * Use PropertiesModalProps instead of any * Docs: fix typo (apache#18125) * fix: undefined error when adding extra sequential color scheme (apache#18152) * feat: allow assets to be managed externally (apache#18093) * feat: allow assets to be managed externally * Use server_default * chore: use pkg_resources for cleaner config (apache#18130) * refactor: Moves the Explore form_data endpoint (apache#18151) * refactor: Moves the Explore form_data endpoint * Removes unused imports * Fixes openapi schema error * Fixes typo * Renames and UPDATING.md Co-authored-by: Grace Guo <grace.guo@airbnb.com> Co-authored-by: Đặng Minh Dũng <dungdm93@live.com> Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com> Co-authored-by: Hugh A. Miles II <hughmil3s@gmail.com> Co-authored-by: ofekisr <35701650+ofekisr@users.noreply.github.com> Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com> Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com> Co-authored-by: Yongjie Zhao <yongjie.zhao@gmail.com> Co-authored-by: Stephen Liu <750188453@qq.com> Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> Co-authored-by: Adam Dobrawy <ad-m@users.noreply.github.com> Co-authored-by: Beto Dealmeida <roberto@dealmeida.net> Co-authored-by: Emily Wu <86927881+em0227@users.noreply.github.com> Co-authored-by: Josue Lugaro <82119536+JosueLugaro@users.noreply.github.com> Co-authored-by: Arash <arash.afghahi@gmail.com> Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com> Co-authored-by: Daniel Vaz Gaspar <danielvazgaspar@gmail.com> Co-authored-by: Elizabeth Thompson <eschutho@gmail.com> Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com> Co-authored-by: Erik Ritter <erik.ritter@airbnb.com> Co-authored-by: Hammad-Raza <hammadraza42@hotmail.com> Co-authored-by: jayakrishnankk <kk.jayakrishnan@gmail.com> Co-authored-by: Jayakrishnan Karolil <jayakrishnan.karolil@nielsen.com> Co-authored-by: Farid Rener <proteusvacuum@users.noreply.github.com> * remove unneeded requirement Co-authored-by: Corbin Robb <31329271+corbinrobb@users.noreply.github.com> Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local> Co-authored-by: Daniel W <61300812+The-hyphen-user@users.noreply.github.com> Co-authored-by: Geido <60598000+geido@users.noreply.github.com> Co-authored-by: Srini Kadamati <skadamat@gmail.com> Co-authored-by: Grace Guo <grace.guo@airbnb.com> Co-authored-by: Đặng Minh Dũng <dungdm93@live.com> Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com> Co-authored-by: ofekisr <35701650+ofekisr@users.noreply.github.com> Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com> Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com> Co-authored-by: Yongjie Zhao <yongjie.zhao@gmail.com> Co-authored-by: Stephen Liu <750188453@qq.com> Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> Co-authored-by: Adam Dobrawy <ad-m@users.noreply.github.com> Co-authored-by: Beto Dealmeida <roberto@dealmeida.net> Co-authored-by: Emily Wu <86927881+em0227@users.noreply.github.com> Co-authored-by: Josue Lugaro <82119536+JosueLugaro@users.noreply.github.com> Co-authored-by: Arash <arash.afghahi@gmail.com> Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com> Co-authored-by: Daniel Vaz Gaspar <danielvazgaspar@gmail.com> Co-authored-by: Elizabeth Thompson <eschutho@gmail.com> Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com> Co-authored-by: Erik Ritter <erik.ritter@airbnb.com> Co-authored-by: Hammad-Raza <hammadraza42@hotmail.com> Co-authored-by: jayakrishnankk <kk.jayakrishnan@gmail.com> Co-authored-by: Jayakrishnan Karolil <jayakrishnan.karolil@nielsen.com> Co-authored-by: Farid Rener <proteusvacuum@users.noreply.github.com>
* setup docusaurus * rename * add introduction content * chore(docsV2): move content from docs to docsV2 (apache#17714) * add FAQs and contribution pages * chore: add api, security, and roadmap pages, include swaggerui in dependency for api page * chore: move api page header below imports * chore: change API page info alert to use built in Infima class instead of custom class Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local> * chore(docs-v2): moving more markdown content to new documentation site (apache#17736) * chore: move markdown content and images for docs installation directory to docs-v2 * chore: move docs miscellaneous directory content to docs-v2 * chore(docs-v2): move over connecting to databases content and rename some files to .mdx Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local> * Update styling and logo (apache#17990) * update styling * update colors * chore(docs-v2): remove blog and tutorial and update some styling (apache#17929) * add superset logo and favicon, change styles to better match current docs, add prettierrc * change file types to mdx * Add simple superset dark mode freindly logo * clean up default pages - blog and tutorial docs Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local> * Chore: moving charts and dashboard to docusaurus (apache#18036) * add contributing add creating charts and dashboards * delete extra images * update rat-excludes * Port homepage (apache#18115) * Port community page (apache#18128) * chore: add seo redirects for Docs v@ (apache#18092) * fix: handle null values in time-series table (apache#18039) * cleanup column_type_mappings (apache#17569) Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * important change to MakeFile (apache#18037) * Update superset-e2e.yml (apache#18041) * Revert "Update superset-e2e.yml (apache#18041)" (apache#18051) This reverts commit b565273. * feat: Trino Authentications (apache#17593) * feat: support Trino Authentications Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * docs: Trino Authentications Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * chore(supeset.utils.core): move all database utils to database utils module (apache#18058) * chore(plugin-chart-echarts): add types to controls (apache#18059) * fix(generator): more cleanup to plugin framework (apache#18027) * fix(generator): more cleanup to plugin framework * fix typo and package name * add docs * fix typo * Update superset-frontend/webpack.config.js Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com> * fix generator reference * add steps to tutorial and fix package version * refine docs/readme Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com> * feat(advanced analytics): support groupby in resample (apache#18045) * fix(dashboard): scope of nativefilter not update (apache#18048) * fix(generator): add lockfile and fix styling issues (apache#18073) * fix(generator): add lockfile and fix styling issues * fix margins and remove redundant scroll * update tutorial * refactor(sql_lab): SQL Lab Persistent Saved State (apache#17771) * a lot of console logs * testing * test * added saved_query to remoteId * created useEffect so that title properly changes in modal * Update superset-frontend/src/SqlLab/actions/sqlLab.js Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> * refactor(example_data): replace the way the birth_names data is loaded to DB (apache#18060) * refactor: replace the way the birth_names data is loaded to DB * fix failed unit test * fix failed unit test * fix failed tests * fix pass wrong flag of support datetime type * remove unused fixture * feat: add chart description in info tooltip (apache#17207) * feat: add chart list description * fix: text overflow * fix: text-overflow with line-height * Correction of proper names format in README (apache#18087) * chore: added SEO routes * fix can't use examples helpers on non app context based environment (apache#18086) * chore: split CLI into multiple files (apache#18082) * chore: split CLI into multiple files * Update tests * Who fixes the fixtures? * Add subcommands dynamically * Rebase * fix misspelling (apache#18097) * refactor: sqleditorleftbar to functional (apache#17807) * Working on converting sqleditorleftbar to functional component * Creating draft PR to address bug * Still working on solving re rendering bug * infinite rerender fix * Creating draft PR to address bug * Cleaning up in preparation for push * Made changes suggested by Elizabeth * Fixed issues as per Lindsey's comment Co-authored-by: Arash <arash.afghahi@gmail.com> * fix rat excludes and headers * fix(docs): fix path of image for "Create New Chart" (apache#18089) * Migrate Checkbox story to tsx - see apache#18100 (apache#18101) Looks good! * refactor: migrate RowCountLabel to TypeScript & added story (apache#18105) * enable superbook for explore component * migrate RowCountLabel to TypeScript * add storybook for RowCountLabel * fix: logging warning on dataframe (don't use python's warnings) (apache#18111) * fix: logging warning on dataframe (don't use python's warnings) * lint * update changelog and updating for 1.4.0 (apache#18083) * feat: Adds a key-value endpoint to store charts form data (apache#17882) * feat: Adds a key-value endpoint to store charts form data * Fixes linting problems * Removes the query_params from the endpoints * Refactors the commands * Removes unused imports * Changes the parameters to use dataclass * Adds more access tests * Gets the first dataset while testing * Adds unit tests for the check_access function * Changes the can_access check * Always check for dataset access * fix(explore): fix chart embed code modal glitch (apache#17843) * feat(plugin-chart-echarts): support non-timeseries x-axis (apache#17917) * feat(plugin-chart-echarts): support non-timeseries x-axis * fix tests * change formula return type from Date to number * add x_axis test coverage * rename func and improve coverage * add x-axis control to bar chart * remove redundant console.log * fix description * make x-axis control mandatory * 🙃 * fix x-axis formatter * fix showValues * fix implicit rDTTM_ALIAS references in postProcessing * replace TIME_COLUMN with DTTM_ALIAS * fix remaining implicit indexes * fix: Disable filtering on wide result sets (apache#18021) * fix: handle null values in time-series table (apache#18039) * cleanup column_type_mappings (apache#17569) Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * important change to MakeFile (apache#18037) * add missing is_timeseries to pivot op Co-authored-by: Erik Ritter <erik.ritter@airbnb.com> Co-authored-by: Grace Guo <grace.guo@airbnb.com> Co-authored-by: Đặng Minh Dũng <dungdm93@live.com> Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com> * feat(country-map): added new countries in country-chart-map (apache#18081) * chore: migrating storybook jsx to typescript apache#18100 (apache#18133) * Migrating storybook jsx to typescript apache#18100 * Migrating storybook jsx to typescript Co-authored-by: Jayakrishnan Karolil <jayakrishnan.karolil@nielsen.com> * feat(annotation): add toast feedback to annotation templates (apache#18116) * feat(dashboard): add toast feedback to dashboard actions (apache#18114) * feat(explore): more toast feedback on user actions in Explore (apache#18108) * feat(explore): add toasts feedback when user copies chart url * Show toast message when updating chart properties * Change toast type to success when saving chart * Use success toast from props * Fix tests * Use withToasts instead of dispatch * Use PropertiesModalProps instead of any * Docs: fix typo (apache#18125) * fix: undefined error when adding extra sequential color scheme (apache#18152) * feat: allow assets to be managed externally (apache#18093) * feat: allow assets to be managed externally * Use server_default * chore: use pkg_resources for cleaner config (apache#18130) * refactor: Moves the Explore form_data endpoint (apache#18151) * refactor: Moves the Explore form_data endpoint * Removes unused imports * Fixes openapi schema error * Fixes typo * Renames and UPDATING.md Co-authored-by: Grace Guo <grace.guo@airbnb.com> Co-authored-by: Đặng Minh Dũng <dungdm93@live.com> Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com> Co-authored-by: Hugh A. Miles II <hughmil3s@gmail.com> Co-authored-by: ofekisr <35701650+ofekisr@users.noreply.github.com> Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com> Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com> Co-authored-by: Yongjie Zhao <yongjie.zhao@gmail.com> Co-authored-by: Stephen Liu <750188453@qq.com> Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> Co-authored-by: Adam Dobrawy <ad-m@users.noreply.github.com> Co-authored-by: Beto Dealmeida <roberto@dealmeida.net> Co-authored-by: Emily Wu <86927881+em0227@users.noreply.github.com> Co-authored-by: Josue Lugaro <82119536+JosueLugaro@users.noreply.github.com> Co-authored-by: Arash <arash.afghahi@gmail.com> Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com> Co-authored-by: Daniel Vaz Gaspar <danielvazgaspar@gmail.com> Co-authored-by: Elizabeth Thompson <eschutho@gmail.com> Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com> Co-authored-by: Erik Ritter <erik.ritter@airbnb.com> Co-authored-by: Hammad-Raza <hammadraza42@hotmail.com> Co-authored-by: jayakrishnankk <kk.jayakrishnan@gmail.com> Co-authored-by: Jayakrishnan Karolil <jayakrishnan.karolil@nielsen.com> Co-authored-by: Farid Rener <proteusvacuum@users.noreply.github.com> * fix up links * Fix whitespace * Remove unwanted change * Add apache links Co-authored-by: hughhhh <hughmil3s@gmail.com> Co-authored-by: Corbin Robb <31329271+corbinrobb@users.noreply.github.com> Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local> Co-authored-by: Daniel W <61300812+The-hyphen-user@users.noreply.github.com> Co-authored-by: Srini Kadamati <skadamat@gmail.com> Co-authored-by: Grace Guo <grace.guo@airbnb.com> Co-authored-by: Đặng Minh Dũng <dungdm93@live.com> Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com> Co-authored-by: ofekisr <35701650+ofekisr@users.noreply.github.com> Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com> Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com> Co-authored-by: Yongjie Zhao <yongjie.zhao@gmail.com> Co-authored-by: Stephen Liu <750188453@qq.com> Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> Co-authored-by: Adam Dobrawy <ad-m@users.noreply.github.com> Co-authored-by: Beto Dealmeida <roberto@dealmeida.net> Co-authored-by: Emily Wu <86927881+em0227@users.noreply.github.com> Co-authored-by: Josue Lugaro <82119536+JosueLugaro@users.noreply.github.com> Co-authored-by: Arash <arash.afghahi@gmail.com> Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com> Co-authored-by: Daniel Vaz Gaspar <danielvazgaspar@gmail.com> Co-authored-by: Elizabeth Thompson <eschutho@gmail.com> Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com> Co-authored-by: Erik Ritter <erik.ritter@airbnb.com> Co-authored-by: Hammad-Raza <hammadraza42@hotmail.com> Co-authored-by: jayakrishnankk <kk.jayakrishnan@gmail.com> Co-authored-by: Jayakrishnan Karolil <jayakrishnan.karolil@nielsen.com> Co-authored-by: Farid Rener <proteusvacuum@users.noreply.github.com>
* setup docusaurus * rename * add introduction content * chore(docsV2): move content from docs to docsV2 (apache#17714) * add FAQs and contribution pages * chore: add api, security, and roadmap pages, include swaggerui in dependency for api page * chore: move api page header below imports * chore: change API page info alert to use built in Infima class instead of custom class Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local> * chore(docs-v2): moving more markdown content to new documentation site (apache#17736) * chore: move markdown content and images for docs installation directory to docs-v2 * chore: move docs miscellaneous directory content to docs-v2 * chore(docs-v2): move over connecting to databases content and rename some files to .mdx Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local> * Update styling and logo (apache#17990) * update styling * update colors * chore(docs-v2): remove blog and tutorial and update some styling (apache#17929) * add superset logo and favicon, change styles to better match current docs, add prettierrc * change file types to mdx * Add simple superset dark mode freindly logo * clean up default pages - blog and tutorial docs Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local> * Chore: moving charts and dashboard to docusaurus (apache#18036) * add contributing add creating charts and dashboards * delete extra images * update rat-excludes * Port homepage (apache#18115) * Port community page (apache#18128) * chore: add seo redirects for Docs v@ (apache#18092) * fix: handle null values in time-series table (apache#18039) * cleanup column_type_mappings (apache#17569) Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * important change to MakeFile (apache#18037) * Update superset-e2e.yml (apache#18041) * Revert "Update superset-e2e.yml (apache#18041)" (apache#18051) This reverts commit b565273. * feat: Trino Authentications (apache#17593) * feat: support Trino Authentications Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * docs: Trino Authentications Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * chore(supeset.utils.core): move all database utils to database utils module (apache#18058) * chore(plugin-chart-echarts): add types to controls (apache#18059) * fix(generator): more cleanup to plugin framework (apache#18027) * fix(generator): more cleanup to plugin framework * fix typo and package name * add docs * fix typo * Update superset-frontend/webpack.config.js Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com> * fix generator reference * add steps to tutorial and fix package version * refine docs/readme Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com> * feat(advanced analytics): support groupby in resample (apache#18045) * fix(dashboard): scope of nativefilter not update (apache#18048) * fix(generator): add lockfile and fix styling issues (apache#18073) * fix(generator): add lockfile and fix styling issues * fix margins and remove redundant scroll * update tutorial * refactor(sql_lab): SQL Lab Persistent Saved State (apache#17771) * a lot of console logs * testing * test * added saved_query to remoteId * created useEffect so that title properly changes in modal * Update superset-frontend/src/SqlLab/actions/sqlLab.js Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> * refactor(example_data): replace the way the birth_names data is loaded to DB (apache#18060) * refactor: replace the way the birth_names data is loaded to DB * fix failed unit test * fix failed unit test * fix failed tests * fix pass wrong flag of support datetime type * remove unused fixture * feat: add chart description in info tooltip (apache#17207) * feat: add chart list description * fix: text overflow * fix: text-overflow with line-height * Correction of proper names format in README (apache#18087) * chore: added SEO routes * fix can't use examples helpers on non app context based environment (apache#18086) * chore: split CLI into multiple files (apache#18082) * chore: split CLI into multiple files * Update tests * Who fixes the fixtures? * Add subcommands dynamically * Rebase * fix misspelling (apache#18097) * refactor: sqleditorleftbar to functional (apache#17807) * Working on converting sqleditorleftbar to functional component * Creating draft PR to address bug * Still working on solving re rendering bug * infinite rerender fix * Creating draft PR to address bug * Cleaning up in preparation for push * Made changes suggested by Elizabeth * Fixed issues as per Lindsey's comment Co-authored-by: Arash <arash.afghahi@gmail.com> * fix rat excludes and headers * fix(docs): fix path of image for "Create New Chart" (apache#18089) * Migrate Checkbox story to tsx - see apache#18100 (apache#18101) Looks good! * refactor: migrate RowCountLabel to TypeScript & added story (apache#18105) * enable superbook for explore component * migrate RowCountLabel to TypeScript * add storybook for RowCountLabel * fix: logging warning on dataframe (don't use python's warnings) (apache#18111) * fix: logging warning on dataframe (don't use python's warnings) * lint * update changelog and updating for 1.4.0 (apache#18083) * feat: Adds a key-value endpoint to store charts form data (apache#17882) * feat: Adds a key-value endpoint to store charts form data * Fixes linting problems * Removes the query_params from the endpoints * Refactors the commands * Removes unused imports * Changes the parameters to use dataclass * Adds more access tests * Gets the first dataset while testing * Adds unit tests for the check_access function * Changes the can_access check * Always check for dataset access * fix(explore): fix chart embed code modal glitch (apache#17843) * feat(plugin-chart-echarts): support non-timeseries x-axis (apache#17917) * feat(plugin-chart-echarts): support non-timeseries x-axis * fix tests * change formula return type from Date to number * add x_axis test coverage * rename func and improve coverage * add x-axis control to bar chart * remove redundant console.log * fix description * make x-axis control mandatory * 🙃 * fix x-axis formatter * fix showValues * fix implicit rDTTM_ALIAS references in postProcessing * replace TIME_COLUMN with DTTM_ALIAS * fix remaining implicit indexes * fix: Disable filtering on wide result sets (apache#18021) * fix: handle null values in time-series table (apache#18039) * cleanup column_type_mappings (apache#17569) Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * important change to MakeFile (apache#18037) * add missing is_timeseries to pivot op Co-authored-by: Erik Ritter <erik.ritter@airbnb.com> Co-authored-by: Grace Guo <grace.guo@airbnb.com> Co-authored-by: Đặng Minh Dũng <dungdm93@live.com> Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com> * feat(country-map): added new countries in country-chart-map (apache#18081) * chore: migrating storybook jsx to typescript apache#18100 (apache#18133) * Migrating storybook jsx to typescript apache#18100 * Migrating storybook jsx to typescript Co-authored-by: Jayakrishnan Karolil <jayakrishnan.karolil@nielsen.com> * feat(annotation): add toast feedback to annotation templates (apache#18116) * feat(dashboard): add toast feedback to dashboard actions (apache#18114) * feat(explore): more toast feedback on user actions in Explore (apache#18108) * feat(explore): add toasts feedback when user copies chart url * Show toast message when updating chart properties * Change toast type to success when saving chart * Use success toast from props * Fix tests * Use withToasts instead of dispatch * Use PropertiesModalProps instead of any * Docs: fix typo (apache#18125) * fix: undefined error when adding extra sequential color scheme (apache#18152) * feat: allow assets to be managed externally (apache#18093) * feat: allow assets to be managed externally * Use server_default * chore: use pkg_resources for cleaner config (apache#18130) * refactor: Moves the Explore form_data endpoint (apache#18151) * refactor: Moves the Explore form_data endpoint * Removes unused imports * Fixes openapi schema error * Fixes typo * Renames and UPDATING.md Co-authored-by: Grace Guo <grace.guo@airbnb.com> Co-authored-by: Đặng Minh Dũng <dungdm93@live.com> Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com> Co-authored-by: Hugh A. Miles II <hughmil3s@gmail.com> Co-authored-by: ofekisr <35701650+ofekisr@users.noreply.github.com> Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com> Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com> Co-authored-by: Yongjie Zhao <yongjie.zhao@gmail.com> Co-authored-by: Stephen Liu <750188453@qq.com> Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> Co-authored-by: Adam Dobrawy <ad-m@users.noreply.github.com> Co-authored-by: Beto Dealmeida <roberto@dealmeida.net> Co-authored-by: Emily Wu <86927881+em0227@users.noreply.github.com> Co-authored-by: Josue Lugaro <82119536+JosueLugaro@users.noreply.github.com> Co-authored-by: Arash <arash.afghahi@gmail.com> Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com> Co-authored-by: Daniel Vaz Gaspar <danielvazgaspar@gmail.com> Co-authored-by: Elizabeth Thompson <eschutho@gmail.com> Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com> Co-authored-by: Erik Ritter <erik.ritter@airbnb.com> Co-authored-by: Hammad-Raza <hammadraza42@hotmail.com> Co-authored-by: jayakrishnankk <kk.jayakrishnan@gmail.com> Co-authored-by: Jayakrishnan Karolil <jayakrishnan.karolil@nielsen.com> Co-authored-by: Farid Rener <proteusvacuum@users.noreply.github.com> * Fix broken build * Revert unwanted change Co-authored-by: hughhhh <hughmil3s@gmail.com> Co-authored-by: Corbin Robb <31329271+corbinrobb@users.noreply.github.com> Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local> Co-authored-by: Daniel W <61300812+The-hyphen-user@users.noreply.github.com> Co-authored-by: Srini Kadamati <skadamat@gmail.com> Co-authored-by: Grace Guo <grace.guo@airbnb.com> Co-authored-by: Đặng Minh Dũng <dungdm93@live.com> Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com> Co-authored-by: ofekisr <35701650+ofekisr@users.noreply.github.com> Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com> Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com> Co-authored-by: Yongjie Zhao <yongjie.zhao@gmail.com> Co-authored-by: Stephen Liu <750188453@qq.com> Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> Co-authored-by: Adam Dobrawy <ad-m@users.noreply.github.com> Co-authored-by: Beto Dealmeida <roberto@dealmeida.net> Co-authored-by: Emily Wu <86927881+em0227@users.noreply.github.com> Co-authored-by: Josue Lugaro <82119536+JosueLugaro@users.noreply.github.com> Co-authored-by: Arash <arash.afghahi@gmail.com> Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com> Co-authored-by: Daniel Vaz Gaspar <danielvazgaspar@gmail.com> Co-authored-by: Elizabeth Thompson <eschutho@gmail.com> Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com> Co-authored-by: Erik Ritter <erik.ritter@airbnb.com> Co-authored-by: Hammad-Raza <hammadraza42@hotmail.com> Co-authored-by: jayakrishnankk <kk.jayakrishnan@gmail.com> Co-authored-by: Jayakrishnan Karolil <jayakrishnan.karolil@nielsen.com> Co-authored-by: Farid Rener <proteusvacuum@users.noreply.github.com>
* chore: split CLI into multiple files * Update tests * Who fixes the fixtures? * Add subcommands dynamically * Rebase
* setup docusaurus * rename * add introduction content * chore(docsV2): move content from docs to docsV2 (apache#17714) * add FAQs and contribution pages * chore: add api, security, and roadmap pages, include swaggerui in dependency for api page * chore: move api page header below imports * chore: change API page info alert to use built in Infima class instead of custom class Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local> * chore(docs-v2): moving more markdown content to new documentation site (apache#17736) * chore: move markdown content and images for docs installation directory to docs-v2 * chore: move docs miscellaneous directory content to docs-v2 * chore(docs-v2): move over connecting to databases content and rename some files to .mdx Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local> * Update styling and logo (apache#17990) * update styling * update colors * chore(docs-v2): remove blog and tutorial and update some styling (apache#17929) * add superset logo and favicon, change styles to better match current docs, add prettierrc * change file types to mdx * Add simple superset dark mode freindly logo * clean up default pages - blog and tutorial docs Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local> * Chore: moving charts and dashboard to docusaurus (apache#18036) * add contributing add creating charts and dashboards * delete extra images * update rat-excludes * Port homepage (apache#18115) * Port community page (apache#18128) * chore: add seo redirects for Docs v@ (apache#18092) * fix: handle null values in time-series table (apache#18039) * cleanup column_type_mappings (apache#17569) Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * important change to MakeFile (apache#18037) * Update superset-e2e.yml (apache#18041) * Revert "Update superset-e2e.yml (apache#18041)" (apache#18051) This reverts commit b565273. * feat: Trino Authentications (apache#17593) * feat: support Trino Authentications Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * docs: Trino Authentications Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * chore(supeset.utils.core): move all database utils to database utils module (apache#18058) * chore(plugin-chart-echarts): add types to controls (apache#18059) * fix(generator): more cleanup to plugin framework (apache#18027) * fix(generator): more cleanup to plugin framework * fix typo and package name * add docs * fix typo * Update superset-frontend/webpack.config.js Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com> * fix generator reference * add steps to tutorial and fix package version * refine docs/readme Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com> * feat(advanced analytics): support groupby in resample (apache#18045) * fix(dashboard): scope of nativefilter not update (apache#18048) * fix(generator): add lockfile and fix styling issues (apache#18073) * fix(generator): add lockfile and fix styling issues * fix margins and remove redundant scroll * update tutorial * refactor(sql_lab): SQL Lab Persistent Saved State (apache#17771) * a lot of console logs * testing * test * added saved_query to remoteId * created useEffect so that title properly changes in modal * Update superset-frontend/src/SqlLab/actions/sqlLab.js Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> * refactor(example_data): replace the way the birth_names data is loaded to DB (apache#18060) * refactor: replace the way the birth_names data is loaded to DB * fix failed unit test * fix failed unit test * fix failed tests * fix pass wrong flag of support datetime type * remove unused fixture * feat: add chart description in info tooltip (apache#17207) * feat: add chart list description * fix: text overflow * fix: text-overflow with line-height * Correction of proper names format in README (apache#18087) * chore: added SEO routes * fix can't use examples helpers on non app context based environment (apache#18086) * chore: split CLI into multiple files (apache#18082) * chore: split CLI into multiple files * Update tests * Who fixes the fixtures? * Add subcommands dynamically * Rebase * fix misspelling (apache#18097) * refactor: sqleditorleftbar to functional (apache#17807) * Working on converting sqleditorleftbar to functional component * Creating draft PR to address bug * Still working on solving re rendering bug * infinite rerender fix * Creating draft PR to address bug * Cleaning up in preparation for push * Made changes suggested by Elizabeth * Fixed issues as per Lindsey's comment Co-authored-by: Arash <arash.afghahi@gmail.com> * fix rat excludes and headers * fix(docs): fix path of image for "Create New Chart" (apache#18089) * Migrate Checkbox story to tsx - see apache#18100 (apache#18101) Looks good! * refactor: migrate RowCountLabel to TypeScript & added story (apache#18105) * enable superbook for explore component * migrate RowCountLabel to TypeScript * add storybook for RowCountLabel * fix: logging warning on dataframe (don't use python's warnings) (apache#18111) * fix: logging warning on dataframe (don't use python's warnings) * lint * update changelog and updating for 1.4.0 (apache#18083) * feat: Adds a key-value endpoint to store charts form data (apache#17882) * feat: Adds a key-value endpoint to store charts form data * Fixes linting problems * Removes the query_params from the endpoints * Refactors the commands * Removes unused imports * Changes the parameters to use dataclass * Adds more access tests * Gets the first dataset while testing * Adds unit tests for the check_access function * Changes the can_access check * Always check for dataset access * fix(explore): fix chart embed code modal glitch (apache#17843) * feat(plugin-chart-echarts): support non-timeseries x-axis (apache#17917) * feat(plugin-chart-echarts): support non-timeseries x-axis * fix tests * change formula return type from Date to number * add x_axis test coverage * rename func and improve coverage * add x-axis control to bar chart * remove redundant console.log * fix description * make x-axis control mandatory * 🙃 * fix x-axis formatter * fix showValues * fix implicit rDTTM_ALIAS references in postProcessing * replace TIME_COLUMN with DTTM_ALIAS * fix remaining implicit indexes * fix: Disable filtering on wide result sets (apache#18021) * fix: handle null values in time-series table (apache#18039) * cleanup column_type_mappings (apache#17569) Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * important change to MakeFile (apache#18037) * add missing is_timeseries to pivot op Co-authored-by: Erik Ritter <erik.ritter@airbnb.com> Co-authored-by: Grace Guo <grace.guo@airbnb.com> Co-authored-by: Đặng Minh Dũng <dungdm93@live.com> Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com> * feat(country-map): added new countries in country-chart-map (apache#18081) * chore: migrating storybook jsx to typescript apache#18100 (apache#18133) * Migrating storybook jsx to typescript apache#18100 * Migrating storybook jsx to typescript Co-authored-by: Jayakrishnan Karolil <jayakrishnan.karolil@nielsen.com> * feat(annotation): add toast feedback to annotation templates (apache#18116) * feat(dashboard): add toast feedback to dashboard actions (apache#18114) * feat(explore): more toast feedback on user actions in Explore (apache#18108) * feat(explore): add toasts feedback when user copies chart url * Show toast message when updating chart properties * Change toast type to success when saving chart * Use success toast from props * Fix tests * Use withToasts instead of dispatch * Use PropertiesModalProps instead of any * Docs: fix typo (apache#18125) * fix: undefined error when adding extra sequential color scheme (apache#18152) * feat: allow assets to be managed externally (apache#18093) * feat: allow assets to be managed externally * Use server_default * chore: use pkg_resources for cleaner config (apache#18130) * refactor: Moves the Explore form_data endpoint (apache#18151) * refactor: Moves the Explore form_data endpoint * Removes unused imports * Fixes openapi schema error * Fixes typo * Renames and UPDATING.md Co-authored-by: Grace Guo <grace.guo@airbnb.com> Co-authored-by: Đặng Minh Dũng <dungdm93@live.com> Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com> Co-authored-by: Hugh A. Miles II <hughmil3s@gmail.com> Co-authored-by: ofekisr <35701650+ofekisr@users.noreply.github.com> Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com> Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com> Co-authored-by: Yongjie Zhao <yongjie.zhao@gmail.com> Co-authored-by: Stephen Liu <750188453@qq.com> Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> Co-authored-by: Adam Dobrawy <ad-m@users.noreply.github.com> Co-authored-by: Beto Dealmeida <roberto@dealmeida.net> Co-authored-by: Emily Wu <86927881+em0227@users.noreply.github.com> Co-authored-by: Josue Lugaro <82119536+JosueLugaro@users.noreply.github.com> Co-authored-by: Arash <arash.afghahi@gmail.com> Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com> Co-authored-by: Daniel Vaz Gaspar <danielvazgaspar@gmail.com> Co-authored-by: Elizabeth Thompson <eschutho@gmail.com> Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com> Co-authored-by: Erik Ritter <erik.ritter@airbnb.com> Co-authored-by: Hammad-Raza <hammadraza42@hotmail.com> Co-authored-by: jayakrishnankk <kk.jayakrishnan@gmail.com> Co-authored-by: Jayakrishnan Karolil <jayakrishnan.karolil@nielsen.com> Co-authored-by: Farid Rener <proteusvacuum@users.noreply.github.com> * remove unneeded requirement Co-authored-by: Corbin Robb <31329271+corbinrobb@users.noreply.github.com> Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local> Co-authored-by: Daniel W <61300812+The-hyphen-user@users.noreply.github.com> Co-authored-by: Geido <60598000+geido@users.noreply.github.com> Co-authored-by: Srini Kadamati <skadamat@gmail.com> Co-authored-by: Grace Guo <grace.guo@airbnb.com> Co-authored-by: Đặng Minh Dũng <dungdm93@live.com> Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com> Co-authored-by: ofekisr <35701650+ofekisr@users.noreply.github.com> Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com> Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com> Co-authored-by: Yongjie Zhao <yongjie.zhao@gmail.com> Co-authored-by: Stephen Liu <750188453@qq.com> Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> Co-authored-by: Adam Dobrawy <ad-m@users.noreply.github.com> Co-authored-by: Beto Dealmeida <roberto@dealmeida.net> Co-authored-by: Emily Wu <86927881+em0227@users.noreply.github.com> Co-authored-by: Josue Lugaro <82119536+JosueLugaro@users.noreply.github.com> Co-authored-by: Arash <arash.afghahi@gmail.com> Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com> Co-authored-by: Daniel Vaz Gaspar <danielvazgaspar@gmail.com> Co-authored-by: Elizabeth Thompson <eschutho@gmail.com> Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com> Co-authored-by: Erik Ritter <erik.ritter@airbnb.com> Co-authored-by: Hammad-Raza <hammadraza42@hotmail.com> Co-authored-by: jayakrishnankk <kk.jayakrishnan@gmail.com> Co-authored-by: Jayakrishnan Karolil <jayakrishnan.karolil@nielsen.com> Co-authored-by: Farid Rener <proteusvacuum@users.noreply.github.com>
* setup docusaurus * rename * add introduction content * chore(docsV2): move content from docs to docsV2 (apache#17714) * add FAQs and contribution pages * chore: add api, security, and roadmap pages, include swaggerui in dependency for api page * chore: move api page header below imports * chore: change API page info alert to use built in Infima class instead of custom class Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local> * chore(docs-v2): moving more markdown content to new documentation site (apache#17736) * chore: move markdown content and images for docs installation directory to docs-v2 * chore: move docs miscellaneous directory content to docs-v2 * chore(docs-v2): move over connecting to databases content and rename some files to .mdx Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local> * Update styling and logo (apache#17990) * update styling * update colors * chore(docs-v2): remove blog and tutorial and update some styling (apache#17929) * add superset logo and favicon, change styles to better match current docs, add prettierrc * change file types to mdx * Add simple superset dark mode freindly logo * clean up default pages - blog and tutorial docs Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local> * Chore: moving charts and dashboard to docusaurus (apache#18036) * add contributing add creating charts and dashboards * delete extra images * update rat-excludes * Port homepage (apache#18115) * Port community page (apache#18128) * chore: add seo redirects for Docs v@ (apache#18092) * fix: handle null values in time-series table (apache#18039) * cleanup column_type_mappings (apache#17569) Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * important change to MakeFile (apache#18037) * Update superset-e2e.yml (apache#18041) * Revert "Update superset-e2e.yml (apache#18041)" (apache#18051) This reverts commit b565273. * feat: Trino Authentications (apache#17593) * feat: support Trino Authentications Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * docs: Trino Authentications Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * chore(supeset.utils.core): move all database utils to database utils module (apache#18058) * chore(plugin-chart-echarts): add types to controls (apache#18059) * fix(generator): more cleanup to plugin framework (apache#18027) * fix(generator): more cleanup to plugin framework * fix typo and package name * add docs * fix typo * Update superset-frontend/webpack.config.js Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com> * fix generator reference * add steps to tutorial and fix package version * refine docs/readme Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com> * feat(advanced analytics): support groupby in resample (apache#18045) * fix(dashboard): scope of nativefilter not update (apache#18048) * fix(generator): add lockfile and fix styling issues (apache#18073) * fix(generator): add lockfile and fix styling issues * fix margins and remove redundant scroll * update tutorial * refactor(sql_lab): SQL Lab Persistent Saved State (apache#17771) * a lot of console logs * testing * test * added saved_query to remoteId * created useEffect so that title properly changes in modal * Update superset-frontend/src/SqlLab/actions/sqlLab.js Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> * refactor(example_data): replace the way the birth_names data is loaded to DB (apache#18060) * refactor: replace the way the birth_names data is loaded to DB * fix failed unit test * fix failed unit test * fix failed tests * fix pass wrong flag of support datetime type * remove unused fixture * feat: add chart description in info tooltip (apache#17207) * feat: add chart list description * fix: text overflow * fix: text-overflow with line-height * Correction of proper names format in README (apache#18087) * chore: added SEO routes * fix can't use examples helpers on non app context based environment (apache#18086) * chore: split CLI into multiple files (apache#18082) * chore: split CLI into multiple files * Update tests * Who fixes the fixtures? * Add subcommands dynamically * Rebase * fix misspelling (apache#18097) * refactor: sqleditorleftbar to functional (apache#17807) * Working on converting sqleditorleftbar to functional component * Creating draft PR to address bug * Still working on solving re rendering bug * infinite rerender fix * Creating draft PR to address bug * Cleaning up in preparation for push * Made changes suggested by Elizabeth * Fixed issues as per Lindsey's comment Co-authored-by: Arash <arash.afghahi@gmail.com> * fix rat excludes and headers * fix(docs): fix path of image for "Create New Chart" (apache#18089) * Migrate Checkbox story to tsx - see apache#18100 (apache#18101) Looks good! * refactor: migrate RowCountLabel to TypeScript & added story (apache#18105) * enable superbook for explore component * migrate RowCountLabel to TypeScript * add storybook for RowCountLabel * fix: logging warning on dataframe (don't use python's warnings) (apache#18111) * fix: logging warning on dataframe (don't use python's warnings) * lint * update changelog and updating for 1.4.0 (apache#18083) * feat: Adds a key-value endpoint to store charts form data (apache#17882) * feat: Adds a key-value endpoint to store charts form data * Fixes linting problems * Removes the query_params from the endpoints * Refactors the commands * Removes unused imports * Changes the parameters to use dataclass * Adds more access tests * Gets the first dataset while testing * Adds unit tests for the check_access function * Changes the can_access check * Always check for dataset access * fix(explore): fix chart embed code modal glitch (apache#17843) * feat(plugin-chart-echarts): support non-timeseries x-axis (apache#17917) * feat(plugin-chart-echarts): support non-timeseries x-axis * fix tests * change formula return type from Date to number * add x_axis test coverage * rename func and improve coverage * add x-axis control to bar chart * remove redundant console.log * fix description * make x-axis control mandatory * 🙃 * fix x-axis formatter * fix showValues * fix implicit rDTTM_ALIAS references in postProcessing * replace TIME_COLUMN with DTTM_ALIAS * fix remaining implicit indexes * fix: Disable filtering on wide result sets (apache#18021) * fix: handle null values in time-series table (apache#18039) * cleanup column_type_mappings (apache#17569) Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * important change to MakeFile (apache#18037) * add missing is_timeseries to pivot op Co-authored-by: Erik Ritter <erik.ritter@airbnb.com> Co-authored-by: Grace Guo <grace.guo@airbnb.com> Co-authored-by: Đặng Minh Dũng <dungdm93@live.com> Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com> * feat(country-map): added new countries in country-chart-map (apache#18081) * chore: migrating storybook jsx to typescript apache#18100 (apache#18133) * Migrating storybook jsx to typescript apache#18100 * Migrating storybook jsx to typescript Co-authored-by: Jayakrishnan Karolil <jayakrishnan.karolil@nielsen.com> * feat(annotation): add toast feedback to annotation templates (apache#18116) * feat(dashboard): add toast feedback to dashboard actions (apache#18114) * feat(explore): more toast feedback on user actions in Explore (apache#18108) * feat(explore): add toasts feedback when user copies chart url * Show toast message when updating chart properties * Change toast type to success when saving chart * Use success toast from props * Fix tests * Use withToasts instead of dispatch * Use PropertiesModalProps instead of any * Docs: fix typo (apache#18125) * fix: undefined error when adding extra sequential color scheme (apache#18152) * feat: allow assets to be managed externally (apache#18093) * feat: allow assets to be managed externally * Use server_default * chore: use pkg_resources for cleaner config (apache#18130) * refactor: Moves the Explore form_data endpoint (apache#18151) * refactor: Moves the Explore form_data endpoint * Removes unused imports * Fixes openapi schema error * Fixes typo * Renames and UPDATING.md Co-authored-by: Grace Guo <grace.guo@airbnb.com> Co-authored-by: Đặng Minh Dũng <dungdm93@live.com> Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com> Co-authored-by: Hugh A. Miles II <hughmil3s@gmail.com> Co-authored-by: ofekisr <35701650+ofekisr@users.noreply.github.com> Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com> Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com> Co-authored-by: Yongjie Zhao <yongjie.zhao@gmail.com> Co-authored-by: Stephen Liu <750188453@qq.com> Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> Co-authored-by: Adam Dobrawy <ad-m@users.noreply.github.com> Co-authored-by: Beto Dealmeida <roberto@dealmeida.net> Co-authored-by: Emily Wu <86927881+em0227@users.noreply.github.com> Co-authored-by: Josue Lugaro <82119536+JosueLugaro@users.noreply.github.com> Co-authored-by: Arash <arash.afghahi@gmail.com> Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com> Co-authored-by: Daniel Vaz Gaspar <danielvazgaspar@gmail.com> Co-authored-by: Elizabeth Thompson <eschutho@gmail.com> Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com> Co-authored-by: Erik Ritter <erik.ritter@airbnb.com> Co-authored-by: Hammad-Raza <hammadraza42@hotmail.com> Co-authored-by: jayakrishnankk <kk.jayakrishnan@gmail.com> Co-authored-by: Jayakrishnan Karolil <jayakrishnan.karolil@nielsen.com> Co-authored-by: Farid Rener <proteusvacuum@users.noreply.github.com> * fix up links * Fix whitespace * Remove unwanted change * Add apache links Co-authored-by: hughhhh <hughmil3s@gmail.com> Co-authored-by: Corbin Robb <31329271+corbinrobb@users.noreply.github.com> Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local> Co-authored-by: Daniel W <61300812+The-hyphen-user@users.noreply.github.com> Co-authored-by: Srini Kadamati <skadamat@gmail.com> Co-authored-by: Grace Guo <grace.guo@airbnb.com> Co-authored-by: Đặng Minh Dũng <dungdm93@live.com> Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com> Co-authored-by: ofekisr <35701650+ofekisr@users.noreply.github.com> Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com> Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com> Co-authored-by: Yongjie Zhao <yongjie.zhao@gmail.com> Co-authored-by: Stephen Liu <750188453@qq.com> Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> Co-authored-by: Adam Dobrawy <ad-m@users.noreply.github.com> Co-authored-by: Beto Dealmeida <roberto@dealmeida.net> Co-authored-by: Emily Wu <86927881+em0227@users.noreply.github.com> Co-authored-by: Josue Lugaro <82119536+JosueLugaro@users.noreply.github.com> Co-authored-by: Arash <arash.afghahi@gmail.com> Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com> Co-authored-by: Daniel Vaz Gaspar <danielvazgaspar@gmail.com> Co-authored-by: Elizabeth Thompson <eschutho@gmail.com> Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com> Co-authored-by: Erik Ritter <erik.ritter@airbnb.com> Co-authored-by: Hammad-Raza <hammadraza42@hotmail.com> Co-authored-by: jayakrishnankk <kk.jayakrishnan@gmail.com> Co-authored-by: Jayakrishnan Karolil <jayakrishnan.karolil@nielsen.com> Co-authored-by: Farid Rener <proteusvacuum@users.noreply.github.com>
* setup docusaurus * rename * add introduction content * chore(docsV2): move content from docs to docsV2 (apache#17714) * add FAQs and contribution pages * chore: add api, security, and roadmap pages, include swaggerui in dependency for api page * chore: move api page header below imports * chore: change API page info alert to use built in Infima class instead of custom class Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local> * chore(docs-v2): moving more markdown content to new documentation site (apache#17736) * chore: move markdown content and images for docs installation directory to docs-v2 * chore: move docs miscellaneous directory content to docs-v2 * chore(docs-v2): move over connecting to databases content and rename some files to .mdx Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local> * Update styling and logo (apache#17990) * update styling * update colors * chore(docs-v2): remove blog and tutorial and update some styling (apache#17929) * add superset logo and favicon, change styles to better match current docs, add prettierrc * change file types to mdx * Add simple superset dark mode freindly logo * clean up default pages - blog and tutorial docs Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local> * Chore: moving charts and dashboard to docusaurus (apache#18036) * add contributing add creating charts and dashboards * delete extra images * update rat-excludes * Port homepage (apache#18115) * Port community page (apache#18128) * chore: add seo redirects for Docs v@ (apache#18092) * fix: handle null values in time-series table (apache#18039) * cleanup column_type_mappings (apache#17569) Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * important change to MakeFile (apache#18037) * Update superset-e2e.yml (apache#18041) * Revert "Update superset-e2e.yml (apache#18041)" (apache#18051) This reverts commit b565273. * feat: Trino Authentications (apache#17593) * feat: support Trino Authentications Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * docs: Trino Authentications Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * chore(supeset.utils.core): move all database utils to database utils module (apache#18058) * chore(plugin-chart-echarts): add types to controls (apache#18059) * fix(generator): more cleanup to plugin framework (apache#18027) * fix(generator): more cleanup to plugin framework * fix typo and package name * add docs * fix typo * Update superset-frontend/webpack.config.js Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com> * fix generator reference * add steps to tutorial and fix package version * refine docs/readme Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com> * feat(advanced analytics): support groupby in resample (apache#18045) * fix(dashboard): scope of nativefilter not update (apache#18048) * fix(generator): add lockfile and fix styling issues (apache#18073) * fix(generator): add lockfile and fix styling issues * fix margins and remove redundant scroll * update tutorial * refactor(sql_lab): SQL Lab Persistent Saved State (apache#17771) * a lot of console logs * testing * test * added saved_query to remoteId * created useEffect so that title properly changes in modal * Update superset-frontend/src/SqlLab/actions/sqlLab.js Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> * refactor(example_data): replace the way the birth_names data is loaded to DB (apache#18060) * refactor: replace the way the birth_names data is loaded to DB * fix failed unit test * fix failed unit test * fix failed tests * fix pass wrong flag of support datetime type * remove unused fixture * feat: add chart description in info tooltip (apache#17207) * feat: add chart list description * fix: text overflow * fix: text-overflow with line-height * Correction of proper names format in README (apache#18087) * chore: added SEO routes * fix can't use examples helpers on non app context based environment (apache#18086) * chore: split CLI into multiple files (apache#18082) * chore: split CLI into multiple files * Update tests * Who fixes the fixtures? * Add subcommands dynamically * Rebase * fix misspelling (apache#18097) * refactor: sqleditorleftbar to functional (apache#17807) * Working on converting sqleditorleftbar to functional component * Creating draft PR to address bug * Still working on solving re rendering bug * infinite rerender fix * Creating draft PR to address bug * Cleaning up in preparation for push * Made changes suggested by Elizabeth * Fixed issues as per Lindsey's comment Co-authored-by: Arash <arash.afghahi@gmail.com> * fix rat excludes and headers * fix(docs): fix path of image for "Create New Chart" (apache#18089) * Migrate Checkbox story to tsx - see apache#18100 (apache#18101) Looks good! * refactor: migrate RowCountLabel to TypeScript & added story (apache#18105) * enable superbook for explore component * migrate RowCountLabel to TypeScript * add storybook for RowCountLabel * fix: logging warning on dataframe (don't use python's warnings) (apache#18111) * fix: logging warning on dataframe (don't use python's warnings) * lint * update changelog and updating for 1.4.0 (apache#18083) * feat: Adds a key-value endpoint to store charts form data (apache#17882) * feat: Adds a key-value endpoint to store charts form data * Fixes linting problems * Removes the query_params from the endpoints * Refactors the commands * Removes unused imports * Changes the parameters to use dataclass * Adds more access tests * Gets the first dataset while testing * Adds unit tests for the check_access function * Changes the can_access check * Always check for dataset access * fix(explore): fix chart embed code modal glitch (apache#17843) * feat(plugin-chart-echarts): support non-timeseries x-axis (apache#17917) * feat(plugin-chart-echarts): support non-timeseries x-axis * fix tests * change formula return type from Date to number * add x_axis test coverage * rename func and improve coverage * add x-axis control to bar chart * remove redundant console.log * fix description * make x-axis control mandatory * 🙃 * fix x-axis formatter * fix showValues * fix implicit rDTTM_ALIAS references in postProcessing * replace TIME_COLUMN with DTTM_ALIAS * fix remaining implicit indexes * fix: Disable filtering on wide result sets (apache#18021) * fix: handle null values in time-series table (apache#18039) * cleanup column_type_mappings (apache#17569) Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * important change to MakeFile (apache#18037) * add missing is_timeseries to pivot op Co-authored-by: Erik Ritter <erik.ritter@airbnb.com> Co-authored-by: Grace Guo <grace.guo@airbnb.com> Co-authored-by: Đặng Minh Dũng <dungdm93@live.com> Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com> * feat(country-map): added new countries in country-chart-map (apache#18081) * chore: migrating storybook jsx to typescript apache#18100 (apache#18133) * Migrating storybook jsx to typescript apache#18100 * Migrating storybook jsx to typescript Co-authored-by: Jayakrishnan Karolil <jayakrishnan.karolil@nielsen.com> * feat(annotation): add toast feedback to annotation templates (apache#18116) * feat(dashboard): add toast feedback to dashboard actions (apache#18114) * feat(explore): more toast feedback on user actions in Explore (apache#18108) * feat(explore): add toasts feedback when user copies chart url * Show toast message when updating chart properties * Change toast type to success when saving chart * Use success toast from props * Fix tests * Use withToasts instead of dispatch * Use PropertiesModalProps instead of any * Docs: fix typo (apache#18125) * fix: undefined error when adding extra sequential color scheme (apache#18152) * feat: allow assets to be managed externally (apache#18093) * feat: allow assets to be managed externally * Use server_default * chore: use pkg_resources for cleaner config (apache#18130) * refactor: Moves the Explore form_data endpoint (apache#18151) * refactor: Moves the Explore form_data endpoint * Removes unused imports * Fixes openapi schema error * Fixes typo * Renames and UPDATING.md Co-authored-by: Grace Guo <grace.guo@airbnb.com> Co-authored-by: Đặng Minh Dũng <dungdm93@live.com> Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com> Co-authored-by: Hugh A. Miles II <hughmil3s@gmail.com> Co-authored-by: ofekisr <35701650+ofekisr@users.noreply.github.com> Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com> Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com> Co-authored-by: Yongjie Zhao <yongjie.zhao@gmail.com> Co-authored-by: Stephen Liu <750188453@qq.com> Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> Co-authored-by: Adam Dobrawy <ad-m@users.noreply.github.com> Co-authored-by: Beto Dealmeida <roberto@dealmeida.net> Co-authored-by: Emily Wu <86927881+em0227@users.noreply.github.com> Co-authored-by: Josue Lugaro <82119536+JosueLugaro@users.noreply.github.com> Co-authored-by: Arash <arash.afghahi@gmail.com> Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com> Co-authored-by: Daniel Vaz Gaspar <danielvazgaspar@gmail.com> Co-authored-by: Elizabeth Thompson <eschutho@gmail.com> Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com> Co-authored-by: Erik Ritter <erik.ritter@airbnb.com> Co-authored-by: Hammad-Raza <hammadraza42@hotmail.com> Co-authored-by: jayakrishnankk <kk.jayakrishnan@gmail.com> Co-authored-by: Jayakrishnan Karolil <jayakrishnan.karolil@nielsen.com> Co-authored-by: Farid Rener <proteusvacuum@users.noreply.github.com> * Fix broken build * Revert unwanted change Co-authored-by: hughhhh <hughmil3s@gmail.com> Co-authored-by: Corbin Robb <31329271+corbinrobb@users.noreply.github.com> Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local> Co-authored-by: Daniel W <61300812+The-hyphen-user@users.noreply.github.com> Co-authored-by: Srini Kadamati <skadamat@gmail.com> Co-authored-by: Grace Guo <grace.guo@airbnb.com> Co-authored-by: Đặng Minh Dũng <dungdm93@live.com> Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com> Co-authored-by: ofekisr <35701650+ofekisr@users.noreply.github.com> Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com> Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com> Co-authored-by: Yongjie Zhao <yongjie.zhao@gmail.com> Co-authored-by: Stephen Liu <750188453@qq.com> Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> Co-authored-by: Adam Dobrawy <ad-m@users.noreply.github.com> Co-authored-by: Beto Dealmeida <roberto@dealmeida.net> Co-authored-by: Emily Wu <86927881+em0227@users.noreply.github.com> Co-authored-by: Josue Lugaro <82119536+JosueLugaro@users.noreply.github.com> Co-authored-by: Arash <arash.afghahi@gmail.com> Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com> Co-authored-by: Daniel Vaz Gaspar <danielvazgaspar@gmail.com> Co-authored-by: Elizabeth Thompson <eschutho@gmail.com> Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com> Co-authored-by: Erik Ritter <erik.ritter@airbnb.com> Co-authored-by: Hammad-Raza <hammadraza42@hotmail.com> Co-authored-by: jayakrishnankk <kk.jayakrishnan@gmail.com> Co-authored-by: Jayakrishnan Karolil <jayakrishnan.karolil@nielsen.com> Co-authored-by: Farid Rener <proteusvacuum@users.noreply.github.com>
* chore: split CLI into multiple files * Update tests * Who fixes the fixtures? * Add subcommands dynamically * Rebase
* setup docusaurus * rename * add introduction content * chore(docsV2): move content from docs to docsV2 (apache#17714) * add FAQs and contribution pages * chore: add api, security, and roadmap pages, include swaggerui in dependency for api page * chore: move api page header below imports * chore: change API page info alert to use built in Infima class instead of custom class Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local> * chore(docs-v2): moving more markdown content to new documentation site (apache#17736) * chore: move markdown content and images for docs installation directory to docs-v2 * chore: move docs miscellaneous directory content to docs-v2 * chore(docs-v2): move over connecting to databases content and rename some files to .mdx Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local> * Update styling and logo (apache#17990) * update styling * update colors * chore(docs-v2): remove blog and tutorial and update some styling (apache#17929) * add superset logo and favicon, change styles to better match current docs, add prettierrc * change file types to mdx * Add simple superset dark mode freindly logo * clean up default pages - blog and tutorial docs Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local> * Chore: moving charts and dashboard to docusaurus (apache#18036) * add contributing add creating charts and dashboards * delete extra images * update rat-excludes * Port homepage (apache#18115) * Port community page (apache#18128) * chore: add seo redirects for Docs v@ (apache#18092) * fix: handle null values in time-series table (apache#18039) * cleanup column_type_mappings (apache#17569) Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * important change to MakeFile (apache#18037) * Update superset-e2e.yml (apache#18041) * Revert "Update superset-e2e.yml (apache#18041)" (apache#18051) This reverts commit b565273. * feat: Trino Authentications (apache#17593) * feat: support Trino Authentications Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * docs: Trino Authentications Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * chore(supeset.utils.core): move all database utils to database utils module (apache#18058) * chore(plugin-chart-echarts): add types to controls (apache#18059) * fix(generator): more cleanup to plugin framework (apache#18027) * fix(generator): more cleanup to plugin framework * fix typo and package name * add docs * fix typo * Update superset-frontend/webpack.config.js Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com> * fix generator reference * add steps to tutorial and fix package version * refine docs/readme Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com> * feat(advanced analytics): support groupby in resample (apache#18045) * fix(dashboard): scope of nativefilter not update (apache#18048) * fix(generator): add lockfile and fix styling issues (apache#18073) * fix(generator): add lockfile and fix styling issues * fix margins and remove redundant scroll * update tutorial * refactor(sql_lab): SQL Lab Persistent Saved State (apache#17771) * a lot of console logs * testing * test * added saved_query to remoteId * created useEffect so that title properly changes in modal * Update superset-frontend/src/SqlLab/actions/sqlLab.js Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> * refactor(example_data): replace the way the birth_names data is loaded to DB (apache#18060) * refactor: replace the way the birth_names data is loaded to DB * fix failed unit test * fix failed unit test * fix failed tests * fix pass wrong flag of support datetime type * remove unused fixture * feat: add chart description in info tooltip (apache#17207) * feat: add chart list description * fix: text overflow * fix: text-overflow with line-height * Correction of proper names format in README (apache#18087) * chore: added SEO routes * fix can't use examples helpers on non app context based environment (apache#18086) * chore: split CLI into multiple files (apache#18082) * chore: split CLI into multiple files * Update tests * Who fixes the fixtures? * Add subcommands dynamically * Rebase * fix misspelling (apache#18097) * refactor: sqleditorleftbar to functional (apache#17807) * Working on converting sqleditorleftbar to functional component * Creating draft PR to address bug * Still working on solving re rendering bug * infinite rerender fix * Creating draft PR to address bug * Cleaning up in preparation for push * Made changes suggested by Elizabeth * Fixed issues as per Lindsey's comment Co-authored-by: Arash <arash.afghahi@gmail.com> * fix rat excludes and headers * fix(docs): fix path of image for "Create New Chart" (apache#18089) * Migrate Checkbox story to tsx - see apache#18100 (apache#18101) Looks good! * refactor: migrate RowCountLabel to TypeScript & added story (apache#18105) * enable superbook for explore component * migrate RowCountLabel to TypeScript * add storybook for RowCountLabel * fix: logging warning on dataframe (don't use python's warnings) (apache#18111) * fix: logging warning on dataframe (don't use python's warnings) * lint * update changelog and updating for 1.4.0 (apache#18083) * feat: Adds a key-value endpoint to store charts form data (apache#17882) * feat: Adds a key-value endpoint to store charts form data * Fixes linting problems * Removes the query_params from the endpoints * Refactors the commands * Removes unused imports * Changes the parameters to use dataclass * Adds more access tests * Gets the first dataset while testing * Adds unit tests for the check_access function * Changes the can_access check * Always check for dataset access * fix(explore): fix chart embed code modal glitch (apache#17843) * feat(plugin-chart-echarts): support non-timeseries x-axis (apache#17917) * feat(plugin-chart-echarts): support non-timeseries x-axis * fix tests * change formula return type from Date to number * add x_axis test coverage * rename func and improve coverage * add x-axis control to bar chart * remove redundant console.log * fix description * make x-axis control mandatory * 🙃 * fix x-axis formatter * fix showValues * fix implicit rDTTM_ALIAS references in postProcessing * replace TIME_COLUMN with DTTM_ALIAS * fix remaining implicit indexes * fix: Disable filtering on wide result sets (apache#18021) * fix: handle null values in time-series table (apache#18039) * cleanup column_type_mappings (apache#17569) Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * important change to MakeFile (apache#18037) * add missing is_timeseries to pivot op Co-authored-by: Erik Ritter <erik.ritter@airbnb.com> Co-authored-by: Grace Guo <grace.guo@airbnb.com> Co-authored-by: Đặng Minh Dũng <dungdm93@live.com> Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com> * feat(country-map): added new countries in country-chart-map (apache#18081) * chore: migrating storybook jsx to typescript apache#18100 (apache#18133) * Migrating storybook jsx to typescript apache#18100 * Migrating storybook jsx to typescript Co-authored-by: Jayakrishnan Karolil <jayakrishnan.karolil@nielsen.com> * feat(annotation): add toast feedback to annotation templates (apache#18116) * feat(dashboard): add toast feedback to dashboard actions (apache#18114) * feat(explore): more toast feedback on user actions in Explore (apache#18108) * feat(explore): add toasts feedback when user copies chart url * Show toast message when updating chart properties * Change toast type to success when saving chart * Use success toast from props * Fix tests * Use withToasts instead of dispatch * Use PropertiesModalProps instead of any * Docs: fix typo (apache#18125) * fix: undefined error when adding extra sequential color scheme (apache#18152) * feat: allow assets to be managed externally (apache#18093) * feat: allow assets to be managed externally * Use server_default * chore: use pkg_resources for cleaner config (apache#18130) * refactor: Moves the Explore form_data endpoint (apache#18151) * refactor: Moves the Explore form_data endpoint * Removes unused imports * Fixes openapi schema error * Fixes typo * Renames and UPDATING.md Co-authored-by: Grace Guo <grace.guo@airbnb.com> Co-authored-by: Đặng Minh Dũng <dungdm93@live.com> Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com> Co-authored-by: Hugh A. Miles II <hughmil3s@gmail.com> Co-authored-by: ofekisr <35701650+ofekisr@users.noreply.github.com> Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com> Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com> Co-authored-by: Yongjie Zhao <yongjie.zhao@gmail.com> Co-authored-by: Stephen Liu <750188453@qq.com> Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> Co-authored-by: Adam Dobrawy <ad-m@users.noreply.github.com> Co-authored-by: Beto Dealmeida <roberto@dealmeida.net> Co-authored-by: Emily Wu <86927881+em0227@users.noreply.github.com> Co-authored-by: Josue Lugaro <82119536+JosueLugaro@users.noreply.github.com> Co-authored-by: Arash <arash.afghahi@gmail.com> Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com> Co-authored-by: Daniel Vaz Gaspar <danielvazgaspar@gmail.com> Co-authored-by: Elizabeth Thompson <eschutho@gmail.com> Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com> Co-authored-by: Erik Ritter <erik.ritter@airbnb.com> Co-authored-by: Hammad-Raza <hammadraza42@hotmail.com> Co-authored-by: jayakrishnankk <kk.jayakrishnan@gmail.com> Co-authored-by: Jayakrishnan Karolil <jayakrishnan.karolil@nielsen.com> Co-authored-by: Farid Rener <proteusvacuum@users.noreply.github.com> * remove unneeded requirement Co-authored-by: Corbin Robb <31329271+corbinrobb@users.noreply.github.com> Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local> Co-authored-by: Daniel W <61300812+The-hyphen-user@users.noreply.github.com> Co-authored-by: Geido <60598000+geido@users.noreply.github.com> Co-authored-by: Srini Kadamati <skadamat@gmail.com> Co-authored-by: Grace Guo <grace.guo@airbnb.com> Co-authored-by: Đặng Minh Dũng <dungdm93@live.com> Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com> Co-authored-by: ofekisr <35701650+ofekisr@users.noreply.github.com> Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com> Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com> Co-authored-by: Yongjie Zhao <yongjie.zhao@gmail.com> Co-authored-by: Stephen Liu <750188453@qq.com> Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> Co-authored-by: Adam Dobrawy <ad-m@users.noreply.github.com> Co-authored-by: Beto Dealmeida <roberto@dealmeida.net> Co-authored-by: Emily Wu <86927881+em0227@users.noreply.github.com> Co-authored-by: Josue Lugaro <82119536+JosueLugaro@users.noreply.github.com> Co-authored-by: Arash <arash.afghahi@gmail.com> Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com> Co-authored-by: Daniel Vaz Gaspar <danielvazgaspar@gmail.com> Co-authored-by: Elizabeth Thompson <eschutho@gmail.com> Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com> Co-authored-by: Erik Ritter <erik.ritter@airbnb.com> Co-authored-by: Hammad-Raza <hammadraza42@hotmail.com> Co-authored-by: jayakrishnankk <kk.jayakrishnan@gmail.com> Co-authored-by: Jayakrishnan Karolil <jayakrishnan.karolil@nielsen.com> Co-authored-by: Farid Rener <proteusvacuum@users.noreply.github.com>
* setup docusaurus * rename * add introduction content * chore(docsV2): move content from docs to docsV2 (apache#17714) * add FAQs and contribution pages * chore: add api, security, and roadmap pages, include swaggerui in dependency for api page * chore: move api page header below imports * chore: change API page info alert to use built in Infima class instead of custom class Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local> * chore(docs-v2): moving more markdown content to new documentation site (apache#17736) * chore: move markdown content and images for docs installation directory to docs-v2 * chore: move docs miscellaneous directory content to docs-v2 * chore(docs-v2): move over connecting to databases content and rename some files to .mdx Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local> * Update styling and logo (apache#17990) * update styling * update colors * chore(docs-v2): remove blog and tutorial and update some styling (apache#17929) * add superset logo and favicon, change styles to better match current docs, add prettierrc * change file types to mdx * Add simple superset dark mode freindly logo * clean up default pages - blog and tutorial docs Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local> * Chore: moving charts and dashboard to docusaurus (apache#18036) * add contributing add creating charts and dashboards * delete extra images * update rat-excludes * Port homepage (apache#18115) * Port community page (apache#18128) * chore: add seo redirects for Docs v@ (apache#18092) * fix: handle null values in time-series table (apache#18039) * cleanup column_type_mappings (apache#17569) Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * important change to MakeFile (apache#18037) * Update superset-e2e.yml (apache#18041) * Revert "Update superset-e2e.yml (apache#18041)" (apache#18051) This reverts commit b565273. * feat: Trino Authentications (apache#17593) * feat: support Trino Authentications Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * docs: Trino Authentications Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * chore(supeset.utils.core): move all database utils to database utils module (apache#18058) * chore(plugin-chart-echarts): add types to controls (apache#18059) * fix(generator): more cleanup to plugin framework (apache#18027) * fix(generator): more cleanup to plugin framework * fix typo and package name * add docs * fix typo * Update superset-frontend/webpack.config.js Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com> * fix generator reference * add steps to tutorial and fix package version * refine docs/readme Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com> * feat(advanced analytics): support groupby in resample (apache#18045) * fix(dashboard): scope of nativefilter not update (apache#18048) * fix(generator): add lockfile and fix styling issues (apache#18073) * fix(generator): add lockfile and fix styling issues * fix margins and remove redundant scroll * update tutorial * refactor(sql_lab): SQL Lab Persistent Saved State (apache#17771) * a lot of console logs * testing * test * added saved_query to remoteId * created useEffect so that title properly changes in modal * Update superset-frontend/src/SqlLab/actions/sqlLab.js Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> * refactor(example_data): replace the way the birth_names data is loaded to DB (apache#18060) * refactor: replace the way the birth_names data is loaded to DB * fix failed unit test * fix failed unit test * fix failed tests * fix pass wrong flag of support datetime type * remove unused fixture * feat: add chart description in info tooltip (apache#17207) * feat: add chart list description * fix: text overflow * fix: text-overflow with line-height * Correction of proper names format in README (apache#18087) * chore: added SEO routes * fix can't use examples helpers on non app context based environment (apache#18086) * chore: split CLI into multiple files (apache#18082) * chore: split CLI into multiple files * Update tests * Who fixes the fixtures? * Add subcommands dynamically * Rebase * fix misspelling (apache#18097) * refactor: sqleditorleftbar to functional (apache#17807) * Working on converting sqleditorleftbar to functional component * Creating draft PR to address bug * Still working on solving re rendering bug * infinite rerender fix * Creating draft PR to address bug * Cleaning up in preparation for push * Made changes suggested by Elizabeth * Fixed issues as per Lindsey's comment Co-authored-by: Arash <arash.afghahi@gmail.com> * fix rat excludes and headers * fix(docs): fix path of image for "Create New Chart" (apache#18089) * Migrate Checkbox story to tsx - see apache#18100 (apache#18101) Looks good! * refactor: migrate RowCountLabel to TypeScript & added story (apache#18105) * enable superbook for explore component * migrate RowCountLabel to TypeScript * add storybook for RowCountLabel * fix: logging warning on dataframe (don't use python's warnings) (apache#18111) * fix: logging warning on dataframe (don't use python's warnings) * lint * update changelog and updating for 1.4.0 (apache#18083) * feat: Adds a key-value endpoint to store charts form data (apache#17882) * feat: Adds a key-value endpoint to store charts form data * Fixes linting problems * Removes the query_params from the endpoints * Refactors the commands * Removes unused imports * Changes the parameters to use dataclass * Adds more access tests * Gets the first dataset while testing * Adds unit tests for the check_access function * Changes the can_access check * Always check for dataset access * fix(explore): fix chart embed code modal glitch (apache#17843) * feat(plugin-chart-echarts): support non-timeseries x-axis (apache#17917) * feat(plugin-chart-echarts): support non-timeseries x-axis * fix tests * change formula return type from Date to number * add x_axis test coverage * rename func and improve coverage * add x-axis control to bar chart * remove redundant console.log * fix description * make x-axis control mandatory * 🙃 * fix x-axis formatter * fix showValues * fix implicit rDTTM_ALIAS references in postProcessing * replace TIME_COLUMN with DTTM_ALIAS * fix remaining implicit indexes * fix: Disable filtering on wide result sets (apache#18021) * fix: handle null values in time-series table (apache#18039) * cleanup column_type_mappings (apache#17569) Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * important change to MakeFile (apache#18037) * add missing is_timeseries to pivot op Co-authored-by: Erik Ritter <erik.ritter@airbnb.com> Co-authored-by: Grace Guo <grace.guo@airbnb.com> Co-authored-by: Đặng Minh Dũng <dungdm93@live.com> Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com> * feat(country-map): added new countries in country-chart-map (apache#18081) * chore: migrating storybook jsx to typescript apache#18100 (apache#18133) * Migrating storybook jsx to typescript apache#18100 * Migrating storybook jsx to typescript Co-authored-by: Jayakrishnan Karolil <jayakrishnan.karolil@nielsen.com> * feat(annotation): add toast feedback to annotation templates (apache#18116) * feat(dashboard): add toast feedback to dashboard actions (apache#18114) * feat(explore): more toast feedback on user actions in Explore (apache#18108) * feat(explore): add toasts feedback when user copies chart url * Show toast message when updating chart properties * Change toast type to success when saving chart * Use success toast from props * Fix tests * Use withToasts instead of dispatch * Use PropertiesModalProps instead of any * Docs: fix typo (apache#18125) * fix: undefined error when adding extra sequential color scheme (apache#18152) * feat: allow assets to be managed externally (apache#18093) * feat: allow assets to be managed externally * Use server_default * chore: use pkg_resources for cleaner config (apache#18130) * refactor: Moves the Explore form_data endpoint (apache#18151) * refactor: Moves the Explore form_data endpoint * Removes unused imports * Fixes openapi schema error * Fixes typo * Renames and UPDATING.md Co-authored-by: Grace Guo <grace.guo@airbnb.com> Co-authored-by: Đặng Minh Dũng <dungdm93@live.com> Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com> Co-authored-by: Hugh A. Miles II <hughmil3s@gmail.com> Co-authored-by: ofekisr <35701650+ofekisr@users.noreply.github.com> Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com> Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com> Co-authored-by: Yongjie Zhao <yongjie.zhao@gmail.com> Co-authored-by: Stephen Liu <750188453@qq.com> Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> Co-authored-by: Adam Dobrawy <ad-m@users.noreply.github.com> Co-authored-by: Beto Dealmeida <roberto@dealmeida.net> Co-authored-by: Emily Wu <86927881+em0227@users.noreply.github.com> Co-authored-by: Josue Lugaro <82119536+JosueLugaro@users.noreply.github.com> Co-authored-by: Arash <arash.afghahi@gmail.com> Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com> Co-authored-by: Daniel Vaz Gaspar <danielvazgaspar@gmail.com> Co-authored-by: Elizabeth Thompson <eschutho@gmail.com> Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com> Co-authored-by: Erik Ritter <erik.ritter@airbnb.com> Co-authored-by: Hammad-Raza <hammadraza42@hotmail.com> Co-authored-by: jayakrishnankk <kk.jayakrishnan@gmail.com> Co-authored-by: Jayakrishnan Karolil <jayakrishnan.karolil@nielsen.com> Co-authored-by: Farid Rener <proteusvacuum@users.noreply.github.com> * fix up links * Fix whitespace * Remove unwanted change * Add apache links Co-authored-by: hughhhh <hughmil3s@gmail.com> Co-authored-by: Corbin Robb <31329271+corbinrobb@users.noreply.github.com> Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local> Co-authored-by: Daniel W <61300812+The-hyphen-user@users.noreply.github.com> Co-authored-by: Srini Kadamati <skadamat@gmail.com> Co-authored-by: Grace Guo <grace.guo@airbnb.com> Co-authored-by: Đặng Minh Dũng <dungdm93@live.com> Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com> Co-authored-by: ofekisr <35701650+ofekisr@users.noreply.github.com> Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com> Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com> Co-authored-by: Yongjie Zhao <yongjie.zhao@gmail.com> Co-authored-by: Stephen Liu <750188453@qq.com> Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> Co-authored-by: Adam Dobrawy <ad-m@users.noreply.github.com> Co-authored-by: Beto Dealmeida <roberto@dealmeida.net> Co-authored-by: Emily Wu <86927881+em0227@users.noreply.github.com> Co-authored-by: Josue Lugaro <82119536+JosueLugaro@users.noreply.github.com> Co-authored-by: Arash <arash.afghahi@gmail.com> Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com> Co-authored-by: Daniel Vaz Gaspar <danielvazgaspar@gmail.com> Co-authored-by: Elizabeth Thompson <eschutho@gmail.com> Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com> Co-authored-by: Erik Ritter <erik.ritter@airbnb.com> Co-authored-by: Hammad-Raza <hammadraza42@hotmail.com> Co-authored-by: jayakrishnankk <kk.jayakrishnan@gmail.com> Co-authored-by: Jayakrishnan Karolil <jayakrishnan.karolil@nielsen.com> Co-authored-by: Farid Rener <proteusvacuum@users.noreply.github.com>
* setup docusaurus * rename * add introduction content * chore(docsV2): move content from docs to docsV2 (apache#17714) * add FAQs and contribution pages * chore: add api, security, and roadmap pages, include swaggerui in dependency for api page * chore: move api page header below imports * chore: change API page info alert to use built in Infima class instead of custom class Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local> * chore(docs-v2): moving more markdown content to new documentation site (apache#17736) * chore: move markdown content and images for docs installation directory to docs-v2 * chore: move docs miscellaneous directory content to docs-v2 * chore(docs-v2): move over connecting to databases content and rename some files to .mdx Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local> * Update styling and logo (apache#17990) * update styling * update colors * chore(docs-v2): remove blog and tutorial and update some styling (apache#17929) * add superset logo and favicon, change styles to better match current docs, add prettierrc * change file types to mdx * Add simple superset dark mode freindly logo * clean up default pages - blog and tutorial docs Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local> * Chore: moving charts and dashboard to docusaurus (apache#18036) * add contributing add creating charts and dashboards * delete extra images * update rat-excludes * Port homepage (apache#18115) * Port community page (apache#18128) * chore: add seo redirects for Docs v@ (apache#18092) * fix: handle null values in time-series table (apache#18039) * cleanup column_type_mappings (apache#17569) Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * important change to MakeFile (apache#18037) * Update superset-e2e.yml (apache#18041) * Revert "Update superset-e2e.yml (apache#18041)" (apache#18051) This reverts commit b565273. * feat: Trino Authentications (apache#17593) * feat: support Trino Authentications Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * docs: Trino Authentications Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * chore(supeset.utils.core): move all database utils to database utils module (apache#18058) * chore(plugin-chart-echarts): add types to controls (apache#18059) * fix(generator): more cleanup to plugin framework (apache#18027) * fix(generator): more cleanup to plugin framework * fix typo and package name * add docs * fix typo * Update superset-frontend/webpack.config.js Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com> * fix generator reference * add steps to tutorial and fix package version * refine docs/readme Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com> * feat(advanced analytics): support groupby in resample (apache#18045) * fix(dashboard): scope of nativefilter not update (apache#18048) * fix(generator): add lockfile and fix styling issues (apache#18073) * fix(generator): add lockfile and fix styling issues * fix margins and remove redundant scroll * update tutorial * refactor(sql_lab): SQL Lab Persistent Saved State (apache#17771) * a lot of console logs * testing * test * added saved_query to remoteId * created useEffect so that title properly changes in modal * Update superset-frontend/src/SqlLab/actions/sqlLab.js Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> * refactor(example_data): replace the way the birth_names data is loaded to DB (apache#18060) * refactor: replace the way the birth_names data is loaded to DB * fix failed unit test * fix failed unit test * fix failed tests * fix pass wrong flag of support datetime type * remove unused fixture * feat: add chart description in info tooltip (apache#17207) * feat: add chart list description * fix: text overflow * fix: text-overflow with line-height * Correction of proper names format in README (apache#18087) * chore: added SEO routes * fix can't use examples helpers on non app context based environment (apache#18086) * chore: split CLI into multiple files (apache#18082) * chore: split CLI into multiple files * Update tests * Who fixes the fixtures? * Add subcommands dynamically * Rebase * fix misspelling (apache#18097) * refactor: sqleditorleftbar to functional (apache#17807) * Working on converting sqleditorleftbar to functional component * Creating draft PR to address bug * Still working on solving re rendering bug * infinite rerender fix * Creating draft PR to address bug * Cleaning up in preparation for push * Made changes suggested by Elizabeth * Fixed issues as per Lindsey's comment Co-authored-by: Arash <arash.afghahi@gmail.com> * fix rat excludes and headers * fix(docs): fix path of image for "Create New Chart" (apache#18089) * Migrate Checkbox story to tsx - see apache#18100 (apache#18101) Looks good! * refactor: migrate RowCountLabel to TypeScript & added story (apache#18105) * enable superbook for explore component * migrate RowCountLabel to TypeScript * add storybook for RowCountLabel * fix: logging warning on dataframe (don't use python's warnings) (apache#18111) * fix: logging warning on dataframe (don't use python's warnings) * lint * update changelog and updating for 1.4.0 (apache#18083) * feat: Adds a key-value endpoint to store charts form data (apache#17882) * feat: Adds a key-value endpoint to store charts form data * Fixes linting problems * Removes the query_params from the endpoints * Refactors the commands * Removes unused imports * Changes the parameters to use dataclass * Adds more access tests * Gets the first dataset while testing * Adds unit tests for the check_access function * Changes the can_access check * Always check for dataset access * fix(explore): fix chart embed code modal glitch (apache#17843) * feat(plugin-chart-echarts): support non-timeseries x-axis (apache#17917) * feat(plugin-chart-echarts): support non-timeseries x-axis * fix tests * change formula return type from Date to number * add x_axis test coverage * rename func and improve coverage * add x-axis control to bar chart * remove redundant console.log * fix description * make x-axis control mandatory * 🙃 * fix x-axis formatter * fix showValues * fix implicit rDTTM_ALIAS references in postProcessing * replace TIME_COLUMN with DTTM_ALIAS * fix remaining implicit indexes * fix: Disable filtering on wide result sets (apache#18021) * fix: handle null values in time-series table (apache#18039) * cleanup column_type_mappings (apache#17569) Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * important change to MakeFile (apache#18037) * add missing is_timeseries to pivot op Co-authored-by: Erik Ritter <erik.ritter@airbnb.com> Co-authored-by: Grace Guo <grace.guo@airbnb.com> Co-authored-by: Đặng Minh Dũng <dungdm93@live.com> Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com> * feat(country-map): added new countries in country-chart-map (apache#18081) * chore: migrating storybook jsx to typescript apache#18100 (apache#18133) * Migrating storybook jsx to typescript apache#18100 * Migrating storybook jsx to typescript Co-authored-by: Jayakrishnan Karolil <jayakrishnan.karolil@nielsen.com> * feat(annotation): add toast feedback to annotation templates (apache#18116) * feat(dashboard): add toast feedback to dashboard actions (apache#18114) * feat(explore): more toast feedback on user actions in Explore (apache#18108) * feat(explore): add toasts feedback when user copies chart url * Show toast message when updating chart properties * Change toast type to success when saving chart * Use success toast from props * Fix tests * Use withToasts instead of dispatch * Use PropertiesModalProps instead of any * Docs: fix typo (apache#18125) * fix: undefined error when adding extra sequential color scheme (apache#18152) * feat: allow assets to be managed externally (apache#18093) * feat: allow assets to be managed externally * Use server_default * chore: use pkg_resources for cleaner config (apache#18130) * refactor: Moves the Explore form_data endpoint (apache#18151) * refactor: Moves the Explore form_data endpoint * Removes unused imports * Fixes openapi schema error * Fixes typo * Renames and UPDATING.md Co-authored-by: Grace Guo <grace.guo@airbnb.com> Co-authored-by: Đặng Minh Dũng <dungdm93@live.com> Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com> Co-authored-by: Hugh A. Miles II <hughmil3s@gmail.com> Co-authored-by: ofekisr <35701650+ofekisr@users.noreply.github.com> Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com> Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com> Co-authored-by: Yongjie Zhao <yongjie.zhao@gmail.com> Co-authored-by: Stephen Liu <750188453@qq.com> Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> Co-authored-by: Adam Dobrawy <ad-m@users.noreply.github.com> Co-authored-by: Beto Dealmeida <roberto@dealmeida.net> Co-authored-by: Emily Wu <86927881+em0227@users.noreply.github.com> Co-authored-by: Josue Lugaro <82119536+JosueLugaro@users.noreply.github.com> Co-authored-by: Arash <arash.afghahi@gmail.com> Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com> Co-authored-by: Daniel Vaz Gaspar <danielvazgaspar@gmail.com> Co-authored-by: Elizabeth Thompson <eschutho@gmail.com> Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com> Co-authored-by: Erik Ritter <erik.ritter@airbnb.com> Co-authored-by: Hammad-Raza <hammadraza42@hotmail.com> Co-authored-by: jayakrishnankk <kk.jayakrishnan@gmail.com> Co-authored-by: Jayakrishnan Karolil <jayakrishnan.karolil@nielsen.com> Co-authored-by: Farid Rener <proteusvacuum@users.noreply.github.com> * Fix broken build * Revert unwanted change Co-authored-by: hughhhh <hughmil3s@gmail.com> Co-authored-by: Corbin Robb <31329271+corbinrobb@users.noreply.github.com> Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local> Co-authored-by: Daniel W <61300812+The-hyphen-user@users.noreply.github.com> Co-authored-by: Srini Kadamati <skadamat@gmail.com> Co-authored-by: Grace Guo <grace.guo@airbnb.com> Co-authored-by: Đặng Minh Dũng <dungdm93@live.com> Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com> Co-authored-by: ofekisr <35701650+ofekisr@users.noreply.github.com> Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com> Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com> Co-authored-by: Yongjie Zhao <yongjie.zhao@gmail.com> Co-authored-by: Stephen Liu <750188453@qq.com> Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> Co-authored-by: Adam Dobrawy <ad-m@users.noreply.github.com> Co-authored-by: Beto Dealmeida <roberto@dealmeida.net> Co-authored-by: Emily Wu <86927881+em0227@users.noreply.github.com> Co-authored-by: Josue Lugaro <82119536+JosueLugaro@users.noreply.github.com> Co-authored-by: Arash <arash.afghahi@gmail.com> Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com> Co-authored-by: Daniel Vaz Gaspar <danielvazgaspar@gmail.com> Co-authored-by: Elizabeth Thompson <eschutho@gmail.com> Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com> Co-authored-by: Erik Ritter <erik.ritter@airbnb.com> Co-authored-by: Hammad-Raza <hammadraza42@hotmail.com> Co-authored-by: jayakrishnankk <kk.jayakrishnan@gmail.com> Co-authored-by: Jayakrishnan Karolil <jayakrishnan.karolil@nielsen.com> Co-authored-by: Farid Rener <proteusvacuum@users.noreply.github.com>
* chore: split CLI into multiple files * Update tests * Who fixes the fixtures? * Add subcommands dynamically * Rebase
* setup docusaurus * rename * add introduction content * chore(docsV2): move content from docs to docsV2 (apache#17714) * add FAQs and contribution pages * chore: add api, security, and roadmap pages, include swaggerui in dependency for api page * chore: move api page header below imports * chore: change API page info alert to use built in Infima class instead of custom class Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local> * chore(docs-v2): moving more markdown content to new documentation site (apache#17736) * chore: move markdown content and images for docs installation directory to docs-v2 * chore: move docs miscellaneous directory content to docs-v2 * chore(docs-v2): move over connecting to databases content and rename some files to .mdx Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local> * Update styling and logo (apache#17990) * update styling * update colors * chore(docs-v2): remove blog and tutorial and update some styling (apache#17929) * add superset logo and favicon, change styles to better match current docs, add prettierrc * change file types to mdx * Add simple superset dark mode freindly logo * clean up default pages - blog and tutorial docs Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local> * Chore: moving charts and dashboard to docusaurus (apache#18036) * add contributing add creating charts and dashboards * delete extra images * update rat-excludes * Port homepage (apache#18115) * Port community page (apache#18128) * chore: add seo redirects for Docs v@ (apache#18092) * fix: handle null values in time-series table (apache#18039) * cleanup column_type_mappings (apache#17569) Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * important change to MakeFile (apache#18037) * Update superset-e2e.yml (apache#18041) * Revert "Update superset-e2e.yml (apache#18041)" (apache#18051) This reverts commit 892bc0f. * feat: Trino Authentications (apache#17593) * feat: support Trino Authentications Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * docs: Trino Authentications Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * chore(supeset.utils.core): move all database utils to database utils module (apache#18058) * chore(plugin-chart-echarts): add types to controls (apache#18059) * fix(generator): more cleanup to plugin framework (apache#18027) * fix(generator): more cleanup to plugin framework * fix typo and package name * add docs * fix typo * Update superset-frontend/webpack.config.js Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com> * fix generator reference * add steps to tutorial and fix package version * refine docs/readme Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com> * feat(advanced analytics): support groupby in resample (apache#18045) * fix(dashboard): scope of nativefilter not update (apache#18048) * fix(generator): add lockfile and fix styling issues (apache#18073) * fix(generator): add lockfile and fix styling issues * fix margins and remove redundant scroll * update tutorial * refactor(sql_lab): SQL Lab Persistent Saved State (apache#17771) * a lot of console logs * testing * test * added saved_query to remoteId * created useEffect so that title properly changes in modal * Update superset-frontend/src/SqlLab/actions/sqlLab.js Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> * refactor(example_data): replace the way the birth_names data is loaded to DB (apache#18060) * refactor: replace the way the birth_names data is loaded to DB * fix failed unit test * fix failed unit test * fix failed tests * fix pass wrong flag of support datetime type * remove unused fixture * feat: add chart description in info tooltip (apache#17207) * feat: add chart list description * fix: text overflow * fix: text-overflow with line-height * Correction of proper names format in README (apache#18087) * chore: added SEO routes * fix can't use examples helpers on non app context based environment (apache#18086) * chore: split CLI into multiple files (apache#18082) * chore: split CLI into multiple files * Update tests * Who fixes the fixtures? * Add subcommands dynamically * Rebase * fix misspelling (apache#18097) * refactor: sqleditorleftbar to functional (apache#17807) * Working on converting sqleditorleftbar to functional component * Creating draft PR to address bug * Still working on solving re rendering bug * infinite rerender fix * Creating draft PR to address bug * Cleaning up in preparation for push * Made changes suggested by Elizabeth * Fixed issues as per Lindsey's comment Co-authored-by: Arash <arash.afghahi@gmail.com> * fix rat excludes and headers * fix(docs): fix path of image for "Create New Chart" (apache#18089) * Migrate Checkbox story to tsx - see apache#18100 (apache#18101) Looks good! * refactor: migrate RowCountLabel to TypeScript & added story (apache#18105) * enable superbook for explore component * migrate RowCountLabel to TypeScript * add storybook for RowCountLabel * fix: logging warning on dataframe (don't use python's warnings) (apache#18111) * fix: logging warning on dataframe (don't use python's warnings) * lint * update changelog and updating for 1.4.0 (apache#18083) * feat: Adds a key-value endpoint to store charts form data (apache#17882) * feat: Adds a key-value endpoint to store charts form data * Fixes linting problems * Removes the query_params from the endpoints * Refactors the commands * Removes unused imports * Changes the parameters to use dataclass * Adds more access tests * Gets the first dataset while testing * Adds unit tests for the check_access function * Changes the can_access check * Always check for dataset access * fix(explore): fix chart embed code modal glitch (apache#17843) * feat(plugin-chart-echarts): support non-timeseries x-axis (apache#17917) * feat(plugin-chart-echarts): support non-timeseries x-axis * fix tests * change formula return type from Date to number * add x_axis test coverage * rename func and improve coverage * add x-axis control to bar chart * remove redundant console.log * fix description * make x-axis control mandatory * 🙃 * fix x-axis formatter * fix showValues * fix implicit rDTTM_ALIAS references in postProcessing * replace TIME_COLUMN with DTTM_ALIAS * fix remaining implicit indexes * fix: Disable filtering on wide result sets (apache#18021) * fix: handle null values in time-series table (apache#18039) * cleanup column_type_mappings (apache#17569) Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * important change to MakeFile (apache#18037) * add missing is_timeseries to pivot op Co-authored-by: Erik Ritter <erik.ritter@airbnb.com> Co-authored-by: Grace Guo <grace.guo@airbnb.com> Co-authored-by: Đặng Minh Dũng <dungdm93@live.com> Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com> * feat(country-map): added new countries in country-chart-map (apache#18081) * chore: migrating storybook jsx to typescript apache#18100 (apache#18133) * Migrating storybook jsx to typescript apache#18100 * Migrating storybook jsx to typescript Co-authored-by: Jayakrishnan Karolil <jayakrishnan.karolil@nielsen.com> * feat(annotation): add toast feedback to annotation templates (apache#18116) * feat(dashboard): add toast feedback to dashboard actions (apache#18114) * feat(explore): more toast feedback on user actions in Explore (apache#18108) * feat(explore): add toasts feedback when user copies chart url * Show toast message when updating chart properties * Change toast type to success when saving chart * Use success toast from props * Fix tests * Use withToasts instead of dispatch * Use PropertiesModalProps instead of any * Docs: fix typo (apache#18125) * fix: undefined error when adding extra sequential color scheme (apache#18152) * feat: allow assets to be managed externally (apache#18093) * feat: allow assets to be managed externally * Use server_default * chore: use pkg_resources for cleaner config (apache#18130) * refactor: Moves the Explore form_data endpoint (apache#18151) * refactor: Moves the Explore form_data endpoint * Removes unused imports * Fixes openapi schema error * Fixes typo * Renames and UPDATING.md Co-authored-by: Grace Guo <grace.guo@airbnb.com> Co-authored-by: Đặng Minh Dũng <dungdm93@live.com> Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com> Co-authored-by: Hugh A. Miles II <hughmil3s@gmail.com> Co-authored-by: ofekisr <35701650+ofekisr@users.noreply.github.com> Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com> Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com> Co-authored-by: Yongjie Zhao <yongjie.zhao@gmail.com> Co-authored-by: Stephen Liu <750188453@qq.com> Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> Co-authored-by: Adam Dobrawy <ad-m@users.noreply.github.com> Co-authored-by: Beto Dealmeida <roberto@dealmeida.net> Co-authored-by: Emily Wu <86927881+em0227@users.noreply.github.com> Co-authored-by: Josue Lugaro <82119536+JosueLugaro@users.noreply.github.com> Co-authored-by: Arash <arash.afghahi@gmail.com> Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com> Co-authored-by: Daniel Vaz Gaspar <danielvazgaspar@gmail.com> Co-authored-by: Elizabeth Thompson <eschutho@gmail.com> Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com> Co-authored-by: Erik Ritter <erik.ritter@airbnb.com> Co-authored-by: Hammad-Raza <hammadraza42@hotmail.com> Co-authored-by: jayakrishnankk <kk.jayakrishnan@gmail.com> Co-authored-by: Jayakrishnan Karolil <jayakrishnan.karolil@nielsen.com> Co-authored-by: Farid Rener <proteusvacuum@users.noreply.github.com> * remove unneeded requirement Co-authored-by: Corbin Robb <31329271+corbinrobb@users.noreply.github.com> Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local> Co-authored-by: Daniel W <61300812+The-hyphen-user@users.noreply.github.com> Co-authored-by: Geido <60598000+geido@users.noreply.github.com> Co-authored-by: Srini Kadamati <skadamat@gmail.com> Co-authored-by: Grace Guo <grace.guo@airbnb.com> Co-authored-by: Đặng Minh Dũng <dungdm93@live.com> Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com> Co-authored-by: ofekisr <35701650+ofekisr@users.noreply.github.com> Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com> Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com> Co-authored-by: Yongjie Zhao <yongjie.zhao@gmail.com> Co-authored-by: Stephen Liu <750188453@qq.com> Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> Co-authored-by: Adam Dobrawy <ad-m@users.noreply.github.com> Co-authored-by: Beto Dealmeida <roberto@dealmeida.net> Co-authored-by: Emily Wu <86927881+em0227@users.noreply.github.com> Co-authored-by: Josue Lugaro <82119536+JosueLugaro@users.noreply.github.com> Co-authored-by: Arash <arash.afghahi@gmail.com> Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com> Co-authored-by: Daniel Vaz Gaspar <danielvazgaspar@gmail.com> Co-authored-by: Elizabeth Thompson <eschutho@gmail.com> Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com> Co-authored-by: Erik Ritter <erik.ritter@airbnb.com> Co-authored-by: Hammad-Raza <hammadraza42@hotmail.com> Co-authored-by: jayakrishnankk <kk.jayakrishnan@gmail.com> Co-authored-by: Jayakrishnan Karolil <jayakrishnan.karolil@nielsen.com> Co-authored-by: Farid Rener <proteusvacuum@users.noreply.github.com>
* setup docusaurus * rename * add introduction content * chore(docsV2): move content from docs to docsV2 (apache#17714) * add FAQs and contribution pages * chore: add api, security, and roadmap pages, include swaggerui in dependency for api page * chore: move api page header below imports * chore: change API page info alert to use built in Infima class instead of custom class Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local> * chore(docs-v2): moving more markdown content to new documentation site (apache#17736) * chore: move markdown content and images for docs installation directory to docs-v2 * chore: move docs miscellaneous directory content to docs-v2 * chore(docs-v2): move over connecting to databases content and rename some files to .mdx Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local> * Update styling and logo (apache#17990) * update styling * update colors * chore(docs-v2): remove blog and tutorial and update some styling (apache#17929) * add superset logo and favicon, change styles to better match current docs, add prettierrc * change file types to mdx * Add simple superset dark mode freindly logo * clean up default pages - blog and tutorial docs Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local> * Chore: moving charts and dashboard to docusaurus (apache#18036) * add contributing add creating charts and dashboards * delete extra images * update rat-excludes * Port homepage (apache#18115) * Port community page (apache#18128) * chore: add seo redirects for Docs v@ (apache#18092) * fix: handle null values in time-series table (apache#18039) * cleanup column_type_mappings (apache#17569) Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * important change to MakeFile (apache#18037) * Update superset-e2e.yml (apache#18041) * Revert "Update superset-e2e.yml (apache#18041)" (apache#18051) This reverts commit 892bc0f. * feat: Trino Authentications (apache#17593) * feat: support Trino Authentications Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * docs: Trino Authentications Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * chore(supeset.utils.core): move all database utils to database utils module (apache#18058) * chore(plugin-chart-echarts): add types to controls (apache#18059) * fix(generator): more cleanup to plugin framework (apache#18027) * fix(generator): more cleanup to plugin framework * fix typo and package name * add docs * fix typo * Update superset-frontend/webpack.config.js Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com> * fix generator reference * add steps to tutorial and fix package version * refine docs/readme Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com> * feat(advanced analytics): support groupby in resample (apache#18045) * fix(dashboard): scope of nativefilter not update (apache#18048) * fix(generator): add lockfile and fix styling issues (apache#18073) * fix(generator): add lockfile and fix styling issues * fix margins and remove redundant scroll * update tutorial * refactor(sql_lab): SQL Lab Persistent Saved State (apache#17771) * a lot of console logs * testing * test * added saved_query to remoteId * created useEffect so that title properly changes in modal * Update superset-frontend/src/SqlLab/actions/sqlLab.js Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> * refactor(example_data): replace the way the birth_names data is loaded to DB (apache#18060) * refactor: replace the way the birth_names data is loaded to DB * fix failed unit test * fix failed unit test * fix failed tests * fix pass wrong flag of support datetime type * remove unused fixture * feat: add chart description in info tooltip (apache#17207) * feat: add chart list description * fix: text overflow * fix: text-overflow with line-height * Correction of proper names format in README (apache#18087) * chore: added SEO routes * fix can't use examples helpers on non app context based environment (apache#18086) * chore: split CLI into multiple files (apache#18082) * chore: split CLI into multiple files * Update tests * Who fixes the fixtures? * Add subcommands dynamically * Rebase * fix misspelling (apache#18097) * refactor: sqleditorleftbar to functional (apache#17807) * Working on converting sqleditorleftbar to functional component * Creating draft PR to address bug * Still working on solving re rendering bug * infinite rerender fix * Creating draft PR to address bug * Cleaning up in preparation for push * Made changes suggested by Elizabeth * Fixed issues as per Lindsey's comment Co-authored-by: Arash <arash.afghahi@gmail.com> * fix rat excludes and headers * fix(docs): fix path of image for "Create New Chart" (apache#18089) * Migrate Checkbox story to tsx - see apache#18100 (apache#18101) Looks good! * refactor: migrate RowCountLabel to TypeScript & added story (apache#18105) * enable superbook for explore component * migrate RowCountLabel to TypeScript * add storybook for RowCountLabel * fix: logging warning on dataframe (don't use python's warnings) (apache#18111) * fix: logging warning on dataframe (don't use python's warnings) * lint * update changelog and updating for 1.4.0 (apache#18083) * feat: Adds a key-value endpoint to store charts form data (apache#17882) * feat: Adds a key-value endpoint to store charts form data * Fixes linting problems * Removes the query_params from the endpoints * Refactors the commands * Removes unused imports * Changes the parameters to use dataclass * Adds more access tests * Gets the first dataset while testing * Adds unit tests for the check_access function * Changes the can_access check * Always check for dataset access * fix(explore): fix chart embed code modal glitch (apache#17843) * feat(plugin-chart-echarts): support non-timeseries x-axis (apache#17917) * feat(plugin-chart-echarts): support non-timeseries x-axis * fix tests * change formula return type from Date to number * add x_axis test coverage * rename func and improve coverage * add x-axis control to bar chart * remove redundant console.log * fix description * make x-axis control mandatory * 🙃 * fix x-axis formatter * fix showValues * fix implicit rDTTM_ALIAS references in postProcessing * replace TIME_COLUMN with DTTM_ALIAS * fix remaining implicit indexes * fix: Disable filtering on wide result sets (apache#18021) * fix: handle null values in time-series table (apache#18039) * cleanup column_type_mappings (apache#17569) Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * important change to MakeFile (apache#18037) * add missing is_timeseries to pivot op Co-authored-by: Erik Ritter <erik.ritter@airbnb.com> Co-authored-by: Grace Guo <grace.guo@airbnb.com> Co-authored-by: Đặng Minh Dũng <dungdm93@live.com> Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com> * feat(country-map): added new countries in country-chart-map (apache#18081) * chore: migrating storybook jsx to typescript apache#18100 (apache#18133) * Migrating storybook jsx to typescript apache#18100 * Migrating storybook jsx to typescript Co-authored-by: Jayakrishnan Karolil <jayakrishnan.karolil@nielsen.com> * feat(annotation): add toast feedback to annotation templates (apache#18116) * feat(dashboard): add toast feedback to dashboard actions (apache#18114) * feat(explore): more toast feedback on user actions in Explore (apache#18108) * feat(explore): add toasts feedback when user copies chart url * Show toast message when updating chart properties * Change toast type to success when saving chart * Use success toast from props * Fix tests * Use withToasts instead of dispatch * Use PropertiesModalProps instead of any * Docs: fix typo (apache#18125) * fix: undefined error when adding extra sequential color scheme (apache#18152) * feat: allow assets to be managed externally (apache#18093) * feat: allow assets to be managed externally * Use server_default * chore: use pkg_resources for cleaner config (apache#18130) * refactor: Moves the Explore form_data endpoint (apache#18151) * refactor: Moves the Explore form_data endpoint * Removes unused imports * Fixes openapi schema error * Fixes typo * Renames and UPDATING.md Co-authored-by: Grace Guo <grace.guo@airbnb.com> Co-authored-by: Đặng Minh Dũng <dungdm93@live.com> Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com> Co-authored-by: Hugh A. Miles II <hughmil3s@gmail.com> Co-authored-by: ofekisr <35701650+ofekisr@users.noreply.github.com> Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com> Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com> Co-authored-by: Yongjie Zhao <yongjie.zhao@gmail.com> Co-authored-by: Stephen Liu <750188453@qq.com> Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> Co-authored-by: Adam Dobrawy <ad-m@users.noreply.github.com> Co-authored-by: Beto Dealmeida <roberto@dealmeida.net> Co-authored-by: Emily Wu <86927881+em0227@users.noreply.github.com> Co-authored-by: Josue Lugaro <82119536+JosueLugaro@users.noreply.github.com> Co-authored-by: Arash <arash.afghahi@gmail.com> Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com> Co-authored-by: Daniel Vaz Gaspar <danielvazgaspar@gmail.com> Co-authored-by: Elizabeth Thompson <eschutho@gmail.com> Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com> Co-authored-by: Erik Ritter <erik.ritter@airbnb.com> Co-authored-by: Hammad-Raza <hammadraza42@hotmail.com> Co-authored-by: jayakrishnankk <kk.jayakrishnan@gmail.com> Co-authored-by: Jayakrishnan Karolil <jayakrishnan.karolil@nielsen.com> Co-authored-by: Farid Rener <proteusvacuum@users.noreply.github.com> * fix up links * Fix whitespace * Remove unwanted change * Add apache links Co-authored-by: hughhhh <hughmil3s@gmail.com> Co-authored-by: Corbin Robb <31329271+corbinrobb@users.noreply.github.com> Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local> Co-authored-by: Daniel W <61300812+The-hyphen-user@users.noreply.github.com> Co-authored-by: Srini Kadamati <skadamat@gmail.com> Co-authored-by: Grace Guo <grace.guo@airbnb.com> Co-authored-by: Đặng Minh Dũng <dungdm93@live.com> Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com> Co-authored-by: ofekisr <35701650+ofekisr@users.noreply.github.com> Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com> Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com> Co-authored-by: Yongjie Zhao <yongjie.zhao@gmail.com> Co-authored-by: Stephen Liu <750188453@qq.com> Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> Co-authored-by: Adam Dobrawy <ad-m@users.noreply.github.com> Co-authored-by: Beto Dealmeida <roberto@dealmeida.net> Co-authored-by: Emily Wu <86927881+em0227@users.noreply.github.com> Co-authored-by: Josue Lugaro <82119536+JosueLugaro@users.noreply.github.com> Co-authored-by: Arash <arash.afghahi@gmail.com> Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com> Co-authored-by: Daniel Vaz Gaspar <danielvazgaspar@gmail.com> Co-authored-by: Elizabeth Thompson <eschutho@gmail.com> Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com> Co-authored-by: Erik Ritter <erik.ritter@airbnb.com> Co-authored-by: Hammad-Raza <hammadraza42@hotmail.com> Co-authored-by: jayakrishnankk <kk.jayakrishnan@gmail.com> Co-authored-by: Jayakrishnan Karolil <jayakrishnan.karolil@nielsen.com> Co-authored-by: Farid Rener <proteusvacuum@users.noreply.github.com>
* setup docusaurus * rename * add introduction content * chore(docsV2): move content from docs to docsV2 (apache#17714) * add FAQs and contribution pages * chore: add api, security, and roadmap pages, include swaggerui in dependency for api page * chore: move api page header below imports * chore: change API page info alert to use built in Infima class instead of custom class Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local> * chore(docs-v2): moving more markdown content to new documentation site (apache#17736) * chore: move markdown content and images for docs installation directory to docs-v2 * chore: move docs miscellaneous directory content to docs-v2 * chore(docs-v2): move over connecting to databases content and rename some files to .mdx Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local> * Update styling and logo (apache#17990) * update styling * update colors * chore(docs-v2): remove blog and tutorial and update some styling (apache#17929) * add superset logo and favicon, change styles to better match current docs, add prettierrc * change file types to mdx * Add simple superset dark mode freindly logo * clean up default pages - blog and tutorial docs Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local> * Chore: moving charts and dashboard to docusaurus (apache#18036) * add contributing add creating charts and dashboards * delete extra images * update rat-excludes * Port homepage (apache#18115) * Port community page (apache#18128) * chore: add seo redirects for Docs v@ (apache#18092) * fix: handle null values in time-series table (apache#18039) * cleanup column_type_mappings (apache#17569) Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * important change to MakeFile (apache#18037) * Update superset-e2e.yml (apache#18041) * Revert "Update superset-e2e.yml (apache#18041)" (apache#18051) This reverts commit 892bc0f. * feat: Trino Authentications (apache#17593) * feat: support Trino Authentications Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * docs: Trino Authentications Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * chore(supeset.utils.core): move all database utils to database utils module (apache#18058) * chore(plugin-chart-echarts): add types to controls (apache#18059) * fix(generator): more cleanup to plugin framework (apache#18027) * fix(generator): more cleanup to plugin framework * fix typo and package name * add docs * fix typo * Update superset-frontend/webpack.config.js Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com> * fix generator reference * add steps to tutorial and fix package version * refine docs/readme Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com> * feat(advanced analytics): support groupby in resample (apache#18045) * fix(dashboard): scope of nativefilter not update (apache#18048) * fix(generator): add lockfile and fix styling issues (apache#18073) * fix(generator): add lockfile and fix styling issues * fix margins and remove redundant scroll * update tutorial * refactor(sql_lab): SQL Lab Persistent Saved State (apache#17771) * a lot of console logs * testing * test * added saved_query to remoteId * created useEffect so that title properly changes in modal * Update superset-frontend/src/SqlLab/actions/sqlLab.js Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> * refactor(example_data): replace the way the birth_names data is loaded to DB (apache#18060) * refactor: replace the way the birth_names data is loaded to DB * fix failed unit test * fix failed unit test * fix failed tests * fix pass wrong flag of support datetime type * remove unused fixture * feat: add chart description in info tooltip (apache#17207) * feat: add chart list description * fix: text overflow * fix: text-overflow with line-height * Correction of proper names format in README (apache#18087) * chore: added SEO routes * fix can't use examples helpers on non app context based environment (apache#18086) * chore: split CLI into multiple files (apache#18082) * chore: split CLI into multiple files * Update tests * Who fixes the fixtures? * Add subcommands dynamically * Rebase * fix misspelling (apache#18097) * refactor: sqleditorleftbar to functional (apache#17807) * Working on converting sqleditorleftbar to functional component * Creating draft PR to address bug * Still working on solving re rendering bug * infinite rerender fix * Creating draft PR to address bug * Cleaning up in preparation for push * Made changes suggested by Elizabeth * Fixed issues as per Lindsey's comment Co-authored-by: Arash <arash.afghahi@gmail.com> * fix rat excludes and headers * fix(docs): fix path of image for "Create New Chart" (apache#18089) * Migrate Checkbox story to tsx - see apache#18100 (apache#18101) Looks good! * refactor: migrate RowCountLabel to TypeScript & added story (apache#18105) * enable superbook for explore component * migrate RowCountLabel to TypeScript * add storybook for RowCountLabel * fix: logging warning on dataframe (don't use python's warnings) (apache#18111) * fix: logging warning on dataframe (don't use python's warnings) * lint * update changelog and updating for 1.4.0 (apache#18083) * feat: Adds a key-value endpoint to store charts form data (apache#17882) * feat: Adds a key-value endpoint to store charts form data * Fixes linting problems * Removes the query_params from the endpoints * Refactors the commands * Removes unused imports * Changes the parameters to use dataclass * Adds more access tests * Gets the first dataset while testing * Adds unit tests for the check_access function * Changes the can_access check * Always check for dataset access * fix(explore): fix chart embed code modal glitch (apache#17843) * feat(plugin-chart-echarts): support non-timeseries x-axis (apache#17917) * feat(plugin-chart-echarts): support non-timeseries x-axis * fix tests * change formula return type from Date to number * add x_axis test coverage * rename func and improve coverage * add x-axis control to bar chart * remove redundant console.log * fix description * make x-axis control mandatory * 🙃 * fix x-axis formatter * fix showValues * fix implicit rDTTM_ALIAS references in postProcessing * replace TIME_COLUMN with DTTM_ALIAS * fix remaining implicit indexes * fix: Disable filtering on wide result sets (apache#18021) * fix: handle null values in time-series table (apache#18039) * cleanup column_type_mappings (apache#17569) Signed-off-by: Đặng Minh Dũng <dungdm93@live.com> * important change to MakeFile (apache#18037) * add missing is_timeseries to pivot op Co-authored-by: Erik Ritter <erik.ritter@airbnb.com> Co-authored-by: Grace Guo <grace.guo@airbnb.com> Co-authored-by: Đặng Minh Dũng <dungdm93@live.com> Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com> * feat(country-map): added new countries in country-chart-map (apache#18081) * chore: migrating storybook jsx to typescript apache#18100 (apache#18133) * Migrating storybook jsx to typescript apache#18100 * Migrating storybook jsx to typescript Co-authored-by: Jayakrishnan Karolil <jayakrishnan.karolil@nielsen.com> * feat(annotation): add toast feedback to annotation templates (apache#18116) * feat(dashboard): add toast feedback to dashboard actions (apache#18114) * feat(explore): more toast feedback on user actions in Explore (apache#18108) * feat(explore): add toasts feedback when user copies chart url * Show toast message when updating chart properties * Change toast type to success when saving chart * Use success toast from props * Fix tests * Use withToasts instead of dispatch * Use PropertiesModalProps instead of any * Docs: fix typo (apache#18125) * fix: undefined error when adding extra sequential color scheme (apache#18152) * feat: allow assets to be managed externally (apache#18093) * feat: allow assets to be managed externally * Use server_default * chore: use pkg_resources for cleaner config (apache#18130) * refactor: Moves the Explore form_data endpoint (apache#18151) * refactor: Moves the Explore form_data endpoint * Removes unused imports * Fixes openapi schema error * Fixes typo * Renames and UPDATING.md Co-authored-by: Grace Guo <grace.guo@airbnb.com> Co-authored-by: Đặng Minh Dũng <dungdm93@live.com> Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com> Co-authored-by: Hugh A. Miles II <hughmil3s@gmail.com> Co-authored-by: ofekisr <35701650+ofekisr@users.noreply.github.com> Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com> Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com> Co-authored-by: Yongjie Zhao <yongjie.zhao@gmail.com> Co-authored-by: Stephen Liu <750188453@qq.com> Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> Co-authored-by: Adam Dobrawy <ad-m@users.noreply.github.com> Co-authored-by: Beto Dealmeida <roberto@dealmeida.net> Co-authored-by: Emily Wu <86927881+em0227@users.noreply.github.com> Co-authored-by: Josue Lugaro <82119536+JosueLugaro@users.noreply.github.com> Co-authored-by: Arash <arash.afghahi@gmail.com> Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com> Co-authored-by: Daniel Vaz Gaspar <danielvazgaspar@gmail.com> Co-authored-by: Elizabeth Thompson <eschutho@gmail.com> Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com> Co-authored-by: Erik Ritter <erik.ritter@airbnb.com> Co-authored-by: Hammad-Raza <hammadraza42@hotmail.com> Co-authored-by: jayakrishnankk <kk.jayakrishnan@gmail.com> Co-authored-by: Jayakrishnan Karolil <jayakrishnan.karolil@nielsen.com> Co-authored-by: Farid Rener <proteusvacuum@users.noreply.github.com> * Fix broken build * Revert unwanted change Co-authored-by: hughhhh <hughmil3s@gmail.com> Co-authored-by: Corbin Robb <31329271+corbinrobb@users.noreply.github.com> Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local> Co-authored-by: Daniel W <61300812+The-hyphen-user@users.noreply.github.com> Co-authored-by: Srini Kadamati <skadamat@gmail.com> Co-authored-by: Grace Guo <grace.guo@airbnb.com> Co-authored-by: Đặng Minh Dũng <dungdm93@live.com> Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com> Co-authored-by: ofekisr <35701650+ofekisr@users.noreply.github.com> Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com> Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com> Co-authored-by: Yongjie Zhao <yongjie.zhao@gmail.com> Co-authored-by: Stephen Liu <750188453@qq.com> Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> Co-authored-by: Adam Dobrawy <ad-m@users.noreply.github.com> Co-authored-by: Beto Dealmeida <roberto@dealmeida.net> Co-authored-by: Emily Wu <86927881+em0227@users.noreply.github.com> Co-authored-by: Josue Lugaro <82119536+JosueLugaro@users.noreply.github.com> Co-authored-by: Arash <arash.afghahi@gmail.com> Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com> Co-authored-by: Daniel Vaz Gaspar <danielvazgaspar@gmail.com> Co-authored-by: Elizabeth Thompson <eschutho@gmail.com> Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com> Co-authored-by: Erik Ritter <erik.ritter@airbnb.com> Co-authored-by: Hammad-Raza <hammadraza42@hotmail.com> Co-authored-by: jayakrishnankk <kk.jayakrishnan@gmail.com> Co-authored-by: Jayakrishnan Karolil <jayakrishnan.karolil@nielsen.com> Co-authored-by: Farid Rener <proteusvacuum@users.noreply.github.com>
SUMMARY
This PR splits the
superset/cli.pyfile into multiple files.BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
Before:
After:
TESTING INSTRUCTIONS
Nothing should have changed, and all superset commands should run as before.
I tested
init,db upgrade, andversion.ADDITIONAL INFORMATION