Skip to content

Commit 8abe579

Browse files
KEH-739 - Copilot interim (#45)
* Setup interim page for soph * Patch: Modify the dashboard to use example data. * Add interim notice to README * Set code completions and copilot chat metrics with placeholder values * Get usage data from API and initial commit for generating datasets * Group datasets and display metrics on dashboard * Add seat information * Move slider * Use org variable in endpoints --------- Co-authored-by: Kieran Pritchard <kieran.pritchard@ons.gov.uk>
1 parent 43b3f31 commit 8abe579

6 files changed

Lines changed: 358 additions & 171 deletions

File tree

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,18 @@ We are working on refactoring the dashboard and its lambda to make use of the ne
1717

1818
---
1919

20+
## Interim Solution
21+
22+
While we work on refactoring the CoPilot Dashboard, this repository will contain a temporary solution.
23+
24+
This solution will display high-level information from the new API endpoints.
25+
26+
The old dashboard pages (Organisation Usage & Team Usage) have been toggled to use example data in order to still see them.
27+
28+
The data on these pages is completely synthetic.
29+
30+
---
31+
2032
## Disclaimer
2133

2234
### Early Stage & Accessibility Disclaimer

src/app.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,7 @@
88
org_usage = st.Page("./pages/org_usage.py", title="Organization Usage", icon=":material/groups:")
99
team_usage = st.Page("./pages/team_usage.py", title="Team Usage", icon=":material/group:")
1010

11-
pg = st.navigation([org_usage, team_usage])
11+
interim_page = st.Page("./pages/interim_page.py", title="Interim Page", icon=":material/group:")
12+
13+
pg = st.navigation([interim_page, org_usage, team_usage])
1214
pg.run()

src/example_data/team_copilot_usage_data.json

Lines changed: 0 additions & 136 deletions
This file was deleted.

0 commit comments

Comments
 (0)