bunnyxt / tdd-frontend

The frontend of https://tdd.bunnyxt.com via vue.js.
7 stars 3 forks source link

Video history comparison tool & chart #39

Open bunnyxt opened 4 years ago

bunnyxt commented 4 years ago

/tool/compare

compare history props between videos

use vuex to store compare video and data

add to compare button on each video detail page

bunnyxt commented 4 years ago

cf7c64b

Finish demo. Some bugs need fix.

bunnyxt commented 4 years ago

, separator in tooltip value cannot be added easily due to limit of G2. Add it to #38

bunnyxt commented 4 years ago

I think I should change my design of this tool.

Firstly, records should not be added to local storage, since 5M size limitation of local storage.

Secondly, vuex should be removed since we need to communicate video data between pages, which cannot avoid usage of local storage. Since we have used local storage to store things, why we need to sync a copy in vuex?

I'll try implement these updates today.

bunnyxt commented 4 years ago

57645cf

Remove vuex usage, add 200 limits (tmp).

TODO

bunnyxt commented 4 years ago

2b15daffdcbab18706b4888811741b4e807f0f85

Support add video via aid or bvid directly in video compare tool page.

TODO

bunnyxt commented 4 years ago

4a2e51d

Add search prompt below aid or bvid input.

TODO

bunnyxt commented 4 years ago

4a2e51d

Add search prompt below aid or bvid input.

TODO

  • [ ] Add debounce to prompt request.
  • [ ] Add debounce to update video compare list.

0cc05f92f854c337c5c8888282df57390ecbc14a

Finish 01. Add debounce to prompt request.

cde8a7386262d2cef31d391475f516a4316e988e

Finish 02. Add debounce to update video compare list.

bunnyxt commented 4 years ago

TODO