Skip to content

[OA][Frontend] - Adding Cheat Detection Components to OA #272

@LOTaher

Description

@LOTaher

Description

Now that the OA flow is in place, it is time for you to implement all the different hooks we've created to prevent candidates from cheating. This ticket in particular is going to focus on the alt + tab behavior. The hook lives in lib/hooks/useWindowUnfocused.ts. You should use this hook within the OA page. The behavior when the user alt tabs should look like the following:

Image

Note: edit the copy to say "You can't unfocus your assessment window during the exam" instead.

It is modal that pops up and should make the rest of the window blurry as shown (do notice that the modal is different, just pay attention to the surrounding window):

Image

This is strictly a front-end ticket, no other behavior is required. Let @LOTaher know if you have any questions!

Acceptance Criteria

  • Implementation matches requirements above.

Metadata

Metadata

Assignees

Labels

FrontendRequires frontend code changes/updatesNext GMShould be done by next general meetingOAFor tickets related to the Sarge OA Platform

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions