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: πŸ› add model hook to host route for dynamic host catalogs #1659

Conversation

lisbet-alvarez
Copy link
Collaborator

@lisbet-alvarez lisbet-alvarez commented Mar 21, 2023

βœ… Closes: ICU-8594

🎟️ Jira ticket

Description

Add missing model hook to host route inside of dynamic host-catalogs

πŸ§‘β€πŸ’» Admin preview

@lisbet-alvarez lisbet-alvarez requested a review from a team as a code owner March 21, 2023 22:09
@vercel
Copy link

vercel bot commented Mar 21, 2023

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Comments Updated
boundary-ui βœ… Ready (Inspect) Visit Preview πŸ’¬ Add your feedback Mar 27, 2023 at 3:53PM (UTC)
boundary-ui-desktop βœ… Ready (Inspect) Visit Preview πŸ’¬ Add your feedback Mar 27, 2023 at 3:53PM (UTC)
boundary-ui-storybook βœ… Ready (Inspect) Visit Preview πŸ’¬ Add your feedback Mar 27, 2023 at 3:53PM (UTC)

@DhariniJeeva
Copy link
Collaborator

was there a new requirement to add page layout and breadcrumbs? AFAIK, we didn't have those for these views

@lisbet-alvarez
Copy link
Collaborator Author

was there a new requirement to add page layout and breadcrumbs? AFAIK, we didn't have those for these views

Was the reason for this because hosts for dynamic host catalogs are read only ?

@@ -17,7 +17,7 @@
</page.actions>

<page.navigation>
<HostCatalogs::HostCatalog::Hosts::Host::Navigation @model={{@model}} />
<HostCatalogs::HostCatalog::Hosts::Host::Navigation />
Copy link
Collaborator

@ZedLi ZedLi Mar 27, 2023

Choose a reason for hiding this comment

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

Why did this have to get removed for the host that's nested under host-set? This seems to be for a different route then what you updated

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes you are correct this is for a different route.
Apologies, I should have added a comment, I remove this because the @model argument is not used in the corresponding component template. If i am mistaken then this change can be removed.

Copy link
Collaborator

@cameronperera cameronperera left a comment

Choose a reason for hiding this comment

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

LGTM

