Closed CritiqalPete closed 1 week ago
@za-zohaib please review this. Is it clear how we can move the update of the Sessions data to a place where the screen is populated with current Sessions and not have to interact with the Calendar first?
Hi @CritiqalPete what i understood from this is that we shouldnot need to pull down and refresh the screen to show correct session. As i have tried this with sessions and team sessions screen both works fine if we pull down and refresh the screen. Do let me know if you want anything else. Thanks
@CritiqalPete one more thing i noticed is that when we sign in the default date range on calendar is one week previous and one week ahead from today. e.g if today is 16 may 2024 the date range on calendar will be 9 may 2024 - 23 may 2024. And if we change the selection on Profile>Calendar Option to M/W/T it works on both session and teams page after refresh ( pull down ). There are two questions i have here
First. This M/W/T selection from Profile is discared if user logs out and logs back in. After loging back in the default 1 week before and 1 week after range is shown. Is this desired behaviour?
Second. If a user has selected default M/W/T from his Profile then after coming to teams or sesions screen he sees the selected default after refresh but if he manually change the date range again then what should happen with the selected default from Profile because if he refresh the screen that Profile default is applied rather then the one he selected manually from date range.
Thridly. Do we need to share the manually selected date range from calendar accross the tabs ( Sessions and Teams ) to show the same result.
Do let me know if there is any confusion we can have a chat and discuss. Thanks
@CritiqalPete one more thing i noticed
and if we select M/W/T from profile screen then that date range will be shown on refresh on both Tabs.
Is this desired behaviour ? 2 weeks range for Sessions Tab and 3 weeks for Teams Tab or both Tabs should have same date range ??
Do let me know if there is any confusion we can have a chat and discuss. Thanks .
@CritiqalPete wanted to know if you were able to look at above questions.
An empty session screen should be very very rare for typical everyday coach usage. I expanded the default days on the calendar to reduce this but the app simply needs to be smarter and I would like the Design Team to explore "1-tap" solutions to emphasize TODAY, THIS WEEK, THIS MONTH, especially as an alternative to a blank screen.
@CritiqalPete above Request changes sounds good. One question I have i that where should we put [include Recent] button.
since it's only seen periodically and in the context of an empty view (where a list of Sessions is expected) let's try putting it front and center on that view, above the [+ADD SESSION] Button.
Date Range Defaults: Let's align on 2 weeks before and after {Today} when the date filter has not been set but let's make that a Global Tunable Parameter which may added in the user Profile options when we have time
reviewed and tested all the basic flows. Let's merge!
@CritiqalPete how will we know the recent included session? If a user has not added any session lets say for one month?
Secondly one question got unanswered from above
If a user has selected default M/W/T from his Profile then after coming to teams or sesions screen he sees the date range according to his selected default after refresh but if he manually change the date range again then what should happen with the selected default from Profile because if he refresh the screen that Profile default date range is applied rather then the one he selected manually from date range.
@za-zohaib I want to close this now but it gives me an idea. How about a little widget on the Sessions view to let the user toggle between a Month/Week/Day filter? I will make a ticket.
to reproduce this:
Expectation: The Sessions View should show ALL of the sessions with that coach assigned in any role that is within the selected date range. This should happen by default without requiring a refresh the first time, at least. And should populate fully if the dates are changed.