waka-readme-stats icon indicating copy to clipboard operation
waka-readme-stats copied to clipboard

FEAT: Ability to disable separate items in short info.

Open FAXES opened this issue 2 years ago • 2 comments

Is your feature request related to a problem? Please describe. No, It would be great to be able to have settings to toggle each item in the SHOW_SHORT_INFO section on or off. For example the ability to toggle the hiring line off.

Some variable examples could be: SHOW_SHORT_INFO_CONTRIBUTIONS SHOW_SHORT_INFO_STORAGE SHOW_SHORT_INFO_HIRE SHOW_SHORT_INFO_PUBLIC SHOW_SHORT_INFO_PRIVATE

Just a nice simple feature toggle that would be nice.

FAXES avatar Mar 01 '22 03:03 FAXES

See PR: https://github.com/anmol098/waka-readme-stats/pull/265

FAXES avatar Mar 01 '22 03:03 FAXES

Definitely +1 this as you can't change your hire status in GitHub as they've deprecated GitHub jobs.

Tbf, I'd go as far as to disable that particular short info full stop due to the above.


Edit: As we can't edit this field in Github UI, you can do it via gh.

To view your current settings:

gh api \
  --method PATCH \
  -H "Accept: application/vnd.github+json" \
  /user

To disable:

gh api \
  --method PATCH \
  -H "Accept: application/vnd.github+json" \
  /user \
  -F hireable=false

To enable:

gh api \
  --method PATCH \
  -H "Accept: application/vnd.github+json" \
  /user \
  -F hireable=true

Source: https://docs.github.com/en/rest/users/users#update-the-authenticated-user

modem7 avatar Aug 16 '22 18:08 modem7