Skip to content

Add copy/CSV export buttons to benchmark results tables#1002

Merged
bruAristimunha merged 4 commits intodevelopfrom
copilot/make-copy-button-work
Mar 1, 2026
Merged

Add copy/CSV export buttons to benchmark results tables#1002
bruAristimunha merged 4 commits intodevelopfrom
copilot/make-copy-button-work

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 1, 2026

  • Investigate existing results page (paper_results.rst) and DataTables setup
  • Add DataTables Buttons extension CSS and JS (v3.0.2) to paper_results.rst
  • Update DataTable initialization to include copy and CSV buttons via layout.topStart.buttons
  • Run pre-commit checks on changed files (all pass)
  • Add what's new entry in whats_new.rst attributed to Bruno Aristimunha
Original prompt

This section details on the original issue you should resolve

<issue_title>DOC Create or make the copy buttom work to export results from the results webpage</issue_title>
<issue_description></issue_description>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: bruAristimunha <42702466+bruAristimunha@users.noreply.github.com>
Copilot AI changed the title [WIP] Create function to enable copy button for exporting results Add copy/CSV export buttons to benchmark results tables Mar 1, 2026
@bruAristimunha
Copy link
Copy Markdown
Collaborator

@copilot, pre-commit, and what's new file, please, assign Bruno Aristimunha to what's new. Check if the tests or documentation are failing.

Co-authored-by: bruAristimunha <42702466+bruAristimunha@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented Mar 1, 2026

@copilot, pre-commit, and what's new file, please, assign Bruno Aristimunha to what's new. Check if the tests or documentation are failing.

Done in commit fb06e13:

  • Pre-commit runs clean on all changed files (trailing whitespace, end-of-file, codespell, blacken-docs all pass).
  • Added what's new entry to docs/source/whats_new.rst under Version 1.5 Enhancements, attributed to Bruno Aristimunha.

@bruAristimunha bruAristimunha marked this pull request as ready for review March 1, 2026 15:29
- Add pill-shaped button styling matching MOABB design system
- Add SVG icons (clipboard, download) to button labels
- Add "Copied!" feedback with checkmark on copy action
- Set CSV export filename to moabb_benchmark
- Support dark mode with adapted colors
@bruAristimunha bruAristimunha merged commit 98ec8a5 into develop Mar 1, 2026
11 of 12 checks passed
@bruAristimunha bruAristimunha deleted the copilot/make-copy-button-work branch March 1, 2026 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DOC Create or make the copy buttom work to export results from the results webpage

2 participants