Skip to content

[EW] restore Skills link in side navigation #398

@anfibiacreativa

Description

@anfibiacreativa

The Skills entry that linked to /apps/skills from the side navigation is missing from the current ew / feat/ew-skills-editor-recovered flow.
This link existed on the exp-workspace branch, where the sidenav injected a “Skills” item that preserved the current org/site context in the hash:

/apps/skills?...#/{org}/{site}

Current Behavior

The nx2 sidenav does not show a Skills entry.

The only current entry point to the Skills editor is through the chat + menu item, “Manage Skills”.

Expected Behavior

Authors should have a visible side navigation entry for Skills that opens:

/apps/skills?nx=...&nxver=2&ref=...#/{org}/{site}
The link should preserve the current org/site context from the URL hash.

Notes

On exp-workspace, this behavior was implemented in:

nx/blocks/sidenav/sidenav.js
via logic similar to:

buildSkillsLabHref()
syncSkillsLabLink()

hashchange handling

The current nx2 sidenav lives in:

nx2/blocks/sidenav/sidenav.js
and gets its links from the /nx/fragments/sidenav fragment, so there are two possible fixes:

Add the Skills link to the hosted sidenav fragment.
Port/adapt the injection behavior into the nx2 sidenav.

Acceptance Criteria

A “Skills” link appears in the side navigation.

  • Clicking it opens /apps/skills with nxver=2.
  • The current org/site hash context is preserved.
  • The link works from authoring pages such as canvas/browse.
  • No duplicate Skills entries appear if the fragment already includes one

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions