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

Use manual timestamps for manual section header #2441

Merged
merged 1 commit into from
May 23, 2022

Conversation

1pretz1
Copy link
Contributor

@1pretz1 1pretz1 commented May 17, 2022

Currently (in Government Frontend) , a manual section's timestamps for
published at and last updated at originate from the manual section.

However, the live version (Manuals Frontend) uses the parents manual
timestamps. This commit applies parent manuals timestamps
as we should keep the behaviour the same.

Tests dependant on:

Parent manual's header

Screenshot 2022-05-17 at 16 27 49

Manual section (before)

Screenshot 2022-05-17 at 16 28 23

Manual section (after)

Screenshot 2022-05-17 at 16 28 04

Trello:
https://trello.com/c/qCSHqqN7/1287-use-parent-manual-timestamps-for-manual-sections

⚠️ This repo is Continuously Deployed: make sure you follow the guidance ⚠️

@1pretz1 1pretz1 force-pushed the update-timestamps-for-sections branch 2 times, most recently from 3e77158 to 4eb33f4 Compare May 17, 2022 15:46
Currently (in Government Frontend) , a manual section's timestamps for
published at and last updated at originate from the manual section.

However, the live version (Manuals Frontend) uses the parents manual
timestamps. This commit applies parent manuals timestamps
as we should keep the behaviour the same.

Also adds missing tests for a normal manual section.
@1pretz1 1pretz1 force-pushed the update-timestamps-for-sections branch from 4eb33f4 to f7f1ea0 Compare May 17, 2022 16:21
@1pretz1 1pretz1 marked this pull request as ready for review May 17, 2022 16:21
@edwardkerry edwardkerry merged commit d5fa19e into main May 23, 2022
@edwardkerry edwardkerry deleted the update-timestamps-for-sections branch May 23, 2022 15:31
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