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

chore(gnodev): show link to docs upon 'h' key #2497

Merged
merged 4 commits into from
Jul 4, 2024

Conversation

grepsuzette
Copy link
Contributor

I propose we have "h" commandin gnodev mention a link to the full help of gnodev. This is a possible implementation.

Tried a few variants, this one seems simple enough:

ksnip_20240704-134249

@gfanton feel free to suggest changes :)

Copy link

codecov bot commented Jul 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 54.69%. Comparing base (88a417b) to head (034c80b).
Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2497   +/-   ##
=======================================
  Coverage   54.69%   54.69%           
=======================================
  Files         590      590           
  Lines       79036    79036           
=======================================
  Hits        43230    43230           
  Misses      32554    32554           
  Partials     3252     3252           
Flag Coverage Δ
contribs/gnodev 23.81% <ø> (ø)
contribs/gnofaucet 15.31% <ø> (ø)
contribs/gnokeykc 0.00% <ø> (ø)
contribs/gnomd 0.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@grepsuzette grepsuzette mentioned this pull request Jul 4, 2024
7 tasks
@grepsuzette
Copy link
Contributor Author

Updated, following recommandations:

gnodev3

Note

If we get shorter links after #2262 perhaps in the future this could be used:

gnodev2

The red vertical shows the 80 cols and as you can see the line holds within the limit.
Guilhem, it will be your call if one day you want to change this :)
Moving on to something else.

@gfanton gfanton self-requested a review July 4, 2024 14:12
Copy link
Member

@gfanton gfanton left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@leohhhn leohhhn merged commit 5f6b311 into gnolang:master Jul 4, 2024
4 checks passed
@grepsuzette grepsuzette deleted the gnodev_doclink branch July 5, 2024 11:04
gfanton pushed a commit to gfanton/gno that referenced this pull request Jul 23, 2024
I propose we have "h" commandin gnodev mention a link to the full help
of gnodev. This is a possible implementation.

Tried a few variants, this one seems simple enough:


![ksnip_20240704-134249](https://github.com/gnolang/gno/assets/350354/f97bf22a-1028-45ad-a1b3-3f80b8b3d68f)

@gfanton feel free to suggest changes :)

---------

Co-authored-by: grepsuzette <grepsuzette@users.noreply.github.com>
Co-authored-by: Leon Hudak <33522493+leohhhn@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants