[feat] 大纲可否增加一个收缩和展开按钮

Open
#1,319 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
62/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
nextjs, tauri, typescript
Domain
frontend

Research direction

Read the outline component and its existing expand or collapse behavior; the issue does not name a file or test. First locate how outline nodes are rendered and expanded, then determine where a control can collapse all nodes and let users expand a selected node. Done when the control works for a long outline and node selection remains usable.

Written by the indexing model from the issue text.

Description

描述你的建议

大纲内容比较多时,无法直接按标题直达位置,若增加一个收缩和展开按钮,就可以先收缩所有节点后,再选择节点展开就方便多了

Dominant language
TypeScript
Stars
12.9k
Forks
975
Avg merge
20h 27m
Merged PRs (30d)
1

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from codexu/note-gen

All issues in codexu/note-gen

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.