Closed connordoman closed 7 months ago
anything here that I can work on/that nobody else has started yet?
anything here that I can work on/that nobody else has started yet?
Hey front-end team @connordoman @linhnnk, anything u need help with here so Paul can start on it?
@MyStackOverflows for the appointments API:
api/appointments/[id]
:
{
created: string,
videos: [
{ appointmentDate: string, videoRef: string }
]
}
api/appointments
: (or some other path)
[
{
appointmentDate: "YYYY-MM-DD",
contactName: string,
contactRole: UserRole,
contactAvatarUrl: string,
}
]
@connordoman I don't think we still have this feature as the client needs to be added by professionals, not register themselves "Clients will be prompted to register before viewing appointment if not yet registered".
I can work on the template feedback API "Templated feedback from professionals to clients". We don't have UI for the chat yet i think @linhnnk @connordoman
@nganphan123 @MyStackOverflows templated feedback requires messages to be added to the db and will change the appointments/
API.
as far as I can tell this should just be a matter of adding another table, linking with apptId
like the videos, then interleaving them with the list of videos as "appointment events" in the API call. UI could be an extension of the timeline above with a chat box on top and messages in between videos, or even with the chat box as the footer for the right-hand side.
Templated feedback could just be a message created by a form with some conditional fields or explicit structure, or maybe another separate table with JSON objects for different feedback types, or we could even render markdown, which is easy in React. I think the Markdown approach would allow the template to be visible and would not require us to make another table, though the table would probably need a boolean isFeedback
attribute or something.
i'm picturing the timeline/chat as basically an upside-down GitHub issue/conversation.
do we wanna do this? i'm for it. i'm not sure if we have enough time before Peer Testing for templated feedback, but simple messages can definitely be done by end of week.
We can start with having APIs return timelines of videos and simple messages.
Some carry-over from peer-testing 1 feedbacks: https://github.com/COSC-499-W2023/year-long-project-team-1/issues/452
There are several things we need to work on leading up to Peer Testing #2. We got pretty consistent feedback mostly focused on UX, most of which should be straightforward to fix. Some feedback was more valuable than others. The following is a list of fixes we should implement for our Week 6
milestone.
New features for Week 6
and Week 8
will be in another issue (e.g. appointment video display/delete features, backend restructuring).
/
)@next/image
Carry over from peer testing 1 (See #349):
The original deliverables from the project doc are as follows:
Additional work that needs to be done:
Description
Features for upcoming peer testing.
Timetable
Session 1
Session 2
Session 3
Session 4
Todo
Not in original spec:
We have decided to move focus away from Professional identity management since it is not a core feature of our app i.e. it does not fit our app's core mission.
Notes
Message(apptId, sender: User, timestamp)