27 lines
962 B
Markdown
27 lines
962 B
Markdown
# todo
|
|
|
|
## md-commander(./components/md-commander)
|
|
|
|
- [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.
|
|
|
|
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
|
|
|
|
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"]` |