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: logo updated * (feat): search field/list updated * error screen added * visual cleanup * minor changes * conflict resolved * pnpm lock file updated * pnpm lock file updated * Update packages/core/src/guided-answers-api.ts Co-authored-by: Klaus Keller <66327622+Klaus-Keller@users.noreply.github.com> * visual changes * refactoring initalState to searchResultCount * search button removed * file cleanup * change set added * alignment changes * minor alignment changes * changeset to ide added * heading color updated * detailed view visual bug fixed * chore: cleanup commented styles Co-authored-by: Klaus Keller <66327622+Klaus-Keller@users.noreply.github.com> Co-authored-by: Klaus Keller <klaus.keller@sap.com>
- Loading branch information
1 parent
c1ae3a7
commit 617f359
Showing
13 changed files
with
9,596 additions
and
7,066 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': minor | ||
--- | ||
|
||
Added new UI for GA extension |
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 | ||
--- | ||
|
||
Added new UI for GA extension |
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
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
36 changes: 36 additions & 0 deletions
36
packages/webapp/src/webview/ui/components/NoAnswersFound/NoAnswersFound.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,36 @@ | ||
* { | ||
font-family: var(--vscode-font-family); | ||
} | ||
.error-screen { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
padding-top: 100px; | ||
|
||
&__objects { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
} | ||
|
||
h1 { | ||
font-style: normal; | ||
font-weight: 700; | ||
font-size: 24px; | ||
line-height: 29px; | ||
margin-top: 0px; | ||
margin-bottom: 0px; | ||
} | ||
|
||
h2 { | ||
font-style: normal; | ||
font-weight: 200; | ||
font-size: 13px; | ||
line-height: 18px; | ||
margin: 20px 0px 20px 0px; | ||
} | ||
|
||
&__logo { | ||
margin-top: 20px; | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
packages/webapp/src/webview/ui/components/NoAnswersFound/NoAnswersFound.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import React from 'react'; | ||
import './NoAnswersFound.scss'; | ||
import ErrorIcon from './no-answers-found.svg'; | ||
|
||
/** | ||
*@returns - react element to show an error page when there are no answers found | ||
*/ | ||
export function NoAnswersFound() { | ||
return ( | ||
<div className="error-screen"> | ||
<div className="error-screen__objects"> | ||
<h1 className="error-screen__object__title">No answers found</h1> | ||
<h2 className="error-screen__object__subtitle">Please modfiy search</h2> | ||
<span className="error-screen__object__logo"> | ||
<ErrorIcon /> | ||
</span> | ||
</div> | ||
</div> | ||
); | ||
} |
1 change: 1 addition & 0 deletions
1
packages/webapp/src/webview/ui/components/NoAnswersFound/index.ts
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 @@ | ||
export * from './NoAnswersFound'; |
7 changes: 7 additions & 0 deletions
7
packages/webapp/src/webview/ui/components/NoAnswersFound/no-answers-found.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.