-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feature/update-ops-learning-key-insight-disclaimer' int…
…o develop
- Loading branch information
Showing
8 changed files
with
157 additions
and
134 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 @@ | ||
--- | ||
"go-web-app": patch | ||
--- | ||
|
||
Update key insights disclaimer text in Ops. Learning |
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 |
---|---|---|
@@ -1,11 +1,13 @@ | ||
{ | ||
"namespace": "keyInsights", | ||
"namespace": "opsLearningKeyInsights", | ||
"strings": { | ||
"opsLearningSummariesHeading": "Summary of learnings", | ||
"keyInsightsDisclaimer": "THESE SUMMARIES WERE GENERATED USING AI AND LARGE LANGUAGE MODELS. THEY REPRESENT {numOfExtractsUsed} PRIORITISED EXTRACTS OUT OF {totalNumberOfExtracts} FROM THE DREF AND EA DOCUMENTS BETWEEN {appealsFromDate} - {appealsToDate}. TO SEE THE METHODOLOGY BEHIND THE PRIORITISATION ", | ||
"keyInsightsDisclaimerClickHere": "CLICK HERE.", | ||
"keyInsightsReportIssue": "Report an issue", | ||
"closeSources": "Close Sources", | ||
"seeSources": "Show Sources" | ||
"opsLearningSummariesHeading": "Summary of learnings", | ||
"keyInsightsDisclaimer": "These summaries were generated using AI and Large Language Models. They represent {numOfExtractsUsed} prioritised extracts out of {totalNumberOfExtracts} from the DREF and EA documents between {appealsFromDate} - {appealsToDate}. An initial automatic assessment of the quality of the summaries resulted in around 78% performance in terms of relevancy, coherence, consisentency and fluency. To see the methodology behind the prioritisation {methodologyLink}.", | ||
"methodologyLinkLabel": "click here", | ||
"keyInsightsReportIssue": "Report an issue", | ||
"closeSources": "Close Sources", | ||
"seeSources": "Show Sources" | ||
} | ||
} | ||
|
||
|
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
38 changes: 21 additions & 17 deletions
38
app/src/views/OperationalLearning/KeyInsights/styles.module.css
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 |
---|---|---|
@@ -1,31 +1,35 @@ | ||
.key-insights { | ||
background-color: var(--go-ui-color-background); | ||
|
||
.summaries { | ||
display: flex; | ||
align-items: baseline; | ||
justify-content: flex-end; | ||
gap: var(--go-ui-spacing-md); | ||
.sources { | ||
grid-column: 1 / -1; | ||
} | ||
|
||
.text { | ||
color: var(--go-ui-color-text-light); | ||
.disclaimer-text { | ||
grid-column: 1 / -1; | ||
text-transform: uppercase; | ||
color: var(--go-ui-color-text-light); | ||
|
||
.methodology-link { | ||
text-transform: uppercase; | ||
} | ||
} | ||
|
||
.report-issue { | ||
.report-issue-link-container { | ||
display: flex; | ||
justify-content: flex-end; | ||
grid-column: 1 / -1; | ||
|
||
.report-issue-link { | ||
flex-shrink: 0; | ||
color: var(--go-ui-color-negative); | ||
} | ||
} | ||
|
||
.insights { | ||
display: flex; | ||
.actions { | ||
align-items: flex-end; | ||
align-self: flex-end; | ||
flex-direction: column; | ||
gap: var(--go-ui-spacing-lg); | ||
|
||
.insight-texts { | ||
display: grid; | ||
grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); | ||
gap: var(--go-ui-spacing-md); | ||
} | ||
flex-grow: 1; | ||
} | ||
} |
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
16 changes: 0 additions & 16 deletions
16
app/src/views/OperationalLearning/Sources/styles.module.css
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.