AutarkLabs / open-enterprise

A suite of apps that includes allocation, dot voting, issue curation, and other planning tools so organizations can collectively budget and design custom reward & bounty systems.
GNU General Public License v3.0
92 stars 54 forks source link

Allocations: New Budget panel #1765

Closed PeterMPhillips closed 4 years ago

PeterMPhillips commented 4 years ago

~When the budget-detail branch (PR #1758) gets merged I'll redirect this to dev~

Small visual changes to the panel: Screenshot from 2019-12-12 20-44-17

And here it shows weeks if the number of days is a multiple of 7: Screenshot from 2019-12-12 20-44-57

PeterMPhillips commented 4 years ago

@chadoh I turned the timeString() function into a component called Duration. It calls the useAragonApi and useTheme hooks so they don't have to be passed as props. Let me know if that works for you, happy to amend it if its not to your liking