dbsites / project-q

4 stars 6 forks source link

Portfolio toggling / Filter selection / Pie Chart & Modal transitions #153

Closed gkma closed 5 years ago

gkma commented 5 years ago

Lots of stuff rolled out so here's the breakdown:

[x ] Toggle feature between user portfolio and S&P500 Default set to "s&p500", will toggle when user uploads csv successfully (functionality for upload incomplete, waiting for endpoint to send file)

[X ] Filter company list by sector type Now able to filter company list by sector

[X ] Hover modal now updates Overview quad Before as we all know, the hover-over pie would create a layer above the Overview quad, but now instead it overwrites it! This eliminates any positioning discrepancies once and for all.

[X ] Fix clunky pie transitions Figured out why the pies were moving so unnaturally and it's because as we selected a company it was not only running synchronously to update the quads display, but asynch as well fetching stock and politician data. I've delayed the asynch functionality to allow display to smoothly transition first.