Skip to content
This repository has been archived by the owner on Dec 10, 2021. It is now read-only.

[core][client] mirror window.location.protocol format in config #8

Merged
merged 1 commit into from
Sep 27, 2018

Conversation

williaster
Copy link
Contributor

🐛 Bug Fix

When configuring host and protocol in SupersetClient, it's convenient to use values from window.location.

This PR updates the config for protocol from expecting values like e.g., http and https to mirror the format of window.location.protocol, which includes a colon: http: or https:

@kristw @conglei @mistercrunch

@codecov
Copy link

codecov bot commented Sep 26, 2018

Codecov Report

Merging #8 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master       #8   +/-   ##
=======================================
  Coverage   98.52%   98.52%           
=======================================
  Files           7        7           
  Lines          68       68           
=======================================
  Hits           67       67           
  Misses          1        1
Impacted Files Coverage Δ
packages/superset-ui-core/src/SupersetClient.js 97.56% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8878bd4...87c238c. Read the comment docs.

@williaster williaster merged commit 8c5aab4 into master Sep 27, 2018
@williaster williaster deleted the chris--protocol-fix branch September 27, 2018 21:17
@kristw kristw added reviewable Ready for review and removed reviewable Ready for review labels Nov 13, 2018
kristw pushed a commit that referenced this pull request Apr 17, 2020
* fix(legacy-preset-chart-nvd3): redraw bar values after legend change

* fix(legacy-preset-chart-nvd3): show labels on negative bars

* fix(legacy-preset-chart-nvd3): fix lint

* fix(legacy-preset-chart-nvd3): improve remove
zhaoyongjie pushed a commit to zhaoyongjie/superset-ui that referenced this pull request Sep 23, 2021
* build: migrate to nimbus

* fix: eslint-disable statements

* fix: conflict

* fix: lint

* fix: lints

* fix: bump packages
zhaoyongjie pushed a commit to zhaoyongjie/superset-ui that referenced this pull request Sep 24, 2021
* build: migrate to nimbus

* fix: eslint-disable statements

* fix: conflict

* fix: lint

* fix: lints

* fix: bump packages
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants