mail icon indicating copy to clipboard operation
mail copied to clipboard

feat: split envelopes by time of arrival

Open GretaD opened this issue 7 months ago • 1 comments

fixes #11057

to do

  • [ ] do not show an empty section

GretaD avatar Jun 12 '25 13:06 GretaD

For reactivity: would it make sense to maintain the brackets in Pinia? Brackets relative to current time are probably not reactive. But if we commit the timestamp to Pinia, e.g. at every synchronization, and re-evaluate, it should be fine.

ChristophWurst avatar Jun 13 '25 05:06 ChristophWurst

For reactivity: would it make sense to maintain the brackets in Pinia? Brackets relative to current time are probably not reactive. But if we commit the timestamp to Pinia, e.g. at every synchronization, and re-evaluate, it should be fine.

Bump. You have a computed property that depends on time. How does Vue handle this side effect? Is the window for messages in the last hour evaluated again as time passes?

ChristophWurst avatar Jul 08 '25 12:07 ChristophWurst

For reactivity: would it make sense to maintain the brackets in Pinia? Brackets relative to current time are probably not reactive. But if we commit the timestamp to Pinia, e.g. at every synchronization, and re-evaluate, it should be fine.

Bump. You have a computed property that depends on time. How does Vue handle this side effect? Is the window for messages in the last hour evaluated again as time passes?

you are right, the current one is not the ideal solution, i will do what you suggested and commit the timestamp to Pinia. I was focused on fixing the bugs i caused with this feature and didnt pay attention to this part yet.

GretaD avatar Jul 08 '25 12:07 GretaD