You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,6 +41,7 @@ This focus helps guide our project decisions as a community and what we choose t
41
41
-[Naming conventions](#naming-conventions)
42
42
-[Vue components](#vue-components)
43
43
-[Internal linking](#internal-linking)
44
+
-[Cursor and navigation](#cursor-and-navigation)
44
45
-[RTL Support](#rtl-support)
45
46
-[Localization (i18n)](#localization-i18n)
46
47
-[Approach](#approach)
@@ -392,6 +393,18 @@ For package links, use the auto-imported `packageRoute()` utility from `app/util
392
393
|`~username`|`/~:username`|`username`|
393
394
|`~username-orgs`|`/~:username/orgs`|`username`|
394
395
396
+
### Cursor and navigation
397
+
398
+
**npmx** uses `cursor: pointer` only for links to match users’ everyday experience. For all other interactive elements, including buttons, use the default cursor (_or another appropriate cursor to indicate state_).
399
+
400
+
> [!NOTE]
401
+
> A link is any element that leads to another content (_go to another page, authorize_)
402
+
> A button is any element that operates an action (_show tooltip, open menu, "like" package, open dropdown_)
403
+
> If you're unsure which element to use - feel free to ask question in the issue or on discord
404
+
405
+
> [!IMPORTANT]
406
+
> Always Prefer implementing navigation as real links whenever possible. This ensures they can be opened in a new tab, shared or reloaded, and so the same content is available at a stable URL
407
+
395
408
## RTL Support
396
409
397
410
We support `right-to-left` languages, we need to make sure that the UI is working correctly in both directions.
Copy file name to clipboardExpand all lines: README.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -155,7 +155,8 @@ We welcome contributions – please do feel free to explore the project and
155
155
-[npm-userscript](https://github.com/bluwy/npm-userscript)– Browser userscript with various improvements and fixes for npmjs.com
156
156
-[npm-alt](https://npm.willow.sh/)– An alternative npm package browser
157
157
-[npkg.lorypelli.dev](https://npkg.lorypelli.dev/)– An alternative frontend to npm made with as little client-side JavaScript as possible
158
-
-[vscode-npmx](https://github.com/npmx-dev/vscode-npmx)– VSCode extension for npmx
158
+
-[vscode-npmx](https://github.com/npmx-dev/vscode-npmx)– Official VSCode extension for npmx
159
+
-[vscode-open-in-npmx](https://github.com/sybers/vscode-open-in-npmx)– VSCode shortcut to open packages on npmx
159
160
-[nxjt](https://nxjt.netlify.app)– npmx Jump To: Quickly navigate to npmx common webpages.
160
161
-[npmx-weekly](https://npmx-weekly.trueberryless.org/)– A weekly newsletter for the npmx ecosystem. Add your own content via suggestions in the weekly PR on [GitHub](https://github.com/trueberryless-org/npmx-weekly/pulls?q=is%3Aopen+is%3Apr+label%3A%22%F0%9F%95%94+weekly+post%22).
161
162
-[npmx-digest](https://npmx-digest.trueberryless.org/)– An automated news aggregation website that summarizes npmx activity from GitHub and Bluesky every 8 hours.
0 commit comments