Cyberjusticelab / JusticeAI

JusticeAI (ProceZeus) is a web chat bot that aims to facilitate access to judicial proceedings involving Quebec tenant/landlord law
https://cyberjusticelab.github.io/JusticeAI/docs/rendered/
MIT License
21 stars 16 forks source link

[#43] dashboard skeleton #386

Closed brucecaii closed 6 years ago

brucecaii commented 6 years ago

dashboard behaviour when click on toggle button:

  1. when no prediction is made, show sidebar
  2. when the first prediction is made, show dashboard
  3. when user say yes to answer more questions (between two predictions), show sidebar

TODO: integration, unit test

image image image

brucecaii commented 6 years ago

Major work is in sidebar.vue, it is hidden in the changes you need to click on load diff

codecov[bot] commented 6 years ago

Codecov Report

Merging #386 into master will decrease coverage by 0.02%. The diff coverage is 39.47%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #386      +/-   ##
==========================================
- Coverage   68.17%   68.14%   -0.03%     
==========================================
  Files          51       53       +2     
  Lines        2099     2119      +20     
  Branches       17       19       +2     
==========================================
+ Hits         1431     1444      +13     
- Misses        663      671       +8     
+ Partials        5        4       -1
Impacted Files Coverage Δ
src/web_client/src/components/EventBus.js 100% <100%> (ø)
src/web_client/src/components/Sidebar.vue 43.24% <16%> (-56.76%) :arrow_down:
src/web_client/src/components/Dashboard.vue 66.66% <66.66%> (ø)
src/web_client/src/components/Chat.vue 92.85% <88.88%> (+19.1%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update bb6d20b...efbeb8f. Read the comment docs.