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

Issue 13 fix guides page #19

Merged

Conversation

gridcat
Copy link
Member

@gridcat gridcat commented Dec 19, 2021

  • Retire standalone guide pages
  • Create tabs on guides pages
  • Adjust view and content (slightly) of each guide
  • Moved guides content into includes, so the guides page won't be so crowded

Fixes #13

Note: We need to improve the content of the guides. Since the solo crunching guide looks OK, the other two are definitely need some attention. While working on this issue I almost didn't touch the content itself as I can not consider myself as a tech writer (furthermore I ain't no native speaker) so I just removed non-related text from there. The guides on the original .us website for pool and staking-only aren't detailed enough and a little bit rather confusing, so perhaps some work needs to be done there as well to my opinion.
Hence I suggest to not rely on the content of this PR but rather have additional issues to adjust content.

@barton2526 barton2526 added the enhancement New feature or request label Dec 19, 2021
Copy link
Member

@barton2526 barton2526 left a comment

Choose a reason for hiding this comment

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

Why are you putting underscores at the front of guides? The html and markdown have no _ at the start

@gridcat
Copy link
Member Author

gridcat commented Dec 19, 2021

Why are you putting underscores at the front of guides? The html and markdown have no _ at the start

The only reason is to keep thing consistent in the _includes folder.

@gridcat
Copy link
Member Author

gridcat commented Dec 20, 2021

@barton2526 was it a question or suggestion to change? could you please be more specific?
as I can see all files within the _includes folder are prefixed with underscore.

@barton2526
Copy link
Member

I'm not familiar enough with the original rationale to say. Perhaps @RoboticMind knows

@RoboticMind
Copy link
Contributor

Underscores tell Jeykll to not try to build that file or folder directly.

Every file or directory beginning with the following characters: ., _ , # or ~ in the source directory will not be included in the destination folder

https://jekyllrb.com/docs/structure/

Technically the files in the _include directory don't need to have and _ in front of them because the folder is already ignored. The files were like that before I started working with the gridcoin.us site and I've just kept it consistent with that. I would have no issue changing it to not have underscores in that folder as long as you change all the {%include _filename.extension %} to be {%include filename.extension %}, it would be fine.

@gridcat
Copy link
Member Author

gridcat commented Dec 21, 2021

@RoboticMind I think it would be better to have separate issue for that as this is not related to this one. Plus it would be easier to test. wdyt?

@gridcat
Copy link
Member Author

gridcat commented Dec 21, 2021

any other issues with this PR?

Copy link
Contributor

@RoboticMind RoboticMind left a comment

Choose a reason for hiding this comment

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

With some of the more detailed guides being removed, the guides there look like they might need some changes

_includes/_guides/_solo_crunching.htm Outdated Show resolved Hide resolved
</li>
</ul>
</li>
<li>Send a beacon.</li>
Copy link
Contributor

Choose a reason for hiding this comment

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

This needs a whole step like it had in the more detailed guides. Sending a beacon involves multiple steps

Copy link
Member Author

Choose a reason for hiding this comment

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

