This pull request introduces optional functionality for users to associate their GitHub usernames and ORCID iDs with their BioPortal accounts. Additionally, it includes several incremental improvements and refactoring efforts for the account and login pages to enhance the overall user experience.
Account creation page enhancements
Refactored to use a Bootstrap form with floating labels
Reduced the number of fields to the minimum necessary, adhering to current UX best practices by removing email and password confirmation fields
Removed the “Register for the BioPortal announcements email list” option as it is no longer maintained by Stanford
Account show and edit page improvements
Refactored UI for better presentation, including centered and widened content areas, improved component alignment, and consistent header sizing
Alphabetized the list of projects and ontologies submitted on the account show page, aiding admin accounts that manage numerous ontology submissions
Added a Stimulus clipboard controller to enable users to copy their API keys to the clipboard
Password management
Added a separate controller for password updates, simplifying logic in the UsersController
Included a “Change password” button on the account show page to streamline the process for users
Refactored the UI of the login and password reset pages for improved presentation.
Validation and code cleanup
Utilized HTML pattern attributes to validate the format of GitHub usernames and ORCID iDs
Removed outdated jQuery validate code that hindered the functionality of HTML pattern attributes
Replaced usages of the outdated form_for with form_with
Introduced UsersHelper to improve view layer code cleanliness
Added account.scss to house CSS code for account pages
Converted login/index and login/lost_password from ERB to HAML
This pull request introduces optional functionality for users to associate their GitHub usernames and ORCID iDs with their BioPortal accounts. Additionally, it includes several incremental improvements and refactoring efforts for the account and login pages to enhance the overall user experience.
Account creation page enhancements
Account show and edit page improvements
Password management
UsersController
Validation and code cleanup
form_for
withform_with
UsersHelper
to improve view layer code cleanlinessaccount.scss
to house CSS code for account pageslogin/index
andlogin/lost_password
from ERB to HAML