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

Reactable example #107

Merged
merged 11 commits into from
Jan 8, 2025
Merged

Reactable example #107

merged 11 commits into from
Jan 8, 2025

Conversation

alex-rogers-hub
Copy link
Contributor

Pull request overview

Reactable example beneath datatable example
...

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?

...

What is the new behaviour?

...

Anything else

issue #84
...

Copy link
Contributor

@rmbielby rmbielby left a comment

Choose a reason for hiding this comment

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

Couple of small comments to just remove data table. We're just wanting to push a single preferred solution.

Looks like a lot of lintr comments around unnecessary white space. Worth running styler::style_dir() if you haven't already.

Just to add as well, it'd be good to get some of the GDS style highlighting in as demoed in the css on one of our dashboards here:
https://github.com/dfe-analytical-services/local-authority-interactive-tool/blob/9f7aa4d06969614f55b002b50502a514d3c1d320/www/dfe_shiny_gov_style.css#L294

R/ui_panels/example_tab_1.R Outdated Show resolved Hide resolved
server.R Outdated Show resolved Hide resolved
server.R Fixed Show fixed Hide fixed
server.R Fixed Show fixed Hide fixed
@rmbielby rmbielby linked an issue Dec 19, 2024 that may be closed by this pull request
Copy link
Contributor

@rmbielby rmbielby left a comment

Choose a reason for hiding this comment

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

Almost there I think! Just want to get an example of some css styling on the hover/focus etc in there that we can build on when we come to porting this into dfeshiny.

server.R Outdated Show resolved Hide resolved
www/dfe_shiny_gov_style.css Show resolved Hide resolved
@alex-rogers-hub alex-rogers-hub merged commit 4774e1f into main Jan 8, 2025
5 checks passed
@alex-rogers-hub alex-rogers-hub deleted the reactable-example branch January 8, 2025 11:56
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.

Show an example of using reactable with clear sort options
2 participants