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

Inviting to quizzes - Frontend #79

Closed
7 tasks
AmonDeShir opened this issue Sep 5, 2024 · 0 comments · Fixed by #124
Closed
7 tasks

Inviting to quizzes - Frontend #79

AmonDeShir opened this issue Sep 5, 2024 · 0 comments · Fixed by #124
Assignees
Milestone

Comments

@AmonDeShir
Copy link
Collaborator

Implement the frontend for the inviting page.

  • Records should be selectable
  • Provide an option to select all displayed records
  • Provide an option to invite all users from selected records to the next stage of the contest
  • Sorting records by school, score, or username
  • Option to group records by school, quiz
  • Option to limit the displayed records per group to a configurable number
  • Pagination
@AmonDeShir AmonDeShir added this to the Demo v2 milestone Nov 11, 2024
@JokeUrSelf JokeUrSelf self-assigned this Dec 6, 2024
@JokeUrSelf JokeUrSelf linked a pull request Dec 6, 2024 that will close this issue
JokeUrSelf added a commit that referenced this issue Dec 20, 2024
* Add invite vue, controller, resource for admin panel

* fix code style

* add pagination

* Move logic to quiz

* Add invitation

* Reset password now queue

* Add invite user to quiz is queued

* Add jobs for sending mails

* Update quiz policy

* Fix invite title

* Fix code style

* Add sort by name/surname with watch

* Fix password notification link

* Fix search while sorting by school

* Fix searchbar

* Add limit to filter

* Add assignment to test while inviting user to it

* Fix issue in policy, allowing publish ranking without quiz being published

* Fix tests

* Fix code style

* Add assign button to quiz without sending mail to users

* create basic crud layout

* refactor: decouple from 'demo' and '87-login-page-improvements' branches

* fix: duration input is cut when expanding the test

* fix: duration can be set to number the exceeds the max limit

* fix: remove copying for multiple quizzes

* fix: delete button deletes all questions

* style: answer check button color and position

* style: create new answers with empty content

* build: update packages

* fix: linting

* chore: merge button logic

* fix: remove time limits for datepicker

* fix: error message is not fully visible

* fix: `schedule_at` error message contains untranslated word 'now'

fix: make fix

* fix: wrong interpritation of time after quiz update

fix

* style: add animation to quizzes occurence

* format: remove unused import

* style: add animations for icon-buttons

* apply suggestion: change 'Stworzony' na 'Utworzony'

* fix: sorting isn' t preserved after page reload

* fix: deletion alert doesn't close when clicking "Usuń"

* chore: preserve state and scroll in request components by default

* fix: seeder creates quizzes that can't exist

* feat: add placeholders for empty textareas

* fix: "Zaproś uczestników" redirects to entry that doesn't yet exist

* fix: typo in "Zaproś uczestników"

* feat: add sorting by modification

* feat: make pre-publish validation message more specific

* fix: publish button doesn't switch its state

* feat: add " - kopia" to the end of the tile of a copied quiz

* format: `"` to `'`

* fix: sorting state is preserved between sessions

* style: change 'Nie można oddać testu.' to 'Nie można opublikować testu.'

* refactor: suggestions from code review

* chore: add archieved quizzes to seeder

* build: update packages

* feat: add dropdown pointer positioning

* fix: quiz title underline

* fix: duration input doesn't resize fully

* feat: error handle empty question

* refactor: link button styling

* create warning message box

* move sorting logic to a separate helper

* fix: cloning doesn't add data to database

* fix: error highliting on question deletion reappears on the next question

* feat: automatically remove empty answers

* fix: revert update logic

* create basic crud for schools

* simplify quizzes page

* fix linter errors

* fix code style

* rename value to address

* add regon to school

* fix code style

* add lintf

* create mobile version

* add newItem slot

* remove limit from school controller

* create CrudInput

* fix InputWrapper

* remove force-full-screen-nav

* add prop pointer-position to Dropdown

* change import button icon

* improve code style

