Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add download btns #30

Merged
merged 30 commits into from
Oct 18, 2024
Merged

Add download btns #30

merged 30 commits into from
Oct 18, 2024

Conversation

JT-39
Copy link
Collaborator

@JT-39 JT-39 commented Oct 17, 2024

Pull request overview

Adding download functionality to the rest of the app pages.

Pull request checklist

Please check if your PR fulfills the following:

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)
  • Tests have been run locally and are passing (shinytest2::test_app())
  • Code is styled according to tidyverse styling (checked locally with styler::style_dir() and lintr::lint_dir())

What is the current behaviour?

There is only download functionality for two pages (LA and All LA).

What is the new behaviour?

Download functionality added for the regional and statistical neighbours pages. This spans across tables and charts. A number of different methods of downloading buttons were trialled for the charts - including modals and copy to clipboard.

The most likely form will take the form of buttons on the same card as the plots. One a button to open a modal (pop-up) for the SVG and HTML downloads, with another button underneath this to copy the chart to the clipboard.

Anything else

The bar charts on the statistical neighbour page still need the download functionality to be added but first we should agree on the form.

ui.R Fixed Show fixed Hide fixed
ui.R Fixed Show fixed Hide fixed
ui.R Fixed Show fixed Hide fixed
@JT-39 JT-39 merged commit e667e82 into main Oct 18, 2024
3 checks passed
@JT-39 JT-39 deleted the add-download-btns branch October 18, 2024 17:01
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.

1 participant