acmutd / portal-next

Portal v2 repositiory
https://portal.acmutd.co
5 stars 1 forks source link

[Feature] Architecture for New Application System #96

Closed DedsecKnight closed 1 year ago

DedsecKnight commented 2 years ago

Describe new addition Portal v2 is expected to provide an in-house application system, which allows officers to overcome drawbacks that they are facing due to using Typeform. Right now, it is necessary that the user flow and the high-level architecture is consolidated.

Task List

Additional context

abhiamishra commented 2 years ago
abhiamishra commented 2 years ago

Questions for @DedsecKnight

abhiamishra commented 2 years ago

Current ERD Diagram

Portalv2

DedsecKnight commented 2 years ago

Officer can see other stuffs from other divisions

I believe this refer to a potential flaw in that design, which basically allows officers to see responses for all applications. In other words, this means that a Project officer can see responses for Research application regardless whether they are affiliated with Research or not. If this is not an issue for other divisions, feel free to ignore it.

Should talk to other directors about how they’re using TypeForm

I believe this has to do with the fact that we need to consult with officers from other division to see what their issues with Typeform Application system are, from which we will know how we can improve it with the new application system.

What is the use of User ID in the "Junction table between person and application".

Junction table represents the Many-to-Many relationship between User and Cohort application, meaning that a user can apply to multiple cohort programs and a cohort program can have multiple applicants. The purpose of User ID is so that we can later fetch all applications that a user submitted to along with the status of each application in Portal view.

Current ERD Diagram

The diagram looks good to me. A few things I think will be needed for it to work with our current database architecture:

abhiamishra commented 1 year ago

I believe this refer to a potential flaw in that design, which basically allows officers to see responses for all applications. In other words, this means that a Project officer can see responses for Research application regardless whether they are affiliated with Research or not. If this is not an issue for other divisions, feel free to ignore it.

This is an issue so it will be fixed.

I believe this has to do with the fact that we need to consult with officers from other division to see what their issues with Typeform Application system are, from which we will know how we can improve it with the new application system.

I can do this for Research easily - will have to reach out to Projects and Education.

abhiamishra commented 1 year ago

@DedsecKnight quick question for the user: to me, entryID and userID seem redundant? If we are using userID to find all applications done by that user, what is the use of entryID?

In the document scheme, it's labeled as the primary key but I think just userID should just be the primary key. What do you think?

Nevermind, I read it wrong - it's all good

abhiamishra commented 1 year ago

This is the process for resolving conflicts when multiple divisions want an applicant:

So each division chooses some people it wants to interview, and if multiple divisions choose the same person, then they're interviewed by the division that they ranked higher

abhiamishra commented 1 year ago

Updated database app - pending review from @DedsecKnight Portalv2 (1)

abhiamishra commented 1 year ago

@DedsecKnight - I think I'll just do the user flow since for the wireframe, I'm not really orientated with the design outline of Portalv2.0 nor am I frontend person

DedsecKnight commented 1 year ago

Sounds good to me

abhiamishra commented 1 year ago

Completed database scheme uploaded here for reference:

portalv2-database-arch.pdf

abhiamishra commented 1 year ago

Applicant/User userflow

image

abhiamishra commented 1 year ago

Done with both workflows. Need to meet with UI/Frontend designers to hash out how it will look like. Files to be uploaded @ today's meeting

abhiamishra commented 1 year ago

https://www.figma.com/file/braXCgUdBVh4DMYrixgXNY/User-Flow-Kit-(Sinan-ARTIS)-(Community)-(Copy)?node-id=9%3A496&t=TSgqi9JW2a58mINt-1