ttrpg-tools/todo.md

27 lines
962 B
Markdown
Raw Permalink Normal View History

2026-03-01 09:36:09 +08:00
# todo
## md-commander(./components/md-commander)
2026-03-01 09:49:01 +08:00
- [x] create a new file for each command
- [x] add a tab bar to the top of md-commander. it should switch between the current history view and a new tracker view.
- [x] add a command to update the tracker view.
2026-03-01 09:36:09 +08:00
the tracker view should show a list of currently tracked information.
each entry should have a tag, an id, a list of classes, and a list of attributes.
each attribute can be of the following types:
- progress: represented in x/y format, x y are both ints.
- count: represented as an int.
- string: represented as a string.
the tracker view should support the following interactions:
- reordering
- updating attributes, by using popup controls that appear when you click on the attribute
- removing classes
2026-03-01 09:49:01 +08:00
each interaction should be implemented as a command entry in the history view.
### 新增功能
- [x] 支持 Emmet 简写语法:`track npc#john.dwarf.warrior[hp=4/4 ac=15 name="John"]`