-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add placeholder for Key actions tab * navigate to key items by default * add placeholder key actions list page * remove extra whitespace from component blueprint * add SelectableCard * move key actions from side nav to top nav * make tabs active * remove toolbar from key actions pages * add divs to link to each key action on key actions page * move preview-head to gitignore * use selectable card css * remove key actions * use css grid * update selectable card styling * update Key Actions page header * make cards clickable * refactor supportedActions to include glyph * make header black on hover * rename selectable-card transit card and update styling * add description and glyph for other key types * use human readable titles for key action names * update tests; still need to fix failing ones * use datakey instead of data-key * fix some failing tests * fix more tests * remove extra chevron from rotate button * remove whitespace * remove pauseTest * use rename export to export key in the template instead of the model * fix last few failing tests * WIP * link to key actions page by default * test for transit action title * only add query params when viewing a transit secret * update structure icons * add missing structure icons * resolve merge conflicts from rebase * use filter and map for supported actions * only add query params for transit secrets
- Loading branch information
Noelle Daley
authored
Feb 14, 2020
1 parent
78496d6
commit cbda9da
Showing
17 changed files
with
217 additions
and
116 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { helper } from '@ember/component/helper'; | ||
|
||
export function secretQueryParams([backendType]) { | ||
if (backendType === 'transit') { | ||
return { tab: 'actions' }; | ||
} | ||
return; | ||
} | ||
|
||
export default helper(secretQueryParams); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
.transit-card-container { | ||
display: grid; | ||
grid-template-columns: repeat(auto-fit, minmax(240px, 0.2fr)); | ||
grid-template-rows: 1fr; | ||
align-content: start; | ||
grid-gap: 2rem; | ||
margin-top: $spacing-l; | ||
} | ||
|
||
.transit-card { | ||
border-radius: $radius; | ||
box-shadow: 0 0 0 1px rgba($grey-dark, 0.3), $box-shadow-middle; | ||
display: grid; | ||
grid-template-columns: 0.45fr 2fr; | ||
padding: $spacing-m; | ||
|
||
.transit-icon { | ||
justify-self: center; | ||
} | ||
|
||
.transit-action-description { | ||
font-family: $family-sans; | ||
font-size: $size-8; | ||
color: $grey; | ||
} | ||
|
||
.title { | ||
color: $grey; | ||
font-size: $size-7; | ||
margin-bottom: $spacing-xxs; | ||
} | ||
|
||
&:hover { | ||
box-shadow: 0 0 0 1px $blue-500, $box-shadow-middle; | ||
background: $blue-010; | ||
|
||
.title { | ||
color: initial; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,5 +20,4 @@ | |
</h1> | ||
</p.levelLeft> | ||
</PageHeader> | ||
|
||
{{partial (concat 'partials/transit-form-' mode)}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.