Skip to content
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

fix: various path navigation issues #1190

Merged
merged 6 commits into from
Oct 17, 2022
Merged

fix: various path navigation issues #1190

merged 6 commits into from
Oct 17, 2022

Conversation

jkaster
Copy link
Contributor

@jkaster jkaster commented Oct 14, 2022

  • sdk selection was broken on the developer portal, because some scenes weren't using the react dom location for location.pathname, which caused the path to include /api/explorer when it shouldn't have
  • This also fixes a crash bug when clicking on a method summary page from a type summary page
  • also introduces funSDK syntax into the TypeScript makeTheCall() that now shows in RunIt
  • also updates yarn-deduplicate

sdk selection was broken on the developer portal because some scenes weren't using the react dom `location` for `location.pathname`
@looker-open-source looker-open-source deleted a comment from github-actions bot Oct 14, 2022
@looker-open-source looker-open-source deleted a comment from github-actions bot Oct 14, 2022
@looker-open-source looker-open-source deleted a comment from github-actions bot Oct 14, 2022
@jkaster jkaster marked this pull request as ready for review October 14, 2022 22:42
@github-actions
Copy link
Contributor

APIX Tests

    1 files  ±0    86 suites  ±0   6m 4s ⏱️ +14s
409 tests ±0  396 ✔️ ±0  13 💤 ±0  0 ❌ ±0 
429 runs  ±0  416 ✔️ ±0  13 💤 ±0  0 ❌ ±0 

Results for commit 8d23c8f. ± Comparison against base commit 7ee39bb.

@github-actions
Copy link
Contributor

Codegen Tests

    1 files    18 suites   42s ⏱️
418 tests 401 ✔️ 17 💤 0 ❌
419 runs  402 ✔️ 17 💤 0 ❌

Results for commit 8d23c8f.

Copy link
Contributor

@fabio-looker fabio-looker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - very clean fix!

@jkaster jkaster merged commit e73da3d into main Oct 17, 2022
@jkaster jkaster deleted the jk/fix_nav branch October 17, 2022 16:08
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

jkaster pushed a commit that referenced this pull request Oct 17, 2022
🤖 I have created a release \*beep\* \*boop\*
---
<details><summary>sdk-codegen-all: 2.11.0</summary>


### Features

