Dharini Jeeva
ae5a03250f
fix: 🐛 add visuallyhidden to empty table columns ( #2383 )
2024-07-15 10:15:55 -07:00
Zhihe Li
0094cef9f5
refactor: 💡 Rename client daemon to cache daemon ( #2346 )
2024-06-17 17:16:07 -04:00
Zhihe Li
8788b5ec9a
feat: 🎸 Add support for polling transparent sessions ( #2304 )
...
* feat: 🎸 Add support for polling transparent sessions
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-13831
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-13830
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-13832
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-13833
2024-06-12 16:40:19 -04:00
Dharini Jeeva
9b1f052a56
chore: Update desktop client license from MPL to BSL ( #2307 )
...
* chore: 🤖 license
2024-05-31 11:29:24 -07:00
Dharini Jeeva
4c342061d3
fix: 🐛 aliasing bugs ( #2257 )
...
* fix: 🐛 aliasing bugs
2024-04-22 12:16:00 -07:00
Zhihe Li
79a932bebb
feat: 🎸 Add aliases to list view ( #2256 )
...
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-13487
2024-04-19 16:18:32 -04:00
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
Lisbet Alvarez
edba33bbda
Icu 13359 refactor query requests for resources added to indexed db ( #2224 )
...
* refactor: 💡 update query requests for resources in indexedDB
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-13359
2024-04-12 14:55:34 -04:00
Cameron Perera
eb4ec5f6de
refactor: 💡 update Dropdown component to have name & toggleText ( #2218 )
...
* refactor: 💡 update Dropdown component to have name & toggleText
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-13336
* test: 💍 remove hds class selector
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-13336
2024-04-12 14:55:33 -04: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
Devon Anderson
47d7ceccf7
chore: Migrate form.input to use Hds text input field ( #2154 )
...
* chore: 🤖 Migrate `form.input` to use `Hds` form input field
Migrate `form.input` for `clusterurl.hbs` to use
`Hds::Form::TextInput::Field`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12478
* refactor: 💡 removed unused `data-test` attribute
removed unused `data-test` attribute
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12478
2024-02-27 09:31:48 -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
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
Cameron Perera
842a84296a
refactor: 💡 remove icon from sessions table for session id ( #2108 )
2024-01-24 16:12:07 -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
Zhihe Li
ba0c7d5683
feat: 🎸 Add loading indicators for initial loads of resources ( #2074 )
...
* feat: 🎸 Add loading indicators for initial loads of resources
* refactor: 💡 Use HDS application state component
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12025
2024-01-16 10:17:46 -05:00
Lisbet Alvarez
a1fbfdc1ad
Icu 11804 filter targets by type ( #2063 )
...
* feat: 🎸 filter targets by type
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11804
* refactor: 💡 remove console.log
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11804
* docs: ✏️ fix comment typo
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11804
2024-01-16 10:17:46 -05:00
Lisbet Alvarez
c7483e5602
feat: 🎸 filter sessions by status & scope ( #2058 )
...
* feat: 🎸 filter sessions by status
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12067
2024-01-16 10:17:46 -05:00
Cameron Perera
7fa2541ddb
Icu 12069 clear current filters component for scopes filter ( #2051 )
...
* feat: 🎸 add filters applied tags under search/filter bar
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12069
* feat: 🎸 create Rose::FilterTags component
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12069
* refactor: 💡 use Rose::FilterTags component in targets list
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12069
* refactor: 💡 update FilterTags to handle multiple queryParams
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12069
* test: 💍 update dropdown component tests - applyFilter
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12069
* feat: 🎸 create filter-tags component in core
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12069
* chore: 🤖 update core addon to export styles
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12069
* refactor: 💡 remove filter-tags component from rose addon
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12069
* chore: 🤖 update sass package version
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12069
* feat: 🎸 use FilterTags component in targets list screen
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12069
* refactor: 💡 reduce component complexity
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12069
* chore: 🤖 add sinon to core
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12069
* refactor: 💡 update how FilterTags displays filters
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12069
* refactor: 💡 trucate long tag names
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12069
* refactor: 💡 wrap FilterTags component in if this.filters
to fix issue of static text displaying before the dynamic tags
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12069
* refactor: 💡 address feedback
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12069
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
Cameron Perera
9fec047506
Icu 12060 move rose filterable dropdown to core ( #2048 )
...
* feat: 🎸 generate new dropdown component in core
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12060
* feat: 🎸 add template and class code to new dropdown component
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12060
* chore: 🤖 add lodash package to core addon
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12060
* test: 💍 add tests for core/dropdown component
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12060
* refactor: 💡 use new core/dropdown in targets list screen
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12060
* refactor: 💡 remove rose/filterabledropdown
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12060
* feat: 🎸 add maxHeight to core/dropdown component
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12060
* style: 💄 fix lint errors in dropdown/index-tests
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12060
* refactor: 💡 update height to match designs
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12060
* chore: 🤖 remove lodash from ui/admin
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12060
* chore: 🤖 remove lodash from ui/desktop
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12060
* chore: 🤖 move lodash to devDep in core
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12060
* chore: 🤖 add lodash as core dependency
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12060
* test: 💍 use waitUntil & findAll instead of setTimeout
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12060
* chore: 🤖 add lodash as peerDependency for core
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12060
* refactor: 💡 update waitUntil with suggestion from PR
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12060
2024-01-16 10:17:46 -05:00
Zhihe Li
916b261cdf
refactor: 💡 Optimize the retrieval of targets for scopes filter ( #2047 )
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
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
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
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
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
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
ed1d73d29c
feat: 🎸 display target address in sidebar if present ( #1895 )
...
✅ Closes: ICU-10980
2023-09-22 18:58:14 -04:00
Cameron Perera
1102c94875
refactor: 💡 move sidebar into session details tab ( #1892 )
...
✅ Closes: ICU-10961
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
85913acc61
Desktop Client Session Terminal ( #1884 )
...
* refactor: 💡 Turn on sandboxing for renderer process (#1870 )
* chore: 🤖 add tabs for details and terminal view (#1871 )
* feat: 🎸 Allow creating multiple terminals (#1872 )
* chore: 🤖 add remove method to terminal (#1875 )
* feat: 🎸 Clean up terminal tab (#1876 )
* feat: 🎸 Handle resizing xterm and node-pty (#1879 )
* feat: 🎸 Clean up killing terminals (#1881 )
* refactor: 💡 Rename tabs component (#1882 )
---------
Co-authored-by: Carlos Alcaide Corvo <ccorvo@hashicorp.com >
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com >
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