Replies: 0 comments 1 reply
-
Thanks for the feedback. We will evaluate this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In npmgraph/npmgraph#134 I added @fregante and I (@broofa) to the
package.json#funding
field.Expected behavior: On the https://www.npmjs.com/package/npmgraph page there should be some way for people to fund either of us, or both of us.
Actual behavior: Clicking the "Fund this package" button takes you directly to the first URL listed in the
funding
field, with no indication that there are additional funding options available.Suggested solution: Instead of a "Fund this package" button, have a "Fund this package" section in the sidebar with buttons for each funding option. Ideally, the interface would recognize popular funding URL formats (e.g. GitHub's
.../sponsors/:githubId
) and provide a corresponding badge/button. For example:Beta Was this translation helpful? Give feedback.
All reactions