Zhihe Li
999c21c66a
Upgrade eslint ( #3175 )
...
* chore: 🤖 Upgrade eslint config for admin ui
* chore: 🤖 Fix eslint issues for admin
* chore: 🤖 Upgrade eslint config for desktop
* chore: 🤖 Fix linting errors in desktop
* chore: 🤖 Upgrade eslint for api addon
* chore: 🤖 Fix eslint issues in api addon
* chore: 🤖 Upgrade eslint for auth addon
* chore: 🤖 Fix eslint issues in auth addon
* chore: 🤖 Upgrade core eslint config
* chore: 🤖 Fix eslint issue for core addon
* chore: 🤖 Upgrade eslint config for rose addon
* chore: 🤖 Fix eslint issue for rose addon
* chore: 🤖 Upgrade e2e eslint config
* chore: 🤖 Fix eslint issues in e2e
* chore: 🤖 Fix CI linting issues
* chore: 🤖 Add back linting server files for the future
* chore: 🤖 Update qunit rules to use extends
2026-02-27 13:32:27 -05:00
hashicc and Lisbet Alvarez
3a847605ed
Reapply ember-can upgrade ( #3111 )
...
* chore: 🤖 reapply previous ember-can upgrade from #3093
* chore: 🤖 add missing ember-inflector dependency
* chore: 🤖 move @ember/string to be a dependency in desktop
* chore: 🤖 re-run pnpm install to resolve lockfile dupe key error
* chore: 🤖 remove unused abilities service injections
Co-Authored-By: Lisbet Alvarez <107949262+lisbet-alvarez@users.noreply.github.com >
---------
Co-authored-by: Lisbet Alvarez <107949262+lisbet-alvarez@users.noreply.github.com >
2026-02-24 13:48:34 -05:00
Lisbet Alvarez
772857dbad
Icu 18518 UI add sorting support to cache daemon handler ( #3168 )
...
* feat: 🎸 add sorting support & sort feature on targets name column
* test: 💍 cleanup and add tests
* refactor: 💡 remove log
* fix: 🐛 dont add undefined/null values from sort to query
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-18518
2026-02-19 10:38:54 -08:00
Lisbet Alvarez
3ba93927fe
Update copyright headers ( #3146 )
...
* empty commit
* Add missing copyright headers
* chore: 🤖 update copywrite config file with correct year
* Add missing copyright headers
* empty commit (gh action merge checks are stuck)
2026-01-28 17:09:06 -08:00
55e1e68f30
[COMPLIANCE] Update Copyright and License Headers ( #3099 )
...
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
Co-authored-by: Dharini <dharini@hashicorp.com >
2026-01-20 11:35:10 -05:00
hashicc
f1ffb80b80
Revert "chore: 🤖 bump ember-can ( #3093 )" ( #3107 )
...
This reverts commit b5d33948dc .
2025-12-08 18:20:55 -05:00
hashicc
b5d33948dc
chore: 🤖 bump ember-can ( #3093 )
...
* chore: 🤖 bump ember-can
* chore: 🤖 rename "can" service (deprecated) to abilities
See https://github.com/minutebase/ember-can/pull/152
* chore: 🤖 bump to ember-can@^8
* chore: 🤖 extend resolver for ember-can v7 breaking change
https://github.com/minutebase/ember-can/pull/186
2025-12-08 10:41:38 -05:00
Dharini
27136eaa71
feat: Add launch functionality in targets list view ( #3035 )
2025-11-19 14:22:06 -08:00
Zhihe Li
72639bd6a3
fix: 🐛 Pass in session time out when creating session ( #3008 )
...
* fix: 🐛 Pass in session time out when creating session
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17701
2025-09-22 16:31:44 -04:00
Sohail
96ff0ddf27
Enhanced the refresh functionality in targets route ( #2889 )
...
* Enhanced the refresh functionality in targets and sessions route
2025-06-23 09:08:59 +05:30
Zhihe Li
7becccd628
fix: 🐛 Fix search field race condition in DC targets ( #2723 )
...
* fix: 🐛 Fix search field race condition in DC targets
* feat: 🎸 Keep track of last search to know when to debounce
✅ Closes: ICU-14775
2025-03-13 18:50:33 -04:00
Carlos Alcaide Corvo
e8fc6d163b
Deprecate import inject from @ember/service ( #2716 )
...
* Deprecate usage of import inject
2025-03-12 08:29:54 -07:00
Lisbet Alvarez
0f52b86364
refactor: 💡 remove route-action usage for targets and sessions ( #2528 )
...
* refactor: 💡 remove route-action usage for targets and sessions
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15040
2024-10-22 13:16:58 -07:00
Zhihe Li
97258f7525
Use updated cache daemon ( #2475 )
...
* feat: 🎸 Handle truncated cache daemon response
2024-09-24 14:30:52 -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
Lisbet Alvarez
5a9cbdd913
refactor: 💡 change filter name ( #2102 )
2024-01-22 14:07:11 -08:00
Lisbet Alvarez and Zhihe Li
9e6d647949
Icu 12137 add additional session sorting and add default filters ( #2084 )
...
* chore: 🤖 add additional session sorting and add default filters
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12137
* test: 💍 fix test
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12137
* Update ui/desktop/app/controllers/scopes/scope/projects/sessions/index.js
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
---------
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
2024-01-16 10:17:46 -05:00
Zhihe Li
16a054519f
fix: 🐛 Fix display of no results from type filter ( #2075 )
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
Zhihe Li
916b261cdf
refactor: 💡 Optimize the retrieval of targets for scopes filter ( #2047 )
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
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
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
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