SSWConsulting / SSWConsulting/SSW.Rules

UI - Path-Based Breadcrumb Menu

Open
#624 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
26
Forks
17
Avg merge
14h 39m
Merged PRs (30d)
2

Description

As per my conversation with @taineriley1

(Related issue https://github.com/SSWConsulting/SSW.Rules/issues/392)

There are cases where a rule is in multiple categories, and this leads to a long and messy breadcrumb menu. As we're already displaying links to all the categories for a rule at the bottom of the rule's page, I'm suggesting the following:

  1. Change the breadcrumb menu from location-based (static - showing all possible ways to get to the page)
    to path-based (dynamic - showing only the path the user took to get here)

e.g. Instead of displaying multiple categories in the breadcrumb, we would display only the category the user navigated to, or no category if the user came to the rule's page directly.

image
Figure: Two or more categories in breadcrumb creates a messy UI

AB#63246

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read this issue alongside related issue #392 and the linked work item AB#63246. Define done as showing only the category used to reach a rule, or no category for direct visits, while retaining links to all categories at the bottom of the rule page.

Written by the indexing model from the issue text.

Assessment

Tech stack
nextjs, typescript
Domain
frontend, web-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.