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 title & meta description + image for all plages #1050

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

Conversation

Caesarh97
Copy link
Collaborator

I added title, meta description, and meta image to all pages. I also added:

    <HelmetProvider>
      <App />
    </HelmetProvider>

and

import { HelmetProvider } from 'react-helmet-async';

to packages/website/src/index.tsx

I did not add React Helmet. Please add this and the second step as @K-Markopoulos mentioned:

"As Eric mentioned, the react-helmet is not enough on its own in order to complete this task. The Helmet changes the meta tags on runtime, but the bots/crawlers that read those tags do not run the app, they just fetch the index.html. Therefore one solution is to generate an html file for each path and for each site. We have already started this, but it's a bigger effort and it has been put to the side to prioritize Reef Check data integration.
Adding Helmet is 1 of the 2 steps required here. The proposed changes look good, so feel free to add them while we are working on the other step to add Static Generation on the app."

This Pull Request is linked with Issue #641

Copy link

@pullrequest pullrequest bot left a comment

Choose a reason for hiding this comment

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

✅ This pull request was sent to the PullRequest network for review. Expert reviewers are now being matched to your request based on the code's requirements. Stay tuned!

What to expect from this code review:
  • Comments posted to any areas of potential concern or improvement.
  • Detailed feedback or actions needed to resolve issues that are found.
  • Turnaround times vary, but we aim to be swift.

Check the status or cancel PullRequest code review here.

Copy link

@pullrequest pullrequest bot left a comment

Choose a reason for hiding this comment

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

PullRequest Breakdown

Reviewable lines of change

+ 205
- 6,130

97% Jest Snapshot (tests)
3% TSX
<1% JSON
<1% Other

Generated lines of change

+ 29
- 28

Type of change

Deletion - These changes are mostly removing or cleaning up existing code within the repository.

Copy link

@pullrequest pullrequest bot left a comment

Choose a reason for hiding this comment

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

The code changes look good, but I mentioned a couple minor typos that would be nice to fix before merging.

Image of Dallas Dallas


Reviewed with ❤️ by PullRequest

<meta property="og:image:alt" content="This image displays the
Aqualink Smart Buoy which is also known as Smart Mooring Spotter. This
Smart buoy is powered by solar panels and transmit data in real-time over
the air. It collects whind, wave, barometric pressure and temperature
Copy link

Choose a reason for hiding this comment

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

Super minor, but there are two typos here. In the line above, it should be transmits rather than transmit, and on this line, it should be wind not whind.

🔹 Spelling/Typo (Nice to have)

Image of Dallas Dallas

surface temperature, and SST Anomaly. Each site has a dashboard that allows
you to monitor your reef. It includes a map, survey feature, satellite data
with wind, wave, and temperature data, heat stress alerts for coral
bleaching, and graphs. " />
Copy link

Choose a reason for hiding this comment

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

There's an extra space after graphs. that may not have been intentional. (The same sort of thing occurs in packages/website/src/routes/SiteRoutes/Site/index.tsx and packages/website/src/routes/Tracker/index.tsx.)

🔹 Spelling/Typo (Nice to have)

Image of Dallas Dallas

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Thank you, Dallas!

Copy link

Choose a reason for hiding this comment

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

No problem 🙌

Image of Dallas Dallas

Copy link

@pullrequest pullrequest bot left a comment

Choose a reason for hiding this comment

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

Thanks for fixing all the little things. I found one more and marked it in case that's helpful too.

Image of Dallas Dallas


Reviewed with ❤️ by PullRequest

<meta property="og:image:alt" content="The images display the Aqualink
dashboard, which allows you to monitor your reef. It includes a map,
survey feature, satellite data with wind, wave, and temperature data,
heat stress alerts for coral bleaching, and graphs. " />
Copy link

Choose a reason for hiding this comment

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

This one still has an extra space at the end FYI.

🔹 Spelling/Typo (Nice to have)

Image of Dallas Dallas

Copy link

@pullrequest pullrequest bot left a comment

Choose a reason for hiding this comment

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

✖️ This code review was cancelled. See Details

@ericboucher ericboucher marked this pull request as draft November 17, 2024 21:53
Copy link

@pullrequest pullrequest bot left a comment

Choose a reason for hiding this comment

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

⚠️ This pull request was not sent to the PullRequest network because the pull request is a draft.

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.

3 participants