AmericaSCORESBayArea / AmericaScores-CoachApp

React native based mobile app for Americas scores attendance management
5 stars 2 forks source link

Editing Session info (times) results in incorrect information and ambiguous status #530

Open CritiqalPete opened 3 months ago

CritiqalPete commented 3 months ago

Goal:

Coaches need to be able to easily modify session times for accuracy and see these changes reflected in the UI

Issues:

  1. Sometimes after changing either Start or End time, the view continues to show both old values and even though a reminder appears to "Pull Down to Refresh" its just not intuitive and they appear to not be updated
  2. Sometimes the incorrect values are saved/displayed after refresh (I chose 3pm and 5pm) and it appears here as 11am (11:00) and 1pm (13:00)
  3. The UI is not easy to read and understand and Coaches have to make a serous effort to get through it

Improvement Requests:

  1. Show the new values in the UI after editing along with a red (sync/refreshj) button
  2. Show the team name in the dialog that shows the changed values
  3. Improve the UI entirely with options like: [1hr][2hr] and start time [11][12][01][02][03][04][05] or something like that

Acceptance Criteria:

Session Times can be changed within reasonable limits and are displayed accurately in the app as well as stored in the system.

Image

CritiqalPete commented 3 months ago

@za-zohaib I think the core problem here is the app is performing some operation on the Session data which is sometimes Null. We need to fix this.

CritiqalPete commented 3 months ago

@za-zohaib I tested this in a recent build and I can see that the times I enter are set at the API and reflected in the DB corectly, but they change in the app UI. For example, I set a 3pm-4pm session and confirmed it in Salesforce. But when I refreshed the app the times appear as 8pm-9pm. This can't even be explained as a time zone correction, as I see it, unless it's somehow referencing a GMT system time somewhere, which it should not.

CritiqalPete commented 3 months ago

this is very important to get fixed now

za-zohaib commented 3 months ago

Going to look at it