* generate SDKs for Looker 22.18 ([#1191](https://www.github.com/looker-open-source/sdk-codegen/issues/1191)) ([6d487be](https://www.github.com/looker-open-source/sdk-codegen/commit/6d487be80e89bda6feea446130ad2c318eb61d43))


### Bug Fixes

* various path navigation issues ([#1190](https://www.github.com/looker-open-source/sdk-codegen/issues/1190)) ([e73da3d](https://www.github.com/looker-open-source/sdk-codegen/commit/e73da3d39960cb528947c21202318b84d586ce1f))
</details>
<details><summary>@looker/api-explorer: 0.9.40</summary>


### Bug Fixes

* various path navigation issues ([#1190](https://www.github.com/looker-open-source/sdk-codegen/issues/1190)) ([e73da3d](https://www.github.com/looker-open-source/sdk-codegen/commit/e73da3d39960cb528947c21202318b84d586ce1f))


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * @looker/code-editor bumped from ^0.1.24 to ^0.1.25
    * @looker/extension-utils bumped from ^0.1.16 to ^0.1.17
    * @looker/run-it bumped from ^0.9.39 to ^0.9.40
    * @looker/sdk bumped from ^22.16.0 to ^22.18.0
    * @looker/sdk-codegen bumped from ^21.7.1 to ^21.7.2
  * devDependencies
    * @looker/sdk-codegen-scripts bumped from ^21.4.5 to ^21.4.6
    * @looker/sdk-node bumped from ^22.16.0 to ^22.18.0
</details>
<details><summary>@looker/sdk: 22.18.0</summary>


### Features

* generate SDKs for Looker 22.18 ([#1191](https://www.github.com/looker-open-source/sdk-codegen/issues/1191)) ([6d487be](https://www.github.com/looker-open-source/sdk-codegen/commit/6d487be80e89bda6feea446130ad2c318eb61d43))
</details>
<details><summary>@looker/sdk-codegen: 21.7.2</summary>


### Bug Fixes

* various path navigation issues ([#1190](https://www.github.com/looker-open-source/sdk-codegen/issues/1190)) ([e73da3d](https://www.github.com/looker-open-source/sdk-codegen/commit/e73da3d39960cb528947c21202318b84d586ce1f))
</details>
<details><summary>looker_sdk: 22.18.0</summary>


### Features

* generate SDKs for Looker 22.18 ([#1191](https://www.github.com/looker-open-source/sdk-codegen/issues/1191)) ([6d487be](https://www.github.com/looker-open-source/sdk-codegen/commit/6d487be80e89bda6feea446130ad2c318eb61d43))
</details>
<details><summary>@looker/extension-sdk: 22.18.0</summary>


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * @looker/sdk bumped from ^22.16.0 to ^22.18.0
</details>
<details><summary>@looker/sdk-node: 22.18.0</summary>


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * @looker/sdk bumped from ^22.16.0 to ^22.18.0
</details>
<details><summary>@looker/code-editor: 0.1.25</summary>


### Dependencies

* The following workspace dependencies were updated
  * devDependencies
    * @looker/sdk-codegen bumped from ^21.7.1 to ^21.7.2
</details>
<details><summary>@looker/extension-sdk-react: 22.18.0</summary>


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * @looker/extension-sdk bumped from ^22.16.0 to ^22.18.0
    * @looker/sdk bumped from ^22.16.0 to ^22.18.0
</details>
<details><summary>@looker/sdk-codegen-scripts: 21.4.6</summary>


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * @looker/sdk bumped from ^22.16.0 to ^22.18.0
    * @looker/sdk-codegen bumped from ^21.7.1 to ^21.7.2
    * @looker/sdk-node bumped from ^22.16.0 to ^22.18.0
</details>
<details><summary>@looker/wholly-sheet: 0.5.36</summary>


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * @looker/sdk bumped from ^22.16.0 to ^22.18.0
  * devDependencies
    * @looker/sdk-node bumped from ^22.16.0 to ^22.18.0
</details>
<details><summary>@looker/extension-utils: 0.1.17</summary>


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * @looker/extension-sdk bumped from ^22.16.0 to ^22.18.0
    * @looker/extension-sdk-react bumped from ^22.16.0 to ^22.18.0
    * @looker/code-editor bumped from ^0.1.24 to ^0.1.25
</details>
<details><summary>@looker/hackathon: 22.18.0</summary>


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * @looker/code-editor bumped from ^0.1.24 to ^0.1.25
    * @looker/extension-sdk bumped from ^22.16.0 to ^22.18.0
    * @looker/extension-sdk-react bumped from ^22.16.0 to ^22.18.0
    * @looker/extension-utils bumped from ^0.1.16 to ^0.1.17
    * @looker/sdk bumped from ^22.16.0 to ^22.18.0
    * @looker/wholly-sheet bumped from ^0.5.35 to ^0.5.36
</details>
<details><summary>@looker/run-it: 0.9.40</summary>


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * @looker/code-editor bumped from ^0.1.24 to ^0.1.25
    * @looker/extension-utils bumped from ^0.1.16 to ^0.1.17
    * @looker/sdk bumped from ^22.16.0 to ^22.18.0
    * @looker/sdk-codegen bumped from ^21.7.1 to ^21.7.2
</details>
<details><summary>@looker/extension-api-explorer: 22.18.0</summary>


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * @looker/api-explorer bumped from ^0.9.39 to ^0.9.40
    * @looker/extension-sdk bumped from ^22.16.0 to ^22.18.0
    * @looker/extension-sdk-react bumped from ^22.16.0 to ^22.18.0
    * @looker/extension-utils bumped from ^0.1.16 to ^0.1.17
    * @looker/run-it bumped from ^0.9.39 to ^0.9.40
    * @looker/sdk bumped from ^22.16.0 to ^22.18.0
    * @looker/sdk-codegen bumped from ^21.7.1 to ^21.7.2
</details>


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants