Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

grouppagina en submissions testen + styling #224

Merged
merged 15 commits into from
May 20, 2024

Conversation

masinnae
Copy link
Contributor

styling van grouppagina waar submissions nu ook staan

testen voor volgende files:

  • BackButton.vue
  • GroupView.vue
  • SubmissionList.vue
  • SubmissionCard.vue

@masinnae masinnae changed the title Submissions student testen grouppagina en submissions testen + styling May 19, 2024
frontend/src/i18n/locales/nl.ts Outdated Show resolved Hide resolved
@reyniersbram reyniersbram merged commit f64161c into dev May 20, 2024
4 checks passed
@reyniersbram reyniersbram deleted the submissions_student_testen branch May 20, 2024 19:43
@masinnae masinnae restored the submissions_student_testen branch May 21, 2024 15:38
reyniersbram added a commit that referenced this pull request May 22, 2024
* sumbitpage + frontendtests

* Update frontend/src/views/subject/SubjectView.vue

Co-authored-by: Bram Reyniers <55666730+reyniersbram@users.noreply.github.com>

* Update frontend/src/views/subject/SubjectsView.vue

Co-authored-by: Bram Reyniers <55666730+reyniersbram@users.noreply.github.com>

* Update frontend/src/views/subject/SubjectsView.vue

Co-authored-by: Bram Reyniers <55666730+reyniersbram@users.noreply.github.com>

* Update frontend/src/components/subject/body/projects/SubjectProjectsPage.vue

Co-authored-by: Bram Reyniers <55666730+reyniersbram@users.noreply.github.com>

