Commit Graph
100 Commits
Author SHA1 Message Date
Cameron Perera 4b68ea0fa4 refactor: 💡 remove unneeded div for layout of target details (#1821)
✅ Closes: ICU-10513
2023-09-22 18:58:13 -04:00
Cameron Perera e7ec4dd25e refactor: 💡 add "Connect for more info" panel to target details (#1819)
✅ Closes: ICU-10283
2023-09-22 18:58:13 -04:00
Cameron Perera f83d214524 refactor: 💡 Update Target Details header (#1818)
✅ Closes: ICU-10243
2023-09-22 18:58:13 -04:00
Cameron Perera 1b1e002581 refactor: 💡 add base layout to target details screen (#1812)
✅ Closes: ICU-10280
2023-09-22 18:58:13 -04:00
Cameron Perera 55eca5037e refactor: 💡 Remove targets/target-id/hosts route and tests (#1810)
* refactor: 💡 Remove targets/target-id/hosts route and tests

✅ Closes: ICU-10316

* refactor: 💡 Remove targets/target-id/sessions route and tests (#1811)

* refactor: 💡 Remove targets/target-id/sessions route and tests

✅ Closes: ICU-10317

* refactor: 💡 remove targets/target-id/sessions controller
2023-09-22 18:58:13 -04:00
Cameron Perera 3af58204ba refactor: 💡 remove unused template code (#1803)
✅ Closes: ICU-10422
2023-09-22 18:58:13 -04:00
Cameron Perera 0b2ac7f676 chore: 🤖 add post connection workflow feature flag (#1799)
✅ Closes: ICU-10269
2023-09-22 18:58:13 -04:00
Cameron Perera 51cfe1adf4 chore: 🤖 bump HDS to 2.11.0 (#1883) 2023-09-06 13:24:51 -05:00
Cameron Perera 638753d7bc chore: 🤖 remove prop-type resolution (#1862)
* chore: 🤖 remove prop-type resolution

* chore: 🤖 update yarn.lock
2023-08-24 09:54:03 -05:00
Cameron Perera 7349867b76 refactor: 💡 set max number for session recording duration fakes (#1860) 2023-08-23 09:49:15 -05:00
Cameron Perera 4a7dafc7d2 chore: 🤖 update hds to 2.10.0 (#1848)
* chore: 🤖 update hds to 2.10.0

* chore: 🤖 limit resolution scope to rose addon
2023-08-16 09:02:54 -05:00
Cameron Perera 77b47e2cb3 chore: 🤖 specify port to 4201 for desktop development (#1836)
* chore: 🤖 specify port to 4201 for desktop development

* docs: ✏️ update desktop README port info
2023-08-10 17:08:35 -05:00
Cameron Perera 18833c9f22 Icu 10516 move metadata list to rose (#1824)
* feat: 🎸 Add rose metadata-list component

✅ Closes: ICU-10516

* refactor: 💡 remove metadata-list component from admin app
2023-08-04 14:09:20 -05:00
Cameron Perera 6dee7cad62 Icu 10439 refactor layout sidebar into rose layout body content (#1807)
* feat: 🎸 Add BodyContent component to Rose::Layout

* refactor: 💡 remove Layout Sidebar and use Rose Layout Sidebar

✅ Closes: ICU-10439

* fix: 🐛 add media specific styles to rose body content styles

* refactor: 💡 update media rule max width to xlarge
2023-07-31 11:48:38 -05:00
Cameron Perera 1e43e4ad95 chore: 🤖 update HDS to v2.8.0 (#1801)
✅ Closes: ICU-10270
2023-07-26 11:21:13 -05:00
Cameron Perera b2b08929a3 test: 💍 fix flaky session recording player assertion (#1780) 2023-07-17 08:51:09 -05:00
Cameron Perera df1b311b1a refactor: 💡 migrate two rose buttons to hds in desktop client (#1777)
✅ Closes: ICU-10149
2023-07-14 17:05:57 -05:00
Cameron Perera cdb5025fb9 chore: 🤖 add config for copywrite tool and compliance scan (#1734) 2023-06-22 14:41:50 -05:00
Cameron Perera 4f51988891 refactor: 💡 fix border-radius styles of asciinema player (#339) 2023-06-13 13:03:55 -05:00
Cameron Perera b01d5f0271 refactor: 💡 Show View instead of Play if channel not asciicast (#325)
* refactor: 💡 Show View instead of Play if channel not asciicast

✅ Closes: ICU-9524

* refactor: 💡 every third channel is missing mime_types

* refactor: 💡 create new abilities for channel-recording

* refactor: 💡 use abilities for button logic for channels

* test: 💍 update channel-recording ability tests

* refactor: 💡 fix ChannelRecording ability import name

* refactor: 💡 change ability name to canPlay from canPlayChannel

* refactor: 💡 update OverrideChannelRecording ability methods
2023-06-07 14:15:55 -05:00
Cameron Perera cf602c77d3 fix: 🐛 player test not waiting for player to initialize (#326)
* fix: 🐛 player test not waiting for player to initialize

* refactor: 💡 move back to channels assert out of waitUntil

* refactor: 💡 use includesText instead of hasAnyText
2023-06-06 18:08:49 -05:00
Cameron Perera 4071024853 refactor: 💡 fix indexed-display-name for readability (#323)
* refactor: 💡 fix indexed-display-name for readability

* refactor: 💡 rename reverse-indexed-display-name helper

from indexed-display-name to reverse-indexed-display-name
2023-06-06 12:52:07 -07:00
Cameron Perera 9bd969c1f6 refactor: 💡 update indexed-display-name helper (#322) 2023-06-05 16:27:54 -05:00
Cameron Perera 80748b28fb refactor: 💡 remove type column from Workers table in Admin UI (#1702)
✅ Closes: ICU-9539
2023-06-01 11:07:57 -05:00
Cameron Perera d130a019d7 refactor: 💡 update to new filesize package and output format (#306) 2023-05-31 18:36:37 -05:00
Cameron PereraandZhihe Li 63c6d24363 fix: 🐛 add message for channels that cannot be played back (#302)
* fix: 🐛 Fix isAsciicast check

✅ Closes: ICU-9511

* fix: 🐛 add message for channels that cannot be played back

* Update ui/admin/app/templates/scopes/scope/session-recordings/session-recording/channels-by-connection/channel.hbs

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

* refactor: 💡 update not supported message

---------

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
2023-05-31 15:01:12 -05:00
Cameron Perera 3d9836a55b Icu 9482 add no connection message for session recording with no connections (#294)
* refactor: 💡 add controller for channels-by-connection/index

* feat: 🎸 show message for new session that have no connections

✅ Closes: ICU-9482

* feat: 🎸 add message for failed session with no connections (#296)

✅ Closes: ICU-9489

* refactor: 💡 remove '-' from 'in progress' usage
2023-05-30 11:34:07 -05:00
Cameron Perera 0aef13446b Update ember player (#290)
* chore: 🤖 update ember-asciinema-player

* refactor: 💡 update player styles after player update

* test: 💍 update class selector for player test

* refactor: 💡 remove custom border-width from player styles
2023-05-26 13:05:34 -05:00
Cameron Perera 9d7905402e Fix player fullscreen issue (#292)
* refactor: 💡 layout grid columns

* fix: 🐛 fix issue where player stays at fullscreen size on exit

✅ Closes: ICU-9456
2023-05-26 12:27:27 -05:00
Cameron Perera 502eba304d refactor: 💡 hide metadata items if undefined (#288)
* refactor: 💡 hide metadata items if undefined

* refactor: 💡 hide channel metadata if undefined
2023-05-25 14:58:06 -05:00
Cameron Perera 33afb64476 feat: 🎸 add no channels message for empty connections (#287)
✅ Closes: ICU-9443
2023-05-25 10:31:51 -05:00
Cameron Perera fe96668721 Icu 9442 add session recording status to details sidebar (#284)
* refactor: 💡 make icon not required for metadata list items

* refactor: 💡 update class name for SessionRecording Status badge

* feat: 🎸 display SessionRecording Status on Details sidebar

✅ Closes: ICU-9442
2023-05-24 16:26:19 -05:00
Cameron Perera 2659163b37 Icu 9418 hide play button if session recording is still in progress (#281)
* feat: 🎸 add isAvailable method to session recording model

✅ Closes: ICU-9418

* feat: 🎸 hide play button if session recording in-progress

* refactor: 💡 use translation for channel list play button

* refactor: 💡 move Play translation to actions from resources
2023-05-24 12:46:32 -05:00
Cameron Perera a63776e76f Icu 9415 remove sorted computed value for connections channels (#276)
* refactor: 💡 remove sorted connections from session recording

Removed from session recording model and respective templates

✅ Closes: ICU-9415

* refactor: 💡 remove sorted channels from connections model

and removed from the appropriate templates and breadcrumb
2023-05-23 16:10:39 -05:00
Cameron Perera d08e4be0c6 refactor: 💡 update how project & target are displayed in table (#242)
* refactor: 💡 update how project & target are displayed in table

✅ Closes: ICU-9165

* refactor: 💡 update gap to use rem

* refactor: 💡 update with PR feedback

* refactor: 💡 use flex-direction column instead of display block
2023-05-05 13:49:57 -05:00
Cameron Perera 7c06d7f2d4 feat: 🎸 Update Channel identifiers and breadcrumb (#235)
* feat: 🎸 Update Channel identifiers and breadcrumb

* refactor: 💡 updates after PR feedback

* refactor: 💡 remove unneeded function

* refactor: 💡 move all of indexedDisplayName into plain function
2023-05-03 11:03:48 -05:00
Cameron Perera 49fb722a68 feat: 🎸 change Connection titles to Connection 1 vs the ID (#234)
* feat: 🎸 change Connection titles to Connection 1 vs the ID

✅ Closes: ICU-8667

* refactor: 💡 address PR feedback
2023-05-02 12:59:30 -05:00
Cameron Perera 1a7a91d899 refactor: 💡 use tranlations for list.Item text property (#232) 2023-04-28 14:34:04 -05:00
Cameron Perera 0c524019df Channels by connection screen updates (#231)
* feat: 🎸 add session recording id to details sidebar section

* refactor: 💡 change sidebar section headers to h2

* feat: 🎸 Add Channel ID under page title and modify spacing

* feat: 🎸 add relevant IDs to connection and channel screens
2023-04-28 13:23:12 -05:00
Cameron Perera ed460e9231 refactor: 💡 remove link until we have a destination url (#228) 2023-04-27 13:55:40 -05:00
Cameron Perera 1c5c0c84fe feat: 🎸 add channel ID to channel table & copyable link for ID (#226)
* feat: 🎸 add channel ID to channel table & copyable link for ID

✅ Closes: ICU-9051

* feat: 🎸 add IDs to channels-by-connection template
2023-04-27 12:08:01 -05:00
Cameron Perera 451fcdbfeb feat: 🎸 add getAsciicast permission to channel route & template (#221)
✅ Closes: ICU-8695
2023-04-26 13:41:41 -05:00
+1 2d5323b07a Merge main into session recording (#219)
* 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](https://github.com/webpack/webpack/compare/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](https://github.com/kornelski/http-cache-semantics/compare/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>
2023-04-25 16:22:12 -05:00
Cameron Perera 1717968e59 Icu 9020 move connection channel sorting to model (#217)
* test: 💍 add tests for sorted connection and channels

* feat: 🎸 Add sorted property for connections and channels

✅ Closes: ICU-9020
2023-04-24 12:10:17 -05:00
Cameron Perera 87aea507f8 refactor: 💡 enable permission for listing session recordings (#215)
✅ Closes: ICU-9003
2023-04-21 16:39:13 -05:00
Cameron Perera 2de336186c refactor: 💡 Update session recording route model signature (#216) 2023-04-21 16:24:26 -05:00
Cameron Perera ebe504ff6a feat: 🎸 sort Connections and Channels by start_time (#213)
✅ Closes: ICU-8962
2023-04-21 12:20:25 -05:00
Cameron Perera 85651d4776 refactor: 💡 sort connection_recordings by start_time (#207)
* refactor: 💡 sort connection_recordings by start_time

✅ Closes: ICU-8961

* refactor: 💡 remove ember array cast for connection_recordings

* refactor: 💡 let to const
2023-04-19 13:46:23 -05:00
Cameron Perera a48fd5d9f4 refactor: 💡 remove Type column from channel table (#201)
* refactor: 💡 remove Type column from channel table

✅ Closes: ICU-8772

* refactor: 💡 remove Type reference from Channel details sidebar

* refactor: 💡 remove unused Type translation
2023-04-18 12:30:37 -05:00
Cameron Perera ceefb0b31c refactor: 💡 update start prompt styles to display none (#200) 2023-04-18 10:54:01 -05:00
Cameron Perera c05e7002d8 refactor: 💡 Update Asciinema player control bar styles (#197)
* refactor: 💡 Update Asciinema player control bar styles

✅ Closes: ICU-8416

* refactor: 💡 remove rem from bottom set to 0 (zero)

* style: 💄 fix stylesheet linter issues
2023-04-17 17:48:41 -05:00
Cameron Perera 9fc4be7b61 refactor: 💡 fix active link style issue with SR Player (#183)
* refactor: 💡 fix active link style issue with SR Player

✅ Closes: ICU-8774

* refactor: 💡 update player hds link to hds button and styles

* refactor: 💡 add translation for "Back to channels" text

* test: 💍 add Intl setup hook to player test
2023-04-05 10:02:19 -05:00
Cameron Perera cdaab19d1f test: 💍 fix flaky session-recording player render test (#186) 2023-04-04 11:10:28 -05:00
Cameron Perera 8c01ec2f20 feat: 🎸 update player to allow routing to provided route (#173)
✅ Closes: ICU-8381
2023-03-31 14:10:36 -05:00
Cameron Perera 0349b4c804 feat: 🎸 add View text to session recording list item button (#171) 2023-03-30 15:02:00 -05:00
Cameron Perera 7faab01452 refactor: 💡 add permission to read a session recording (#167)
* refactor: 💡 add permission to read a session recording

* test: 💍 remove a11yAudit from test temporarily

* refactor: 💡 add aria-label to fix allyAudit violation (#168)

* refactor: 💡 add aria-label to fix allyAudit violation

* refactor: 💡 update standalone link to icon only button
2023-03-30 11:11:40 -05:00
Cameron Perera 63c573964f feat: 🎸 add permissions check for session recording navigation (#164) 2023-03-29 12:30:05 -05:00
Cameron PereraandRandall Morey 179cc1d0e2 refactor: 💡 show "Storage Bucket" on session recording screen (#160)
* refactor: 💡 show "Storage Bucket" on session recording screen

if no storage bucket found

* Update ui/admin/app/templates/scopes/scope/session-recordings/session-recording/index.hbs

Co-authored-by: Randall Morey <randall@randallmorey.com>

* refactor: 💡 fix lint issue

---------

Co-authored-by: Randall Morey <randall@randallmorey.com>
2023-03-28 14:22:12 -05:00
Cameron Perera 992be8c4fb feat: 🎸 add sidebar data for session recording screen (#158)
* feat: 🎸 add sidebar data for session recording screen

✅ Closes: ICU-8610

* refactor: 💡 add logic for no storage bucket linked to target

* refactor: 💡 update comments
2023-03-28 11:25:50 -05:00
Cameron Perera 983eee2742 feat: 🎸 move channel info to HDS table (#154)
* feat: 🎸 move channel info to HDS table

✅ Closes: ICU-8609

* refactor: 💡 change standalone link to hds.button

* refactor: 💡 use hds typography tokens for table titles
2023-03-27 11:43:05 -05:00
Cameron Perera b5045f1851 feat: 🎸 add empty state views for session recordings screen (#145)
* chore: 🤖 rebase session-recording

* refactor: 💡 update calls to fetch recordings and buckets
2023-03-23 15:55:10 -05:00
Cameron Perera 84de198359 refactor: 💡 update player header styles (#136) 2023-03-22 17:07:46 -05:00
Cameron Perera cb1524b6cc style: 💄 fix lint issues for player styles 2023-03-08 13:05:47 -06:00
Cameron Perera 9e42712b9f refactor: 💡 style ember-asciinema-player
✅ Closes: ICU-8380
2023-03-08 12:30:58 -06:00
Cameron Perera ef55d71a55 refactor: 💡 allow passthrough in mirage for asciicast data (#108) 2023-03-07 16:41:33 -06:00
Cameron Perera 449ea383c9 Icu 8329 create custom boundary wrapper for ember asciinema player (#103)
* refactor: 💡 fix broken page title translations

* feat: 🎸 create SessionRecording::Player component

✅ Closes: ICU-8329
2023-03-07 11:04:51 -06:00
Cameron Perera 1b5eb6c01f refactor: 💡 manually build ascii cast data for player (#104) 2023-03-07 11:04:33 -06:00
Cameron Perera 75f0192540 Icu 8328 import ember asciinema player (#93)
* chore: 🤖 add @hashicorp/ember-asciinema-player to admin UI

✅ Closes: ICU-8328

* feat: 🎸 show ember-asciinema player in channels view

* chore: 🤖 remove @hashicorp/ember-asciinema-player as dependency

* chore: 🤖 fix ember-asciinema-player source URL for install

* chore: 🤖 update yarn.lock
2023-03-02 15:56:47 -06:00
Cameron Perera c74d53931c feat: 🎸 create routes for session-recording and channels (#89)
* feat: 🎸 create routes for session-recording and channels

✅ Closes: ICU-8241

* refactor: 💡 add hardcoded ids to make route navigation possible

these are temporary and will be removed upon feature completion

* refactor: 💡 rename channels route to channels-by-connection
2023-03-01 15:58:59 -06:00
Cameron PereraandRandall Morey 2d1ed7b8bd refactor: 💡 rename div around ordered-series-diagram (#1633)
* refactor: 💡 rename div around ordered-series-diagram

* refactor: 💡 remove margin top and add to min-height

* refactor: 💡 simplify diagrams

---------

Co-authored-by: Randall Morey <randall@randallmorey.com>
2023-02-14 15:32:19 -06:00
Cameron Perera 3adfb08cb3 fix: 🐛 fix diagram width so explainer text stays below it (#1629) 2023-02-09 16:44:01 -06:00
Cameron Perera 540c9e2102 refactor: 💡 Update how WorkerDiagram is used in Target form (#1626)
* refactor: 💡 Update how WorkerDiagram is used in Target form

* refactor: 💡 remove extra div wrappers

Remove div wrappers for worker diagrams that were no longer needed

* refactor: 💡 rename worker diagram attributes to be more clear

* refactor: 💡 remove style changes out of scope for updates

* refactor: 💡 update logic for how HCP diagram is shown

* chore: 🤖 Add multi-hop flags to OSS block for verbosity
2023-02-09 16:00:19 -06:00
Cameron Perera e3772352ea chore: 🤖 fix broken host set links (#1613) 2023-01-31 16:02:05 -06:00
Cameron Perera 9b998ece1b chore: 🤖 Enable Multi-hop & Network Address for Targets feature (#1607)
* chore: 🤖 Enable Multi-hop feature

* chore: 🤖 Enable target network address feature
2023-01-27 08:47:40 -06:00
Cameron Pereraanddvonanderson ee85497182 feat: 🎸 Add HCP logic to Worker Diagram component (#1585)
* feat: 🎸 create Worker Diagram for OSS

✅ Closes: ICU-7579

* refactor: 💡 change ordered series icon to have white background

* feat: 🎸 Create Worker Diagram for egress and ingress filters

✅ Closes: ICU-7592

* feat: 🎸 Add HCP logic to Worker Diagram component

✅ Closes: ICU-7594

* refactor: 💡 remove wrapping divs and update data-test attrs

* refactor: 💡 revert HDS icon background color change

* refactor: 💡 make data-test attr more verbose

* test: 💍 fix data-test selectors for dual filter tests

* refactor: 💡 refactor test for worker-diagram dual-filter

Seperate test for `worker-diagram/dual-filter` into tow seperate test.
One for HCP and one for Enterprise.

✅ Closes: ICU-7594

* chore: 🤖 actual test for last commit

actual test for last commit

* chore: 🤖 split woker-diagram dual-filter into two components

Split worker-diagram-dual-filter component into two seperate component
and fixed test to reflect changes.

✅ Closes: ICU-7594

* refactor: 💡 quick test refactor

Refactor test for `worker-diagram-dual-filter`

* refactor: 💡 refactor dual-filter test

Refactor worker-diagram-dual-filter test to better align with if the
diagram exist, rather than what the text inside of the diagram states.

✅ Closes: ICU-7594

Co-authored-by: dvonanderson <devon.anderson@hashicorp.com>
2023-01-19 14:46:40 -06:00
Cameron Perera 07cf9fc533 Create Worker Diagram for egress and ingress filters (#1584)
* feat: 🎸 create Worker Diagram for OSS

✅ Closes: ICU-7579

* refactor: 💡 change ordered series icon to have white background

* feat: 🎸 Create Worker Diagram for egress and ingress filters

✅ Closes: ICU-7592

* refactor: 💡 remove wrapping divs and update data-test attrs

* refactor: 💡 revert HDS icon background color change

* refactor: 💡 make data-test attr more verbose
2023-01-17 14:39:54 -06:00
Cameron Perera bfc275e0f6 feat: 🎸 create Worker Diagram for OSS (#1583)
* feat: 🎸 create Worker Diagram for OSS

✅ Closes: ICU-7579

* refactor: 💡 remove wrapping divs and update data-test attrs
2023-01-17 12:44:24 -06:00
Cameron Perera b02dc0aa43 fix: 🐛 Remove json_object from payload for non-json credentials (#1576)
* fix: 🐛 Remove json_object from payload for non-json credentials

* refactor: 💡 update new route logic for type specific attributes

* test: 💍 remove typeIn and use fillIn for json credential test
2023-01-12 16:28:43 -06:00
Cameron Perera f7c80c8869 UI target worker filter deprecation message (#1574)
* feat: 🎸 Add worker_filter deprecation message to target form

* test: 💍 fix test selectors for worker_filter message
2023-01-11 15:46:47 -06:00
Cameron Perera ad37b489b7 refactor: 💡 Migrate Target form to use HDS components (#1562)
* refactor: 💡 Migrate Target form to use HDS components

* chore: 🤖 add ember-test-selectors to remove data-test attribute

Removes data-test attributes in production builds

* refactor: 💡 Default Port marked requried or optional by type
2023-01-10 16:18:28 -06:00
Cameron Perera 63f619b1ff Add egress and ingress worker filters to target model (#1554)
* feat: 🎸 add egress and ingress worker filter to target model

✅ Closes: ICU-7300

* chore: 🤖 update mirage to include ingress/egress worker filter

* refactor: 💡 update target mirage config for worker filters

* refactor: 💡 update how target id is set in mirage factory

* refactor: 💡 update target id and default_port mirage setup

* test: 💍 fix missing address attribute in new tests
2023-01-10 15:28:20 -06:00
Cameron Perera 6a8d563e06 chore: 🤖 add json credential to desktop mirage scenario (#1561)
Now when connecting to a target a JSON credential will be included as
one of the credential sources via mirage
2023-01-10 09:46:43 -06:00
Cameron Perera d8d1c797f5 chore: 🤖 add target multi-hop flags to environment config (#1546)
* chore: 🤖 add target multi-hop flags to environment config

✅ Closes: ICU-7299

* chore: 🤖 rename feature flag to target-dual-worker

* chore: 🤖 update multi-hop flags to target-worker-filters-v2
2023-01-03 15:39:27 -06:00
Cameron Perera d542acfc15 test: 💍 add tests for updating JSON credentials (#1531)
* test: 💍 add tests for updating JSON credentials

✅ Closes: ICU-6805

* refactor: 💡 update click selector for discard dialog tests
2022-12-15 13:24:48 -06:00
Cameron Perera c933aa8840 test: 💍 Add delete tests for JSON Credentials (#1526)
* test: 💍 Add delete tests for JSON Credentials

✅ Closes: ICU-6806

* refactor: 💡 update JSON variable names
2022-12-14 13:36:30 -06:00
Cameron Perera 8a61c28254 test: 💍 Create read tests for JSON credentials (#1524)
* test: 💍 Create read tests for JSON credentials

✅ Closes: ICU-6804

* refactor: 💡 use HDS color token to skeleton message color

* refactor: 💡 update JSON variable names
2022-12-14 09:53:34 -06:00
Cameron Perera d98a85e2f4 test: 💍 update list credential tests (#1528)
* test: 💍 update list credential tests

✅ Closes: ICU-6807

* refactor: 💡 fix JSON variable naming
2022-12-13 15:56:03 -06:00
Cameron Perera 66ae9eb5b0 feat: 🎸 Update byow install boundary command for hcp edition (#1522)
* feat: 🎸 Update byow install boundary command for hcp edition

* refactor: 💡 update version in download url for boundary worker
2022-12-12 18:55:28 -06:00
Cameron Perera c62eb751e4 Icu 6680 UI code editor for secrets (#1499)
* feat: 🎸 initial secret editor

* feat: 🎸 Create Secret Editor for JSON Credentials

✅ Closes: ICU-6680

* style: 💄 Fix sass lint errors

* style: 💄 Appease sass-lint rule for using --size in stylesheet

* refactor: 💡 Set Icon size via component attribute

* refactor: 💡 remove computed decorators for Secret Editor

* refactor: 💡 update editor styles to using sizing variables

* refactor: 💡 update styles and add comments

* refactor: 💡 clean up styling for secret editor

* refactor: 💡 update class names to be more verbose

* chore: 🤖 move jsonlint import to rose index.js

* refactor: 💡 remove duplicate margin style for skeleton body

* refactor: 💡 add comments to SecretEditor component class

* refactor: 💡 large updates to secret json editor

* refactor: 💡 Move JSON Secret to form/field/ directory

* style: 💄 fix padding for Secret Editor line numbers

* chore: 🤖 disable property-sort-oder in .sasslintrc

* refactor: 💡 reorder app.scss styles

* test: 💍 Add integration tests for JSON Secret and Skeleton
2022-12-02 13:58:04 -06:00
Cameron PereraandRandall Morey 84077b5d8a Icu 6800 api is secret data modeling (#1448)
* refactor: 💡 Add isSecret option for model attributes

Move secret attribute logic to application serializer that will remove
the key/value pair if the value is null or empty

✅ Closes: ICU-6800

* refactor: 💡 Add isSecret option to credential store token

* Update addons/api/addon/serializers/credential.js

Remove unneeded serialize method for credentials

Co-authored-by: Randall Morey <randall@randallmorey.com>

* refactor: 💡 add type check for serializing secret attributes

Co-authored-by: Randall Morey <randall@randallmorey.com>
2022-11-14 14:45:53 -06:00
Cameron Perera 5e7e11fc6b feat: 🎸 Add links to Host Sets assigned to targets (#1434)
* feat: 🎸 Add links to Host Sets assigned to targets

The target host sources view can now link to the host sets associated
with that target

✅ Closes: ICU-6525

* test: 💍 Improve test assert for host sources links
2022-11-09 14:22:28 -06:00
Cameron PereraandDharini Jeeva ebb172c46a chore: 🤖 update mout resolution to 1.2.4 for security issue (#1341)
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
2022-10-06 10:08:34 -05:00
Cameron Perera b6b93c9cd8 style: 💄 Fix 2 translation typos (#1357) 2022-10-05 10:23:18 +02:00
Cameron PereraandSusmitha Girumala 0cba914045 chore: 🤖 remove unused ssh-target feature flag (#1346)
Co-authored-by: Susmitha Girumala <susmitha@hashicorp.com>
2022-09-26 12:35:25 -05:00
Cameron Perera e6d68c2e4a refactor: 💡 fix routing for static credentials from targets (#1347)
* refactor: 💡 fix routing for static credentials from targets

✅ Closes: ICU-6155

* chore: 🤖 Add comment to isStatic credential helper method
2022-09-21 15:10:28 -05:00
Cameron Perera d2b67fa76c chore: 🤖 enable SSH Targets and Static Credential Store support (#1336) 2022-09-19 09:50:59 -05:00
Cameron Perera 3af439f1e6 refactor: 💡 Update Host Catalog form labels and help text (#1331)
✅ Closes: ICU-6107
2022-09-16 15:14:26 -07:00
Cameron Perera f143ba3d58 refactor: 💡 Update Quick Setup Success screen button route (#1330)
Route to Target details screen now

✅ Closes: ICU-6096
2022-09-16 14:25:45 -05:00
Cameron Perera f603c405a7 refactor: 💡 Update Quick Setup resource names (#1328)
* refactor: 💡 Update Quick Setup resource names

✅ Closes: ICU-6094

* refactor: 💡 Fix target quick setup name
2022-09-16 12:17:36 -05:00
Cameron Perera 29d41efade chore: 🤖 Add new flag for vault-worker-filter, ENT/HCP only (#1316)
✅ Closes: ICU-6054
2022-09-13 14:09:10 -07:00