This step will require screenshots and a lot of text. This simplified stepper probably not a very good fit for it. It will look very cluttered. I think it deserves a separate page. What if we will have here a link instead to the individual page here instead?
I can refer to the .us website page temporarily (https://gridcoin.us/guides/earn-grc.htm) and have a ticket to craft the page later as a part of .world website. wdyt?

Copy link
Contributor

Choose a reason for hiding this comment

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

That would work for now

_includes/_guides/_solo_crunching.htm Outdated Show resolved Hide resolved
</h3>
</header>
<div class="step-body">
<h4 class="h5">Check Your Projects</h4>
Copy link
Contributor

Choose a reason for hiding this comment

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

Might want to mention the GDPR requirements some projects have somewhere in here

Copy link
Member Author

Choose a reason for hiding this comment

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

Hm, good point. Also I think the GDPR should be mentioned on whitelist page also. Perhaps it worth to create an to extend the whitelist page.

Copy link
Member Author

Choose a reason for hiding this comment

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

I created the issue with a requirements to extend whitelist page with GDPR requirements.
Updates at this section is a part of that task.

@gridcat
Copy link
Member Author

gridcat commented Jan 18, 2022

@RoboticMind please have another look at this PR.

@gridcat
Copy link
Member Author

gridcat commented Jan 18, 2022

And I think it is worth to deploy it despite the fact that some parts are missing. Those issues could be addressed as another PR. I believe this improvements worth to have deployed, it should be better anyway.

Copy link
Contributor

@RoboticMind RoboticMind left a comment

Choose a reason for hiding this comment

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

I read over it again and noticed a few other issues with the wording/outdated information

_includes/_guides/_boinc_introduction.htm Outdated Show resolved Hide resolved
_includes/_guides/_pool_crunching.htm Outdated Show resolved Hide resolved
_includes/_guides/_solo_crunching.htm Outdated Show resolved Hide resolved
_includes/_guides/_solo_crunching.htm Outdated Show resolved Hide resolved
_includes/_guides/_solo_crunching.htm Outdated Show resolved Hide resolved
_includes/_guides/_solo_crunching.htm Outdated Show resolved Hide resolved
_includes/_guides/_pool_crunching.htm Outdated Show resolved Hide resolved
_includes/_guides/_staking_only.htm Outdated Show resolved Hide resolved
_includes/_guides/_solo_crunching.htm Outdated Show resolved Hide resolved
Copy link
Contributor

@RoboticMind RoboticMind left a comment

Choose a reason for hiding this comment

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

Looks good. Can you squash some of these commits? Will merge after that

@gridcat
Copy link
Member Author

gridcat commented Jan 18, 2022

I guess the proper way would be to Squash during the merge. I believe github should offer this choice. My attempt seems failed.

@barton2526
Copy link
Member

That option would result in one commit. I think Robotic meant to reduce 22 to a more manageable number, but still keep them modular (ie >1)

@gridcat
Copy link
Member Author

gridcat commented Jan 24, 2022

I understand, so I tried before your message doing this in a regular way (rebase ~10, the mark as squash) but seems like because this branch is already on a remote I can not rewrite the history.
I may doing something wrong so I can use some help here.

@barton2526
Copy link
Member

You need to squash locally and then force push to gridcat:issue-13-fix-guides-page

Co-authored-by: RoboticMind <[email protected]>

Update _includes/_guides/_solo_crunching.htm

Co-authored-by: RoboticMind <[email protected]>

Update _includes/_guides/_boinc_introduction.htm

Co-authored-by: RoboticMind <[email protected]>

Update _includes/_guides/_solo_crunching.htm

Co-authored-by: RoboticMind <[email protected]>

Update _includes/_guides/_solo_crunching.htm

Co-authored-by: RoboticMind <[email protected]>

Update _includes/_guides/_pool_crunching.htm

Co-authored-by: RoboticMind <[email protected]>

Update _includes/_guides/_solo_crunching.htm

Co-authored-by: RoboticMind <[email protected]>

Update _includes/_guides/_solo_crunching.htm

Co-authored-by: RoboticMind <[email protected]>

Update _includes/_guides/_staking_only.htm

Co-authored-by: RoboticMind <[email protected]>

Update _includes/_guides/_solo_crunching.htm

Co-authored-by: RoboticMind <[email protected]>

Update _includes/_guides/_pool_crunching.htm

Co-authored-by: RoboticMind <[email protected]>

Update _includes/_guides/_solo_crunching.htm

Co-authored-by: RoboticMind <[email protected]>

Update _includes/_guides/_boinc_introduction.htm

Co-authored-by: RoboticMind <[email protected]>

Update _includes/_guides/_solo_crunching.htm

Co-authored-by: RoboticMind <[email protected]>

Update _includes/_guides/_solo_crunching.htm

Co-authored-by: RoboticMind <[email protected]>

Update _includes/_guides/_pool_crunching.htm

Co-authored-by: RoboticMind <[email protected]>

Update _includes/_guides/_solo_crunching.htm

Co-authored-by: RoboticMind <[email protected]>

Update _includes/_guides/_solo_crunching.htm

Co-authored-by: RoboticMind <[email protected]>

Update _includes/_guides/_staking_only.htm

Co-authored-by: RoboticMind <[email protected]>

Update _includes/_guides/_solo_crunching.htm

Co-authored-by: RoboticMind <[email protected]>
@gridcat gridcat force-pushed the issue-13-fix-guides-page branch from 8bf7cce to d03b300 Compare January 24, 2022 21:12
@gridcat
Copy link
Member Author

gridcat commented Jan 24, 2022

@barton2526 thank you, --force did a trick!

@gridcat
Copy link
Member Author

gridcat commented Jan 26, 2022

@RoboticMind can we have it merged now?

@RoboticMind RoboticMind merged commit bf42233 into gridcoin-community:master Jan 27, 2022
@RoboticMind
Copy link
Contributor

Merged

@gridcat gridcat deleted the issue-13-fix-guides-page branch January 28, 2022 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix guides page. It is broken. really
3 participants