* upgrade @vue/test-utils (#181)

* sumbitpage + frontendtests

* tests cleanup en router fix

* layout rework

* format

* last test fix

* more test cleanup

* theme

* small fix

* adminpanel theme + tests (#177)

* testen proberen fixen

* admin frontend test

* format

* Groups (#182)

* quick commit

* quick commit

* quick commit

* almost finished

* finished + linter :)

* linter again :'(

* linter again x2 :'(

* groupsview fixes

* groupview fixes

* fix 'join group' button url

* fix type imports

* run formatter

* small fix

* linter :)

---------

Co-authored-by: Bram Reyniers <bram.reyniers@ugent.be>

* test

* theme

* test

* names switch

* requirements card

* frontend testen + locale fix

* project sidebar test

* needhelpbutton test

* linter

* format

* fixes #189

* beter zo

* fix: #187

* wip

* custom docker image tests

* handle docker run crashes

* autopep

* fix test 1

* fix tests 2

* Implement show all students in groups

* allow admin to set own teacher permissions

* delete user (frontend)

* delete user (frontend)

* delete user (backend)

* Add surname of users (#179)

* save surname of user in database #144

* help automatic migration

* run formatter

* use surname on homescreen

* run formatter

* remove print statement

* Update backend/src/auth/router.py

Co-authored-by: Xander Bil <47951455+xerbalind@users.noreply.github.com>

---------

Co-authored-by: Xander Bil <47951455+xerbalind@users.noreply.github.com>

* cleanup test style

* fix test runner

* autopep

* forcerm

* ???

* handle container create fail

* pyright

* prune

* rm prune

* prune 2

* prune 3

* prune weer weg, zou in orde moeten zijn

* button size

* add tags for container management

* navigation button to admin fix (#197)

* adminbutton fix

* Revert "adminbutton fix"

This reverts commit 366156f.

* same fix, with computed

---------

Co-authored-by: Bram Reyniers <bram.reyniers@ugent.be>

* test + internationalization + stling

* Implement isTeacher correctly

* implement surname where needed

* test fixes

* test fixes x2

* reroute whenever leaving/joining group

* is teacher for new subject button visibility

* buttons now only appearing when isTeacher/isInstructor

* deleted announcements

* removed intern skeleton loaders

* fixed pylint docker

* found another skeleton loader

* styling

* styling

* groups page styling

* group page style + redirects

* refactored components structure and added icons for student/teacher subjects

* made subjecticon component

* deleted non used css class

* test setup

* oké rebase werkt eindelijk

* move tests for consistency

* groupsview frontend test

* frontend testen

* format

* file extension warnings

* reroute whenever leaving/joining group

* cleanup

* tests

* fix backend tests

* formatter

* deleted tooltip + last refactoring before pull request

* npm run format

* refactored utils.py

* Query refactor (#152)

* fix useUserQuery

* remove top level package lock

* add some documentation to user queries

* useUserQuery now accepts either a ref or a raw value

* run formatter

* changed enabled from computed to getter

* update Subject queries, fixes: #143

* update mutation to register to subject

* improved authorized_fetch

* show projects on homescreen, fixes: #134

* run formatter

* fix download_file util

* clean up subject queries

* clean up user services

* clean up project queries and services

* review group services

* review submission services

* refactor submission queries

* optimistic updates for group queries

* fix views using group/submission queries

* try to fix some tests

* run formatter

* remove todo's

* frontend warnings fix

* fix subjects query

* run formatter

* fix useProjectGroupsQuery

* fix tests

* fix delete group mutation

* fix leave and join group mutations

* run formatter

* fix user groups query not refreshing

---------

Co-authored-by: Marieke <marieke.sinnaeve@ugent.be>

* refactored utils.py 2

* solved merge conflicts

* fixed i18n

* run formater, linter

* refactored subject list into object with role

* changing icon on subjects page (ugly solution bug with enums)

* working on showing icon on subject page

* fixed subject uuid query + user

* linter + reformat

* Projectspage testen + styling (#198)

* projectspage theme and layout

* frontend test

* fix bug login not working on first ever login

* vuetify 3.5

* package lock

* undo backend response change

* undo backend response change

* register link button permissions

* removed deleted import

* fixed subject filter buttons

* surname appears in subject header card

* fixed some wishful filter behavior and no results

* added i18n

* fixed project title styling

* added quil

* fixed registerlinkbutton

* deleted radius corners

* run linter

* run linter

* refactored utils.py

* custom fetcherror + group fix

* status weg

* fix tests

* admin symbol when not student or instructor + fix edit subject button permission

* fix student not allowed icon

* linter

* useProjectGroupQuery zoals in #214

* changed emits

* fix width issue

* implemented requested pr changes

* run linter formater

* Homescreen deadlines (#214)

* filter and sort deadlines

* i18n formatting for deadline date

* show subject name instead of id

* also show projects as instructor

* project status on homescreen

* improve used group/submission queries

* Update frontend/src/queries/Submission.ts

Co-authored-by: Pieter Janin <pieter.janin@ugent.be>

---------

Co-authored-by: Pieter Janin <pieter.janin@ugent.be>

* added router to create SubjectsView.vue

* fix width issue fr

* added first form elements

* fixed academic year

* remove announcements

* frontend testen

* added submit button

* Fix projects page (#219)

* fix #218

* fix tests

* add instructor surname

* format

* create subject via frontend works

* fix: patch requirements

* Submission list voor een vak leerkracht of assistent (#190)

* theme fixes

* Implementing queries and views

* Implement beautiful sql query

* Finish frontend

* Solve pr issues

* feature: download all files from submission

* rebase dev and fix conflicts

* Fix: frontend tests

* implemented search

* Move submissions list to group page

* add users to instructors

* assign and delete users from instructors

* sort instructors

* import

Co-authored-by: Bram Reyniers <55666730+reyniersbram@users.noreply.github.com>

* import

Co-authored-by: Bram Reyniers <55666730+reyniersbram@users.noreply.github.com>

* begin styling create subject page

* more styling

* adding instsructors

* remove instructors

* assign yourself button works

* emit cleanup

* emitted events fixed

* add instructors to db

* form validation

* implemented dialog

* 404 not found + register to subject view: sytling + frontend tests (#213)

* notfound and register view style + testen

* notfound and register view style + testen

* fix

* already registered

* already registered

* change wording

* added i18n

* i18n bug fixed

* styling details

* redirect after hitting confirm

* lint + format

* Groep nummer ipv id (#221)

* Add auto generated column to group: num

* frontend: use group num instead of global id

* fix alembic downgrade script

---------

Co-authored-by: Bram Reyniers <bram.reyniers@ugent.be>

* subjects overflow fix

* subject title card scrollable

* scrolling on overflow

* added v-chips and sorted instructors on subjectpage

* format + linter

* style rollback subjects voor marieke

* linter format

* deleted bg container on create page for better designing patch

* last changes on create subject

* sort voor bram

* testfix na query aanpassing

* fix: #229

* fix tests

* Download alle indieningen (files) + csv (met indieningen info) in 1 keer als zip (#228)

* backend: implement project zip

* backend: implement csv

* frontend: download all submissions

* grouppagina en submissions testen + styling (#224)

* styling

* styling

* styling

* styling

* submissionslist test

* meer testen

* format

* merge conflicts

* lint + format

* fix test after dev merge

* Update frontend/src/i18n/locales/nl.ts

Co-authored-by: Bram Reyniers <55666730+reyniersbram@users.noreply.github.com>

* fix test

---------

Co-authored-by: Bram Reyniers <55666730+reyniersbram@users.noreply.github.com>

* allow teachers to get all users (#231)

* email and email rules

* added watcher

* added emits

* post mail fully functional

* removed on search loaded

* format linter

* update mutations for create subject

* Edit project (#196)

* paar fixes alvast

* almost

* files uploaden werkt

* formatting fixes

* bugfixes + added date fields in db

* formatting

* background container gone + no instructors found fix

* format

* basic

* temp

* begint ergens op te trekken

* update werkt!

* small change

* looking good

* edit fixes (almost there)

* files werken

* edit (improvements)

* updates

* filestructure visible

* werkt

* af?

* remove empty alembic revisions

* docker terug ok

* alert

* route fix

* linter

* add publish_date to mock projects

* reroute

* bijna

* requirements

* editfiles werkt

* AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

* few fixes

* small time fix

* i18n

* format

* formatting

* final

* final

* vage fixes

* vage fixes 2

* tijd update nu ook

* test fix

* format

* schema optional added

* fix voor tests not found

* bram requests xoxo

* whoops

* Update frontend/src/components/RequirementsInput.vue

Co-authored-by: Pieter Janin <pieter.janin@ugent.be>

* Update frontend/src/components/RequirementsInput.vue

Co-authored-by: Pieter Janin <pieter.janin@ugent.be>

* Update frontend/src/queries/Project.ts

Co-authored-by: Pieter Janin <pieter.janin@ugent.be>

* Update frontend/src/queries/Project.ts

Co-authored-by: Pieter Janin <pieter.janin@ugent.be>

* Update frontend/src/components/RequirementsInput.vue

Co-authored-by: Pieter Janin <pieter.janin@ugent.be>

* Update frontend/src/services/project.ts

Co-authored-by: Pieter Janin <pieter.janin@ugent.be>

* Update frontend/src/components/project/DatePicker.vue

Co-authored-by: Pieter Janin <pieter.janin@ugent.be>

* fixes

* loading fix

* Update frontend/src/components/project/DatePicker.vue

Co-authored-by: Pieter Janin <pieter.janin@ugent.be>

* fixes vooral cleanup

* fixes vooral cleanup

* fixes vooral cleanup

* Revert "upgrade @vue/test-utils (#181)"

This reverts commit 87ed142.

* luxon weg?

* luxon echt weg?

* luxon echt echt weg?

* renaming + unused gone

* some small fixes

* bramfixes

---------

Co-authored-by: Bram Reyniers <bram.reyniers@ugent.be>
Co-authored-by: Pieter Janin <pieter.janin@ugent.be>

* Update README.md

* Update README.md

* fix broken link

* Search users with throttle (#236)

* search users with throttle

* add throttle tests

* increase wait time in a throttle test

* algemene styling van website (#226)

* style

* style

* temp

* style

* style

* temp

* more styling

* testen

* lint

* format

* styling

* some styling en test fixes

* backbuttons

* subjects styling

* subject styling

* create project styling

* create subjects styling

* lint

* format

* format

* requested changes

* format

* fix show group

* more requested changes

* small groups fix

---------

Co-authored-by: Bram Reyniers <bram.reyniers@ugent.be>

* Permission checks for pages (#166)

* generic permission middleware

* placeholder middleware implementations

* implement isAdmin check

* permissions on admin page + fix typo

* logical functions for conditions

* pass MiddlewareContext to conditions

* permission to check if user is part of subject

* permission to check if user can create a project for a subject

* run formatter

* restructure navigation guard middlewares

* subject details permissions

* project details permissions

* go to /not-found instead of /forbidden

* create project permissions

* fix project permission checks

* permissions for submit page

* permissions for groups overview

* permissions for group details

* permissions for submission list of project

* remove unused imports

* Apply suggestions from code review

Co-authored-by: Xander Bil <47951455+xerbalind@users.noreply.github.com>

* permissions for new pages

* allow admins to visit all pages

---------

Co-authored-by: Xander Bil <47951455+xerbalind@users.noreply.github.com>

* Submissions teacher testen (#238)

* styling

* styling

* styling

* styling

* submissionslist test

* meer testen

* format

* merge conflicts

* lint + format

* button verplaatsen

* styling klaar

* testen

* fix test after dev merge

* projectview test

* more tests

* SubmissionsTeacherView.spec.ts

* button change position

* format

* change submissioncard

* format

* fix group id showing instead of num

* Revert "fix group id showing instead of num"

This reverts commit e84929e.

* Bug fixes (#243)

* fix: invalid redirect after create project

* frontend fix: joining group when automatically now works

* fix: register to subject both as student and instructor

* fix submect mail is null

* fix #185

* fix weird groups styling

* fix broken router push

* fix inconsistent academic year

* fix: duplicates in files

* format

* fix year

* fix test?

* fix group id showing instead of num

---------

Co-authored-by: Bram Reyniers <bram.reyniers@ugent.be>

---------

Co-authored-by: Michaël Boelaert <105745188+miboelae@users.noreply.github.com>
Co-authored-by: Marieke <marieke.sinnaeve@ugent.be>
Co-authored-by: Mattis Cauwel <159709954+mattiscauwel@users.noreply.github.com>
Co-authored-by: miboelae <michael.boelaert@ugent.be>
Co-authored-by: Pieter Janin <pieter.janin@ugent.be>
Co-authored-by: Marieke Sinnaeve <153190736+masinnae@users.noreply.github.com>
Co-authored-by: Xander Bil <47951455+xerbalind@users.noreply.github.com>
Co-authored-by: mattiscauwel <mattiscauwel@gmail.com>
Co-authored-by: Xander Bil <xander@biltopia.org>
Co-authored-by: drieshuybens <huybensdries@Gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants