ultrasoundmoney / frontend

ultrasound.money frontend
https://ultrasound.money
MIT License
212 stars 65 forks source link

Add time frame as URL parameter #338

Open blacktemplar opened 1 month ago

blacktemplar commented 1 month ago

Adding the selected time frame as URL parameter has multiple advantages:

  1. Time frame gets remembered when refreshing the page
  2. One can share links for a specific time frame

This should of course happen without refreshing the page when changing the time frame, just update the URL. This should be possible technically.

alextes commented 1 month ago

i like this idea. we could have multiple parameters as there are multiple dashboards with time frames. it would work even better when we finally split the page into multiple pages / sections so each page can have its own straightforward time frame parameter.