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

SFR-2200: Update license page to copyright #534

Merged
merged 2 commits into from
Oct 9, 2024

Conversation

jackiequach
Copy link
Collaborator

Jira Ticket

This PR does the following:

  • Updates license page to copyright and adds the In Copyright section

Testing requirements & instructions:

Copy link

vercel bot commented Oct 3, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sfr-bookfinder-front-end ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 7, 2024 8:29pm

Comment on lines 319 to 334
<h2
class="chakra-heading css-1xdhyk6"
>
In Copyright
</h2>
<p>
Works that are

<a
class="chakra-link css-qsaw8"
href="https://rightsstatements.org/page/InC/1.0/?language=en"
>
In Copyright
</a>

are protected by copyright and/or related rights. You are free to use this Item in any way that is permitted by the copyright and related rights legislation that applies to your use. For other uses you need to obtain permission from the rights-holder(s).
Copy link
Contributor

Choose a reason for hiding this comment

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

Sorry this is the file! Ha

I think this is ok to leave as is but it requires us to change this language every time we want to update the Copyright page. Is there a more robust test that we can write that is more agnostic to the content of the page?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Added unit tests to test different parts of the page.

Comment on lines 162 to 172
<Heading level="h2">In Copyright</Heading>
<p>
Works that are{" "}
<Link to="https://rightsstatements.org/page/InC/1.0/?language=en">
In Copyright
</Link>{" "}
are protected by copyright and/or related rights. You are free to use
this Item in any way that is permitted by the copyright and related
rights legislation that applies to your use. For other uses you need to
obtain permission from the rights-holder(s).
</p>
Copy link
Contributor

@kylevillegas93 kylevillegas93 Oct 7, 2024

Choose a reason for hiding this comment

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

Is there an updated BRD? I see that this is the language reflected in the ticket but not here: https://docs.google.com/document/d/12WVwIxC_OT3eWcw8-LQd1U-FX91tj-qWnL8A6d0CLsU/edit

Also https://rightsstatements.org/vocab/InC/1.0/ unfortunately is returning a Bad Gateway. I'd let Will know and have him make a decision on whether we want to include it or not.

import { screen } from "@testing-library/react";
import Copyright from "./Copyright";

it("renders Copyright page unchanged", async () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

Nice - I really like this test - ensures we have the right sections!

Copy link
Contributor

@kylevillegas93 kylevillegas93 left a comment

Choose a reason for hiding this comment

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

Looks good!

@jackiequach jackiequach merged commit ed7dd65 into development Oct 9, 2024
8 checks passed
@jackiequach jackiequach deleted the SFR-2200/update-license-page branch October 9, 2024 19:28
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