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

Shiny template lait merge #8

Merged
merged 46 commits into from
Aug 27, 2024
Merged

Shiny template lait merge #8

merged 46 commits into from
Aug 27, 2024

Conversation

JT-39
Copy link
Collaborator

@JT-39 JT-39 commented Aug 23, 2024

Pull request overview

This the one we have been waiting for...

The merge of the mighty DfE shiny-template and the formidable LAIT LA level page.

Pull request checklist

Please check if your PR fulfills the following:

  • Tests for the changes have been added (for bug fixes / features) - To be done in another PR
  • 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?

The repository is in a state of separation, with the LAIT work in a branch on the side-line(prepare-la-level-azure), ready to be merged into the main which is currently occupied by the JT adjusted DfE shiny-template.

This merger is needed to bring the LAIT work inline with the DfE and government style of web applications.

What is the new behaviour?

The two branches have been merged, keeping the best bits of both. The LAIT work is now occupying the tab where the example tab in the DfE shiny-template was.

Throughout the app, the admin code from the shiny-template has been kept (such as the cookies, shinyGovstyle banners, ...) but the core content has been replaced by LAIT. This includes the data, functions, Shiny app scripts (global.R) and some additions to files such as the dfe_shiny_gov_style.css and renv.lock.

The app is in a fully working form, keeping the same layout and format as the shiny-template, and with all the LAIT functionality that has been built so far (the LA level page).

Anything else

There is a lot of work to be done to further integrate LAIT and the shiny-template, such as using {bslib} app infrastructure, customising the css file to adjust to this and improving the general layout and feel of the app (which should come with these former improvements).

As well as this, unit tests and shinytests are needed for the LAIT features (clearing out the legacy shiny-template tests).

…e updated for new files and comments. Updating bds_wide_to_long to use fn_ prefix.
…ignore for allowing google-analytics.html to be committed
…s added. Important merge conflicts dealt with - .Rprofile, .gitignore, datafiles_log, google-analytics, .Rproj, and renv (been updated and cleaned).
…s and mods, kept admin global vars and added LAIT global data load, clean and vars
…LAIT LA level to first tabpanel. Need to investigate how to incoprate bslib and why buttons different colour to shiny-template.
…g other fn files from shiny-template as not needed
@JT-39 JT-39 closed this Aug 23, 2024
@JT-39 JT-39 reopened this Aug 23, 2024
@JT-39 JT-39 linked an issue Aug 23, 2024 that may be closed by this pull request
@JT-39 JT-39 self-assigned this Aug 23, 2024
Copy link

@github-advanced-security github-advanced-security bot left a comment

Choose a reason for hiding this comment

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

lintr found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.

@JT-39 JT-39 merged commit 1ee70ec into main Aug 27, 2024
3 checks passed
@JT-39 JT-39 deleted the shiny-template-lait-merge branch August 28, 2024 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature: Merge LAIT into DfE shiny-template
1 participant