Skip to content

Commit

Permalink
Merge branch 'master' into decouple_filter_config_params
Browse files Browse the repository at this point in the history
* master:
  fix: UI toast typo (apache#13026)
  feat(db engines): add support for Opendistro Elasticsearch (AWS ES) (apache#12602)
  fix(build): black failing on master, add to required checks (apache#13039)
  fix: time filter db migration optimization (apache#13015)
  fix: untranslated text content of Dashboard page (apache#13024)
  fix(ci): remove signature requirements for commits to master (apache#13034)
  fix: add alerts and report to default config (apache#12999)
  docs(changelog): add entries for 1.0.1 (apache#12981)
  ci: skip cypress if no code changes (apache#12982)
  chore: add cypress required checks for branch protection (apache#12970)
  Refresh dashboard list after bulk delete (apache#12945)
  Updates storybook to version 6.1.17 (apache#13014)
  feat: Save datapanel state in local storage (apache#12996)
  fix: added text and changed margins (apache#12923)
  chore: Swap Slack Url 2 more places (apache#13004)
  • Loading branch information
amitmiran137 committed Feb 10, 2021
2 parents ce0c3f9 + 3e0681b commit 7891786
Show file tree
Hide file tree
Showing 32 changed files with 4,339 additions and 9,163 deletions.
8 changes: 8 additions & 0 deletions .asf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,21 @@ github:
# contexts are the names of checks that must pass
contexts:
- check
- cypress-matrix (1, chrome)
- cypress-matrix (2, chrome)
- cypress-matrix (3, chrome)
- docker-build
- frontend-build
- pre-commit (3.7)
- python-lint (3.7)
- test-mysql (3.7)
- test-postgres (3.7)
- test-postgres (3.8)
- test-sqlite (3.7)

required_pull_request_reviews:
dismiss_stale_reviews: false
require_code_owner_reviews: true
required_approving_review_count: 1

required_signatures: false
16 changes: 16 additions & 0 deletions .github/workflows/superset-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,47 +56,63 @@ jobs:
ref: "refs/pull/${{ github.event.number }}/merge"
persist-credentials: false
submodules: recursive
- name: Check if python or frontend changes are present
id: check
env:
GITHUB_REPO: ${{ github.repository }}
PR_NUMBER: ${{ github.event.pull_request.number }}
continue-on-error: true
run: ./scripts/ci_check_no_file_changes.sh python frontend
- name: Setup Python
if: steps.check.outcome == 'failure'
uses: actions/setup-python@v2
with:
python-version: "3.7"
- name: OS dependencies
if: steps.check.outcome == 'failure'
uses: ./.github/actions/cached-dependencies
with:
run: |
apt-get-install
- name: Install python dependencies
if: steps.check.outcome == 'failure'
uses: ./.github/actions/cached-dependencies
with:
run: |
pip-upgrade
pip install -r requirements/testing.txt
- name: Setup postgres
if: steps.check.outcome == 'failure'
uses: ./.github/actions/cached-dependencies
with:
run: |
setup-postgres
- name: Import test data
if: steps.check.outcome == 'failure'
uses: ./.github/actions/cached-dependencies
with:
run: |
testdata
- name: Install npm dependencies
if: steps.check.outcome == 'failure'
uses: ./.github/actions/cached-dependencies
with:
run: |
npm-install
- name: Build javascript packages
if: steps.check.outcome == 'failure'
uses: ./.github/actions/cached-dependencies
with:
run: |
build-instrumented-assets
- name: Install cypress
if: steps.check.outcome == 'failure'
uses: ./.github/actions/cached-dependencies
with:
run: |
cypress-install
- name: Run Cypress
if: steps.check.outcome == 'failure'
uses: ./.github/actions/cached-dependencies
env:
CYPRESS_BROWSER: ${{ matrix.browser }}
Expand Down
74 changes: 74 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,80 @@ specific language governing permissions and limitations
under the License.
-->
## Change Log

### 1.0.1 (Tue Feb 2 09:24:40 2021 +0000)
- [#12872](https://github.com/apache/superset/pull/12872) feat(release): add github token to changelog script (#12872) (@dpgaspar)
- [#12886](https://github.com/apache/superset/pull/12886) fix: allow users to reset their passwords (#12886) (@dpgaspar)
- [#12877](https://github.com/apache/superset/pull/12877) fix(menu): always show settings dropdown (#12877) (@nytai)
- [#12648](https://github.com/apache/superset/pull/12648) fix(release): add typing-extensions as dependency (#12648) (@villebro)
- [#12861](https://github.com/apache/superset/pull/12861) fix: Presto column_type_mappings time and timestamp (#12861) (@rmgpinto)
- [#12665](https://github.com/apache/superset/pull/12665) fix: bar chart data order (#12665) (@kstrz)
- [#12661](https://github.com/apache/superset/pull/12661) add order by for bar charts (#12661) (@bryanck)
- [#12664](https://github.com/apache/superset/pull/12664) docs: fix, keep old names from screenshot images to pypi releases (#12664) (@dpgaspar)
- [#12835](https://github.com/apache/superset/pull/12835) fix(explore): add current savedMetric to dropdown (#12835) (@villebro)
- [#12817](https://github.com/apache/superset/pull/12817) chore(explore): Metric/Column and Filter popover unexpectedly closes on scroll (#12817) (@nikolagigic)
- [#12657](https://github.com/apache/superset/pull/12657) fix(explore): don't allow selecting duplicated saved metric (#12657) (@kgabryje)
- [#12798](https://github.com/apache/superset/pull/12798) docs:add deprecations to updating.md (#12798) (@eschutho)
- [#12796](https://github.com/apache/superset/pull/12796) fix: samples should not be timeseries (#12796) (@betodealmeida)
- [#12793](https://github.com/apache/superset/pull/12793) fix(explore): time picker can not be switched between now and specific (#12793) (@zhaoyongjie)
- [#12789](https://github.com/apache/superset/pull/12789) fix(explore): pass partitionColumn when creating new adhoc filter (#12789) (@villebro)
- [#12787](https://github.com/apache/superset/pull/12787) fix: uuid generatiion for mysql fixed (#12787) (@iercan)
- [#12770](https://github.com/apache/superset/pull/12770) chore(explore): Reorder dataset search results based on property relevance (#12770) (@nikolagigic)
- [#12761](https://github.com/apache/superset/pull/12761) fix(explore): Dataset icon remains constant when dragging. (#12761) (@ayanginet)
- [#12760](https://github.com/apache/superset/pull/12760) fix: session error fixed related to thumbnails. (#12760) (@iercan)
- [#12758](https://github.com/apache/superset/pull/12758) fix(explore): incorrect missing datasource condition (#12758) (@ktmud)
- [#12747](https://github.com/apache/superset/pull/12747) feat(explore): Make metric title respond to changes immediately (#12747) (@kgabryje)
- [#12705](https://github.com/apache/superset/pull/12705) feat(explore): allow opening charts with missing dataset (#12705) (@ktmud)
- [#12468](https://github.com/apache/superset/pull/12468) fix: Added message flash when chart with missing dataset is accessed. (#12468) (@kkucharc)
- [#12804](https://github.com/apache/superset/pull/12804) fix(release): pin pyjwt to version <2 (#12804) (@villebro)
- [#12499](https://github.com/apache/superset/pull/12499) docs: update README.MD and FAQ Page for Superset 1.0 launch (#12499) (@srinify)
- [#12620](https://github.com/apache/superset/pull/12620) fix: missing key when verifying adhoc filters in merge_extra_filters (#12620) (@bryanck)
- [#12417](https://github.com/apache/superset/pull/12417) fix(explore): preserve metric column order in bar chart (#12417) (@duynguyenhoang)
- [#12103](https://github.com/apache/superset/pull/12103) fix(async queries): Remove "force" param on cached data retrieval (#12103) (@robdiciuccio)
- [#12779](https://github.com/apache/superset/pull/12779) fix(alerts/reports): misconfigured useEffect hook breaks form validation in prod builds (#12779) (@nytai)
- [#12759](https://github.com/apache/superset/pull/12759) fix: missing select menu background (#12759) (@ktmud)
- [#12730](https://github.com/apache/superset/pull/12730) Replace space with tabulator and enter as separators (#12730) (@kgabryje)
- [#12696](https://github.com/apache/superset/pull/12696) Update translation files after capitalization PRs (1-9) (#12696) (@michael-s-molina)
- [#12595](https://github.com/apache/superset/pull/12595) Fix translation files and update documentation (#12595) (@michael-s-molina)
- [#12731](https://github.com/apache/superset/pull/12731) chore[explore]: Save date if Ok not clicked (#12731) (@nikolagigic)
- [#12699](https://github.com/apache/superset/pull/12699) fix: remove whitespace at the bottom of select dropdown (#12699) (@ktmud)
- [#12685](https://github.com/apache/superset/pull/12685) chore: add capitalization guidelines to CONTRIBUTING.md (#12685) (@michael-s-molina)
- [#12675](https://github.com/apache/superset/pull/12675) feat(explore): better search for dataset pane (#12675) (@ktmud)
- [#12549](https://github.com/apache/superset/pull/12549) feat(chart): Add expression, description and verbose name to search filter (#12549) (@nikolagigic)
- [#12690](https://github.com/apache/superset/pull/12690) fix(explore): Certified metric icons are various sizes (#12690) (@geido)
- [#12660](https://github.com/apache/superset/pull/12660) fix(multiline): return all chart data on initial request (#12660) (@villebro)
- [#12632](https://github.com/apache/superset/pull/12632) chore(viz): bump superset-ui packages to 0.16.9 (#12632) (@villebro)
- [#12606](https://github.com/apache/superset/pull/12606) fix: chart disappears in standalone slice (#12606) (@duynguyenhoang)
- [#12604](https://github.com/apache/superset/pull/12604) Switch button position (#12604) (@geido)
- [#12603](https://github.com/apache/superset/pull/12603) [12601] Hovered menu items on dashboard - brought back padding and added margin on top of chart (#12603) (@kkucharc)
- [#12593](https://github.com/apache/superset/pull/12593) chore(explore): Save Resizable width to localStorage (#12593) (@nikolagigic)
- [#12649](https://github.com/apache/superset/pull/12649) fix: explore page style fix, remove unnecessary scroll bars (#12649) (@ktmud)
- [#12586](https://github.com/apache/superset/pull/12586) fix: error while parsing invalid json form_data (#12586) (@duynguyenhoang)
- [#12161](https://github.com/apache/superset/pull/12161) test: World bank examples (#12161) (@kstrz)
- [#12226](https://github.com/apache/superset/pull/12226) test: birth names (#12226) (@kstrz)
- [#12584](https://github.com/apache/superset/pull/12584) fix: dropdown indicator in tabs has proper width and position (#12584) (@kkucharc)
- [#12580](https://github.com/apache/superset/pull/12580) chore(explore): added tooltips to timepicker (#12580) (@zhaoyongjie)
- [#12577](https://github.com/apache/superset/pull/12577) corrected typo in connections index in the documentation (#12577) (@96RadhikaJadhav)
- [#12575](https://github.com/apache/superset/pull/12575) fix: return appropriate response when payload has error (#12575) (@zhaoyongjie)
- [#12573](https://github.com/apache/superset/pull/12573) Add docs for GLOBAL_ASYNC_QUERIES (SIP-39) (#12573) (@robdiciuccio)
- [#12564](https://github.com/apache/superset/pull/12564) chore: bumping superset UI packages (0.16.7 + 0.16.8) (#12564) (@rusackas)
- [#12498](https://github.com/apache/superset/pull/12498) fix: row component handler is visible (#12498) (@kkucharc)
- [#12454](https://github.com/apache/superset/pull/12454) Apply capitalization guidelines - iteration 8 (#12343) (#12454) (@michael-s-molina)
- [#12453](https://github.com/apache/superset/pull/12453) Apply capitalization guidelines - iteration 7 (#12343) (#12453) (@michael-s-molina)
- [#12452](https://github.com/apache/superset/pull/12452) Apply capitalization guidelines - iteration 6 (#12343) (#12452) (@michael-s-molina)
- [#12451](https://github.com/apache/superset/pull/12451) Apply capitalization guidelines - iteration 5 (#12343) (#12451) (@michael-s-molina)
- [#12582](https://github.com/apache/superset/pull/12582) fix(explore): Disable saved metric name edit in Metric popover (#12582) (@kgabryje)
- [#12446](https://github.com/apache/superset/pull/12446) refactor(explore): move MetricControl and FilterControl to sub-component (#12446) (@zhaoyongjie)
- [#12450](https://github.com/apache/superset/pull/12450) Apply capitalization guidelines - iteration 4 (#12343) (#12450) (@michael-s-molina)
- [#12554](https://github.com/apache/superset/pull/12554) feat(native-filters): Show alert for unsaved filters after cancelling Filter Config Modal (#12554) (@agatapst)
- [#12449](https://github.com/apache/superset/pull/12449) Apply capitalization guidelines - iteration 3 (#12343) (#12449) (@michael-s-molina)
- [#12598](https://github.com/apache/superset/pull/12598) fix(explore): Scroll only table in Change Dataset and Edit Dataset Modals (#12598) (@geido)
- [#12471](https://github.com/apache/superset/pull/12471) fix: styling for change dataset confirmation (#12471) (@hughhhh)
- [#12669](https://github.com/apache/superset/pull/12669) fix: faster search for Change Dataset modal (#12669) (@ktmud)
- [#12448](https://github.com/apache/superset/pull/12448) Apply capitalization guidelines - iteration 2 (#12343) (#12448) (@michael-s-molina)
- [#12447](https://github.com/apache/superset/pull/12447) chore: apply capitalization guidelines - iteration 1 (#12447) (@michael-s-molina)
- [#12423](https://github.com/apache/superset/pull/12423) fix: incorrect cursor position Firefox (#12423) (@betodealmeida)

### 1.0.0 (Fri Jan 15 14:09:06 2021 -0800)
- [#12535](https://github.com/apache/superset/pull/12535) Fix 500 error when loading dashboards with slice having deleted dataset (#12535) (@bechob)
- [#12562](https://github.com/apache/superset/pull/12562) fix: case expression should not have double quotes (#12562) (@betodealmeida)
Expand Down
2 changes: 1 addition & 1 deletion docs/src/components/footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const LayoutFooter = () => (
<div css={iconContainerStyle}>
<div className="icons">
<a
href="https://apache-superset.slack.com/join/shared_invite/zt-g8lpruog-HeqpgYrwdfrD5OYhlU7hPQ#/"
href="https://join.slack.com/t/apache-superset/shared_invite/zt-l5f5e0av-fyYu8tlfdqbMdz_sPLwUqQ"
target="_blank"
rel="noreferrer"
>
Expand Down
2 changes: 1 addition & 1 deletion docs/src/pages/docs/contributing-page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The core contributors (or committers) to Superset communicate primarily in the f
which you can join):

- [Mailing list](https://lists.apache.org/list.html?dev@superset.apache.org)
- [Apache Superset Slack community](https://apache-superset.slack.com/join/shared_invite/zt-g8lpruog-HeqpgYrwdfrD5OYhlU7hPQ#/)
- [Apache Superset Slack community](https://join.slack.com/t/apache-superset/shared_invite/zt-l5f5e0av-fyYu8tlfdqbMdz_sPLwUqQ)
- [Github issues and PR's](https://github.com/apache/superset/issues)

If you're interested in contributing, we recommend reading the Community Contribution Guide
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def get_git_sha():
"drill": ["sqlalchemy-drill==0.1.dev"],
"druid": ["pydruid>=0.6.1,<0.7"],
"solr": ["sqlalchemy-solr >= 0.2.0"],
"elasticsearch": ["elasticsearch-dbapi>=0.1.0, <0.2.0"],
"elasticsearch": ["elasticsearch-dbapi>=0.2.0, <0.3.0"],
"exasol": ["sqlalchemy-exasol>=2.1.0, <2.2"],
"excel": ["xlrd>=1.2.0, <1.3"],
"gsheets": ["gsheetsdb>=0.1.9"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,15 @@ describe('chart list view', () => {
.find('[data-test="cell-text"]')
.contains('Location of Current Developers');
});

it('should bulk delete correctly', () => {
cy.get('[data-test="listview-table"]').should('be.visible');
cy.get('[data-test="bulk-select"]').eq(0).click();
cy.get('[data-test="checkbox-off"]').eq(1).click();
cy.get('[data-test="checkbox-off"]').eq(2).click();
cy.get('[data-test="bulk-select-action"]').eq(0).click();
cy.get('[data-test="delete-modal-input"]').eq(0).type('DELETE');
cy.get('[data-test="modal-confirm-button"]').eq(0).click();
cy.get('[data-test="checkbox-on"]').should('not.exist');
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,15 @@ describe('dashboard list view', () => {
.find('[data-test="cell-text"]')
.contains("World Bank's Data");
});

it('should bulk delete correctly', () => {
cy.get('[data-test="listview-table"]').should('be.visible');
cy.get('[data-test="bulk-select"]').eq(0).click();
cy.get('[data-test="checkbox-off"]').eq(1).click();
cy.get('[data-test="checkbox-off"]').eq(2).click();
cy.get('[data-test="bulk-select-action"]').eq(0).click();
cy.get('[data-test="delete-modal-input"]').eq(0).type('DELETE');
cy.get('[data-test="modal-confirm-button"]').eq(0).click();
cy.get('[data-test="checkbox-on"]').should('not.exist');
});
});
Loading

0 comments on commit 7891786

Please sign in to comment.