Devographics / Devographics/Monorepo

[charts] redirect uses section id instead of section path

Open
#380 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
178
Forks
55
Avg merge
1m
Merged PRs (30d)
2

Description

Wrong: https://2023.stateofjs.com/en-US/libraries/front_end_frameworks/
Right: https://2023.stateofjs.com/en-US/libraries/front-end-frameworks/

This is because `subSectionId` is used instead of getting the section object and then using `section.path`.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the charts redirect handling and the lookup for the section object versus subSectionId. Reproduce the redirect and verify that the resulting URL uses the section path, producing `front-end-frameworks` rather than `front_end_frameworks`.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.