Skip to content

DGUK-290 Remove generated views by markdown #1843

Merged
Obsiye merged 7 commits intomainfrom
DGUK-290-move-markdown-render-to-docker-test
Apr 10, 2026
Merged

DGUK-290 Remove generated views by markdown #1843
Obsiye merged 7 commits intomainfrom
DGUK-290-move-markdown-render-to-docker-test

Conversation

@Obsiye
Copy link
Copy Markdown
Contributor

@Obsiye Obsiye commented Mar 30, 2026

  • Removed app/views/generated directory
  • Docker now builds the generated views as an output of the markdown render rake task
  • Runs markdown render before the whole feature tests and then deletes it

@Obsiye Obsiye changed the title [DRAFT] Dguk 290 move markdown render to docker test [DRAFT] Dguk 290 refactor tests after removing views generated by markdown Mar 30, 2026
@Obsiye Obsiye changed the title [DRAFT] Dguk 290 refactor tests after removing views generated by markdown [DRAFT] DGUK-290 Remove generated by markdown Mar 31, 2026
@Obsiye Obsiye force-pushed the DGUK-290-move-markdown-render-to-docker-test branch from fad5085 to 0a804a1 Compare March 31, 2026 16:11
@Obsiye Obsiye marked this pull request as ready for review April 1, 2026 07:36
@Obsiye Obsiye changed the title [DRAFT] DGUK-290 Remove generated by markdown DGUK-290 Remove generated by markdown Apr 1, 2026
@Obsiye Obsiye marked this pull request as draft April 1, 2026 07:56
@Obsiye Obsiye force-pushed the DGUK-290-move-markdown-render-to-docker-test branch from 58eefbd to 90dc23e Compare April 1, 2026 08:31
@Obsiye Obsiye marked this pull request as ready for review April 1, 2026 08:32
Copy link
Copy Markdown
Contributor

@ashimali ashimali left a comment

Choose a reason for hiding this comment

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

I would just add a bit of clarification to readme about requirement of local rendering.

I know we may move soon and we might all know this but in case another dev wanted to checkout and see things working as they should, then I think useful for the readme to be clear on that point.

Comment thread README.md
@Obsiye Obsiye force-pushed the DGUK-290-move-markdown-render-to-docker-test branch 5 times, most recently from 8fafb04 to ace4bae Compare April 2, 2026 08:26
@Obsiye Obsiye changed the title DGUK-290 Remove generated by markdown DGUK-290 Remove generated views by markdown Apr 7, 2026
@Obsiye Obsiye force-pushed the DGUK-290-move-markdown-render-to-docker-test branch from 33e14e2 to 3d31733 Compare April 8, 2026 06:51
Obsiye added 7 commits April 8, 2026 13:56
Run markdown render before test suite

update tests
Fix typos

Undo refactor as it's out of scope for this ticket
Set the markdown render to run after the precompile assetes in the docker files. This makes sure that some of the image assets
are available as they're required for the views outputted by the markdown render rake task.

Fix collection image path

Fix tests
Run markdown render in spec/rails_helper. This is because
feature tests require the app/views/generated views to exist.

Refactor markdown to be more resilliant to failures

Add tests
@Obsiye Obsiye force-pushed the DGUK-290-move-markdown-render-to-docker-test branch from be2957c to 27584d7 Compare April 8, 2026 12:56
@Obsiye Obsiye merged commit f705bf0 into main Apr 10, 2026
7 checks passed
@Obsiye Obsiye deleted the DGUK-290-move-markdown-render-to-docker-test branch April 10, 2026 10:12
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