Skip to content

Redesign Part 3 - Redesigned and reorganized profile pages - #2704

Merged
Didayolo merged 6 commits into
developfrom
redesign_profile
Nov 19, 2026
Merged

Didayolo merged 6 commits into
developfrom
redesign_profile

Conversation

@ihsaan-ullah

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

Copy link
Copy Markdown
Collaborator

Description

Public profile

  • New public profile page at /user/username, showing only what others can see
  • Sections for the user with their links, about, organizations and competitions, empty sections are hidden
  • Users without a name show their username as the heading, and every profile shows when the user joined
  • Deleted, inactive and banned users have no public profile
  • When you open your own public profile, a note says this is how others see it

Public profile with minimum information (when user has not filled anything)
1

Public profile when everything is filled.
2

Message shown on public profile page when you view your own profile
Screenshot 2026-11-05 at 2 26 58 PM

My profile

  • Your own profile with Edit Profile now opens at /profile, the Profile link in the menu goes there
  • Added a View public profile button, it opens in a new tab
  • The page now gets only the data it shows
Screenshot 2026-11-05 at 2 27 08 PM

Settings

  • The delete account page now gets only the username
  • The buttons on Notifications and Change Password now have an outline, so they no longer look like the selected tab in the left bar
Screenshot 2026-11-05 at 2 50 23 PM Screenshot 2026-11-05 at 2 50 28 PM

Other

  • Restored the default floating scrollbar, it no longer takes its own space
  • Updated all links to user profiles to the new address

Note

  • The my_profile API now returns the same profile data as the my profile page. It no longer includes name and github_info.

Tests

  • Added tests for the public profile, my profile, the delete account page and the profile data each page gets

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

- Removed the custom scrollbar colors
- The scrollbar floats over the page again and no longer takes its own space
- Public profiles now open at /user/username and show only the details others can see
- The public profile shows the user with their links, an about section, their organizations and their competitions
- Empty sections are hidden, and users without a name show their username as the heading
- Shows when the user joined
- Deleted, inactive and banned users have no public profile
- My profile with Edit Profile now opens at /profile
- The Profile link in the menu and the page after saving go to /profile
- Updated all links to user profiles to the new address
- The public profile has its own styles, separate from my profile
- Split the profile tests into public profile and my profile tests
- Added tests for the public fields, heading, links, organizations and competitions on the public profile
- My profile no longer checks if the user can edit, it is always the logged-in user
- My profile now gets only the data it shows, without organizations or notification settings
- The my_profile API now returns the same profile data as the my profile page
- Added a View public profile button on my profile, it opens in a new tab
- Your own public profile shows a note that this is how others see it, and that only you can see the note
- Renamed the my profile template and styles
- Updated the my profile tests and added tests for the page data, the public profile link, the note, the slug, and keeping notification settings when saving
- The delete account page no longer gets all the user data, only the username it checks
- Updated the delete account page test to check that no other user data is in the page
- The Save button on Notifications and the Change password button now have a blue outline instead of a filled background
- They no longer look like the selected tab in the left bar
@Didayolo
Didayolo self-requested a review November 19, 2026 18:37
@Didayolo Didayolo self-assigned this Nov 19, 2026
@Didayolo

Copy link
Copy Markdown
Member
  • Added a redirection so the old profile URL does not get 404 errors (e.g. codabench.org/profiles/user/<username>)

  • Added a prefetch to the query to list user's competitions, to reduce the number of queries

@Didayolo
Didayolo merged commit 7c67a26 into develop Nov 19, 2026
3 checks passed
@Didayolo
Didayolo deleted the redesign_profile branch November 19, 2026 19:18
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