-
Notifications
You must be signed in to change notification settings - Fork 13.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Adds a key-value endpoint to store charts form data #17882
feat: Adds a key-value endpoint to store charts form data #17882
Conversation
Codecov Report
@@ Coverage Diff @@
## master #17882 +/- ##
==========================================
- Coverage 67.10% 66.71% -0.39%
==========================================
Files 1612 1627 +15
Lines 64999 65428 +429
Branches 6872 6872
==========================================
+ Hits 43616 43653 +37
- Misses 19513 19905 +392
Partials 1870 1870
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
95496ad
to
322c8c9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First pass comments. The new API design looks good, but I think we may still need some further fine tuning.
Great comments @villebro. I tackled them all. |
ec87198
to
4e047ad
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few last comments, but looking really good 👍 LMKWYT
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving to unblock this PR as the majority of my comments were not blocking.
a5da396
to
07e06e5
Compare
That's not how it will work. A new key will be generated only when mounting. After that, we'll use the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for tackling this problem. I have a couple of questions and would be curious to hear your thoughts:
- We already has a short url generator that produces a numeric ID. Will this replace it?
- Since the key is after a chart id, does this mean when users create a new chart, we'd have to create a new chart object first, too? IIRC, currently we don't do that.
- We already have a KeyValue model that is more persistent than
Flask-Caching
. Is there a reason why we are not reusing it? It feels to me both dashboard filter states and explore chart states should be persistent since they will produce sharable URLs. We may need a mechanism to periodically delete old records to reduce database size, but that's better than cache server failure causing a URL to go stale at an unpredictable time.
superset/config.py
Outdated
@@ -577,6 +577,15 @@ def _try_json_readsha(filepath: str, length: int) -> Optional[str]: | |||
"REFRESH_TIMEOUT_ON_RETRIEVAL": True, | |||
} | |||
|
|||
# Cache for chart form data | |||
CHART_FORM_DATA_CACHE_CONFIG: CacheConfig = { | |||
"CACHE_TYPE": "filesystem", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to the doc, the cache type name filesystem
is deprecated since 1.9.1. Superset is using 1.10.1.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @ktmud. These are all great questions that also appeared while we were discussing this feature internally. This is a great opportunity to post the conclusions of those discussions 😄
- We already have a short URL generator that produces a numeric ID. Will this replace it?
We considered using this generator but the problem was its numerical characteristics. It allows a user to guess potential IDs and it's not ideal for the type of information that could be stored. The idea is to replace the short URL generator with this new approach while maintaining backward compatibility. This will be handled by another PR that is already in development.
- Since the key is after a chart id, does this mean when users create a new chart, we'd have to create a new chart object first, too? IIRC, currently we don't do that.
We won't need to create a new chart object first. This part in the PR's description talks about it:
All the endpoints accept an optional query parameter called dataset_id that is used for the cases when a chart is not saved yet but we want to preserve the state. In this case, the chart ID shall be set to 0:
POST api/v1/chart/0/form_data?dataset_id=<id>
In this case, the primary resource is the dataset and all its security rules are applied.
- We already have a KeyValue model that is more persistent than
Flask-Caching
. Is there a reason why we are not reusing it? It feels to me both dashboard filter states and explore chart states should be persistent since they will produce sharable URLs. We may need a mechanism to periodically delete old records to reduce database size, but that's better than cache server failure causing a URL to go stale at an unpredictable time.
That was in fact our first approach. We discarded this solution because:
- The numerical nature of the IDs
- The lack of management properties associated with the entries prevents the maintainability of the records.
- This feature is behind a feature flag and is disabled by default. Changing its state constitutes a breaking change.
- We would need to develop the management system (we even did that during the POC). This logic is already handled by Flask-Caching.
- We wanted to provide administrators with the possibility of choosing which persistence mechanism is best suited for their use cases. Some will use Redis as the main persistence mechanism while periodically storing the memory content on the disk. This can ensure performance and persistence at the same time. Others will use the file system to store this type of information and so on.
According to the doc, the cache type name filesystem is deprecated since 1.9.1. Superset is using 1.10.1.
Oh, you're right! Thanks for pointing that out. I'll replace it with FileSystemCache
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@michael-s-molina Thanks for the additional context! This answers some of my questions but I'm having a couple of more:
- I understand why numerical IDs can be problematic in some cases but I'm not sure why would we treat temporary chart states differently than we do for a chart or dashboard itself? If we should not, then in the long run, do we plan to change how chart/dashboard/dataset id are generated as well?
/api/v1/chart/0/form_data?dataset_id=<id>
works but theid == 0
check feels hacky. Why not just use a new endpoint? You may not even needchart_id
ordataset_id
in the API URI anyway since you can save that information in form data (or a wrapper payload for the whole temporary Explore state). I.e., when creating the new chart, users see the URL/explore/?dataset_id=xxx
, the client makes a POST request to/api/v1/chart/0/form_data
, API returns a form data key, then client URL is updated to/explore/?key=abceded
, where the key would contain all the information the client needs---starting chart id or dataset id + updated full form data.
or is_owner(chart, actor) | ||
or security_manager.can_access("can_write", "Chart") | ||
) | ||
if can_access_chart: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure we want to limit Explore state access only to those who can create charts. If users can read a chart, then they should be able to explore a chart as well.
This check is also inconsistent in terms of whether dataset access is used to prevent access to an Explore state. The Explore page also checks dataset access so the resource_id == 0
check seems redundant.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- I understand why numerical IDs can be problematic in some cases but I'm not sure why would we treat temporary chart states differently than we do for a chart or dashboard itself? If we should not, then in the long run, do we plan to change how chart/dashboard/dataset id are generated as well?
I would advocate for changing them in the long run. Numerical IDs can facilitate Insecure Direct Object References and Cross Site Scripting (XSS) attacks and also open the door for Business Intelligence Leaks.
/api/v1/chart/0/form_data?dataset_id=<id>
works but theid == 0
check feels hacky. Why not just use a new endpoint?
We considered using different endpoints for the saved/unsaved states, but it felt like overkill for a very specific use case because a new endpoint means new docs, tests, API, security rules, etc.
You may not even need
chart_id
ordataset_id
in the API URI anyway since you can save that information in form data (or a wrapper payload for the whole temporary Explore state).
That's true and it was one of the options on the table but we preferred the more RESTy approach with the resource identifier and the query parameter. We also didn't want to force any kind of schema to the value.
I.e., when creating the new chart, users see the URL
/explore/?dataset_id=xxx
, the client makes a POST request to/api/v1/chart/0/form_data
, API returns a form data key, then client URL is updated to/explore/?key=abceded
, where the key would contain all the information the client needs---starting chart id or dataset id + updated full form data.
That's pretty much the current flow developed in the follow-up PR that I'm working on related to the client-side part 😉. Since the client is the owner of the value, they can control what type of information is stored, so I like your idea of also saving the chart ID and dataset ID alongside the value to keep only the key in the URL. I'll follow your suggestion in the client-side PR. The only thing is that the server shouldn’t account for this information and should continue to work with the resource identifier and query parameter.
I'm not sure we want to limit Explore state access only to those who can create charts. If users can read a chart, then they should be able to explore a chart as well.
Makes sense. Will change it.
This check is also inconsistent in terms of whether dataset access is used to prevent access to an Explore state.
Here we're assuming that if a user has access to a chart, it means that they have access to the dataset. That's why we only check the dataset when the chart is not saved.
The Explore page also checks dataset access so the resource_id == 0 check seems redundant.
That's true but we also need to consider a call to the API directly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here we're assuming that if a user has access to a chart, it means that they have access to the dataset. That's why we only check the dataset when the chart is not saved.
What I meant is your access control when chart id is present doesn't seem to check dataset access, then why would it be necessary when chart id is not? We may want to change the former if the answer for my next question is yes (see below) but that would be a separate PR since it'd break some current workflows.
That's true but we also need to consider a call to the API directly.
The only information leaked would be the chart configuration, maybe some axis label names and metrics/columns used, which is different than accessing the dataset itself. Do we consider these sensitive--for those with global read access to charts?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What I meant is your access control when chart id is present doesn't seem to check dataset access, then why would it be necessary when chart id is not?
When the chart ID is present, the dataset access is indirectly checked because if the user has access to the chart it means they can see the content that is coming from the dataset, so if a user has access to a chart it means they also have access to the underlying dataset. If the chart ID is not present, it's necessary to check for dataset access so we can store dataset-related information.
The only information leaked would be the chart configuration, maybe some axis label names and metrics/columns used, which is different than accessing the dataset itself. Do we consider these sensitive--for those with global read access to charts?
We can store sensitive information that directly correlates to the data such as selected filter values, emitted filters, color properties associated with values, etc. We can also store information about the underlying database like schemas, tables, columns, etc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if the user has access to the chart it means they can see the content that is coming from the dataset, so if a user has access to a chart it means they also have access to the underlying dataset
This is not true. A user can select any dataset to be the datasource of their chart. We cannot automatically assign dataset access to anyone who was added as the owner (or reader, if that role exists) of a chart. These two has to be separate.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I may have missed it, but I don't think we have RBAC for charts right now. I'm okay with blocking user access to temporary form data if they don't have access to a chart, but IMO users shouldn't automatically gain access to the dataset just because they have access to chart metadata. Knowing what columns or possible values may be in the dataset is very different than viewing the actual data in the dataset.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was discussing your point internally and you were right! We have some cases where it's better to check for dataset access independently of chart access. I updated the check_access
function accordingly and also the tests to reflect this change. Thank you for bringing this to my attention 🙂
Thank you reviewers for your great contributions. I will continue the work on the client-side now, where further adjustments can be made. |
* fix: handle null values in time-series table (#18039) * cleanup column_type_mappings (#17569) Signed-off-by: Đặng Minh Dũng <[email protected]> * 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 <[email protected]> * docs: Trino Authentications Signed-off-by: Đặng Minh Dũng <[email protected]> * 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 <[email protected]> * fix generator reference * add steps to tutorial and fix package version * refine docs/readme Co-authored-by: Kamil Gabryjelski <[email protected]> * 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 <[email protected]> Co-authored-by: Lyndsi Kay Williams <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * important change to MakeFile (#18037) * add missing is_timeseries to pivot op Co-authored-by: Erik Ritter <[email protected]> Co-authored-by: Grace Guo <[email protected]> Co-authored-by: Đặng Minh Dũng <[email protected]> Co-authored-by: AAfghahi <[email protected]> * 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 <[email protected]> * 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 <[email protected]> Co-authored-by: Đặng Minh Dũng <[email protected]> Co-authored-by: AAfghahi <[email protected]> Co-authored-by: Hugh A. Miles II <[email protected]> Co-authored-by: ofekisr <[email protected]> Co-authored-by: Ville Brofeldt <[email protected]> Co-authored-by: Kamil Gabryjelski <[email protected]> Co-authored-by: Yongjie Zhao <[email protected]> Co-authored-by: Stephen Liu <[email protected]> Co-authored-by: Lyndsi Kay Williams <[email protected]> Co-authored-by: Adam Dobrawy <[email protected]> Co-authored-by: Beto Dealmeida <[email protected]> Co-authored-by: Emily Wu <[email protected]> Co-authored-by: Josue Lugaro <[email protected]> Co-authored-by: Arash <[email protected]> Co-authored-by: Ville Brofeldt <[email protected]> Co-authored-by: Daniel Vaz Gaspar <[email protected]> Co-authored-by: Elizabeth Thompson <[email protected]> Co-authored-by: Michael S. Molina <[email protected]> Co-authored-by: Erik Ritter <[email protected]> Co-authored-by: Hammad-Raza <[email protected]> Co-authored-by: jayakrishnankk <[email protected]> Co-authored-by: Jayakrishnan Karolil <[email protected]> Co-authored-by: Farid Rener <[email protected]>
* 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 <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * docs: Trino Authentications Signed-off-by: Đặng Minh Dũng <[email protected]> * 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 <[email protected]> * fix generator reference * add steps to tutorial and fix package version * refine docs/readme Co-authored-by: Kamil Gabryjelski <[email protected]> * 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 <[email protected]> Co-authored-by: Lyndsi Kay Williams <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * important change to MakeFile (#18037) * add missing is_timeseries to pivot op Co-authored-by: Erik Ritter <[email protected]> Co-authored-by: Grace Guo <[email protected]> Co-authored-by: Đặng Minh Dũng <[email protected]> Co-authored-by: AAfghahi <[email protected]> * 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 <[email protected]> * 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 <[email protected]> Co-authored-by: Đặng Minh Dũng <[email protected]> Co-authored-by: AAfghahi <[email protected]> Co-authored-by: Hugh A. Miles II <[email protected]> Co-authored-by: ofekisr <[email protected]> Co-authored-by: Ville Brofeldt <[email protected]> Co-authored-by: Kamil Gabryjelski <[email protected]> Co-authored-by: Yongjie Zhao <[email protected]> Co-authored-by: Stephen Liu <[email protected]> Co-authored-by: Lyndsi Kay Williams <[email protected]> Co-authored-by: Adam Dobrawy <[email protected]> Co-authored-by: Beto Dealmeida <[email protected]> Co-authored-by: Emily Wu <[email protected]> Co-authored-by: Josue Lugaro <[email protected]> Co-authored-by: Arash <[email protected]> Co-authored-by: Ville Brofeldt <[email protected]> Co-authored-by: Daniel Vaz Gaspar <[email protected]> Co-authored-by: Elizabeth Thompson <[email protected]> Co-authored-by: Michael S. Molina <[email protected]> Co-authored-by: Erik Ritter <[email protected]> Co-authored-by: Hammad-Raza <[email protected]> Co-authored-by: jayakrishnankk <[email protected]> Co-authored-by: Jayakrishnan Karolil <[email protected]> Co-authored-by: Farid Rener <[email protected]> * remove unneeded requirement Co-authored-by: Corbin Robb <[email protected]> Co-authored-by: Corbin Robb <[email protected]> Co-authored-by: Daniel W <[email protected]> Co-authored-by: Geido <[email protected]> Co-authored-by: Srini Kadamati <[email protected]> Co-authored-by: Grace Guo <[email protected]> Co-authored-by: Đặng Minh Dũng <[email protected]> Co-authored-by: AAfghahi <[email protected]> Co-authored-by: ofekisr <[email protected]> Co-authored-by: Ville Brofeldt <[email protected]> Co-authored-by: Kamil Gabryjelski <[email protected]> Co-authored-by: Yongjie Zhao <[email protected]> Co-authored-by: Stephen Liu <[email protected]> Co-authored-by: Lyndsi Kay Williams <[email protected]> Co-authored-by: Adam Dobrawy <[email protected]> Co-authored-by: Beto Dealmeida <[email protected]> Co-authored-by: Emily Wu <[email protected]> Co-authored-by: Josue Lugaro <[email protected]> Co-authored-by: Arash <[email protected]> Co-authored-by: Ville Brofeldt <[email protected]> Co-authored-by: Daniel Vaz Gaspar <[email protected]> Co-authored-by: Elizabeth Thompson <[email protected]> Co-authored-by: Michael S. Molina <[email protected]> Co-authored-by: Erik Ritter <[email protected]> Co-authored-by: Hammad-Raza <[email protected]> Co-authored-by: jayakrishnankk <[email protected]> Co-authored-by: Jayakrishnan Karolil <[email protected]> Co-authored-by: Farid Rener <[email protected]>
* 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 <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * docs: Trino Authentications Signed-off-by: Đặng Minh Dũng <[email protected]> * 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 <[email protected]> * fix generator reference * add steps to tutorial and fix package version * refine docs/readme Co-authored-by: Kamil Gabryjelski <[email protected]> * 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 <[email protected]> Co-authored-by: Lyndsi Kay Williams <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * important change to MakeFile (#18037) * add missing is_timeseries to pivot op Co-authored-by: Erik Ritter <[email protected]> Co-authored-by: Grace Guo <[email protected]> Co-authored-by: Đặng Minh Dũng <[email protected]> Co-authored-by: AAfghahi <[email protected]> * 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 <[email protected]> * 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 <[email protected]> Co-authored-by: Đặng Minh Dũng <[email protected]> Co-authored-by: AAfghahi <[email protected]> Co-authored-by: Hugh A. Miles II <[email protected]> Co-authored-by: ofekisr <[email protected]> Co-authored-by: Ville Brofeldt <[email protected]> Co-authored-by: Kamil Gabryjelski <[email protected]> Co-authored-by: Yongjie Zhao <[email protected]> Co-authored-by: Stephen Liu <[email protected]> Co-authored-by: Lyndsi Kay Williams <[email protected]> Co-authored-by: Adam Dobrawy <[email protected]> Co-authored-by: Beto Dealmeida <[email protected]> Co-authored-by: Emily Wu <[email protected]> Co-authored-by: Josue Lugaro <[email protected]> Co-authored-by: Arash <[email protected]> Co-authored-by: Ville Brofeldt <[email protected]> Co-authored-by: Daniel Vaz Gaspar <[email protected]> Co-authored-by: Elizabeth Thompson <[email protected]> Co-authored-by: Michael S. Molina <[email protected]> Co-authored-by: Erik Ritter <[email protected]> Co-authored-by: Hammad-Raza <[email protected]> Co-authored-by: jayakrishnankk <[email protected]> Co-authored-by: Jayakrishnan Karolil <[email protected]> Co-authored-by: Farid Rener <[email protected]> * fix up links * Fix whitespace * Remove unwanted change * Add apache links Co-authored-by: hughhhh <[email protected]> Co-authored-by: Corbin Robb <[email protected]> Co-authored-by: Corbin Robb <[email protected]> Co-authored-by: Daniel W <[email protected]> Co-authored-by: Srini Kadamati <[email protected]> Co-authored-by: Grace Guo <[email protected]> Co-authored-by: Đặng Minh Dũng <[email protected]> Co-authored-by: AAfghahi <[email protected]> Co-authored-by: ofekisr <[email protected]> Co-authored-by: Ville Brofeldt <[email protected]> Co-authored-by: Kamil Gabryjelski <[email protected]> Co-authored-by: Yongjie Zhao <[email protected]> Co-authored-by: Stephen Liu <[email protected]> Co-authored-by: Lyndsi Kay Williams <[email protected]> Co-authored-by: Adam Dobrawy <[email protected]> Co-authored-by: Beto Dealmeida <[email protected]> Co-authored-by: Emily Wu <[email protected]> Co-authored-by: Josue Lugaro <[email protected]> Co-authored-by: Arash <[email protected]> Co-authored-by: Ville Brofeldt <[email protected]> Co-authored-by: Daniel Vaz Gaspar <[email protected]> Co-authored-by: Elizabeth Thompson <[email protected]> Co-authored-by: Michael S. Molina <[email protected]> Co-authored-by: Erik Ritter <[email protected]> Co-authored-by: Hammad-Raza <[email protected]> Co-authored-by: jayakrishnankk <[email protected]> Co-authored-by: Jayakrishnan Karolil <[email protected]> Co-authored-by: Farid Rener <[email protected]>
* 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 <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * docs: Trino Authentications Signed-off-by: Đặng Minh Dũng <[email protected]> * 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 <[email protected]> * fix generator reference * add steps to tutorial and fix package version * refine docs/readme Co-authored-by: Kamil Gabryjelski <[email protected]> * 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 <[email protected]> Co-authored-by: Lyndsi Kay Williams <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * important change to MakeFile (#18037) * add missing is_timeseries to pivot op Co-authored-by: Erik Ritter <[email protected]> Co-authored-by: Grace Guo <[email protected]> Co-authored-by: Đặng Minh Dũng <[email protected]> Co-authored-by: AAfghahi <[email protected]> * 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 <[email protected]> * 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 <[email protected]> Co-authored-by: Đặng Minh Dũng <[email protected]> Co-authored-by: AAfghahi <[email protected]> Co-authored-by: Hugh A. Miles II <[email protected]> Co-authored-by: ofekisr <[email protected]> Co-authored-by: Ville Brofeldt <[email protected]> Co-authored-by: Kamil Gabryjelski <[email protected]> Co-authored-by: Yongjie Zhao <[email protected]> Co-authored-by: Stephen Liu <[email protected]> Co-authored-by: Lyndsi Kay Williams <[email protected]> Co-authored-by: Adam Dobrawy <[email protected]> Co-authored-by: Beto Dealmeida <[email protected]> Co-authored-by: Emily Wu <[email protected]> Co-authored-by: Josue Lugaro <[email protected]> Co-authored-by: Arash <[email protected]> Co-authored-by: Ville Brofeldt <[email protected]> Co-authored-by: Daniel Vaz Gaspar <[email protected]> Co-authored-by: Elizabeth Thompson <[email protected]> Co-authored-by: Michael S. Molina <[email protected]> Co-authored-by: Erik Ritter <[email protected]> Co-authored-by: Hammad-Raza <[email protected]> Co-authored-by: jayakrishnankk <[email protected]> Co-authored-by: Jayakrishnan Karolil <[email protected]> Co-authored-by: Farid Rener <[email protected]> * Fix broken build * Revert unwanted change Co-authored-by: hughhhh <[email protected]> Co-authored-by: Corbin Robb <[email protected]> Co-authored-by: Corbin Robb <[email protected]> Co-authored-by: Daniel W <[email protected]> Co-authored-by: Srini Kadamati <[email protected]> Co-authored-by: Grace Guo <[email protected]> Co-authored-by: Đặng Minh Dũng <[email protected]> Co-authored-by: AAfghahi <[email protected]> Co-authored-by: ofekisr <[email protected]> Co-authored-by: Ville Brofeldt <[email protected]> Co-authored-by: Kamil Gabryjelski <[email protected]> Co-authored-by: Yongjie Zhao <[email protected]> Co-authored-by: Stephen Liu <[email protected]> Co-authored-by: Lyndsi Kay Williams <[email protected]> Co-authored-by: Adam Dobrawy <[email protected]> Co-authored-by: Beto Dealmeida <[email protected]> Co-authored-by: Emily Wu <[email protected]> Co-authored-by: Josue Lugaro <[email protected]> Co-authored-by: Arash <[email protected]> Co-authored-by: Ville Brofeldt <[email protected]> Co-authored-by: Daniel Vaz Gaspar <[email protected]> Co-authored-by: Elizabeth Thompson <[email protected]> Co-authored-by: Michael S. Molina <[email protected]> Co-authored-by: Erik Ritter <[email protected]> Co-authored-by: Hammad-Raza <[email protected]> Co-authored-by: jayakrishnankk <[email protected]> Co-authored-by: Jayakrishnan Karolil <[email protected]> Co-authored-by: Farid Rener <[email protected]>
* 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
* 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 <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * docs: Trino Authentications Signed-off-by: Đặng Minh Dũng <[email protected]> * 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 <[email protected]> * fix generator reference * add steps to tutorial and fix package version * refine docs/readme Co-authored-by: Kamil Gabryjelski <[email protected]> * 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 <[email protected]> Co-authored-by: Lyndsi Kay Williams <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * important change to MakeFile (apache#18037) * add missing is_timeseries to pivot op Co-authored-by: Erik Ritter <[email protected]> Co-authored-by: Grace Guo <[email protected]> Co-authored-by: Đặng Minh Dũng <[email protected]> Co-authored-by: AAfghahi <[email protected]> * 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 <[email protected]> * 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 <[email protected]> Co-authored-by: Đặng Minh Dũng <[email protected]> Co-authored-by: AAfghahi <[email protected]> Co-authored-by: Hugh A. Miles II <[email protected]> Co-authored-by: ofekisr <[email protected]> Co-authored-by: Ville Brofeldt <[email protected]> Co-authored-by: Kamil Gabryjelski <[email protected]> Co-authored-by: Yongjie Zhao <[email protected]> Co-authored-by: Stephen Liu <[email protected]> Co-authored-by: Lyndsi Kay Williams <[email protected]> Co-authored-by: Adam Dobrawy <[email protected]> Co-authored-by: Beto Dealmeida <[email protected]> Co-authored-by: Emily Wu <[email protected]> Co-authored-by: Josue Lugaro <[email protected]> Co-authored-by: Arash <[email protected]> Co-authored-by: Ville Brofeldt <[email protected]> Co-authored-by: Daniel Vaz Gaspar <[email protected]> Co-authored-by: Elizabeth Thompson <[email protected]> Co-authored-by: Michael S. Molina <[email protected]> Co-authored-by: Erik Ritter <[email protected]> Co-authored-by: Hammad-Raza <[email protected]> Co-authored-by: jayakrishnankk <[email protected]> Co-authored-by: Jayakrishnan Karolil <[email protected]> Co-authored-by: Farid Rener <[email protected]> * remove unneeded requirement Co-authored-by: Corbin Robb <[email protected]> Co-authored-by: Corbin Robb <[email protected]> Co-authored-by: Daniel W <[email protected]> Co-authored-by: Geido <[email protected]> Co-authored-by: Srini Kadamati <[email protected]> Co-authored-by: Grace Guo <[email protected]> Co-authored-by: Đặng Minh Dũng <[email protected]> Co-authored-by: AAfghahi <[email protected]> Co-authored-by: ofekisr <[email protected]> Co-authored-by: Ville Brofeldt <[email protected]> Co-authored-by: Kamil Gabryjelski <[email protected]> Co-authored-by: Yongjie Zhao <[email protected]> Co-authored-by: Stephen Liu <[email protected]> Co-authored-by: Lyndsi Kay Williams <[email protected]> Co-authored-by: Adam Dobrawy <[email protected]> Co-authored-by: Beto Dealmeida <[email protected]> Co-authored-by: Emily Wu <[email protected]> Co-authored-by: Josue Lugaro <[email protected]> Co-authored-by: Arash <[email protected]> Co-authored-by: Ville Brofeldt <[email protected]> Co-authored-by: Daniel Vaz Gaspar <[email protected]> Co-authored-by: Elizabeth Thompson <[email protected]> Co-authored-by: Michael S. Molina <[email protected]> Co-authored-by: Erik Ritter <[email protected]> Co-authored-by: Hammad-Raza <[email protected]> Co-authored-by: jayakrishnankk <[email protected]> Co-authored-by: Jayakrishnan Karolil <[email protected]> Co-authored-by: Farid Rener <[email protected]>
* 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 <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * docs: Trino Authentications Signed-off-by: Đặng Minh Dũng <[email protected]> * 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 <[email protected]> * fix generator reference * add steps to tutorial and fix package version * refine docs/readme Co-authored-by: Kamil Gabryjelski <[email protected]> * 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 <[email protected]> Co-authored-by: Lyndsi Kay Williams <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * important change to MakeFile (apache#18037) * add missing is_timeseries to pivot op Co-authored-by: Erik Ritter <[email protected]> Co-authored-by: Grace Guo <[email protected]> Co-authored-by: Đặng Minh Dũng <[email protected]> Co-authored-by: AAfghahi <[email protected]> * 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 <[email protected]> * 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 <[email protected]> Co-authored-by: Đặng Minh Dũng <[email protected]> Co-authored-by: AAfghahi <[email protected]> Co-authored-by: Hugh A. Miles II <[email protected]> Co-authored-by: ofekisr <[email protected]> Co-authored-by: Ville Brofeldt <[email protected]> Co-authored-by: Kamil Gabryjelski <[email protected]> Co-authored-by: Yongjie Zhao <[email protected]> Co-authored-by: Stephen Liu <[email protected]> Co-authored-by: Lyndsi Kay Williams <[email protected]> Co-authored-by: Adam Dobrawy <[email protected]> Co-authored-by: Beto Dealmeida <[email protected]> Co-authored-by: Emily Wu <[email protected]> Co-authored-by: Josue Lugaro <[email protected]> Co-authored-by: Arash <[email protected]> Co-authored-by: Ville Brofeldt <[email protected]> Co-authored-by: Daniel Vaz Gaspar <[email protected]> Co-authored-by: Elizabeth Thompson <[email protected]> Co-authored-by: Michael S. Molina <[email protected]> Co-authored-by: Erik Ritter <[email protected]> Co-authored-by: Hammad-Raza <[email protected]> Co-authored-by: jayakrishnankk <[email protected]> Co-authored-by: Jayakrishnan Karolil <[email protected]> Co-authored-by: Farid Rener <[email protected]> * fix up links * Fix whitespace * Remove unwanted change * Add apache links Co-authored-by: hughhhh <[email protected]> Co-authored-by: Corbin Robb <[email protected]> Co-authored-by: Corbin Robb <[email protected]> Co-authored-by: Daniel W <[email protected]> Co-authored-by: Srini Kadamati <[email protected]> Co-authored-by: Grace Guo <[email protected]> Co-authored-by: Đặng Minh Dũng <[email protected]> Co-authored-by: AAfghahi <[email protected]> Co-authored-by: ofekisr <[email protected]> Co-authored-by: Ville Brofeldt <[email protected]> Co-authored-by: Kamil Gabryjelski <[email protected]> Co-authored-by: Yongjie Zhao <[email protected]> Co-authored-by: Stephen Liu <[email protected]> Co-authored-by: Lyndsi Kay Williams <[email protected]> Co-authored-by: Adam Dobrawy <[email protected]> Co-authored-by: Beto Dealmeida <[email protected]> Co-authored-by: Emily Wu <[email protected]> Co-authored-by: Josue Lugaro <[email protected]> Co-authored-by: Arash <[email protected]> Co-authored-by: Ville Brofeldt <[email protected]> Co-authored-by: Daniel Vaz Gaspar <[email protected]> Co-authored-by: Elizabeth Thompson <[email protected]> Co-authored-by: Michael S. Molina <[email protected]> Co-authored-by: Erik Ritter <[email protected]> Co-authored-by: Hammad-Raza <[email protected]> Co-authored-by: jayakrishnankk <[email protected]> Co-authored-by: Jayakrishnan Karolil <[email protected]> Co-authored-by: Farid Rener <[email protected]>
* 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 <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * docs: Trino Authentications Signed-off-by: Đặng Minh Dũng <[email protected]> * 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 <[email protected]> * fix generator reference * add steps to tutorial and fix package version * refine docs/readme Co-authored-by: Kamil Gabryjelski <[email protected]> * 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 <[email protected]> Co-authored-by: Lyndsi Kay Williams <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * important change to MakeFile (apache#18037) * add missing is_timeseries to pivot op Co-authored-by: Erik Ritter <[email protected]> Co-authored-by: Grace Guo <[email protected]> Co-authored-by: Đặng Minh Dũng <[email protected]> Co-authored-by: AAfghahi <[email protected]> * 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 <[email protected]> * 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 <[email protected]> Co-authored-by: Đặng Minh Dũng <[email protected]> Co-authored-by: AAfghahi <[email protected]> Co-authored-by: Hugh A. Miles II <[email protected]> Co-authored-by: ofekisr <[email protected]> Co-authored-by: Ville Brofeldt <[email protected]> Co-authored-by: Kamil Gabryjelski <[email protected]> Co-authored-by: Yongjie Zhao <[email protected]> Co-authored-by: Stephen Liu <[email protected]> Co-authored-by: Lyndsi Kay Williams <[email protected]> Co-authored-by: Adam Dobrawy <[email protected]> Co-authored-by: Beto Dealmeida <[email protected]> Co-authored-by: Emily Wu <[email protected]> Co-authored-by: Josue Lugaro <[email protected]> Co-authored-by: Arash <[email protected]> Co-authored-by: Ville Brofeldt <[email protected]> Co-authored-by: Daniel Vaz Gaspar <[email protected]> Co-authored-by: Elizabeth Thompson <[email protected]> Co-authored-by: Michael S. Molina <[email protected]> Co-authored-by: Erik Ritter <[email protected]> Co-authored-by: Hammad-Raza <[email protected]> Co-authored-by: jayakrishnankk <[email protected]> Co-authored-by: Jayakrishnan Karolil <[email protected]> Co-authored-by: Farid Rener <[email protected]> * Fix broken build * Revert unwanted change Co-authored-by: hughhhh <[email protected]> Co-authored-by: Corbin Robb <[email protected]> Co-authored-by: Corbin Robb <[email protected]> Co-authored-by: Daniel W <[email protected]> Co-authored-by: Srini Kadamati <[email protected]> Co-authored-by: Grace Guo <[email protected]> Co-authored-by: Đặng Minh Dũng <[email protected]> Co-authored-by: AAfghahi <[email protected]> Co-authored-by: ofekisr <[email protected]> Co-authored-by: Ville Brofeldt <[email protected]> Co-authored-by: Kamil Gabryjelski <[email protected]> Co-authored-by: Yongjie Zhao <[email protected]> Co-authored-by: Stephen Liu <[email protected]> Co-authored-by: Lyndsi Kay Williams <[email protected]> Co-authored-by: Adam Dobrawy <[email protected]> Co-authored-by: Beto Dealmeida <[email protected]> Co-authored-by: Emily Wu <[email protected]> Co-authored-by: Josue Lugaro <[email protected]> Co-authored-by: Arash <[email protected]> Co-authored-by: Ville Brofeldt <[email protected]> Co-authored-by: Daniel Vaz Gaspar <[email protected]> Co-authored-by: Elizabeth Thompson <[email protected]> Co-authored-by: Michael S. Molina <[email protected]> Co-authored-by: Erik Ritter <[email protected]> Co-authored-by: Hammad-Raza <[email protected]> Co-authored-by: jayakrishnankk <[email protected]> Co-authored-by: Jayakrishnan Karolil <[email protected]> Co-authored-by: Farid Rener <[email protected]>
* 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
* 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 <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * docs: Trino Authentications Signed-off-by: Đặng Minh Dũng <[email protected]> * 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 <[email protected]> * fix generator reference * add steps to tutorial and fix package version * refine docs/readme Co-authored-by: Kamil Gabryjelski <[email protected]> * 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 <[email protected]> Co-authored-by: Lyndsi Kay Williams <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * important change to MakeFile (apache#18037) * add missing is_timeseries to pivot op Co-authored-by: Erik Ritter <[email protected]> Co-authored-by: Grace Guo <[email protected]> Co-authored-by: Đặng Minh Dũng <[email protected]> Co-authored-by: AAfghahi <[email protected]> * 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 <[email protected]> * 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 <[email protected]> Co-authored-by: Đặng Minh Dũng <[email protected]> Co-authored-by: AAfghahi <[email protected]> Co-authored-by: Hugh A. Miles II <[email protected]> Co-authored-by: ofekisr <[email protected]> Co-authored-by: Ville Brofeldt <[email protected]> Co-authored-by: Kamil Gabryjelski <[email protected]> Co-authored-by: Yongjie Zhao <[email protected]> Co-authored-by: Stephen Liu <[email protected]> Co-authored-by: Lyndsi Kay Williams <[email protected]> Co-authored-by: Adam Dobrawy <[email protected]> Co-authored-by: Beto Dealmeida <[email protected]> Co-authored-by: Emily Wu <[email protected]> Co-authored-by: Josue Lugaro <[email protected]> Co-authored-by: Arash <[email protected]> Co-authored-by: Ville Brofeldt <[email protected]> Co-authored-by: Daniel Vaz Gaspar <[email protected]> Co-authored-by: Elizabeth Thompson <[email protected]> Co-authored-by: Michael S. Molina <[email protected]> Co-authored-by: Erik Ritter <[email protected]> Co-authored-by: Hammad-Raza <[email protected]> Co-authored-by: jayakrishnankk <[email protected]> Co-authored-by: Jayakrishnan Karolil <[email protected]> Co-authored-by: Farid Rener <[email protected]> * remove unneeded requirement Co-authored-by: Corbin Robb <[email protected]> Co-authored-by: Corbin Robb <[email protected]> Co-authored-by: Daniel W <[email protected]> Co-authored-by: Geido <[email protected]> Co-authored-by: Srini Kadamati <[email protected]> Co-authored-by: Grace Guo <[email protected]> Co-authored-by: Đặng Minh Dũng <[email protected]> Co-authored-by: AAfghahi <[email protected]> Co-authored-by: ofekisr <[email protected]> Co-authored-by: Ville Brofeldt <[email protected]> Co-authored-by: Kamil Gabryjelski <[email protected]> Co-authored-by: Yongjie Zhao <[email protected]> Co-authored-by: Stephen Liu <[email protected]> Co-authored-by: Lyndsi Kay Williams <[email protected]> Co-authored-by: Adam Dobrawy <[email protected]> Co-authored-by: Beto Dealmeida <[email protected]> Co-authored-by: Emily Wu <[email protected]> Co-authored-by: Josue Lugaro <[email protected]> Co-authored-by: Arash <[email protected]> Co-authored-by: Ville Brofeldt <[email protected]> Co-authored-by: Daniel Vaz Gaspar <[email protected]> Co-authored-by: Elizabeth Thompson <[email protected]> Co-authored-by: Michael S. Molina <[email protected]> Co-authored-by: Erik Ritter <[email protected]> Co-authored-by: Hammad-Raza <[email protected]> Co-authored-by: jayakrishnankk <[email protected]> Co-authored-by: Jayakrishnan Karolil <[email protected]> Co-authored-by: Farid Rener <[email protected]>
* 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 <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * docs: Trino Authentications Signed-off-by: Đặng Minh Dũng <[email protected]> * 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 <[email protected]> * fix generator reference * add steps to tutorial and fix package version * refine docs/readme Co-authored-by: Kamil Gabryjelski <[email protected]> * 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 <[email protected]> Co-authored-by: Lyndsi Kay Williams <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * important change to MakeFile (apache#18037) * add missing is_timeseries to pivot op Co-authored-by: Erik Ritter <[email protected]> Co-authored-by: Grace Guo <[email protected]> Co-authored-by: Đặng Minh Dũng <[email protected]> Co-authored-by: AAfghahi <[email protected]> * 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 <[email protected]> * 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 <[email protected]> Co-authored-by: Đặng Minh Dũng <[email protected]> Co-authored-by: AAfghahi <[email protected]> Co-authored-by: Hugh A. Miles II <[email protected]> Co-authored-by: ofekisr <[email protected]> Co-authored-by: Ville Brofeldt <[email protected]> Co-authored-by: Kamil Gabryjelski <[email protected]> Co-authored-by: Yongjie Zhao <[email protected]> Co-authored-by: Stephen Liu <[email protected]> Co-authored-by: Lyndsi Kay Williams <[email protected]> Co-authored-by: Adam Dobrawy <[email protected]> Co-authored-by: Beto Dealmeida <[email protected]> Co-authored-by: Emily Wu <[email protected]> Co-authored-by: Josue Lugaro <[email protected]> Co-authored-by: Arash <[email protected]> Co-authored-by: Ville Brofeldt <[email protected]> Co-authored-by: Daniel Vaz Gaspar <[email protected]> Co-authored-by: Elizabeth Thompson <[email protected]> Co-authored-by: Michael S. Molina <[email protected]> Co-authored-by: Erik Ritter <[email protected]> Co-authored-by: Hammad-Raza <[email protected]> Co-authored-by: jayakrishnankk <[email protected]> Co-authored-by: Jayakrishnan Karolil <[email protected]> Co-authored-by: Farid Rener <[email protected]> * fix up links * Fix whitespace * Remove unwanted change * Add apache links Co-authored-by: hughhhh <[email protected]> Co-authored-by: Corbin Robb <[email protected]> Co-authored-by: Corbin Robb <[email protected]> Co-authored-by: Daniel W <[email protected]> Co-authored-by: Srini Kadamati <[email protected]> Co-authored-by: Grace Guo <[email protected]> Co-authored-by: Đặng Minh Dũng <[email protected]> Co-authored-by: AAfghahi <[email protected]> Co-authored-by: ofekisr <[email protected]> Co-authored-by: Ville Brofeldt <[email protected]> Co-authored-by: Kamil Gabryjelski <[email protected]> Co-authored-by: Yongjie Zhao <[email protected]> Co-authored-by: Stephen Liu <[email protected]> Co-authored-by: Lyndsi Kay Williams <[email protected]> Co-authored-by: Adam Dobrawy <[email protected]> Co-authored-by: Beto Dealmeida <[email protected]> Co-authored-by: Emily Wu <[email protected]> Co-authored-by: Josue Lugaro <[email protected]> Co-authored-by: Arash <[email protected]> Co-authored-by: Ville Brofeldt <[email protected]> Co-authored-by: Daniel Vaz Gaspar <[email protected]> Co-authored-by: Elizabeth Thompson <[email protected]> Co-authored-by: Michael S. Molina <[email protected]> Co-authored-by: Erik Ritter <[email protected]> Co-authored-by: Hammad-Raza <[email protected]> Co-authored-by: jayakrishnankk <[email protected]> Co-authored-by: Jayakrishnan Karolil <[email protected]> Co-authored-by: Farid Rener <[email protected]>
* 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 <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * docs: Trino Authentications Signed-off-by: Đặng Minh Dũng <[email protected]> * 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 <[email protected]> * fix generator reference * add steps to tutorial and fix package version * refine docs/readme Co-authored-by: Kamil Gabryjelski <[email protected]> * 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 <[email protected]> Co-authored-by: Lyndsi Kay Williams <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * important change to MakeFile (apache#18037) * add missing is_timeseries to pivot op Co-authored-by: Erik Ritter <[email protected]> Co-authored-by: Grace Guo <[email protected]> Co-authored-by: Đặng Minh Dũng <[email protected]> Co-authored-by: AAfghahi <[email protected]> * 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 <[email protected]> * 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 <[email protected]> Co-authored-by: Đặng Minh Dũng <[email protected]> Co-authored-by: AAfghahi <[email protected]> Co-authored-by: Hugh A. Miles II <[email protected]> Co-authored-by: ofekisr <[email protected]> Co-authored-by: Ville Brofeldt <[email protected]> Co-authored-by: Kamil Gabryjelski <[email protected]> Co-authored-by: Yongjie Zhao <[email protected]> Co-authored-by: Stephen Liu <[email protected]> Co-authored-by: Lyndsi Kay Williams <[email protected]> Co-authored-by: Adam Dobrawy <[email protected]> Co-authored-by: Beto Dealmeida <[email protected]> Co-authored-by: Emily Wu <[email protected]> Co-authored-by: Josue Lugaro <[email protected]> Co-authored-by: Arash <[email protected]> Co-authored-by: Ville Brofeldt <[email protected]> Co-authored-by: Daniel Vaz Gaspar <[email protected]> Co-authored-by: Elizabeth Thompson <[email protected]> Co-authored-by: Michael S. Molina <[email protected]> Co-authored-by: Erik Ritter <[email protected]> Co-authored-by: Hammad-Raza <[email protected]> Co-authored-by: jayakrishnankk <[email protected]> Co-authored-by: Jayakrishnan Karolil <[email protected]> Co-authored-by: Farid Rener <[email protected]> * Fix broken build * Revert unwanted change Co-authored-by: hughhhh <[email protected]> Co-authored-by: Corbin Robb <[email protected]> Co-authored-by: Corbin Robb <[email protected]> Co-authored-by: Daniel W <[email protected]> Co-authored-by: Srini Kadamati <[email protected]> Co-authored-by: Grace Guo <[email protected]> Co-authored-by: Đặng Minh Dũng <[email protected]> Co-authored-by: AAfghahi <[email protected]> Co-authored-by: ofekisr <[email protected]> Co-authored-by: Ville Brofeldt <[email protected]> Co-authored-by: Kamil Gabryjelski <[email protected]> Co-authored-by: Yongjie Zhao <[email protected]> Co-authored-by: Stephen Liu <[email protected]> Co-authored-by: Lyndsi Kay Williams <[email protected]> Co-authored-by: Adam Dobrawy <[email protected]> Co-authored-by: Beto Dealmeida <[email protected]> Co-authored-by: Emily Wu <[email protected]> Co-authored-by: Josue Lugaro <[email protected]> Co-authored-by: Arash <[email protected]> Co-authored-by: Ville Brofeldt <[email protected]> Co-authored-by: Daniel Vaz Gaspar <[email protected]> Co-authored-by: Elizabeth Thompson <[email protected]> Co-authored-by: Michael S. Molina <[email protected]> Co-authored-by: Erik Ritter <[email protected]> Co-authored-by: Hammad-Raza <[email protected]> Co-authored-by: jayakrishnankk <[email protected]> Co-authored-by: Jayakrishnan Karolil <[email protected]> Co-authored-by: Farid Rener <[email protected]>
* 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
* 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 <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * docs: Trino Authentications Signed-off-by: Đặng Minh Dũng <[email protected]> * 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 <[email protected]> * fix generator reference * add steps to tutorial and fix package version * refine docs/readme Co-authored-by: Kamil Gabryjelski <[email protected]> * 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 <[email protected]> Co-authored-by: Lyndsi Kay Williams <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * important change to MakeFile (apache#18037) * add missing is_timeseries to pivot op Co-authored-by: Erik Ritter <[email protected]> Co-authored-by: Grace Guo <[email protected]> Co-authored-by: Đặng Minh Dũng <[email protected]> Co-authored-by: AAfghahi <[email protected]> * 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 <[email protected]> * 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 <[email protected]> Co-authored-by: Đặng Minh Dũng <[email protected]> Co-authored-by: AAfghahi <[email protected]> Co-authored-by: Hugh A. Miles II <[email protected]> Co-authored-by: ofekisr <[email protected]> Co-authored-by: Ville Brofeldt <[email protected]> Co-authored-by: Kamil Gabryjelski <[email protected]> Co-authored-by: Yongjie Zhao <[email protected]> Co-authored-by: Stephen Liu <[email protected]> Co-authored-by: Lyndsi Kay Williams <[email protected]> Co-authored-by: Adam Dobrawy <[email protected]> Co-authored-by: Beto Dealmeida <[email protected]> Co-authored-by: Emily Wu <[email protected]> Co-authored-by: Josue Lugaro <[email protected]> Co-authored-by: Arash <[email protected]> Co-authored-by: Ville Brofeldt <[email protected]> Co-authored-by: Daniel Vaz Gaspar <[email protected]> Co-authored-by: Elizabeth Thompson <[email protected]> Co-authored-by: Michael S. Molina <[email protected]> Co-authored-by: Erik Ritter <[email protected]> Co-authored-by: Hammad-Raza <[email protected]> Co-authored-by: jayakrishnankk <[email protected]> Co-authored-by: Jayakrishnan Karolil <[email protected]> Co-authored-by: Farid Rener <[email protected]> * remove unneeded requirement Co-authored-by: Corbin Robb <[email protected]> Co-authored-by: Corbin Robb <[email protected]> Co-authored-by: Daniel W <[email protected]> Co-authored-by: Geido <[email protected]> Co-authored-by: Srini Kadamati <[email protected]> Co-authored-by: Grace Guo <[email protected]> Co-authored-by: Đặng Minh Dũng <[email protected]> Co-authored-by: AAfghahi <[email protected]> Co-authored-by: ofekisr <[email protected]> Co-authored-by: Ville Brofeldt <[email protected]> Co-authored-by: Kamil Gabryjelski <[email protected]> Co-authored-by: Yongjie Zhao <[email protected]> Co-authored-by: Stephen Liu <[email protected]> Co-authored-by: Lyndsi Kay Williams <[email protected]> Co-authored-by: Adam Dobrawy <[email protected]> Co-authored-by: Beto Dealmeida <[email protected]> Co-authored-by: Emily Wu <[email protected]> Co-authored-by: Josue Lugaro <[email protected]> Co-authored-by: Arash <[email protected]> Co-authored-by: Ville Brofeldt <[email protected]> Co-authored-by: Daniel Vaz Gaspar <[email protected]> Co-authored-by: Elizabeth Thompson <[email protected]> Co-authored-by: Michael S. Molina <[email protected]> Co-authored-by: Erik Ritter <[email protected]> Co-authored-by: Hammad-Raza <[email protected]> Co-authored-by: jayakrishnankk <[email protected]> Co-authored-by: Jayakrishnan Karolil <[email protected]> Co-authored-by: Farid Rener <[email protected]>
* 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 <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * docs: Trino Authentications Signed-off-by: Đặng Minh Dũng <[email protected]> * 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 <[email protected]> * fix generator reference * add steps to tutorial and fix package version * refine docs/readme Co-authored-by: Kamil Gabryjelski <[email protected]> * 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 <[email protected]> Co-authored-by: Lyndsi Kay Williams <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * important change to MakeFile (apache#18037) * add missing is_timeseries to pivot op Co-authored-by: Erik Ritter <[email protected]> Co-authored-by: Grace Guo <[email protected]> Co-authored-by: Đặng Minh Dũng <[email protected]> Co-authored-by: AAfghahi <[email protected]> * 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 <[email protected]> * 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 <[email protected]> Co-authored-by: Đặng Minh Dũng <[email protected]> Co-authored-by: AAfghahi <[email protected]> Co-authored-by: Hugh A. Miles II <[email protected]> Co-authored-by: ofekisr <[email protected]> Co-authored-by: Ville Brofeldt <[email protected]> Co-authored-by: Kamil Gabryjelski <[email protected]> Co-authored-by: Yongjie Zhao <[email protected]> Co-authored-by: Stephen Liu <[email protected]> Co-authored-by: Lyndsi Kay Williams <[email protected]> Co-authored-by: Adam Dobrawy <[email protected]> Co-authored-by: Beto Dealmeida <[email protected]> Co-authored-by: Emily Wu <[email protected]> Co-authored-by: Josue Lugaro <[email protected]> Co-authored-by: Arash <[email protected]> Co-authored-by: Ville Brofeldt <[email protected]> Co-authored-by: Daniel Vaz Gaspar <[email protected]> Co-authored-by: Elizabeth Thompson <[email protected]> Co-authored-by: Michael S. Molina <[email protected]> Co-authored-by: Erik Ritter <[email protected]> Co-authored-by: Hammad-Raza <[email protected]> Co-authored-by: jayakrishnankk <[email protected]> Co-authored-by: Jayakrishnan Karolil <[email protected]> Co-authored-by: Farid Rener <[email protected]> * fix up links * Fix whitespace * Remove unwanted change * Add apache links Co-authored-by: hughhhh <[email protected]> Co-authored-by: Corbin Robb <[email protected]> Co-authored-by: Corbin Robb <[email protected]> Co-authored-by: Daniel W <[email protected]> Co-authored-by: Srini Kadamati <[email protected]> Co-authored-by: Grace Guo <[email protected]> Co-authored-by: Đặng Minh Dũng <[email protected]> Co-authored-by: AAfghahi <[email protected]> Co-authored-by: ofekisr <[email protected]> Co-authored-by: Ville Brofeldt <[email protected]> Co-authored-by: Kamil Gabryjelski <[email protected]> Co-authored-by: Yongjie Zhao <[email protected]> Co-authored-by: Stephen Liu <[email protected]> Co-authored-by: Lyndsi Kay Williams <[email protected]> Co-authored-by: Adam Dobrawy <[email protected]> Co-authored-by: Beto Dealmeida <[email protected]> Co-authored-by: Emily Wu <[email protected]> Co-authored-by: Josue Lugaro <[email protected]> Co-authored-by: Arash <[email protected]> Co-authored-by: Ville Brofeldt <[email protected]> Co-authored-by: Daniel Vaz Gaspar <[email protected]> Co-authored-by: Elizabeth Thompson <[email protected]> Co-authored-by: Michael S. Molina <[email protected]> Co-authored-by: Erik Ritter <[email protected]> Co-authored-by: Hammad-Raza <[email protected]> Co-authored-by: jayakrishnankk <[email protected]> Co-authored-by: Jayakrishnan Karolil <[email protected]> Co-authored-by: Farid Rener <[email protected]>
* 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 <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * docs: Trino Authentications Signed-off-by: Đặng Minh Dũng <[email protected]> * 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 <[email protected]> * fix generator reference * add steps to tutorial and fix package version * refine docs/readme Co-authored-by: Kamil Gabryjelski <[email protected]> * 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 <[email protected]> Co-authored-by: Lyndsi Kay Williams <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * important change to MakeFile (apache#18037) * add missing is_timeseries to pivot op Co-authored-by: Erik Ritter <[email protected]> Co-authored-by: Grace Guo <[email protected]> Co-authored-by: Đặng Minh Dũng <[email protected]> Co-authored-by: AAfghahi <[email protected]> * 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 <[email protected]> * 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 <[email protected]> Co-authored-by: Đặng Minh Dũng <[email protected]> Co-authored-by: AAfghahi <[email protected]> Co-authored-by: Hugh A. Miles II <[email protected]> Co-authored-by: ofekisr <[email protected]> Co-authored-by: Ville Brofeldt <[email protected]> Co-authored-by: Kamil Gabryjelski <[email protected]> Co-authored-by: Yongjie Zhao <[email protected]> Co-authored-by: Stephen Liu <[email protected]> Co-authored-by: Lyndsi Kay Williams <[email protected]> Co-authored-by: Adam Dobrawy <[email protected]> Co-authored-by: Beto Dealmeida <[email protected]> Co-authored-by: Emily Wu <[email protected]> Co-authored-by: Josue Lugaro <[email protected]> Co-authored-by: Arash <[email protected]> Co-authored-by: Ville Brofeldt <[email protected]> Co-authored-by: Daniel Vaz Gaspar <[email protected]> Co-authored-by: Elizabeth Thompson <[email protected]> Co-authored-by: Michael S. Molina <[email protected]> Co-authored-by: Erik Ritter <[email protected]> Co-authored-by: Hammad-Raza <[email protected]> Co-authored-by: jayakrishnankk <[email protected]> Co-authored-by: Jayakrishnan Karolil <[email protected]> Co-authored-by: Farid Rener <[email protected]> * Fix broken build * Revert unwanted change Co-authored-by: hughhhh <[email protected]> Co-authored-by: Corbin Robb <[email protected]> Co-authored-by: Corbin Robb <[email protected]> Co-authored-by: Daniel W <[email protected]> Co-authored-by: Srini Kadamati <[email protected]> Co-authored-by: Grace Guo <[email protected]> Co-authored-by: Đặng Minh Dũng <[email protected]> Co-authored-by: AAfghahi <[email protected]> Co-authored-by: ofekisr <[email protected]> Co-authored-by: Ville Brofeldt <[email protected]> Co-authored-by: Kamil Gabryjelski <[email protected]> Co-authored-by: Yongjie Zhao <[email protected]> Co-authored-by: Stephen Liu <[email protected]> Co-authored-by: Lyndsi Kay Williams <[email protected]> Co-authored-by: Adam Dobrawy <[email protected]> Co-authored-by: Beto Dealmeida <[email protected]> Co-authored-by: Emily Wu <[email protected]> Co-authored-by: Josue Lugaro <[email protected]> Co-authored-by: Arash <[email protected]> Co-authored-by: Ville Brofeldt <[email protected]> Co-authored-by: Daniel Vaz Gaspar <[email protected]> Co-authored-by: Elizabeth Thompson <[email protected]> Co-authored-by: Michael S. Molina <[email protected]> Co-authored-by: Erik Ritter <[email protected]> Co-authored-by: Hammad-Raza <[email protected]> Co-authored-by: jayakrishnankk <[email protected]> Co-authored-by: Jayakrishnan Karolil <[email protected]> Co-authored-by: Farid Rener <[email protected]>
SUMMARY
Currently, the Explore state is being stored in the URL to allow users to preserve their current interactions in case of a refresh and also to transfer context between the dashboard and Explore. The problem with this approach is that when the size of the state is big, it provokes URL length problems with the major browsers.
The proposed solution in this PR is to store the Explore state on the server-side and keep in the URL only a secure key that gives access to the stored content. To do that, we'll extend the current chart endpoint with an additional path that supports the storage of information in the form of key-value entries. By making this endpoint relative to the main resource we can reuse the security model and access grants.
The additional endpoint and the supported operations are:
All the endpoints accept an optional query parameter called
dataset_id
that is used for the cases when a chart is not saved yet but we want to preserve the state. In this case, the chart ID shall be set to 0:The keys are generated on the server-side using the https://docs.python.org/3/library/secrets.html#secrets.token_urlsafe function and the value can be any JSON supported text.
To store the key-value entries, this PR uses Flask-Caching, which enables support to different backends like Redis, Memcached, file system, etc. It also allows the configuration of expiration times for the stored entries in order to discard the ones that are not being used anymore and optimize the required storage space.
This PR also allows a configuration to preserve actively accessed entries by renewing the expiration time every time a value is retrieved.
TESTING INSTRUCTIONS
1 - Execute Python tests
2 - All tests should pass
ADDITIONAL INFORMATION