generated from SAP/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat/531/bookmark enhancements (#554)
* feat(545): add quick filters ui * feat(545): add quick filters backend * feat(545): fix test check * feat(545): add tests * Create big-seals-smash.md * feat(545): fix bugs * feat(545): add more tests * feat(545): add more tests * feat(545): remove test code * feat(545): remove console log * feat(531): add bookmark toggle to bookmark list items * feat(531): update home grid * Create itchy-flies-tickle.md * feat(531): fixed button focus * feat(531): fix removing bookmarks bug * feat(531): removed bad changeset * feat(531): add semicolon
- Loading branch information
1 parent
f388695
commit d2184d6
Showing
14 changed files
with
1,267 additions
and
209 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@sap/guided-answers-extension-webapp": minor | ||
--- | ||
|
||
Feat/531/bookmark enhancements |
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
40 changes: 40 additions & 0 deletions
40
packages/webapp/src/webview/ui/components/Bookmarks/Bookmarks.scss
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,40 @@ | ||
.guided-answer__bookmark { | ||
width: 100%; | ||
|
||
.guided-answer__tree__ul { | ||
width: 100%; | ||
|
||
.guided-answer__tree__title { | ||
display: flex; | ||
justify-content: space-between; | ||
} | ||
} | ||
|
||
&__button { | ||
flex: 0 0 25px; | ||
height: 25px; | ||
opacity: 0; | ||
|
||
svg { | ||
width: 16px; | ||
height: 16px; | ||
margin-top: 3px; | ||
} | ||
|
||
&:hover { | ||
background: var(--vscode-menubar-selectionBackground); | ||
outline: 1px solid var(--vscode-contrastActiveBorder); | ||
border-radius: 3px; | ||
} | ||
|
||
&:focus-visible { | ||
outline: 1px solid var(--vscode-focusBorder, #007fd4); | ||
opacity: 1; | ||
} | ||
} | ||
|
||
&:focus-visible &__button, | ||
&:hover &__button { | ||
opacity: 1; | ||
} | ||
} |
84 changes: 59 additions & 25 deletions
84
packages/webapp/src/webview/ui/components/Bookmarks/Bookmarks.tsx
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 |
---|---|---|
|
@@ -5,10 +5,10 @@ | |
|
||
&__column { | ||
flex: 0 1 570px; | ||
} | ||
|
||
&__row { | ||
margin-bottom: 50px; | ||
>div { | ||
margin-bottom: 30px; | ||
} | ||
} | ||
} | ||
|
||
|
Oops, something went wrong.