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

[MERGE BEFORE 09/28/23 RELEASE] Add link to document page #5931

Merged
merged 2 commits into from
Sep 28, 2023

Conversation

johnnyporkchops
Copy link
Contributor

@johnnyporkchops johnnyporkchops commented Sep 28, 2023

Summary (required)

DocumentPages, otherwise not navigable on the site, are showing in search results. This is a temporary fix so users will be able to get to the document if they access a DocumentPage through a search result link. A final solution for handling this issue is being researchd. See this comment/mockup in issue

Required reviewers

one frontend

Impacted areas of the application

Document pages in Reports about the FEC

Screenshots

Screen Shot 2023-09-27 at 9 47 40 PM

Related PRs

Related PRs against other branches:

There is a WIP/DRAFT PR that shows more options for the final solution #5922

How to test

</header>
<p class="t-sans t-normal">
Copy link
Contributor

Choose a reason for hiding this comment

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

The <p> and <i> will always be included, right? Even if there's no self.file_url, no self.extension, and/or no self.size?

Comment on lines +30 to +31
{% if self.extension %} | ({{ self.extension }}){% endif %}
{% if self.size %} | ({{ self.size }}){% endif %}
Copy link
Contributor

Choose a reason for hiding this comment

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

These could be included even if there's no self.file_url, right? Granted, it seems unlikely

@codecov
Copy link

codecov bot commented Sep 28, 2023

Codecov Report

Merging #5931 (505d07c) into release/public-20230926 (ce12338) will decrease coverage by 0.02%.
The diff coverage is n/a.

@@                     Coverage Diff                     @@
##           release/public-20230926    #5931      +/-   ##
===========================================================
- Coverage                    78.16%   78.14%   -0.02%     
===========================================================
  Files                          286      286              
  Lines                         9167     9167              
  Branches                       653      653              
===========================================================
- Hits                          7165     7164       -1     
- Misses                        2002     2003       +1     

see 1 file with indirect coverage changes

@rfultz rfultz merged commit a87eec9 into release/public-20230926 Sep 28, 2023
2 checks passed
@rfultz rfultz deleted the feature/5918-document-page-with-link branch September 28, 2023 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants