Skip to content

Redesign Part 2 - user menu, settings, profile and organizations pages, competition and resources - #2695

Merged
ObadaS merged 2 commits into
developfrom
redesign_user_pages
Nov 4, 2026
Merged

ObadaS merged 2 commits into
developfrom
redesign_user_pages

Conversation

@ihsaan-ullah

@ihsaan-ullah ihsaan-ullah commented Nov 1, 2026 •

Copy link
Copy Markdown
Collaborator

Description

This PR is a continuation of the Redesign Part 1 (#2621) that is now extended to other pages. This PR updates multiple UI pages and components and some other updates. Allof these are described below with screenshots

Menu

  • Rebuilt the header dropdown and mobile menu in the home page theme, replacing the old menu components
  • Mobile menu now has a dark top with the header links and a light section matching the dropdown
  • Reorganized the menu sections and added a separate admin section with icons
  • Renamed Server Status to Submission Status in the menu
  • Profile icon now matches the other header icons

Profile icon before:
1

Profile icon after:
11

New menu for admin:
2

New menu for regular user:
22

New menu for admin on mobile view:
3

New menu for regular user on mobile view:
33

Settings

  • New settings area with a left bar for notifications, change password and delete account
  • Updated the design of change password and delete account
  • Shorter settings urls under /settings/, replacing the old urls like codbabench.org/profile/user/account

New settings page
notification
change password
delete account

Delete account

  • New warning box and a redesigned confirmation modal
  • Clearer confirmation text and a specific error for a wrong password or username
  • Fixed the error page shown after confirming account deletion
delete account modal

Profile

  • Redesigned the profile page as one card, with name, display name, contact details, links and bio
  • Editing now happens on the same page, including the photo with a preview
  • Removed organizations and organized competitions from the profile page
  • Twitter renamed to X on the profile page

New profle page
profile

New edit profile page
edit profile

Organizations

  • New organizations page with a table of organizations, roles, member counts and dates
  • Pending invites are listed first and link to the accept or reject page
  • The menu now has one Organizations link instead of the full list
organizations

Shared layout

  • Added a left bar for competitions, resources, queues, organizations, quota and submission status
  • Quota moved to its own page
competitions quota

Access updates

  • Other users, including superusers, no longer receive private user data on a profile page
  • Only the owner can edit a profile, on the site and through the API
  • Fixed a script injection risk on the organization edit page
  • Login is now required for submission/server status and monitor queues
  • Monitor queues is now limited to superusers

Other

  • Scrollbars now use the theme colors
  • Upgraded Bootstrap Icons
  • Removed unused user switch code, old layout code and unused template blocks

Tests

  • Added tests for the user menu, settings, profile page and editing, delete account, organizations and admin pages
  • Moved the organization tests into one file in the profiles app

Checklist

  • Code review by me
  • Hand tested by me
  • I'm proud of my work
  • Code review by reviewer
  • Hand tested by reviewer
  • CircleCi tests are passing
  • Ready to merge

@ihsaan-ullah

Copy link
Copy Markdown
Collaborator Author

NOTE:

This PR only introduces the new design and some better organization to multiple pages. After this is finaliized, next PRs will improve individual pages like public competition, resources, quota, etc.

@ihsaan-ullah ihsaan-ullah changed the title Codabench Redesign Part 2 - user menu, settings, profile and organizations pages, cpmpetition and resources Redesign Part 2 - user menu, settings, profile and organizations pages, cpmpetition and resources Nov 1, 2026
@ihsaan-ullah ihsaan-ullah changed the title Redesign Part 2 - user menu, settings, profile and organizations pages, cpmpetition and resources Redesign Part 2 - user menu, settings, profile and organizations pages, competition and resources Nov 1, 2026
…tions pages, cpmpetition and resources

Menu
- Rebuilt the header dropdown and mobile menu in the home page theme, replacing the old menu components
- Mobile menu now has a dark top with the header links and a light section matching the dropdown
- Reorganized the menu sections and added a separate admin section with icons
- Renamed Server Status to Submission Status in the menu
- Profile icon now matches the other header icons

Settings
- New settings area with a left bar for notifications, change password and delete account
- Shorter settings urls under /settings/, replacing the old urls
- Saving notifications now stays on the page

Profile
- Redesigned the profile page as one card, with name, display name, contact details, links and bio
- Editing now happens on the same page, including the photo with a preview
- Removed organizations and organized competitions from the profile page
- Twitter renamed to X on the profile page

Delete account
- New warning box and a redesigned confirmation modal
- Clearer confirmation text and a specific error for a wrong password or username
- Fixed the error page shown after confirming account deletion

Organizations
- New organizations page with a table of organizations, roles, member counts and dates
- Pending invites are listed first and link to the accept or reject page
- The menu now has one Organizations link instead of the full list

Shared layout
- Added a left bar for competitions, resources, queues, organizations, quota and submission status
- Quota moved to its own page

Access updates
- Other users, including superusers, no longer receive private user data on a profile page
- Only the owner can edit a profile, on the site and through the API
- Fixed a script injection risk on the organization edit page
- Login is now required for submission/server status and monitor queues
- Monitor queues is now limited to superusers

Other
- Scrollbars now use the theme colors
- Upgraded Bootstrap Icons
- Removed unused user switch code, old layout code and unused template blocks

Tests
- Added tests for the user menu, settings, profile page and editing, delete account, organizations and admin pages
- Moved the organization tests into one file in the profiles app
@ObadaS
ObadaS force-pushed the redesign_user_pages branch from 8fd1f0d to 57b7b67 Compare November 3, 2026 15:32
@ObadaS

ObadaS commented Nov 3, 2026

Copy link
Copy Markdown
Collaborator

Hello Ihsan, nice PR as always.

I have tested some of the changes and noticed that the profile page loses some of the previously shown information.
Mainly, the Organisation the user is in as well as the created competitions, like in the example below on the production server.
image

It becomes like this
image

Do you think it would be interesting to add them back ?

@ihsaan-ullah

Copy link
Copy Markdown
Collaborator Author

Hello Ihsan, nice PR as always.

I have tested some of the changes and noticed that the profile page loses some of the previously shown information. Mainly, the Organisation the user is in as well as the created competitions, like in the example below on the production server.
Do you think it would be interesting to add them back ?

Hi Obada, I forgot why I removed these from the profile page. But I will add them back in next PR with a redesign of these pages.

Next I am going to redesign one by one each page accessed from the user drop down menu

@ObadaS
ObadaS merged commit b1f41cb into develop Nov 4, 2026
4 checks passed
@ObadaS
ObadaS deleted the redesign_user_pages branch November 4, 2026 07:54
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.

2 participants