* add comments explaining textarea height reset

* Replace ButtonFrame with Button

* allow manual implementation of the 'New Item' button

* improve ButtonFrame

* fix code style

* move resize none to vDynamicTextAreaHeight.ts

* fix InputWrapper

* add padding to ButtonFrame

* fix linter errors

* fix new item mode

* Update resources/js/Pages/Admin/SchoolsPanel.vue

Co-authored-by: Ewelina Skrzypacz <[email protected]>

* add regon validator

* fix school seeder

* fix code style

* add zip-code input

* validate the length of the inputs

* create icon button

* create SortHelper
Co-authored-by: Dominikaninn <[email protected]>

* add pagination to CRUDPage

* fix tests

* fix abort mock

* fix test

* fix abort mock

* fix test

* add information about the number of fetched schools

* make filter case-insensitive

* debounce searchbar

* fix code style

* fix sort test

* add icon button

* rename QuizLayout to QuizPage

* fix unsupported_field translation

* fix sorter href

* create no content component

* fix crud cancel button

* rename ExapnsionToggleDynamicIcon to ExpansionToggleDynamicIcon

* hide delete button if quiz is locked

* change user name to firstname

* fix code style

* fix NoContent

* fix typo

* Cleanup code, add unassign button and tests

* Update resources/js/Pages/Admin/Quizzes.vue

Co-authored-by: Ewelina Skrzypacz <[email protected]>

* Use school resource

* fix invite button

* update rspo api url

* style: change searchbar design

* Apply changes from code review

* Remove unused file

* invite draft

* Merge branch 'main' of https://github.com/blumilksoftware/interns2024b into inviting-to-quizzes-frontend

* style: searchbar

* fix: absence of dynamic colors

* fix: login and regestration aren't the same size

* style

* fix: semantics

* feat (raw): pagination for searchbar on homepage

* feat: mode switch of a searchbar

* style: responsiveness

* refactor: readability

* feat: extended linter wih the built-in extra rules

* refactor: `useSorter` to `useQuery`

* fix: searchbar doesn't fetch all searches

* fix: archived quizzes button doesn't react

* refactor

* change: password to seeder account from "password" to "interns2024b"

* fix: make fix

* pfffffffffffffffffffff

* suggestions from CR

* redisgned buttons

* remove unused prop

* fix test

* feat: add link to tauron on a homepage

* improve answers colors in Quiz

* add theme switch to the user settings

* refactor link button

* manage icons in button frame

* fix: search bar modes don't work

* add return type to `searchQuery`

* rename a function

* change the logo color

* limit the token size

* lintf

* redesign profile page

* fix: schools loading covers nav buttons in header

* fix: disabled schools are not shown

* fix: the searchbar doesn't close when clicking on area above it

* replace switch with select

* feat: enhance and reuse CrudInput. Add pagination to CrudSchoolInput

* replace switch with select

* fix tests

* feat: change theme for error pages

* add `odznacz wszystkich` label state

* feat: add infromation which quiz the users are invited to

* fix: schools list in UsersPanel is too wide

* style: make quiz visibility value smaller

* revert: checkbox on homepage

* fix: `CrudInput` error isn't shown

* make the process of selecting quiz visibility quicker for the admin

* add transition when switching a theme

* style: profile responsiveness

* change user password

* remove unused method

* style: redesign sidebar

* fix: gaps

* fix: make fix-all

* revert: `Divider` responsiveness

* add quiz selection

* fix: no scrollbar

* add email notification for quiz invite

* fix tests

* Update app/Http/Controllers/InviteController.php

Co-authored-by: Ewelina Skrzypacz <[email protected]>

* add go to quiz button

* fix code style

---------

Co-authored-by: Dominik Prabucki <[email protected]>
Co-authored-by: Dominik Purgał <[email protected]>
Co-authored-by: Mik <Mykyta Mykulskyi>
Co-authored-by: Ewelina Skrzypacz <[email protected]>
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 a pull request may close this issue.

2 participants