@lisbet-alvarez lisbet-alvarez merged commit 087898c into main Mar 28, 2023
@lisbet-alvarez lisbet-alvarez deleted the ICU-8594-add-model-hook-to-host-route-for-dynamic-host-catalogs branch March 28, 2023 17:14
ghost pushed a commit that referenced this pull request Jun 14, 2023
* fix: πŸ› add model hook to host route for dynamic host catalogs (#1659)

* fix: πŸ› add model hook to host route for dynamic host catalogs

βœ… Closes: ICU-8594

* refactor: πŸ’‘ remove page formatting for host route

* [COMPLIANCE] Add Copyright and License Headers (#1660)

Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
Co-authored-by: Carlos Alcaide Corvo <ccorvo@hashicorp.com>

* chore(deps-dev): bump webpack from 5.59.1 to 5.76.0 (#1654)

Bumps [webpack](https://github.com/webpack/webpack) from 5.59.1 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](webpack/webpack@v5.59.1...v5.76.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Randall Morey <randall@randallmorey.com>
Co-authored-by: Carlos Alcaide Corvo <ccorvo@hashicorp.com>

* Feature metadata (#1661)

* feat: 🎸 load edition from controller-metadata.json

* refactor: πŸ’‘ rename edition and add licensed features support

* chore: πŸ€– support dev toggling of licensed features

* chore: πŸ€– rename ent edition

* Update ui/admin/app/services/feature-edition.js

* Update ui/admin/app/instance-initializers/feature-edition.js

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>

* chore: πŸ€– cleanup

* chore: πŸ€– feature edition disabled in tests / fix test cases

* test: πŸ’ remove feature disable calls in tests

* test: πŸ’ fix broken tests

* fix: πŸ› fix config bug

* fix: πŸ› fix broken test due to feature flags

---------

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>

* chore: πŸ€– yarn.lock update

* fix: πŸ› fix test features

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: lisbet-alvarez <107949262+lisbet-alvarez@users.noreply.github.com>
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
Co-authored-by: Carlos Alcaide Corvo <ccorvo@hashicorp.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
Co-authored-by: github-team-secure-boundary <hc-github-team-secure-boundary@hashicorp.com>
Co-authored-by: hc-github-team-secure-boundary <82989682+hc-github-team-secure-boundary@users.noreply.github.com>
ghost pushed a commit that referenced this pull request Jun 14, 2023
* fix: πŸ› add model hook to host route for dynamic host catalogs (#1659)

* fix: πŸ› add model hook to host route for dynamic host catalogs

βœ… Closes: ICU-8594

* refactor: πŸ’‘ remove page formatting for host route

* [COMPLIANCE] Add Copyright and License Headers (#1660)

Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
Co-authored-by: Carlos Alcaide Corvo <ccorvo@hashicorp.com>

* chore(deps-dev): bump webpack from 5.59.1 to 5.76.0 (#1654)

Bumps [webpack](https://github.com/webpack/webpack) from 5.59.1 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](webpack/webpack@v5.59.1...v5.76.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Randall Morey <randall@randallmorey.com>
Co-authored-by: Carlos Alcaide Corvo <ccorvo@hashicorp.com>

* Feature metadata (#1661)

* feat: 🎸 load edition from controller-metadata.json

* refactor: πŸ’‘ rename edition and add licensed features support

* chore: πŸ€– support dev toggling of licensed features

* chore: πŸ€– rename ent edition

* Update ui/admin/app/services/feature-edition.js

* Update ui/admin/app/instance-initializers/feature-edition.js

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>

* chore: πŸ€– cleanup

* chore: πŸ€– feature edition disabled in tests / fix test cases

* test: πŸ’ remove feature disable calls in tests

* test: πŸ’ fix broken tests

* fix: πŸ› fix config bug

* fix: πŸ› fix broken test due to feature flags

---------

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>

* fix: πŸ› Fix missing translation (#1662)

Fix missing translation on the toggle color theme selector

* Resolutions audit: Delete 3 oldest resolutions (#1663)

* Delete bl from resolutions

* Delete tough-cookie from resolutions

* Delete npm from resolutions

* chore(deps): bump http-cache-semantics from 4.1.0 to 4.1.1 (#1665)

Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/kornelski/http-cache-semantics/releases)
- [Commits](kornelski/http-cache-semantics@v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: http-cache-semantics
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: πŸ€– Update electron-forge/* packages (#1666)

Update electron-forge/* packages

* feat: 🎸 Add support to display external name for dynamic hosts (#1664)

* feat: 🎸 Add support to display external name for dynamic hosts

βœ… Closes: ICU-8795

* test(admin/e2e): Add create target with address test (#1667)

* chore: πŸ€– update design system package (#1668)

* test(admin/e2e): Define expected private key for vault credential store test (#1671)

* test: πŸ’ (admin-e2e): Add test to create different credentials (#1670)

* chore: πŸ€– add json5 to resolutions per dependabot alerts (#1672)

* chore: πŸ€– add json5 to resolutions per dependabot alerts

* fix: πŸ› remove unecessary resolutions

* chore: πŸ€– upgrade @storybook/ember-cli-storybook to 0.6.0 (#1669)

* chore: πŸ€– update @storybook/ember-cli-storybook to 0.6.0

βœ… Closes: ICU-6588

* chore: πŸ€– remove css-what from resolutions

* refactor: πŸ’‘ update selector for delete storage bucket test

* chore: πŸ€– fix yarn.lock

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: lisbet-alvarez <107949262+lisbet-alvarez@users.noreply.github.com>
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
Co-authored-by: Carlos Alcaide Corvo <ccorvo@hashicorp.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Randall Morey <randall@randallmorey.com>
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
Co-authored-by: github-team-secure-boundary <hc-github-team-secure-boundary@hashicorp.com>
Co-authored-by: hc-github-team-secure-boundary <82989682+hc-github-team-secure-boundary@users.noreply.github.com>
Co-authored-by: Stan Ryzhov <60649800+stasryzhov@users.noreply.github.com>
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants