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

Move Journal Details section above Contacts section #519

Merged
merged 3 commits into from
Aug 4, 2023

Conversation

frozenhelium
Copy link
Collaborator

@frozenhelium frozenhelium commented Jul 4, 2023

Copy link
Member

@wrynearson wrynearson left a comment

Choose a reason for hiding this comment

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

Hey @frozenhelium, the order of the PDF looks good.

When a user downloads a document that doesn't have journal details information, the label is still listed in the PDF, and has four No content available. placeholders.

image

If content is added, the correct single field Significance Discussion is displayed.

image

If other Journal Details are added but not Significance Discussion, that is also displayed correctly.

image

Could you fix the first scenario? Ideal, the entire section would not appear, but having only one No content available. placeholder is also a good option.

@frozenhelium
Copy link
Collaborator Author

@wrynearson I'll look into it

@frozenhelium
Copy link
Collaborator Author

@wrynearson It should be fixed now
2023-07-06-134723

@wrynearson wrynearson self-requested a review July 19, 2023 13:59
Copy link
Member

@wrynearson wrynearson left a comment

Choose a reason for hiding this comment

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

Hi @frozenhelium, there's still the issue of four "No content available." placeholders when a user selects that the ATBD will or has been published, but they don't have any content in the four field.

When a user has content in one of the four, there are then three "No content available." placeholders.

image image

I tested this with the /pdf-preview, and it occurs there.

Ideally:

  1. If the document has content in the Significance Discussion text box, it should be displayed in the PDF
  2. If the document does not have content in the Significance Discussion, there should be no rendering of the Significance Discussion or any of the other fields in the Journal Details in the PDF.
  3. Regardless of whether or not there's content in the Significance Discussion text box, the other three sub-sections in the Journal Details should not appear in the PDF.

Copy link
Member

@wrynearson wrynearson left a comment

Choose a reason for hiding this comment

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

LGTM, thanks @frozenhelium!

@wrynearson wrynearson removed their assignment Jul 25, 2023
@wrynearson
Copy link
Member

Oops, forgot to merge this... doing it now @frozenhelium

@wrynearson wrynearson merged commit 50c3da3 into develop Aug 4, 2023
14 checks passed
@wrynearson wrynearson deleted the fix/atbd-view-order branch August 4, 2023 06:56
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