DOAJ / doaj

The Directory of Open Access Journals - website and directory software
Apache License 2.0
59 stars 16 forks source link

Feature/3356 restructure templates #2390

Closed richard-jones closed 1 month ago

richard-jones commented 5 months ago

Restructure templates for easier future development

See https://github.com/DOAJ/doajPM/issues/3356

The template structure has grown organically over the years, and this PR realigns it with the structure of the site and applies some consistent naming and directory structure conventions

Categorisation

This PR...

Basic PR Checklist

Instructions for developers:

Instructions for reviewers:

Code Style

Documentation

Release Readiness

Testing

There are two sets of tests we should run here. The first is to visit every page in the site that uses the templating system, check that they render correctly, and that they look the same as the live site. I have made a test sheet for that here:

https://docs.google.com/spreadsheets/d/1ALYt12_X0dG5bx5a2kt62BA1_ro_4GNmw1vhSzBy9BI/edit

Then we should run a few functional tests just to look in detail at the most critical areas of the site:

https://doaj.github.io/doaj-docs/feature/3356_restructure_templates/testbook/index.html#journal_form/maned_form/journal_form_test https://doaj.github.io/doaj-docs/feature/3356_restructure_templates/testbook/index.html#new_application_form/publishers_form https://doaj.github.io/doaj-docs/feature/3356_restructure_templates/testbook/index.html#public_site/home_page/launching_off_from_home_page

Deployment

What deployment considerations are there? (delete any sections you don't need)

Configuration changes

N/A

Scripts

N/A

Migrations

N/A

Monitoring

N/A

New Infrastructure

N/A

Continuous Integration

N/A