Skip to content

[Feature:InstructorUI] show user on Authentication Tokens page#13024

Merged
bmcutler merged 5 commits into
mainfrom
username-on-authentication-tokens
Jul 10, 2026
Merged

[Feature:InstructorUI] show user on Authentication Tokens page#13024
bmcutler merged 5 commits into
mainfrom
username-on-authentication-tokens

Conversation

@roye2

@roye2 roye2 commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Why is this Change Important & Necessary?

For users who have multiple distinct logins for Submitty, it would be helpful if the Authentication Tokens page displayed which user they were logged in as when viewing their authentication tokens.

What is the New Behavior?

The username is now displayed on the Authentication Tokens page.

image

What steps should a reviewer take to reproduce or test the bug or new feature?

  1. Navigate to the authentication tokens page either by finding a VCS gradeable in the sample course or by pasting this link in your browser: http://localhost:1511/authentication_tokens
  2. Observe that on main, the username is not displayed on this page.
  3. Test that the username is displayed for an instructor on the branch
  4. Test that the username is displayed for a regular student user on the branch

Automated Testing & Documentation

This PR is not covered by e2e tests and does not need to be.

Other information

This PR is not a breaking change.

@codecov

codecov Bot commented Jul 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 21.29%. Comparing base (c603aab) to head (2920b24).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##               main   #13024   +/-   ##
=========================================
  Coverage     21.29%   21.29%           
  Complexity    10098    10098           
=========================================
  Files           278      278           
  Lines         37794    37794           
  Branches        516      516           
=========================================
  Hits           8050     8050           
  Misses        29241    29241           
  Partials        503      503           
Flag Coverage Δ
autograder 21.16% <ø> (ø)
js 1.98% <ø> (ø)
migrator 100.00% <ø> (ø)
php 20.21% <ø> (ø)
python_submitty_utils 79.83% <ø> (ø)
submitty_daemon_jobs 91.13% <ø> (ø)
vue 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@roye2 roye2 changed the title [Feature:UI/UX] Display user on Authentication Tokens page [Feature:InstructorUI] show user on Authentication Tokens page Jul 10, 2026

@dandrecollins07-ctrl dandrecollins07-ctrl left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Functionality works as intended and code looks good, approving.

@github-project-automation github-project-automation Bot moved this from Seeking Reviewer to Awaiting Maintainer Review in Submitty Development Jul 10, 2026
@bmcutler
bmcutler merged commit 1b6385d into main Jul 10, 2026
28 checks passed
@bmcutler
bmcutler deleted the username-on-authentication-tokens branch July 10, 2026 19:18
@github-project-automation github-project-automation Bot moved this from Awaiting Maintainer Review to Done in Submitty Development Jul 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants