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

FS-4917 - Remove unused code #171

Merged
merged 4 commits into from
Dec 23, 2024
Merged

FS-4917 - Remove unused code #171

merged 4 commits into from
Dec 23, 2024

Conversation

wjrm500
Copy link
Contributor

@wjrm500 wjrm500 commented Dec 23, 2024

Ticket

https://mhclgdigital.atlassian.net/browse/FS-4917

Changes

  • Remove unused dev routes - These routes were mounted at /dev and provided local development and debugging functionality that was not being actively used.

  • Remove unused self-serve functionality - This self-serve system was a prototype for constructing forms from lower-level components, built on top of an in-memory "database". Such low-level form construction is not currently within the scope of FAB as a production asset. We also tidy up usage of the helper functions human_to_kebab_case and human_to_snake_case, which were previously duplicated and imported from the routes file in the self-serve directory.

  • Remove unused tasks and move test data seeding into tests directory
    These tasks were developer tools for seeding and manipulating the local database, as well as to manually generate export files. None of this stuff was linked to the frontend. Seeding the local database for unit tests is still required, and so this has been moved to a new place.

  • Remove redundant local development config - We have some docker-compose and .devcontainer stuff that isn't used. Rather, we should run FAB from the global Docker Runner - funding-service-design-docker-runner.

@wjrm500 wjrm500 force-pushed the FS-4917_remove-unused-code branch from 71000f9 to 1013810 Compare December 23, 2024 14:08
@wjrm500 wjrm500 force-pushed the FS-4917_remove-unused-code branch from 1013810 to 70717ee Compare December 23, 2024 14:18
@wjrm500 wjrm500 force-pushed the FS-4917_remove-unused-code branch from 70717ee to b58339e Compare December 23, 2024 14:30
@wjrm500 wjrm500 force-pushed the FS-4917_remove-unused-code branch from b58339e to 95950ad Compare December 23, 2024 14:32
@wjrm500 wjrm500 marked this pull request as ready for review December 23, 2024 14:34
@wjrm500 wjrm500 force-pushed the FS-4917_remove-unused-code branch from 95950ad to e626462 Compare December 23, 2024 14:37
@wjrm500 wjrm500 force-pushed the FS-4917_remove-unused-code branch from e626462 to 315a802 Compare December 23, 2024 15:49
@wjrm500 wjrm500 force-pushed the FS-4917_remove-unused-code branch from 315a802 to a079a05 Compare December 23, 2024 16:40
@wjrm500 wjrm500 force-pushed the FS-4917_remove-unused-code branch from a079a05 to 07eeec1 Compare December 23, 2024 16:42
These routes were mounted at `/dev` and provided local development and debugging functionality that was not being actively used.
This self-serve system was a prototype for constructing forms from lower-level components, built on top of an in-memory "database". Such low-level form construction is not currently within the scope of FAB as a production asset.

We also tidy up usage of the helper functions human_to_kebab_case and human_to_snake_case, which were previously duplicated and imported from the routes file in the self-serve directory.
…irectory

These tasks were developer tools for seeding and manipulating the local database, as well as to manually generate export files. None of this stuff was linked to the frontend. Seeding the local database for unit tests is still required, and so this has been moved to a new place.
We have some docker-compose and .devcontainer stuff that isn't used. Rather, we should run FAB from the global Docker Runner - funding-service-design-docker-runner.
Copy link
Contributor

@samuelhwilliams samuelhwilliams left a comment

Choose a reason for hiding this comment

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

LGTM :)

@wjrm500 wjrm500 merged commit f0457ea into main Dec 23, 2024
12 checks passed
@wjrm500 wjrm500 deleted the FS-4917_remove-unused-code branch December 23, 2024 18:29
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.

2 participants