BioDrop icon indicating copy to clipboard operation
BioDrop copied to clipboard

[Quickstart: filename capitalisation not clear]

Open GrahamTheDevRel opened this issue 3 years ago • 9 comments

Description

Problem

While following the quick start I did not register what "your GitHub username exactly as it appears" meant in point 7 (https://linkfree.io/docs/quickstart).

This resulted in extra work on both sides for no reason.

Solution

This would be much better if it showed an example of doing it correctly vs incorrectly.

I suggest something like the following:


  1. In the file path at the top, add data/ then with your GitHub username, exactly as it appears including capitalisation, and append .json.

For example for username "SaraJaoude":

✅ LinkFree/data/SaraJaoude.json (including capitalisation in filename) ❌ LinkFree/data/sarajaoude.json (filename capitalisation does not match username capitalisation)

Note: If your GitHub username is all lower case the file name should also be lower case.


Reasoning

This added extra work on both sides for no reason.

Additionally many beginners may get stuck with renaming a file as Git is case insensitive so it will not register a file name change without switching off case insensitivity or using --force on a mv command.

This could be a good first issue for someone

Screenshots

No response

Additional information

No response

GrahamTheDevRel avatar May 16 '23 08:05 GrahamTheDevRel

To reduce notifications, issues are locked until they are https://github.com/EddieHubCommunity/LinkFree/labels/%F0%9F%8F%81%20status%3A%20ready%20for%20dev and to be assigned. You can learn more in our contributing guide https://github.com/EddieHubCommunity/LinkFree/blob/main/CONTRIBUTING.md

github-actions[bot] avatar May 16 '23 08:05 github-actions[bot]

Thanks Graham for the great suggestion 👍 the issue is now ready for dev, would you like me to assign the issue to you?

eddiejaoude avatar May 16 '23 12:05 eddiejaoude

Great! It would be good if the example of what to do/what not to do is in the same style as our examples in the Style Guide (i.e. recommended/not recommended): https://linkfree.io/docs/docs-style-guide

SaraJaoude avatar May 16 '23 13:05 SaraJaoude

Can I please get assigned for this task, this will be my first contribution to LinkFree :)

zaid-ahmad avatar May 16 '23 13:05 zaid-ahmad

Can I work on this task? @eddiejaoude

Keshav-0907 avatar May 16 '23 18:05 Keshav-0907

@eddiejaoude feel free to assign it to someone else, I am sure there are many other things I can do and this is a good first issue I reckon! 💗

GrahamTheDevRel avatar May 16 '23 19:05 GrahamTheDevRel

@zaidahmad25 I will assign this to you. Please see above message regarding keeping to the Style Guide.

SaraJaoude avatar May 17 '23 00:05 SaraJaoude

Thank you very much @SaraJaoude

Sure, I'll keep in mind the Style Guide.

Also, thank you @GrahamTheDevRel for being so considerate 😃

zaid-ahmad avatar May 17 '23 06:05 zaid-ahmad

Here are the changes I've made:

Before image

After image

Can I proceed to make a pull request?

zaid-ahmad avatar May 17 '23 07:05 zaid-ahmad