Repository navigation
[WIP][dashboard scoped filter] part 2: add algorithm to convert checked ids to scope object - #8521
Closed
graceguo-supercat wants to merge 78 commits into
Closed
graceguo-supercat wants to merge 78 commits into
graceguo-supercat wants to merge 78 commits into
Conversation
* [docs] New, document need for PG to use autocommit for CTAS
* [ci] Deprecate flake8 * Addressing @villebro's comments
Also fix isort issue on master
* Separate RC from VERSION * Fix pypi_push.sh and refine instructions * Add SUPERSET_ prefix to env variables * Finalize release instructions * Change one-off to First Time Only * Add tagging of final version * Convert some remaining env variables and add a check step to pypi deploy
* Split up db_engine_specs_test.py into a number of targeted files * Remove db_engine_specs_test.py * isort
* [setup] Fix, download_url
* Allow bypassing DISPLAY_MAX_ROW * Add unit tests and docs * Fix tests * Fix mock * Fix unit test * Revert config change after test * Change behavior * Address comments
* [docs] Crafting a new release
…scenarios (#8448) * Add encrypted_extra to dbs * WIP - UI-based BigQuery connection configuration * Fix 500 bubbling to the surface when adding a database connection * Add check for valid json * black formatting: * isort * Incorporate PR feedback. Thanks all! * black * Typo fix in CONTRIBUTING.md
* [db engine] Add support for Elasticsearch
* [fix] Making client time UTC * Update UPDATING.md
* [sip-15] Adding initial framework * [toast] Addressing etr2460's comments * [fix] Addressing etr2460's comments
…ery (#8462) * Provide documentation for using a Service Account to connect to BigQuery * Alter line wrapping for shorter lines * Whitespace commit to trigger another build (flake) * Another meaningless whitespace change to trigger another build
* [cli] Fix, import datasources exported by UI
* Update CONTRIBUTING.md * Update CONTRIBUTING.md
graceguo-supercat
force-pushed
the
convert-ids-to-tabs-v2
branch
from
November 11, 2019 07:17
70ea11e to
6f0d13b
Compare
graceguo-supercat
force-pushed
the
scope-selector-modal
branch
2 times, most recently
from
November 11, 2019 08:43
d37a36a to
58f69a4
Compare
graceguo-supercat
force-pushed
the
convert-ids-to-tabs-v2
branch
from
November 11, 2019 08:49
6f0d13b to
03b722e
Compare
Author
|
I just realized I messed up this PR with some commits in another PR. so i rebased it again. This PR should only contain the function that converts checked chart ids to scope object (and its unit test). For the comments about filter scope selector, I fixed them in #8404. |
Codecov Report
@@ Coverage Diff @@
## scope-selector-modal #8521 +/- ##
========================================================
+ Coverage 66.76% 66.82% +0.06%
========================================================
Files 467 468 +1
Lines 22850 22893 +43
Branches 2466 2483 +17
========================================================
+ Hits 15255 15299 +44
+ Misses 7434 7433 -1
Partials 161 161
Continue to review full report at Codecov.
|
* Allow customization of documentation icon and text * Set icon width to 100% * Use double quotes for strings
* Add support for database engine SAP Hana * Support hana services Increase time, minute, and second * Fix hana return string * Fix formatting errors
* [docs] Update CHANGELOG with 0.35.0 * [docs] Fix, github md problem
* passing onClick prop to header with the existing onChange method. * basic test checking that label click fires the onChange method. * cleaning up stuff caught by linting.
* Encode feature flags to JSON pessimistically * Add unit test * Remove old imports
graceguo-supercat
force-pushed
the
convert-ids-to-tabs-v2
branch
from
November 13, 2019 17:43
03b722e to
eecf04f
Compare
graceguo-supercat
force-pushed
the
convert-ids-to-tabs-v2
branch
from
November 13, 2019 17:47
eecf04f to
3e83142
Compare
Author
|
please comment on #8559. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CATEGORY
Choose one
SUMMARY
After filter scope selector UI, we will get filters scope data like this format:
dashboard has layout data in tree structure, a simplified example could be like:
this PR will create an algorithm that creates filter scope object for each filter field, and will be merged into dashboard redux state (as part of dashboardFilter state):
Basic rules to decide scope:
scopeobject has 2 fields:tab. A filter can apply to one or multiple tabs.TEST PLAN
new unit test is added.
ADDITIONAL INFORMATION
REVIEWERS
@etr2460 @mistercrunch