wizbots / labtab

0 stars 0 forks source link

Create new view called roster list #91

Open internetmosquito opened 6 years ago

internetmosquito commented 6 years ago

This new view has the purpose to show the same data that can be shown in Wizbots in Mentor, Print roster.

selection_346

That generates the following rosters (attaching PDF)

This roster basically covers the list of students for the programmed lab sessions in the selected school.

For each student it shows depicts:

Then another table in PDF shows other data per student:

Another table shows list of kids splitted among

Final table shows kids and the following info:

So basically we need to show this info in Labtab. My idea is to replace in main view Go to Wizbots for Roster list. So in left menu we need to add a new entry:

left_menu

And main view should show this new entry too

40891093-820b7ab2-6780-11e8-9ee3-a21117d93386

Use this icon for the new option iconfinder_Untitled-1-11-08-07-45_2987388

Clicking on this will lead to a list very similar to lab list, that includes the SKU list (a SKU is a program ID too):

roster_list

Please fill year with current year above and location and season with All Locations | All seasons

When clicking on a resulting school name (basically it's a program) the new roster view should be shown. Check image below, shows same info as PDF but arranged in a slight different way due to size restrictions.

roster_view

The last 2 tables should be static, but the first one should be "expandable", taping in a student's name should expand info for that kid, showing the dates for which the kids is enrolled, in time, out time, and buttons allowing to sign-in, sign-out, or checking when the sign-in or sing-out was done (more on this later)

roster_view_two

Clicking in one of the blue buttons should allow mentor and parent to sign-in or sign-out a kid. This should show a modal dialog very basic showing something like this:

roster_view_tthree

Where parent or allowed person would sign with finger (or not, not mandatory I guess for now) and mentor would click confirm to proceed to create the sign-in or sign-out.

Mentor or parent can review already done signed-in or signed-out slot by clicking on the green buttons, where something like this should be shown:

roster_view_four

Where Mentor can delete the event and parent can check who and when did it happen.

So several sub-tasks here:

kapoorutd commented 4 years ago

Hi Alajandro,

Hope you are doing well. I have added roster list icon on home screen, also i have completed roster list ui. Now i am working on inner tables. As i complete these ui parts i am gonna need the roster apis.

Thanks & Regards Rohit Kumar Android Developer

internetmosquito commented 4 years ago

Hello Roth,

Sure we will ahve it ready this week

kapoorutd commented 4 years ago

Hi Alejandro,

We have completed the UI part of Roster details, all the lists are ready. We have completed the expandable list part as well. Only Signature dialog is left which will be completed in tomorrow morning.

internetmosquito commented 4 years ago

Hello @kapoorutd

A few notes on the sign event...I forgot to add this to HLA file sorry

We will need the following info as JSON payload in probably an endpoint /sign

Program ID Mentor ID Student ID Type: Sign in / Sign Out Session For what session within a program this is happening Mentor ID - or authorized person to do this Date - timestamp in UTC Signature - This is the image from the signature done by the mentor or allowed adult enconded as CDATA...is this possible?

kapoorutd commented 4 years ago

Hi Alejandro,

I have completed whole roster details UI, Signature dialog for both sign in and sign out is added. When api endpoints are ready i will provide you the json payload as per your need.