Skip to content

Issues list clean up - #156

Open
Zach Serviss (zachserviss) wants to merge 22 commits into
productionfrom
issues-list-clean-up
Open

Issues list clean up#156
Zach Serviss (zachserviss) wants to merge 22 commits into
productionfrom
issues-list-clean-up

Conversation

@zachserviss

@zachserviss Zach Serviss (zachserviss) commented Mar 10, 2022

Copy link
Copy Markdown

Description of the change

Removing duplicate issues (RS17/27) and redirecting traffic to RS20

Types of changes

  • Documentation content
  • [ x] Page Layout / templates / structure
  • [x ] Internal / code cleanup / build system

@DerekSiemens

Derek Siemens (DerekSiemens) commented Mar 30, 2022

Copy link
Copy Markdown
Contributor

This PR is branched off of #155. It should not include changes from the other PR, if it relies on those changes then maybe the two PR's should be merged together

Comment thread src/assets/stylesheets/_basics.less Outdated
Comment thread src/containers/HasTOC.tsx Outdated
Comment thread src/containers/HasTOC.tsx
Comment thread src/containers/single/issues.tsx
Comment thread src/components/Meta.tsx Outdated
*/
export type Entry = {
title: string;
robots?: string;

@DerekSiemens Derek Siemens (DerekSiemens) Oct 14, 2022

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I wonder if we can change the usage of just the plain robots in the docs within the code so we don't need two types

Comment thread src/components/Meta.tsx
}

let ogImageURL:string;
if(props?.fields?.ogFeaturedImage != null && Object.keys(props?.fields?.ogFeaturedImage).length > 0){

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

There must be a cleaner way to do this

Comment thread src/components/Meta.tsx Outdated
Comment thread content/guides/commonPitfallsBestPractices.md Outdated
@netlify

netlify Bot commented Oct 20, 2022

Copy link
Copy Markdown

Deploy Preview for saasquatch-docs ready!

Name Link
🔨 Latest commit 1ef18ef
🔍 Latest deploy log https://app.netlify.com/sites/saasquatch-docs/deploys/63ab87e8db20ee000ad2b93f
😎 Deploy Preview https://deploy-preview-156--saasquatch-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Comment thread src/components/Meta.tsx
<meta property="og:image" content={ogImageURL || ogImage} />
<meta name="twitter:image" content={ogImageURL || ogImage} />

<meta name="robots" content={props.fields?.robotsTag || props?.robots} />

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Noting that the contentful default here is "FOLLOW", lets make sure that is handled appropriately

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Also need to make sure this is handled well for the content within the code that does not have any robots information

Comment thread src/components/Meta.tsx
import marked from "marked";

// import ogImage from "../assets/images/opengraph-center-crop-helpcenter.png";
const ogImage = require("../assets/images/opengraph-center-crop-helpcenter.png");

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Lets fix this before sending it out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants