larskarbo / napchart-website

Full stack website utilizing the napchart library to create, save and share napcharts.
https://napchart.com/
30 stars 20 forks source link

Add options for export #10

Open Deadddorks opened 6 years ago

Deadddorks commented 6 years ago

Awesome job man, keep it up. I am just getting into polyphasic sleep, and ran into your website. It works awesome for planning, but like I said, you cant really compare options, which seems like the most logical use for lanes. Possibly add the ability to choose SEPARATE, SUM, AVERAGE

larskarbo commented 6 years ago

HI, thanks for feedback!

I know that things can be visually cluttered quickly and we need a way to fix that. By 'Ability to show color sums by lane' do you mean total duration of that color on a lane, or do you mean sum a color in general?

Possibly add the ability to choose SEPARATE, SUM, AVERAGE

What do you mean with this?

I am currently pretty busy, but look forward to continue to work on Napchart in the future if I have time. However I am always open for PRs 😎

Deadddorks commented 6 years ago

Lets say I have 2 lanes, lane 1 represents schedule 1, and 2 represents schedule 2. If I wanted to have the same color represent sleep for both lanes, and 1 option had 4 hours and the other 5, it would say Sleep: 9 hours. Given the different 3 options SEPARATE, SUM, AVERAGE:

Sum

Sleep: 9 hours Awake: 39 hours

Separate

Lane 1

Sleep: 4 hours Awake: 9 hours

Lane 2

Sleep: 5 hours Awake: 19 hours

Average

Sleep: ~4.5 hours Awake: ~19.5 hours

Right now, the only option is essentially sum. My person philosophy is just going for as many options for customization as I can, so Ideally you would be able to choose 1 of the 3, or even a separate option for each color. This would look like sum & avg showing up under all as (: & : ~), and separate showing up under separate legends for each lane. Just my personal opinion. Im sure you have your own vision as to what you want it to be, but Im just coming from a place where I think you made a really awesome tool that has even more potential :smile:. Also, it would be nice if you could name lanes, and rearrange their order.