Commit Graph
48 Commits
Author SHA1 Message Date
hashicorp-copywrite[bot]andCameron 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
Devon AndersonandCameron Perera 1bd057bb4c refactor: 💡 desktop display of complex nested secrets (#1551)
* refactor: 💡 desktop display of complex nested secrets

A quick solution for displaying JSON secret objects in connection modal.

✅ Closes: ICU-7409

* refactor: 💡 refactor hidden-secret.js and test

Guard against null for in `typeof` return.

✅ Closes: ICU-7409

* Update ui/desktop/app/styles/app.scss

Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com>

* refactor: 💡 test

Changed test to check for secret output after clicking on reveal

* refactor: 💡 fix style for hidden-secret and test

Refactor hidden-secret span styling to have content centered and
refactored testing for assert.dom instead of find

Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com>
2023-01-10 12:56:52 -05:00
Zhihe Li b55c50cf64 Chore/update linter (#1355)
* chore: 🤖 Update editor config settings

* chore: 🤖 Add back ember-template-lint-plugin-prettier

* style: 💄 Format admin

* style: 💄 Format desktop

* style: 💄 Format rose

* style: 💄 Format core

* style: 💄 Format api
2022-10-06 11:41:12 -04:00
Zhihe Li ccf462019b chore: 🤖 Add eol-last rule (#1296)
* chore: 🤖 Add eol-last rule

* style: 💄 Add newlines for core

* style: 💄 Add newlines to EOF in rose

* style: 💄 Add newlines for admin

* style: 💄 Add newlines in desktop templates
2022-09-01 17:43:30 -04:00
Carlos Alcaide Corvo 4fcb005a1f Refactor origin to cluster (#1210) 2022-07-27 10:25:01 -07:00
Cameron Perera 6f449b3b9b feat: 🎸 Add ToolbarRefresher component to sessions in admin (#1092)
✅ Closes: ICU-4133
2022-04-29 17:54:08 -05:00
Randall Morey 68a269efac feature: add toolbar refresher component (#1088) 2022-04-29 13:51:47 -04:00
Randall Morey 4f27332479 refactor: 💡 remoe copyable dep on ember-concurrency 2022-01-02 14:07:25 -05:00
Amy Lam aa5b813791 Ran a find and replace
New namespacing. `flight-icons/` replace with `flight-icons/svg/`
2021-09-16 14:24:38 -07:00
Randall Morey 1165d21ef6 chore: 🤖 consume flight icons from npm package 2021-08-25 10:52:20 -04:00
Randall Morey 5cdc7af588 chore: 🤖 remove last usage of structure-icons 2021-08-18 13:33:40 -04:00
Randall Morey 3d4bd2adf9 chore: 🤖 upgrade clipboard copy icons to flight 2021-08-18 10:03:16 -04:00
Carlos Alcaide c5f72c53d8 Move translation to actions file 2021-07-20 13:43:11 -07:00
Carlos Alcaide 699d5063d9 fix: 🐛 Fix style and accessibility issues for hidden secret
Fix style and accessibility issues for hidden secret component
2021-07-20 13:28:39 -07:00
Carlos Alcaide 9bcb402fa2 feat: 🎸 Refactor details of the component
Delete unnecessary <span>. Make icon smaller and aligned. Fix linting
issues.
2021-07-12 09:46:56 -07:00
Carlos Alcaide b0d999cf3c feat: 🎸 Add toggle secret feature
Add toggle secret feature to the hidde secret component
2021-07-07 12:39:44 -07:00
Carlos Alcaide Corvo 0ef4b2244b Merge branch 'main' into feature-more-session-creds 2021-06-25 08:33:01 -07:00
Randall Morey 7e2493dd82 refactor: 💡 move masked text string into component 2021-06-25 11:15:04 -04:00
Carlos Alcaide 9c642b5065 feat: 🎸 Suggested changes from previous commit
Wrapped the secret within Copyable component. Adapt styles and test for
it.
2021-06-24 14:54:26 -07:00
Carlos Alcaide 09d5d1077d feat: 🎸 Add hidden secret component
Add hidden secret component adhoc to desktop client. This is the first
iteration of the component, expect changes in the near future.
2021-06-24 13:54:42 -07:00
Carlos Alcaide 14f9635af4 chore: 🤖 Add hidden secret component
Add first iteration of hidden secret component.
2021-06-24 12:06:25 -07:00
Randall Morey 1143fb02cc chore: 🤖 polish up reveal component 2021-06-22 16:43:02 -04:00
Randall Morey b8c4feb634 chore: 🤖 merge from main 2021-06-22 15:10:47 -04:00
Randall Morey 4abf4e5550 chore: 🤖 polish card and example card usage 2021-06-22 12:58:34 -04:00
Randall Morey 8934e44558 tweak styles 2021-06-22 12:26:20 -04:00
Carlos Alcaide bfdaacc2cd feat: 🎸 Changing div for h2
Changing the heading text container from a div to an h2
2021-06-18 16:23:07 -07:00
Carlos Alcaide e47c3bd14e feat: 🎸 Change Dropdown behaviour
Now when you click inside the dropdown it does not close.
2021-06-18 15:27:52 -07:00
Carlos Alcaide 62b097170c feat: 🎸 Changes from previous PR suggestions
- Refactor RevealComponent class to inherit from RoseDropdown, no logic
need it. Now there is no need to keep any logic or state. - Refactor
component, to toggle Summary text and set chevron icon with CSS. -
Removed old commented code. Please feel free to suggest a change to
bring it back if can be useful.
2021-06-18 12:29:39 -07:00
Carlos Alcaide a6a33f6b56 feat: 🎸 Create reveal component for desktop client
Create reveal component for desktop client.

✅ Closes: ICU-1432
2021-06-16 14:27:10 -07:00
Carlos Alcaide 445d789344 feat: 🎸 Update PR with suggestions
- Apply forgoten padding and alignment styles for header.

BREAKING CHANGE: 🧨 - Refactor to use named block withint the card component.
2021-06-16 13:42:57 -07:00
Carlos Alcaide 939dd16409 feat: 🎸 Change component name and add attributes
Change the component name to a more generic name (card). Add heading
attributes.

✅ Closes: ICU-1432
2021-06-16 11:32:18 -07:00
Carlos Alcaide b0a2348776 Refactor component name to just card and change tests to accommodate the changes 2021-06-16 11:32:18 -07:00
Carlos Alcaide 3bfb6fe5ee feat: 🎸 New Card component with header, body and footer
Add the new Card component with header, body and footer for the desktop
client. This card will be used within the connection dialog to show
credentials

✅ Closes: ICU-1432
2021-06-16 11:32:17 -07:00
Randall Morey 242c3f6370 chore: 🤖 use named blocks instead of contextual components 2021-06-14 17:02:17 -04:00
Randall Morey 3f04c209f3 chore: tweak dialog styles and language 2021-06-09 10:36:15 -07:00
Carlos Alcaide dbf2a8e43f feat: 🎸 Replace confirmation dialog with this new one
Leave this new dialog exactly as the confirmation dialog. We want to use
this one as a replacament and slowly add more fields and information
2021-06-09 10:31:26 -07:00
Carlos Alcaide f14346d3a4 Add uni test for dialog detail and fix lint errors 2021-06-09 10:31:26 -07:00
Carlos Alcaide 50c7bfc659 Stop using a bare dialog and start using the Dialog Detail component 2021-06-09 10:30:54 -07:00
Carlos Alcaide ecda08164a Ignore test and add changes to pass prettier 2021-06-09 10:30:53 -07:00
Carlos Alcaide 2dfda037fe First iteration of connect dialog component 2021-06-09 10:30:53 -07:00
Randall Morey 0d67b512a2 chore: 🤖 add prettier 2.3 and apply hbs formatting and linting 2021-05-11 15:39:59 -04:00
Randall Morey ba34b6c4f9 refactor: 💡 upgrade ui/desktop to Ember 3.24 2021-03-05 17:49:47 -05:00
Randall Morey 60675a12a6 refactor: 💡 upgrade ui/admin to Ember 3.24 2021-03-05 17:27:00 -05:00
Randall Morey d68cc83adf fix: 🐛 allow copyable to work within a modal 2021-02-08 12:50:42 -05:00
Randall Morey cbef287a0e feat: 🎸 add copyable component to desktop 2021-02-02 17:12:47 -05:00
Randall Morey c5082ffa6e style: 💄 place auth flow in branded card 2020-11-25 15:18:17 -05:00
Randall Morey 1da3800c08 style: 💄 initial centered welcome card styling 2020-11-25 12:32:47 -05:00
Susmitha Girumala 3b346263d2 refactor: 💡 Update connect-client name to desktop 2020-07-30 11:23:39 -04:00