iterative / iterative/cml.dev

tabs: URL referencing

Open
#123 6 comments 3 reactions 0 assignees View on GitHub
A: website epic p2-nice-to-have
Dominant language
TypeScript
Stars
13
Forks
22
PR merge metrics
No merged PRs in 30d

Description

Given:

```markdown

some text

### sub section

```

Should be able to use:

- [x] `/some/page?tab=Bar` (or `/some/page#Bar`?) to auto-open the appropriate tab (`p1-important`, #130)
- [x] `/some/page/?tab=Bar#sub-section` (or `/some/page#Bar-sub-section`?) to auto-open the tab and scroll to containing section (`p2-nice-to-have`)
- [ ] remember the `?tab=` when navigating to a different page (`p2-nice-to-have`)

Other tasks:

- [x] initial tabs implementation (#113)
- [ ] update styling a little (#136, TODO: [follow-up](https://github.com/iterative/cml.dev/pull/136#issuecomment-953910206))

---

- [x] ~blocking #122~
- related #70

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.