Dharini Jeeva
f9cd1c331f
feat: 🎸 show associated aliases in target detail page ( #2249 )
...
* feat: 🎸 show associated aliases in target detail page
2024-04-17 12:39:34 -07:00
Cameron Perera
ac1d98bbec
fix: 🐛 show change cluster url when no auth methods ( #2201 )
...
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-13133
2024-03-25 14:24:53 -05:00
Carlos Alcaide Corvo
956f6fd04d
refactor: 💡 Adopt HDS copy snippet Desktop UI ( #2146 )
...
* refactor: 💡 Adopt HDS copy snippet Desktop UI
Adopt HDS copy snippet and delete usage of Copyable custom component
2024-02-22 13:56:56 -08:00
Cameron Perera
d2d332b7d1
refactor: 💡 only show scopes with auth methods at authenticate ( #2129 )
...
* refactor: 💡 only show scopes with auth methods at authenticate
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-2355
* test: 💍 verify scopes with no auth methods are hidden
when authenticating
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-2355
* refactor: 💡 update logic for fetching scopes and auth methods
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-2355
* refactor: 💡 PR feedback changes
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-2355
* refactor: 💡 added unless block back to template
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-2355
* refactor: 💡 update admin authenticate route and template
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-2355
* test: 💍 add test for orgs with no auth methods admin ui
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-2355
2024-02-08 10:01:20 -06:00
Zhihe Li
06cc64e6af
fix: 🐛 Add refresh button back ( #2124 )
2024-01-30 19:54:34 -05:00
Cameron Perera
cb972cfc8a
refactor: 💡 update how we determine is pagination is supported ( #2122 )
2024-01-30 17:41:57 -06:00
Cameron Perera
def6959ee7
feat: 🎸 user can update clusterURL when controller unsupported ( #2113 )
...
* feat: 🎸 user can update clusterURL when controller unsupported
* test: 💍 add cluster url tests
2024-01-26 11:33:40 -06:00
hashicorp-copywrite[bot]
314c1b36f4
[COMPLIANCE] Add Copyright and License Headers ( #2100 )
...
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
2024-01-22 12:12:44 -05:00
Cameron Perera
1488bdf95e
Icu 12027 let the user know if the dc isnt compatible with the controller and link them to the previous version ( #2073 )
...
* chore: 🤖 allow use of hashicorp release endpoints in desktop
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12027
* refactor: 💡 use page_size to bypass pagination in query adapter
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12027
* refactor: 💡 add list_token mirage scopes list response
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12027
* feat: 🎸 add logic for unsupported controllers
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12027
* refactor: 💡 add comment to application adapter change
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12027
* refactor: 💡 rename scopes controller method
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12027
* refactor: 💡 remove scopes controller
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12027
* refactor: 💡 use beforeModel and setupController hook for scopes
along with converting scopes model back to original state
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12027
* refactor: 💡 remove styling to hide modal dismiss button
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12027
* refactor: 💡 update comment for opening external links
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12027
* refactor: 💡 revert model hook changes for scopes
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12027
* test: 💍 remove target connect test from scopes acceptance tests
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12027
* test: 💍 add tests for unsupported controller logic
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12027
* test: 💍 update modal test to waitFor elements to render
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12027
* refactor: 💡 remove use of set and get from scopes router
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12027
* refactor: 💡 default isPaginationSupported to false
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12027
* test: 💍 remove unsupported controller tests
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12027
* test: 💍 add tests back but skip them
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12027
* test: 💍 fix failing tests
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12027
2024-01-16 10:17:47 -05:00
Zhihe Li
2e36d3c3e2
feat: 🎸 Add fallback if client daemon is down or errors ( #2085 )
...
* feat: 🎸 Add fallback if client daemon is down or errors
* test: 💍 Add tests for client daemon being down
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12026
2024-01-16 10:17:46 -05:00
Cameron Perera
9046c01238
feat: 🎸 target list will update according to org scope selected ( #2083 )
...
* feat: 🎸 target list will update according to org scope selected
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12205
* refactor: 💡 add comment to resetController logic
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12205
* feat: 🎸 filter sessions by org selected at global level
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12205
2024-01-16 10:17:46 -05:00
Lisbet Alvarez and Zhihe Li
05553643a6
feat: 🎸 filter sessions by target ( #2053 )
...
* feat: 🎸 filter sessions by target
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12066
* docs: ✏️ add missing comment
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12066
* refactor: 💡 make action reusable
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12066
* refactor: 💡 remove unnecessary block
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12066
* refactor: 💡 fix tests, add hds app state
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12066
* perf: ⚡ ️ set limit of targets rendered in dropdown
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12066
* fix: 🐛 change from displayName to name
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12066
* Update addons/core/addon/components/dropdown/index.hbs
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
* refactor: 💡 remove # from if statement and remove .slice
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12066
---------
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
2024-01-16 10:17:46 -05:00
Zhihe Li
47cf7995d3
feat: 🎸 Add active session filter ( #2052 )
...
* feat: 🎸 Add active session filter
* fix: 🐛 Fix tests and verify client daemon calls are correct
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11803
2024-01-16 10:17:46 -05:00
Lisbet Alvarez and Zhihe Li
c06d18940d
Icu 11916 add flyout for session in prgoress field ( #2042 )
...
* feat: 🎸 sessions flyout for targets list view
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11916
---------
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
2024-01-16 10:17:46 -05:00
Zhihe Li
15da4ea69f
fix: 🐛 Fix failing tests from rebase onto main ( #2045 )
2024-01-16 10:17:46 -05:00
Lisbet Alvarez
f801f595f7
Icu 11915 add session in progress field to the table and populate it ( #2028 )
...
* initial support for sessions in targets list view
2024-01-16 10:17:46 -05:00
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
7bc2ccb5ae
refactor: 💡 Use a native class for the client daemon handler ( #2026 )
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
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
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
Devon Anderson
3b3a00e1ee
Upgrade desktop UI to Ember 4.12.2 ( #1990 )
...
* Upgrade desktop UI to Ember 4.12.2
* refactor: 💡 refactor scripts
Refactor concurrently scripts, and removed duplicate entries in
`eslintrc.js`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11747
* refactor: 💡 peer dependencies
Revert changes to `peerDependencies`.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11747
* refactor: 💡 revert config back before upgrade
Revert `styelint-standard-config-scss` back to 6.0.0 so that it can be
put into seperate ticket.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11747
* Update _notify.scss
fix misspelling
* refactor: 💡 revert dependency
Revert `stylelint-config-standard-scss` back to original version
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11747
2023-11-15 11:29:24 -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
Zhihe Li
933e272764
fix: 🐛 Add read:self permission for sessions in ability check ( #1974 )
2023-11-01 12:06:40 -04: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
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
Lisbet Alvarez
0a8d14b53f
test: 💍 update acceptance tests in desktop UI ( #1916 )
...
* test: 💍 update acceptance tests in desktop UI
✅ Closes: ICU-11130
* test: 💍 move tests to target-test.js
* test: 💍 add another test case for targets list view
2023-09-22 18:58:15 -04:00
Lisbet Alvarez
3740bb079a
Icu-11111 don't display empty modal when a target has no target address and no host sources ( #1909 )
...
* fix: 🐛 disable connect buttons & add message
✅ Closes: ICU-11111
* test: 💍 add test cases
* fix: 🐛 buttons on list view & add getter to target model
* refactor: 💡 use can ability instead and remove Promise.all
* test: 💍 fix expect number
2023-09-22 18:58:15 -04: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
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
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
8f043e8cf5
refactor: 💡 update how proxy-url determins default proxy info ( #1869 )
2023-09-22 18:58:14 -04:00
Cameron Perera
a831bd06a5
feat: 🎸 add Proxy URL info to session detail screen ( #1868 )
...
* feat: 🎸 add Proxy URL info to session detail screen
✅ Closes: ICU-10311
* chore: 🤖 add setupIntl to proxy-url tests
* refactor: 💡 update styles for proxy-url component
* refactor: 💡 display proxy info based on target type
* refactor: 💡 move proxy-url into session specific directory
* refactor: 💡 change template logic for which command to show
* refactor: 💡 remove isSSH getter for session/proxy-url
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 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
340429fdb5
Icu 10521 add route logic from sessions list to session detail screen ( #1834 )
...
* feat: 🎸 add canRead ability for session model
* refactor: 💡 create constant values for session status types
* feat: 🎸 add link to session detail from sessions list
✅ Closes: ICU-10521
2023-09-22 18:58:13 -04:00
Cameron Perera
0100f8b497
feat: 🎸 add target details sidebar panel to target detail page ( #1832 )
...
✅ Closes: ICU-10302
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
NatashaKab and Cameron Perera
3caf81fc47
Icu 10504 use hds table in desktop sessions list ( #1823 )
...
* refactor: 💡 Use HDS tables in user accounts
* refactor: 💡 Use HDS table in desktop sessions list
* refactor: 💡 Added back the commit Zed mentioned
* refactor: 💡 Added a comment for the session status class
---------
Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com >
2023-08-04 12:26:08 -04:00
NatashaKab
964423c35c
Icu 10368 use hds table in desktop targets list ( #1817 )
...
* refactor: 💡 Use HDS tables in user accounts
* refactor: 💡 Use HDS tables in desktop targets list
* refactor: 💡 Fixed indentantion problem suggested by cameron
2023-08-03 11:20:49 -04:00
Devon Anderson
508d66e375
fix: 🐛 Removing status badging from desktop client ( #1749 )
...
* fix: 🐛 Removing status badging from desktop client
Removed status badges for `targets` and `sessions` in desktop client
app.
✅ Closes: ICU-9790
* refactor: 💡 Bring back status badging for session
Session status badging can stay due to session can only be canceled by
the user in desktop client and does give an immediate status to the
session.
✅ Closes: ICU-9790
* refactor: 💡 merge changes
2023-07-05 11:03:32 -04: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