-
Notifications
You must be signed in to change notification settings - Fork 2
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
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
<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). |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
<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> |
There was a problem hiding this comment.
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 () => { |
There was a problem hiding this comment.
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!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
Jira Ticket
This PR does the following:
Testing requirements & instructions: