torchbox / torchbox/django-pattern-library

Hide directory structure for single patterns

Open
#97 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement storybook ui
Dominant language
Python
Stars
423
Forks
53
PR merge metrics
No merged PRs in 30d

Description

From @chris-lawton in #11,

Perhaps just link straight to the pattern if there's only one, rather than having to click the category name and then the pattern

Contributor guide

Open the contributing guide

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

Start by tracing how the pattern library renders category and pattern navigation, focusing on the case where a category contains a single pattern. Confirm the expected behavior from the issue: link directly to that pattern instead of requiring a category click, and verify that categories with multiple patterns retain their existing directory structure.

Written by the indexing model from the issue text.

Assessment

Tech stack
django, python
Domain
frontend, web-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.