Skip to content

Contribute page review structure & checklist - #1117

Merged
GBKS merged 4 commits into
masterfrom
feature/contribute-review-checklist
Nov 11, 2024
Merged

GBKS merged 4 commits into
masterfrom
feature/contribute-review-checklist

Conversation

@GBKS

@GBKS GBKS commented Sep 24, 2024 •

Copy link
Copy Markdown
Contributor

I complained a bit yesterday about some common issues I find across PR reviews, and Yashraj recommended creating a checklist. So here it is.

This PR expands on the process for requesting reviews and proposes a 3-step structure. It also adds a common issues checklist for general and smaller things to look out for before requesting reviews.

I am keeping this as a draft as I'd like to share it for now, but also do another iteration specifically looking out for cross-linking and referencing across other pages in the contribute section. Also curious to hear if others have items they'd like to put on the checklist.

🍓Check the preview🫐

- Expands on the process for requesting reviews and proposes a 3-step structure
- Add a common issues checklist for general and smaller things to look out for before requesting reviews
@GBKS GBKS added the Documentation Improvements or additions to documentation label Sep 24, 2024
@GBKS GBKS self-assigned this Sep 24, 2024
@netlify

netlify Bot commented Sep 24, 2024 •

Copy link
Copy Markdown

✅ Deploy Preview for bitcoin-design-site ready!

Name Link
🔨 Latest commit 3b3e257
🔍 Latest deploy log https://app.netlify.com/sites/bitcoin-design-site/deploys/6731f9a645f9430008e8b5fb
😎 Deploy Preview https://deploy-preview-1117--bitcoin-design-site.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 configuration.

@GBKS GBKS mentioned this pull request Sep 24, 2024
4 tasks done

@yashrajd yashrajd left a comment •

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.

Did a first pass review, and overall it looks pretty good. Really appreciate how you've incorporated much of what I expressed during the silent payments PR review process. I've dropped a few suggestions and comments.

  • One recommendation that I have may be added somewhere if it makes sense: keep Structural (or even Refinement stages) off the PR/github especially for bigger items, and open the PR only when you're half way or further.

During the initial stages, the content is likely to change/move substantially and line-level feedback might not be needed or provided. It also keeps the content more accessible to folks who don't prefer Github.

  • I'd also like to see more/obvious cross-links to related pages

  • I was wondering if it might make sense to have a sample page .md file that has templated content including lots of different elements such as those mentioned on Content, Image and Formatting guideline pages.

Currently, one starts by searching for a good template/sample page to clone (at least I do dunno about others) but then still have to go hunting for code/template for other type of elements.... and a template/sample page might help folks get started...

Comment thread guide/contribute/propose-a-change.md Resolved
Comment thread guide/contribute/propose-a-change.md Resolved
- Lowercase "bitcoin", "lightning network" and "ecash"
- Make sure to explain less-widely known technical terms before expecting users to understand their meaning and properties
- If a new page is a sub-section, make sure to include a reference in the section landing page ([example](https://bitcoin.design/guide/how-it-works/))
- A simpler writing style allows your content to be more accessible to more readers (especially ones for whom english is not their native language)

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.

Not sure this belongs in the checklist per se. IIRC this is also explained in the Content guidelines section.

@GBKS GBKS Oct 21, 2024 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I think that's fine. This checklist is a bit of a summary of things that are explained in more detail elsewhere, so some repetition is OK.

- Ensure "width" and "height" attributes in picture and image includes match the actual image dimensions
- For smallest file size, use the JPG file format for textured and photographic images, and PNG for images with mostly flat color
- Compress your images via tool like [ImageOptim](http://imageoptim.com) (can save ~70% of bandwidth)
- Delete unused images from your PR

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.

This might be hard to detect if a mistake is made.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yep, but it has to be done.

- Ensure image paths are correct
- Ensure "width" and "height" attributes in picture and image includes match the actual image dimensions
- For smallest file size, use the JPG file format for textured and photographic images, and PNG for images with mostly flat color
- Compress your images via tool like [ImageOptim](http://imageoptim.com) (can save ~70% of bandwidth)

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.

This should be done just before merging or after all images are finalised...otherwise user has to remember to do it every time they change an image... not sure how this can be communicated.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

If you use a tool like ImageOptim, it will not compress images twice. Just drag all your pics in, let it do its thing, and you're good to go.

Comment thread guide/contribute/propose-a-change.md Resolved
Comment thread guide/contribute/propose-a-change.md Resolved
Comment thread guide/contribute/propose-a-change.md Resolved
Comment thread guide/contribute/propose-a-change.md Resolved
@yashrajd

yashrajd commented Sep 28, 2024 •

Copy link
Copy Markdown
Contributor

Sorry the following is feedback for the page/topic in general and not limited to this PR

I also wonder how much GitHub must be a part of 'proposing a change'. Much of the content here is likely to be applicable whether or not somebody opens a PR. It can also be a steep learning curve for non-technical people, and I'd figure we want to make this process as accessible as possible.

If the above makes sense, perhaps the checklist might appear somewhere else maybe higher up on the page but possibly more changes needed then...

danielnordh
danielnordh previously approved these changes Oct 16, 2024

@danielnordh danielnordh left a comment

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.

LGTM

Thanks to Yashraj for finding my various spelling mistakes and suggesting good tweaks.

Co-authored-by: Max <114083781+yashrajd@users.noreply.github.com>
@GBKS
GBKS marked this pull request as ready for review October 21, 2024 13:11
Tweaking the rendering of relative links, so the code is not pre-processed. The syntax shown on the site is now correct. Also adding an explainer for the reason why this syntax is necessary.
mouxdesign
mouxdesign previously approved these changes Nov 11, 2024

@mouxdesign mouxdesign left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Made some minor suggestions other than that LGTG

Comment thread guide/contribute/propose-a-change.md Resolved
Comment thread guide/contribute/propose-a-change.md Resolved
Co-authored-by: Mogashni  <90313394+mouxdesign@users.noreply.github.com>
@GBKS
GBKS merged commit d8f92e7 into master Nov 11, 2024
@GBKS
GBKS deleted the feature/contribute-review-checklist branch November 11, 2024 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants