You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current version of the frontend has very limited interactivty, since it is based on Django templates and vanilla JS.
In v0.1 we transition to a React-based frontend powered by Vite. The UI routing will be now be based on Tanstack Router and fetching will be handled by axios requests and Tanstack Query. We are also moving away from Bootstrap and we replace the components with shadcn/ui. All these changes lead to a significantly more modular structure of the codebase which is now fully compile-time type-safe through Typescript. zod is used for some run-time validation in forms.
In the backend we switch to heavy usage of DRF serializers and DRF ViewSets which reduce significantly the lines of code needed to query and update the database from the React frontend. Session-based validation via Django sessions is tricky when using a separate frontend, so we temporarily switch to token based authentication, but this will be reconsidered.
These are all big changes, but development is progressing fast. This item should be completed during the summer and it will be ready to use in Fall 2024.
The current state of this effort can be found in the branch drf-vite. Below are the items needed to be completed to have feature parity with the current frontend. We include also some of the new functionality that has been added beyond the current frontend.
Feel free to mention more features that have been omitted here, which you would like to make sure they are present in the new frontend
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The current version of the frontend has very limited interactivty, since it is based on Django templates and vanilla JS.
In v0.1 we transition to a React-based frontend powered by Vite. The UI routing will be now be based on Tanstack Router and fetching will be handled by axios requests and Tanstack Query. We are also moving away from Bootstrap and we replace the components with shadcn/ui. All these changes lead to a significantly more modular structure of the codebase which is now fully compile-time type-safe through Typescript.
zod
is used for some run-time validation in forms.In the backend we switch to heavy usage of DRF serializers and DRF ViewSets which reduce significantly the lines of code needed to query and update the database from the React frontend. Session-based validation via Django sessions is tricky when using a separate frontend, so we temporarily switch to token based authentication, but this will be reconsidered.
These are all big changes, but development is progressing fast. This item should be completed during the summer and it will be ready to use in Fall 2024.
The current state of this effort can be found in the branch drf-vite. Below are the items needed to be completed to have feature parity with the current frontend. We include also some of the new functionality that has been added beyond the current frontend.
Feel free to mention more features that have been omitted here, which you would like to make sure they are present in the new frontend
General
Home
Course detail page
assignments detail page
canvas_id
's from canvasgroup_by
distributionsSubmission detail page
Beta Was this translation helpful? Give feedback.
All reactions