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

Added React-Helmet for titles and wrote tests #450

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Nyu10
Copy link

@Nyu10 Nyu10 commented Nov 22, 2023

Closes #436

This PR adds dynamic page titles using React-Helmet.
We also added unit tests (jest) to ensure webpage loads the proper dynamic titles.
Unit test setup is a start to frontend test coverage.

Note: we can remove the unit tests and make it another PR if neccessary
Screenshot 2023-11-22 at 12 20 38 PM

@@ -6,308 +6,432 @@ import { faChevronLeft } from "@fortawesome/free-solid-svg-icons";
import { Button, Col, Nav, Row, Tab } from "react-bootstrap";

import {
Copy link
Member

Choose a reason for hiding this comment

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

Are those all formatting changes, not related to the page title change? If so, it would be good to keep this PR clean and focused.

@zqian
Copy link
Member

zqian commented Dec 2, 2023

@Nyu10: Based on your comment Note: we can remove the unit tests and make it another PR if neccessary, could you please put those unit test changes into another PR? It helps to keep a pull request focused with small number of lines of code.

@jonespm jonespm marked this pull request as draft October 24, 2024 18:11
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.

Use dynamic page titles
2 participants