Skip to content

Show set header in proctored login.#1810

Merged
drdrew42 merged 1 commit intoopenwebwork:developfrom
somiaj:proctor-login-use-set-info
Oct 19, 2022
Merged

Show set header in proctored login.#1810
drdrew42 merged 1 commit intoopenwebwork:developfrom
somiaj:proctor-login-use-set-info

Conversation

@somiaj
Copy link
Contributor

@somiaj somiaj commented Oct 4, 2022

Use the set header for the page info-box when at a login prompt for a proctored gateway quiz instead of showing the site info or login info.

Copy link
Member

@drgrice1 drgrice1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code looks good (although could perhaps be perltidied!).

I think this makes more sense than showing the site info and login info on this page. However, since this was implemented this way, it may be that there are those that think otherwise.

@drgrice1
Copy link
Member

drgrice1 commented Oct 5, 2022

Actually, thinking about it more, I forgot that set headers were not used for gateway quizzes before. So that is probably why the site info was shown. Now that the set header is used for gateway quizzes this makes more sense.

@somiaj somiaj force-pushed the proctor-login-use-set-info branch from e1bbc84 to eff59d7 Compare October 5, 2022 04:24
@somiaj
Copy link
Contributor Author

somiaj commented Oct 5, 2022

Removed an unused variable in my code, and ran perltidy on the whole file.

@somiaj somiaj force-pushed the proctor-login-use-set-info branch from eff59d7 to 7d6afd5 Compare October 6, 2022 01:26
@somiaj
Copy link
Contributor Author

somiaj commented Oct 6, 2022

Code cleanup. Replaced some double quoted strings with single quotes.

@drgrice1
Copy link
Member

@somiaj: Note that this pull request will need some changes now that the #1792 has been merged. See line 242 of lib/WeBWorK/ContentGenerator/ProblemSet.pm for the new correct way to call WeBWorK::PG->new.

  Use the set header for the page info-box when at a login prompt
  for a proctored gateway quiz instead of showing the site info
  or login info. Run perltidy on LoginProctor.pm
@somiaj somiaj force-pushed the proctor-login-use-set-info branch from 7d6afd5 to b3f4f01 Compare October 13, 2022 03:13
@drdrew42 drdrew42 merged commit 582c386 into openwebwork:develop Oct 19, 2022
@somiaj somiaj deleted the proctor-login-use-set-info branch December 20, 2022 19:58
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.

4 participants