Cameron Perera
7af8e71a2d
Icu 11802 filter targets by project scope ( #2022 )
...
* feat: 🎸 add ability to filter targets by scope
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11802
* refactor: 💡 update model hook signature comment
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11802
* refactor: 💡 remove await from cancel session route transition
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11802
* refactor: 💡 add comments to new controller methods
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11802
* refactor: 💡 add options to query for all targets
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11802
* refactor: 💡 handle ESC key press for dropdown
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11802
* feat: 🎸 add searching within scope dropdown list
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11802
* refactor: 💡 set pushToStore to false for all target query
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11802
* refactor: 💡 handle scopes not having names
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11802
* refactor: 💡 move fetch allTargets to controller
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11802
* refactor: 💡 fix rebase conflicts
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11802
* test: 💍 fix test
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11802
* refactor: 💡 update allTargets query to have empty query
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11802
* refactor: 💡 change let to const
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11802
* refactor: 💡 add replace: true to scopes query param
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11802
* refactor: 💡 add allTargets fetch back to model hook
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11802
* refactor: 💡 change on search to on input to trigger action
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11802
* test: 💍 fix test by adding more target returns to stub
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11802
* feat: 🎸 create filterable-dropdown rose component
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11802
* feat: 🎸 finish Rose::FilterableDropdown component
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11802
* feat: 🎸 use FilterableDropdown in targets table
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11802
* refactor: 🤖 move methods comment
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11802
* refactor: 💡 render Rose::FilterableDropdown correctly in test
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11802
* test: 💍 remove generated comments from tests
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11802
* refactor: 💡 improve readability of itemOptions getter
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11802
* refactor: 💡 change block parameters to uppercase
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11802
* test: 💍 skip generated tests until adding more
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11802
2024-01-16 10:17:46 -05:00
Zhihe Li
15d815c271
feat: 🎸 Add pagination component to targets ( #2023 )
...
* feat: 🎸 Add pagination component to targets
* test: 💍 Fix tests and add helper for client daemon search
* refactor: 💡 Update the returns from client daemon
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11905
2024-01-16 10:17:45 -05:00
Zhihe Li
dfd484dbca
fix: 🐛 Add support for not equals in MQL expression parsing ( #2029 )
2024-01-16 10:17:45 -05:00
Zhihe Li
50e4a2adbc
feat: 🎸 Do not stop client daemon if it was already started ( #2021 )
...
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11932
2024-01-16 10:17:45 -05:00
Zhihe Li
7bc2ccb5ae
refactor: 💡 Use a native class for the client daemon handler ( #2026 )
2024-01-16 10:17:45 -05:00
Zhihe Li
3f11019ef0
feat: 🎸 Add pagination support to client daemon handler ( #2016 )
...
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11743
2024-01-16 10:17:45 -05:00
Zhihe Li
1135f88cb7
feat: 🎸 Add debouncing for the search bar ( #2008 )
...
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11851
2024-01-16 10:17:45 -05:00
221ab1f7bd
Icu 11748 add free search for targets ( #1995 )
...
* refactor: 💡 fix how we access socket_address from status call
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11748
* feat: 🎸 add free search capability to targets list
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11748
* test: 💍 update test asserts to look for hds appl state title
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11748
* refactor: 💡 remove filtering for yes, no, & narrow-results
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11748
* refactor: 💡 add aria-label to dropdown search input
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11748
* refactor: 💡 add to handleInput signature comment
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11748
* refactor: 💡 move buildQuery to client daemon handler
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11748
* refactor: 💡 Add new parser for MQL expressions
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11748
* refactor: 💡 use queryParams for searching
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11748
* fix: 🐛 Fix some MQL expressions not being properly filtered
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11748
* style: 💄 update handleSearchInput comment signature
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11748
* Update addons/api/addon/utils/mqlQuery.js
Co-authored-by: Lisbet Alvarez <107949262+lisbet-alvarez@users.noreply.github.com >
---------
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
Co-authored-by: Lisbet Alvarez <107949262+lisbet-alvarez@users.noreply.github.com >
2024-01-16 10:17:45 -05:00
Zhihe Li
4bf1a88764
feat: 🎸 Add handler to make search requests to client daemon ( #1989 )
...
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11691
2024-01-16 10:17:45 -05:00
Zhihe Li
b8b970ce4d
feat: 🎸 Add initial setup for client daemon integration ( #1987 )
...
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11702
2024-01-16 10:17:45 -05:00
dharini
25c6ed6100
chore: 🤖 fieldname update
2024-01-16 10:17:45 -05:00
Lisbet Alvarez and Zhihe Li
550dee9ae0
Icu 11861 add sorting to session recording ( #2005 )
...
* refactor: 💡 add sorting to session recordings & sessions
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11861
* Update ui/admin/app/routes/scopes/scope/session-recordings.js
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
---------
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
2024-01-16 10:17:45 -05:00
Lisbet Alvarez
776c46f129
refactor: 💡 replace store.findAll with store.query ( #2002 )
...
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11825
2024-01-16 10:17:45 -05:00
Lisbet Alvarez
6ae3067dd9
refactor: 💡 remove unnecessary sorting due to pagination change ( #1996 )
...
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11787
2024-01-16 10:17:45 -05:00
Dharini Jeeva
459029530b
chore: 🤖 Add support for pagination in query method ( #1991 )
...
* chore: 🤖 Add support for pagination in query method
2024-01-16 10:17:45 -05:00
Zhihe Li
7dbd581a37
feat: 🎸 Add setup for api handlers
2024-01-16 10:17:45 -05:00
Devon Anderson
9bbd914a3a
refactor: 💡 Added middle alignment to all Hds::Tables ( #2088 )
...
Added middle alignment using `@valign='middle'` to all `Hds::Tables`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12168
2024-01-15 10:23:32 -05:00
Dharini Jeeva
276713697a
chore: 🤖 move overridable next to select ( #2092 )
...
* chore: 🤖 move overridable next to select
* fix: 🐛 lint
2024-01-12 17:20:30 -08:00
Dharini Jeeva
ba786d2172
policy association form ( #2089 )
...
* feat: 🎸 add storage policy api and mirage
2024-01-12 15:01:16 -08:00
Dharini Jeeva
ee4e19ace7
Add more options retain ( #2090 )
...
* chore: 🤖 add more options to rentention policy
* fix: 🐛 log
* fix: 🐛 exclude days
2024-01-12 14:33:36 -08:00
Dharini Jeeva
eefb9eba4f
feat: 🎸 scope policy association api changes ( #2086 )
...
scope policy association API changes
2024-01-12 11:29:19 -08:00
Dharini Jeeva
1cb3b708a2
feat: 🎸 create storage policy ( #2079 )
...
* feat: 🎸 add storage policy
2024-01-12 11:07:18 -08:00
Devon Anderson
8ad4e93ff7
refactor: 💡 Migrate workers-tags over to use Hds::Table ( #2070 )
...
* refactor: 💡 Migrate `workers-tags` over to use `Hds::Table`
Migrate `workers-tags` in `worker-create` form to use `Hds::Table`
instead of `Rose::Table`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11722
* refactor: 💡 Use `Form::Field::List::Wrapper` for table
Use `Form::Field::List::Wrapper` for table implementation.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11722
* refactor: 💡 Refactored how `worker_tags` is used in `table`
Cleaned up how `worker_tags` is used in the `Form::Field::ListWrapper`
component
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11722
* refactor: 💡 removed `console.log`
removed console.log
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11722
2024-01-11 17:23:24 -05:00
Devon Anderson
9241b7dd0e
refactor: 💡 Migrate hostslist within host-set to Hds::Table ( #2049 )
...
* refactor: 💡 Migrate `hosts`list within host-set to `Hds::Table`
Migrate `hosts` list within host-set to `Hds::Table` from `Rose::Table`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11728
* Update index.hbs
Not using `data-test` attribute for testing
* Update index.hbs
removed unused `data-test` selector
* refactor: 💡 quick lint error fix
Fix lint error in `hosts/index.hbs`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11728
* refactor: 💡 refactor test to use `data-test` selector
Refactored hosts-test to use `data-test` selectors for grabbing
`Hds::Dropdown` toggle and interactive instead of long nested selector.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11728
* Update index.hbs
spelling fix
* Update hosts-test.js
fixed spelling errors
* refactor: 💡 fix lint errors
Fix lint errors
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11728
* refactor: 💡 Use `Hds::Code::Snippet`
Migrate from `Copyable` component to use `Hds::Code::Snippet`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11728
* refactor: 💡 refactor incorrect use of `Hds::Code::Snippet`
Refactor the incorrect usage of `Hds::Code::Snippet`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11728
* refactor: 💡 refactor header of `Hds::Table`
Refactor conditional header of `Hds::Table`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11728
* refactor: 💡 Refactored conditional header translations
Refactored conditional header translations to live in controller file
for `scopes/scope/host-catalogs/host-catalog/host-sets/host-set/hosts`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11728
* refactor: 💡 Move conditional check for header labels into `js`
Move conditional logic for checking header lables into `controller` file
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11728
* refactor: 💡 Quick refactor for columns getter
Quick refactor to clean up getter that conditionally renders column
header label based on `isStatic` boolean
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11728
* refactor: 💡 Refactor `host-sets/host-set/hosts` tablee
Refactor `host-sets/host-set/hosts` table to adhere more to codebase
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11728
* refactor: 💡 rearrange attributes order for table
Rearrange attributes order for `Hds::Table` to keep inline with codebase
patterns.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11728
2024-01-11 16:49:47 -05:00
0beec7b8fe
[COMPLIANCE] Add Copyright and License Headers ( #2077 )
...
* [COMPLIANCE] Add Copyright and License Headers
* style: 💄 fix linting error
---------
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
Co-authored-by: Lisbet Alvarez <lisbet.alvarez@hashicorp.com >
2024-01-10 16:49:12 -08:00
dependabot[bot]
9bcaa6dc68
chore(deps): bump follow-redirects from 1.15.2 to 1.15.4 ( #2082 )
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.15.2 to 1.15.4.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.2...v1.15.4 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-10 14:39:48 -05:00
Dharini Jeeva
3f178363d9
chore: 🤖 add attach and detach storage policy permissions ( #2080 )
...
* chore: 🤖 add attach and detach storage policy permissions
2024-01-09 11:39:28 -08:00
Devon Anderson
3810217ce7
refactor: 💡 Migrate credential-libraries-list to Hds::Table ( #2067 )
...
* refactor: 💡 Migrate `credential-libraries-list` to `Hds::Table`
Migrate `credential-libraries-list` to `Hds::Table` instead of
`Rose::Table`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11724
* refactor: 💡 Fix broken test for navigating to `credentials-libraries`
Fix broken test for navigating to `credentials-libraries`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11724
2024-01-09 10:27:44 -05:00
Dharini Jeeva
b79eebf73a
feat: storage policies list view ( #2071 )
...
policies list view
2024-01-08 15:12:49 -08:00
Zhihe Li
b3abb658ab
chore: 🤖 Fix breaking change in labeler when upgrading to v5 ( #2078 )
2024-01-08 15:06:46 -05:00
hashicorp-tsccr[bot] and hashicorp-tsccr[bot]
245cfb395e
Result of tsccr-helper -log-level=info gha update -latest . ( #2065 )
...
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
2024-01-08 14:10:13 -05:00
Devon Anderson
adfa118ae5
refactor: 💡 Migrate credentials-list to Hds::Table ( #2059 )
...
* refactor: 💡 Migrate `credentials-list` to `Hds::Table`
Migrate `credentials-list` to `Hds::Table`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11725
* refactor: 💡 Refactor table to use `B.data`
Originally the Proxy(Array) was not being taking in as a correct model
object when using the `@columns` synthax, now it seems to work perfectly
fine.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11725
2024-01-05 12:23:46 -05:00
Devon Anderson
cf0f4ab56a
refactor: 💡 Refactor credential-stores-list to use Hds ( #2066 )
...
Refactor `credential-stores-list` to use `Hds::Tables`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11723
2024-01-05 11:18:22 -05:00
Dharini Jeeva
f40878034d
fix: 🐛 transform ( #2069 )
...
* fix: 🐛 transform
* fix: 🐛 return null if undefined
* fix: 🐛 return null if no object
2024-01-03 17:37:14 -08:00
Dharini Jeeva
01a986e08b
chore: 🤖 new routes for storage policy ( #2056 )
...
chore: 🤖 new routes for storage policy (#2056 )
2024-01-03 12:05:23 -08:00
Dharini Jeeva
e3406d9a95
feat: storage policy API and mirage changes ( #2054 )
...
* feat: 🎸 add storage policy API and mirage
2024-01-03 11:52:17 -08:00
Devon Anderson
d4adbe4317
refactor: 💡 Migrate host-catalogs list to Hds::Table ( #2055 )
...
* refactor: 💡 Migrate host-catalogs list to `Hds::Table`
Migrated host-catalogs list to use `Hds::Table` instead of `Rose::Table`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11726
* refactor: 💡 use `Hds::Text` component
Use `Hds::Text::Code` component for `code` element.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11726
* refactor: 💡 Use `Hds::Text` and `Hds::Code::Snippet`
Refactor element to use `Hds`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11726
* refactor: 💡 refactor incorrect usage of `Hds::Code::Snippet`
Refactor incorrect usage of `Hds::Code::Snippet`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11726
2024-01-02 12:02:26 -05:00
Devon Anderson
01d4a329ab
refactor: 💡 Migrate host-sets-list in host catalog to Hds ( #2057 )
...
* refactor: 💡 Migrate host-sets-list in host catalog to `Hds`
Migrate `host-catalog` `host-sets` list to use `Hds::Table`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11727
* refactor: 💡 refactor incorrect use of `Hds::Code::Snippet`
Revactor incorrect use of `Hds::Code::Snippet`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11727
* Update index.hbs
color for text should be `secondary`
* Update index.hbs
lint error
* refactor: 💡 quick lint fix
quick lint fix
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11727
2024-01-02 10:15:19 -05:00
Michael Li
659067dd08
test(admin/e2e): Add tags to tests ( #2046 )
2023-12-20 15:06:38 -05:00
Devon Anderson and Cameron Perera
ade1601d8d
refactor: 💡 Refactor sessions-list to use Hds::Table ( #2043 )
...
* refactor: 💡 Refactor `sessions-list` to use `Hds::Table`
Refactor `sessions-list` to use `Hds::Table` instead of `Rose::table`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11732
* refactor: 💡 Use `Hds::Text` component for `code` elements
Refactor `code` elements to use `Hds::Text::Code` component for text.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11732
* Update ui/admin/app/templates/scopes/scope/sessions/index.hbs
Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com >
* refactor: 💡 Refactor the condition around the `cancelSession`
route-action, to use the `SessionAbility` for permssion to cancel
session. Upgrade `Rose::Button` to `Hds::Button`.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11732
---------
Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com >
2023-12-14 17:27:09 -05:00
Devon Anderson
4550cd0965
refactor: 💡 Migrate host-catalog/host-list to use Hds ( #2044 )
...
* refactor: 💡 Migrate `host-catalog/host-list` to use `Hds`
Migrate `host-catalog/host-list` to use `Hds::Table`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11729
* refactor: 💡 `Hds::Text` refactor
Refactored `code` and `p` tag elements to use new `HDS::Text` elements
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11729
2023-12-14 14:48:10 -05:00
Devon Anderson
0bbc33d073
refactor: 💡 Refactor targets-list to use Hds ( #2041 )
...
Migrate `targets-list` from `Rose::Table` to `Hds::Table`.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11733
2023-12-13 10:28:32 -05:00
Devon Anderson
69a4eb53b9
refactor: 💡 Refactor workers list to use Hds::Table ( #2038 )
...
* refactor: 💡 Refactor workers list to use `Hds::Table`
Refactor workers list to use `Hds::Table` instead of `Rose`.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11734
* Refactored `workers-list` table to use `margin-top` custom css instead
of removing the background from `Rose::Toolbar`
2023-12-12 14:52:31 -05:00
Dharini Jeeva
d06111c803
fix: 🐛 target cred sources association ( #2040 )
2023-12-11 16:32:58 -08:00
Carlos Alcaide Corvo
b51c8203ee
chore: 🤖 Upgrade eslint-plugin-qunit ( #2011 )
...
* chore: 🤖 Upgrade eslint-plugin-qunit
* Delete unnecessary assert.expect from tests
2023-12-08 12:56:00 -08:00
Carlos Alcaide Corvo
a94572214c
chore: 🤖 Refactor main element padding ( #2030 )
...
* chore: 🤖 Refactor main element padding
Refactor main element padding to achieve consistency within all our
UI's. This is a quick solution until we adopt app-frame and follow the
same layouting pattern within all our UI's
✅ Closes: ICU-11960
* Delete unnecessasry @use size
2023-12-08 12:31:13 -08:00
Dharini Jeeva
751b5bef78
chore: 🤖 add skip prompts toggle ( #2036 )
...
* chore: 🤖 add skip prompts toggle
2023-12-08 09:17:36 -08:00
Kristin Bradley and Dharini Jeeva
77f8235ebf
Replace Rose::CodeEditor with Hds::CodeBlock within Desktop client (HDS-2827) ( #2020 )
...
* HDS-2827 Replace Rose::CodeEditor with Hds::CodeBlock on Create New Worker page
* HDS-2827 Replace Rose::CodeEditor with Hds::CodeBlock in credentials panel
* HDS-2827 Remove un-needed getters, fix formatting errors
* HDS-2827 Revert instances of Hds::CodeBlock added to create workers page
* HDS-2827 Fix failing test
* Apply suggestions from code review
* HDS-2827 Delete old unused css
* HDS-2827 Delete old css
---------
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com >
2023-12-08 12:03:47 -05:00
9782f7e243
feat: 🎸 Implement time-remaining helper into desktop UI ( #2018 )
...
* feat: 🎸 implement helper
Implement `time-remainig` helper to display duration of a session for
desktop app.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-10487
* refactor: 💡 Refactored scenarios
Refactored `ipc.js` scenario to include `expiration_time` for a new
session.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-10487
* fix: 🐛 Fix add expiration_time when user has no grants to read (#2024 )
* refactor: 💡 refactor styles
Removed `div` and added `Hds::Badge` to `h1` element. Condensed and
renamed styling for title to `session-details-info`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-10487
* Refactored `projects/targets` controller to return the correct `expiration_time` field returned from CLI. Cleaned up CSS for `session-details-info` attribute and wrapped `@model.displayname` in span tag.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-10487
* Update ui/desktop/app/controllers/scopes/scope/projects/targets/index.js
mixed naming expiration field on payload to store
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
* refactor: 💡 refactored page header
Refactored `sessions` header to use `<Hds::Text::Dislpay/>` instead of a
span.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-10487
* refactor: 💡 refactor cli response
Refactor `expiration` field from CLI response to be the correct
definition
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-10487
* refactor: 💡 refactor sessions layout
Removed span as parent of header information, and pushed styles to
yielded page.header. Fixed stub in test
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-10487
---------
Co-authored-by: Carlos Alcaide Corvo <ccorvo@hashicorp.com >
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
2023-12-07 16:01:57 -05:00
Michael Li
6328cc1fcf
test(admin/e2e): Update tests to account for changes in 0.14.3 ( #2033 )
...
* test(admin/e2e): Modify password locators due to new Show Password button
* test(admin/e2e): Update breadcrumbs locators due to design updates
Previously, all breadcrumb items were links, but that is no longer the case for the active breadcrumb.
2023-12-07 11:42:04 -05:00