Commit Graph
5289 Commits
Author SHA1 Message Date
Carlos Alcaide Corvo afd89bddb3 feat: 🎸 Add MetadataList component (#193)
Add MetadataList component and use of it within session-recordings

✅ Closes: ICU-8232
2023-04-17 12:49:08 -07:00
Dharini Jeeva 09796ac8a3 target session recording enablement acceptance test (#192)
* test: 💍 target session recording enablement tests
2023-04-07 11:56:28 -07:00
lisbet-alvarez c91a33a796 feat: 🎸 delete action for storage bucket (#191)
* feat: 🎸 delete action for storage bucket

✅ Closes: ICU-8229
2023-04-07 10:44:48 -07:00
lisbet-alvarez 33af4cd7ea Icu 8801 update settings icon to link in target edit screen (#188)
* refactor: 💡 update settings icon to link in target edit screen

* style: 💄 whitespace

✅ Closes: ICU-8801

* test: 💍 remove unnecessary a11yAudit() check

* test: 💍 fix test

* refactor: 💡 fix translation

* refactor: 💡 settings link shouldn't be visible under button
2023-04-06 10:45:19 -07:00
Randall Morey affcb420c7 chore: 🤖 add session-recording to licensedFeatures (#185) 2023-04-05 16:55:08 -07:00
lisbet-alvarezandZhihe Li 6a48c31d83 feat: 🎸 add storage bucket card on ssh target (#163)
* feat: 🎸 storage bucket card on ssh target

✅ Closes: ICU-8631

* Update ui/admin/app/routes/scopes/scope/targets/target/index.js

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

---------

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
2023-04-05 10:49:15 -07: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
Dharini Jeeva 2c93c378c4 Fix feature flag session recording target (#187)
* chore: 🤖 wrap target session recording with feature flag

* fix: 🐛 test

* fix: 🐛 test

* fix: 🐛 use ember truth helper
2023-04-04 12:20:45 -07:00
Dharini Jeeva 639d57f927 Icu 8704 enable session recording route model hook (#180)
* feat: 🎸 target session recording toggle
2023-04-04 11:01:00 -07:00
Dharini JeevaandZhihe Li dc479d45b2 chore: 🤖 yarn lock up to date (#184)
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
2023-04-04 09:44:25 -07:00
Cameron Perera cdaab19d1f test: 💍 fix flaky session-recording player render test (#186) 2023-04-04 11:10:28 -05:00
2a9c4507d2 Main to session recording (#178)
* 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>

* 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>
2023-04-03 20:28:31 -07:00
lisbet-alvarez 7080b07ab3 Link list panel component (#182)
* chore: 🤖 update parent branch

* chore: 🤖 fix merge conflict

* chore: 🤖 merge conflict

* refactor: 💡 merge conflict

* chore: 🤖 update branch

* fix: 🐛 translation

* refactor: 💡 use <ul> & <li> and make entire row a link
2023-04-03 18:12:44 -07:00
Zhihe Li 811025bccb refactor: 💡 Remove session recording type check and update name (#179) 2023-04-03 11:56:05 -04:00
Zhihe Li 62ec3fe914 refactor: 💡 Add channel ability for asciicasts (#174) 2023-03-31 21:19:46 +00:00
Carlos Alcaide Corvo 3bf2620b2c Feat get asciicast from model (#175)
* Get the asciicast from the model
2023-03-31 13:55:58 -07: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
Dharini Jeeva 02d8b7e77c fix: 🐛 target enable session recording (#172)
* fix: 🐛 target enable session recording save

* fix: 🐛 remove from adapter
2023-03-31 10:14:19 -07:00
Carlos Alcaide Corvo e4944fac89 feat: 🎸 Add related channel information (#162)
* feat: 🎸 Add related channel information
2023-03-30 18:31:30 -07:00
Carlos Alcaide Corvo b9fea822d0 Feat - ICU 8234 helper format-bytes-size (#170)
* feat: 🎸 Add format-bytes-size helper
2023-03-30 17:00:02 -07: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
Devon AndersonandZhihe Li ae66e68bad chore: 🤖 add related test for target sidebar (#166)
* chore: 🤖 add related test for target sidebar

Add related acceptance test for `session-recording` sidebar integration
into `target` form.

✅ Closes: ICU-8590

* Update read-test.js

* refactor: 💡 fix test

Fix failing test for sidebar component.

* Update ui/admin/tests/acceptance/targets/read-test.js

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

* Update ui/admin/tests/acceptance/targets/read-test.js

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

---------

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
2023-03-30 08:29:52 -04:00
Devon Anderson 60de33598a feat: 🎸 create enable-session-recording view (#165)
* feat: 🎸 create enable-session-recording view

Create `enable-session-recording` ui view.

✅ Closes: ICU-8592

* refactor: 💡 refactor scss for enable-session-recording

Refactor scss to use `rem` instead of Rose mixins for sizing.

✅ Closes: ICU-8592

* refactor: 💡 removed integration test

Removed integration test for `form/enable-session-recording`. User
testing will come from targets acceptance test.

✅ Closes: ICU-8592
2023-03-29 15:45:40 -04:00
Cameron Perera 63c573964f feat: 🎸 add permissions check for session recording navigation (#164) 2023-03-29 12:30:05 -05:00
Zhihe Li 3693ee88c0 refactor: 💡 Change bytes to be strings (#161) 2023-03-28 16:20:40 -04: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
Carlos Alcaide Corvo 502f04d02a refactor: 💡 Add Project name to session-recordings list (#152)
* refactor: 💡 Add Project name to session-recordings list
2023-03-28 09:48:22 -07: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
Zhihe Li 1f581fcc75 chore: 🤖 Remove type on channel recordings (#155) 2023-03-28 16:08:15 +00:00
lisbet-alvarezandZhihe Li b3dc1f236d refactor: 💡 use secret input component for secret access key (#156)
* refactor: 💡 use secret input component for secret access key

use new component and update test files

✅ Closes: ICU-8645

* Update ui/admin/app/components/form/storage-bucket/index.hbs

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

* refactor: 💡 revise translation wording

* style: 💄 fix linting space issue

* refactor: 💡 only rollback changes for specific attribute

* style: 💄 change button text color in dark mode for a11yAudit

* refactor: 💡 add function to cancel changes to secrets

* Update ui/admin/app/components/form/storage-bucket/index.js

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

---------

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
2023-03-28 15:46:25 +00:00
Zhihe Li 2f5da06eec fix: 🐛 Fix targets sometimes not having a storage bucket id (#159) 2023-03-28 11:12:58 -04:00
Dharini Jeeva 971ab2be61 feat: 🎸 target session recording configure on edit mode (#144)
* feat: 🎸 target session recording sidebar
2023-03-27 13:38:32 -07:00
Zhihe Li f0e1101479 feat: 🎸 Add abilities to target for storage buckets (#148)
✅ Closes: ICU-8081
2023-03-27 18:46:34 +00: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
Zhihe Li 97588e88c7 refactor: 💡 Update mirage data (#157) 2023-03-27 15:11:38 +00:00
Carlos Alcaide Corvo 304b76cb69 fix: 🐛 Fix breadcrumb and field name (#153)
Fix breadcrumb and field name
2023-03-24 16:27:21 -07:00
Carlos Alcaide Corvo 20ef3a3b9e feat: 🎸 Add Channel data from mirage (#151)
* feat: 🎸 Add Channel data from mirage

✅ Closes: ICU-8635
2023-03-24 10:28:29 -07:00
Zhihe Li 581d49ab76 refactor: 💡 Update storage bucket route to use recursive (#150) 2023-03-24 11:51:55 -04:00
Devon AndersonandZhihe Li 85f2561a72 Icu 8559 use secret input component for access key (#146)
* feat: 🎸 create edit storage-bucket view

Create edit storage bucket view for single storage bucket

✅ Closes: ICU-8240

* Update ui/admin/tests/acceptance/storage-buckets/update-test.js

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

* Update ui/admin/tests/acceptance/storage-buckets/update-test.js

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

* refactor: 💡 merge upstream

merge upstream

✅ Closes: ICU-8240

* feat: 🎸 implement secret-input component

Implement `secret-input` component for `access_key_id` field in the
`storage-bucket` new and edit forms.

✅ Closes: ICU-8559

* refactor: 💡 refactored storage-bucket form

We will still conditionally render regular `Hds::Form::TextInput::Field`
for new `storage-bucket` and render `Form::Field::SecretInput` for
detail view and edit view.

✅ Closes: ICU-8559

* refactor: 💡 fixed failing test for storage bucket from

Fixed failing test for edit button now that secret-input has been
implemented

✅ Closes: ICU-8559

* Update ui/admin/app/components/form/storage-bucket/index.hbs

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

* Update index.js

---------

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
2023-03-24 11:17:06 -04:00
Zhihe Li e460a5e429 chore: 🤖 Update models to new field names (#149) 2023-03-24 10:52:55 -04: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
Zhihe Li d503b614bc refactor: 💡 Fix mirage data (#147) 2023-03-23 16:18:45 -04:00
Devon AndersonandZhihe Li 458fd167e3 feat: 🎸 create edit storage-bucket view (#137)
* feat: 🎸 create edit storage-bucket view

Create edit storage bucket view for single storage bucket

✅ Closes: ICU-8240

* Update ui/admin/tests/acceptance/storage-buckets/update-test.js

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

* Update ui/admin/tests/acceptance/storage-buckets/update-test.js

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

* refactor: 💡 merge upstream

merge upstream

✅ Closes: ICU-8240

* Update update-test.js

removed unneeded await on assertion

---------

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
2023-03-23 12:33:31 -04:00
Zhihe Li 456a5944e0 feat: 🎸 Add mirage data for storage bucket id on targets (#141)
✅ Closes: ICU-8080
2023-03-23 12:09:39 -04:00
Dharini Jeeva a51a74875d Merge pull request #143 from hashicorp/add-feature-flag
chore: 🤖 add session-recording flag to updated configs
2023-03-23 21:15:48 +05:30
dharini b74c4ae03d chore: 🤖 add session-recording flag to updated configs 2023-03-23 11:44:57 +05:30
Dharini Jeeva ea5a8c1edc Merge pull request #132 from hashicorp/ICU-8523-create-secret-input-form-field
Icu 8523 create secret input form field
2023-03-23 11:08:02 +05:30
dharini e5b09c415f fix: 🐛 translation 2023-03-23 10:45:28 +05:30
dharini b8c38dd0b3 chore: 🤖 var names 2023-03-23 10:28:16 +05:30