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
bcf004b8a4
Reformat codebase with trailing commas in functions ( #2006 )
...
* style: 💄 Update trailing commas in API
* style: 💄 Update trailing commas in core
* style: 💄 Update trailing commas in rose
* style: 💄 Update trailing commas in admin
* style: 💄 Update trailing commas in desktop
2023-11-22 14:07:41 -05:00
Cameron Perera and Dharini Jeeva
f54d48c380
refactor: 💡 allow target connection even with no read ability ( #1984 )
...
* refactor: 💡 allow target connection even with no read ability
* Update ui/desktop/tests/acceptance/projects/targets/index-test.js
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com >
* refactor: 💡 remove unneeded await from transitionTo
---------
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com >
2023-11-03 16:01:51 -05:00
Zhihe Li
1ddabf4980
feat: 🎸 Add checks for cancel permissions in desktop sessions ( #1980 )
...
* feat: 🎸 Add checks for cancel permissions in desktop sessions
* chore: 🤖 Move model hook from session to session.index
2023-11-02 13:42:51 -04:00
Cameron Perera
f879bbb1ec
Session permissions issue ( #1975 )
...
* refactor: 💡 session isCancelable to isAvailable
* refactor: 💡 check for target info for showing target details
* refactor: 💡 add fallback for session data from connect command
* refactor: 💡 remove extra divs
* refactor: 💡 remove await from peekRecord of a session
* test: 💍 add test for no read permission for sessions
* test: 💍 reset global qunit after test is done
2023-11-01 11:22:18 -05:00
Carlos Alcaide Corvo and cameronperera
3f8e39d0e1
Host set permission issue ( #1968 )
...
* refactor: 💡 allow for graceful error handling when connecting
to a target where host-sets cannot be fetched
* refactor: 💡 update for loop to for...of loop
* Move fetching host from target to session domain
* Decouple getting target host-sets and getting hosts from the host-sets, now this code is extracted in 2 methods. Now if the user does not have permissions to fetch host or host-sets we do not show an error and we allow for quick-connect approach
* Fix a check within getHostsFromHostSets
* Change a for loop for Promise.all within getTargetHostSets
* Change a for loop for Promise.All within getHostsFromHostSets
* Delete unnecessary condition
* Delete unnecessary condition
* chore: 🤖 remove host sources from target mirage factory
by default it uses address when using 'withAssociations'
* test: 💍 update target address tests to use 'withOneHost'
* test: 💍 remove connect tests from scopes acceptance tests
* refactor: 💡 remove can initiate connect target ability
and associated code and tests
* refactor: 💡 update target model afterModel hook, and preconnect
* refactor: 💡 revert 'withAssociations' mirage change
* test: 💍 add tests for permissions issues for host-sets and host
* test: 💍 visiting session without permissions to read hosts
---------
Co-authored-by: cameronperera <cameron.perera@hashicorp.com >
2023-10-30 12:54:37 -05:00
Zhihe Li
262df46fac
fix: 🐛 Fix edge case with showing host modal ( #1939 )
...
✅ Closes: ICU-11285
2023-10-04 18:57:17 -04:00
Lisbet Alvarez
bac3593b97
fix: 🐛 host modal renders whenever there is an error during connection ( #1936 )
...
* fix: 🐛 host modal renders whenever there is an error
✅ Closes: ICU-11231
* test: 💍 add test case to make sure fix is working properly
* fix: 🐛 toggle flag back to false and remove @tracked
* fix: 🐛 host modal should also close after host connection error
* refactor: 💡 change toggle to toggleModal
* test: 💍 rename toggle in test cases
2023-10-02 07:26:10 -05:00
Cameron Perera
c5cffd5137
feat: 🎸 create Host Modal for connecting to specific modal ( #1898 )
...
✅ Closes: ICU-10432
2023-09-22 18:58:14 -04:00
Cameron Perera
a6b497cacd
fix: 🐛 fix cancel session failing after shell has started ( #1899 )
...
✅ Closes: ICU-11035
2023-09-22 18:58:14 -04:00
Cameron Perera
edd42ee927
feat: 🎸 add host details to session details screen if present ( #1889 )
...
* feat: 🎸 add host details to session details screen if present
✅ Closes: ICU-10282
* refactor: 💡 update style for host details
* refactor: 💡 update styles for sidebar details
* refactor: 💡 remove unneeded class selector
2023-09-22 18:58:14 -04:00
Cameron Perera
f0a848721a
feat: 🎸 allow for connection for target with single host ( #1887 )
...
* feat: 🎸 allow for connection for target with single host
✅ Closes: ICU-10431
* refactor: 💡 small code clean up
* refactor: 💡 move host fetch to model hook
2023-09-22 18:58:14 -04:00
Cameron Perera
374b21bcff
feat: 🎸 update connect logic for targets with static addresses ( #1874 )
...
* feat: 🎸 update connect logic for targets with static addresses
✅ Closes: ICU-10430
* refactor: 💡 remove console logs
* refactor: 💡 add missing awaits
2023-09-22 18:58:14 -04:00
Cameron Perera
9ce79b3d14
feat: 🎸 redirect to targets list when canceling ( #1866 )
...
from the sessions detail screen
✅ Closes: ICU-10760
2023-09-22 18:58:13 -04:00
Cameron Perera
4dcf1675ba
refactor: 💡 add loading indicator to connect and cancel actions ( #1867 )
...
✅ Closes: ICU-10677
2023-09-22 18:58:13 -04:00
Cameron Perera and Dharini Jeeva
d5d2045fb5
Icu 10315 add credentials panel ( #1855 )
...
* feat: 🎸 add credentials panel for session detail screen
✅ Closes: ICU-10315
* fix: 🐛 remove use of A in sessions list array
* refactor: 💡 fix class name to apply style to both detail screen
* refactor: 💡 add comment to resetController on session route
* refactor: 💡 add @value to HDS Toggle in session detail page
* refactor: 💡 class name refactor for credential panel
* refactor: 💡 remove unneeded div around CodeEditor
* refactor: 💡 change border units from rem to px
* feat: 🎸 create CredentialsPanel component
* Update ui/desktop/tests/integration/components/credentials-panel-test.js
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com >
* refactor: 💡 update credential panel styles
* style: 💄 fix lint error for desktop styles
* chore: 🤖 yarn.lock update
---------
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com >
2023-09-22 18:58:13 -04:00
Cameron Perera
b300e898ff
refactor: 💡 initial change to target connect workflow ( #1840 )
...
* refactor: 💡 initial change to target connect workflow
✅ Closes: ICU-10605
* refactor: 💡 change back to findRecord for a session
2023-09-22 18:58:13 -04:00
Cameron Perera
d55c563004
Icu 10495 session detail sidebar content ( #1837 )
...
* chore: 🤖 fix model hook signature
* feat: 🎸 add target details to session details page
✅ Closes: ICU-10495
* style: 💄 fix missing "}" in model signature
2023-09-22 18:58:13 -04:00
Cameron Perera
4b9496b4f2
Icu 10491 create route for session/session-id ( #1825 )
...
* fix: 🐛 call displayName on model
* feat: 🎸 add sessions/session-id route and base layout
✅ Closes: ICU-10491
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
Lisbet Alvarez and Dharini Jeeva
ff2e320267
refactor: 💡 use hds checkbox field instead of rose checkbox ( #1754 )
...
* refactor: 💡 use hds checkbox field instead of rose checkbox
✅ Closes: ICU-9423
* Update ui/admin/app/components/form/auth-method/oidc/index.hbs
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com >
* Update ui/desktop/app/controllers/scopes/scope/projects/sessions/index.js
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com >
* fix: 🐛 remove isInvalid arg
* refactor: 💡 move array conversion to model hook
---------
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com >
2023-07-11 12:56:30 -07:00
Randall Morey
863c080196
Optimise Desktop API queries ( #1707 )
...
* fix: 🐛 increase auth form width, which was too narrow
* chore: 🤖 optimize targets route queries
* chore: 🤖 optimize sessions route queries
* chore: 🤖 disable polling in sessions route
* chore: 🤖 disable polling in targets route
* refactor: 💡 update tests for new queries and removing timing
2023-06-07 18:28:33 -07:00
hashicorp-copywrite[bot] and Cameron Perera
3d610427d0
[COMPLIANCE] Add Copyright and License Headers ( #1617 )
...
* [COMPLIANCE] Add Copyright and License Headers
* chore: 🤖 update Copyright headers to satisfy our lint rules
---------
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com >
2023-03-01 09:39:41 -06:00
Randall Morey and Zhihe Li
f7c1523adb
Refactor host set fragment arrays ( #1464 )
...
* refactor: 💡 change host_ids to a simple attribute
* refactor: 💡 manually manage host set array model attributes
* refactor: 💡 Fix host set IDs usage
* style: 💄 Fix comment and add braces for if statements
* refactor: 💡 Add back in empty array for normalizer
* refactor: 💡 Move attributes to generated model
* refactor: 💡 Update array actions when creating new host sets
* test: 💍 Add a few create tests for azure and aws host sets
* test: 💍 Add update tests for azure and aws host sets
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
2022-11-21 19:07:46 -05:00
Randall Morey and Dharini Jeeva
c107fa872c
refactor: 💡 explicitly inject the store service - icu-6770 ( #1424 )
...
✅ Closes: icu-6770
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com >
2022-11-07 15:17:23 -08:00
Randall Morey
4a6ed0b509
refactor: 💡 replace ember notify with flash in notify decorator ( #1272 )
...
* refactor: 💡 replace ember notify with flash in notify decorator
* refactor: 💡 remove embery-notify and replace last instance
2022-08-31 10:24:25 -07:00
Carlos Alcaide Corvo
4fcb005a1f
Refactor origin to cluster ( #1210 )
2022-07-27 10:25:01 -07:00
Randall Morey
dc78fe9028
Chore include terminated ( #1126 )
...
* chore: 🤖 add include_terminated=true when filtering terminated
* chore: 🤖 add include_terminated=true when filtering terminated
2022-06-07 15:40:33 -04:00
Cameron Perera
952b894a32
feat: 🎸 Add ToolbarRefresher component to targets in desktop ( #1093 )
...
✅ Closes: ICU-4134
2022-04-29 18:06:11 -05:00
Cameron Perera
3bdae6dce8
feat: 🎸 refresh targets list view in desktop ( #1087 )
...
✅ Closes: ICU-4024
2022-04-28 17:35:52 -05:00
Dharini Jeeva
9cf216179a
feat: refresh sessions list view in desktop ( #1069 )
...
* feat: 🎸 add a refresh button to sessions list view in desktop
2022-04-28 08:49:37 -07:00
Carlos Alcaide Corvo
550cadf612
Revert "fix: 🐛 Disable polling for sessions on Desktop ( #1058 )" ( #1062 )
...
This reverts commit 26e074dbef .
2022-04-19 13:22:47 -07:00
Carlos Alcaide Corvo
95cece1481
Revert "fix: 🐛 Disable polling for targets on Desktop ( #1059 )" ( #1061 )
...
This reverts commit 6249e945b8 .
2022-04-19 13:06:42 -07:00
Cameron Perera
6249e945b8
fix: 🐛 Disable polling for targets on Desktop ( #1059 )
...
✅ Closes: ICU-3954
2022-04-19 09:22:13 -05:00
Cameron Perera
26e074dbef
fix: 🐛 Disable polling for sessions on Desktop ( #1058 )
...
✅ Closes: ICU-3953
2022-04-19 09:10:09 -05:00
Randall Morey
9a8c47024e
refactor: 💡 remove deprecated renderTemplate usage in desktop
2022-01-03 16:17:56 -05:00
Randall Morey
8bfa454df5
refactor: 💡 migrate to router.transitionTo due to deprecations
2022-01-03 12:35:48 -05:00
Randall Morey
71361799f7
refactor: rewrite targets polling for ember-pollster
2022-01-02 19:40:45 -05:00
Randall Morey
fe509d2e86
refactor: 💡 rewrite sessions polling for ember-pollster
2022-01-02 19:21:03 -05:00
Randall Morey
69ac051786
feature: implement project filtering in desktop targets
2021-12-16 16:37:19 -05:00
Randall Morey
646125f039
fix: 🐛 sessions should poll
2021-12-15 10:10:18 -05:00
Randall Morey
53aade5322
refactor: 💡 improve project filter UX
2021-12-15 09:43:20 -05:00
Randall Morey
d1fdfb2496
fix: 🐛 tweak helper usage to include both filters
2021-12-13 13:50:40 -05:00
Randall Morey
88bb34828b
feature: initial project filtering UX in desktop sessions
2021-12-10 17:29:50 -05:00
Randall Morey
ddc7fe939d
refactor: 💡 more renaming
2021-12-06 17:26:36 -05:00
Randall Morey
400b0b5f0b
refactor: 💡 more resource filtering name changes
2021-12-06 16:50:45 -05:00
dharini
5a4e9d17ec
add default filters to desktop sessions
2021-11-16 12:42:22 -08:00
dharini
3e87ea6c1b
feat: 🎸 add toolbar to desktop sessions
2021-11-16 10:30:00 -08:00