Skip to content

KEH-2200 - Legacy Copilot Data#265

Merged
TotalDwarf03 merged 16 commits intomainfrom
KEH-2200-Legacy-Copilot-Data
Apr 21, 2026
Merged

KEH-2200 - Legacy Copilot Data#265
TotalDwarf03 merged 16 commits intomainfrom
KEH-2200-Legacy-Copilot-Data

Conversation

@TotalDwarf03
Copy link
Copy Markdown
Contributor

@TotalDwarf03 TotalDwarf03 commented Apr 15, 2026

Overview

This PR implements the legacy copilot data into the copilot dashboard. This includes data from:

  • Pre March 2026
  • Pre February 2025

Metrics include:

  • Code completion suggestions vs acceptances
  • Chat sessions vs insertions / copies
  • Engaged user metrics

Related Issues

KEH-2200 (Jira)

Testing

Backend

Curl to new org/legacy/ endpoint.

Test:

  1. With ?type= missing
  2. With ?type=invalid for invalid type
  3. With ?type=pre-0326 and ?type=pre-0225 for valid types

Unit tests already do this so if they pass, this should be fine.

Frontend

Look at the UI and check any visual issues.
Check that data seems sensible.

Checklist

  • I have reviewed the changes in this pull request
  • I have tested the changes locally
  • I have updated/created any relevant documentation
  • I have updated/created any relevant tests
  • All CI checks have passed
  • I have used a development Concourse pipeline to test the changes within a development environment
  • I have added any necessary labels to this pull request
  • I have assigned myself to this pull request
  • I have assigned the appropriate reviewers to this pull request

Exemptions

N/A

Additional Notes

N/A

- Adds new /org/legacy endpoint
- Removes getObjectViaSignedUrl() in favour of just getObject()
- Adds tests for /org/legacy endpoint
@TotalDwarf03 TotalDwarf03 self-assigned this Apr 15, 2026
@TotalDwarf03 TotalDwarf03 added the enhancement Enhancing an existing piece of work label Apr 15, 2026
Comment thread frontend/src/components/Copilot/Dashboards/LegacyData.js
@TotalDwarf03 TotalDwarf03 marked this pull request as ready for review April 20, 2026 16:48
@TotalDwarf03 TotalDwarf03 requested a review from a team April 20, 2026 16:48
Comment thread backend/src/routes/copilot.js
Comment thread backend/src/routes/default.js
Copy link
Copy Markdown
Contributor

@co-opsw co-opsw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apart from the very minor comment, looks all good to me.

Comment thread frontend/src/pages/CopilotPage.js Outdated
@TotalDwarf03 TotalDwarf03 merged commit 94f5ae6 into main Apr 21, 2026
9 checks passed
@TotalDwarf03 TotalDwarf03 deleted the KEH-2200-Legacy-Copilot-Data branch April 21, 2026 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Enhancing an existing piece of work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants