feat: add analytics screen
feat: analytics header overview and legend feat: data selectors feat: graph axis and introductory stale data feat: change graph tick labeling feat: color formatting feat: day and month separation in graph grid refactor: move graph logic to its own file chore: create dummy transaction factory feat: make the analytics overview dynamic with data feat: apply timezone to the analytics screen fix: multiple bug fixes fix: graph txs colors fix: graph no data scenario feat: remove placeholder icons fix: used currencies on filtered data fix: remove timezone object formatting fix: forex rates on transaction data fix: styles fix: growth percentage margin refactor: pull up variables fix: clean up code feat: add transparent areas for mouse event purposes fix: replace DateTime with Date fix: small fixes to graph area intervals fix: graph rectangle location fix: d3 onClick event in dot graph chore: move graph popover component to components folder feat: memo dot graph to avoid expensive rerendering refactor: separate Graph component for future refactoring purposes refactor: restructure Graph related components fix: graph memoizing feat: top machines stacked bar graph refactor: further analytics refactor fix: small fixes on top machines graph fix: top machines stacked bar grapy y-axis scaling fix: small fixes on the stacked bar graph feat: add top machines header fix: bar drawing fix: transaction grouping per day of week refactor: general code cleaning up feat: mouseover events fix: transaction filtering on cross-day hour intervals fix: top machines graph edge case fix: NaN instances on graph drawing fix: tooltip date presentation fix: rearrange files for easier understanding fix: tooltip date interval fix: multiple small fixes fix: remove unnecessary arguments fix: add second group of hoverable rectangles
This commit is contained in:
parent
ff474ee507
commit
307cb07129
16 changed files with 2332 additions and 2 deletions
7
new-lamassu-admin/src/utils/time.js
Normal file
7
new-lamassu-admin/src/utils/time.js
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
const MINUTE = 60 * 1000
|
||||
const HOUR = 60 * 60 * 1000
|
||||
const DAY = 24 * 60 * 60 * 1000
|
||||
const WEEK = 7 * 24 * 60 * 60 * 1000
|
||||
const MONTH = 30 * 24 * 60 * 60 * 1000
|
||||
|
||||
export { MINUTE, HOUR, DAY, WEEK, MONTH }
|
||||
Loading…
Add table
Add a link
Reference in a new issue