caMicroscope icon indicating copy to clipboard operation
caMicroscope copied to clipboard

Fixed issue Login page #724

Open Ayesh-07 opened this issue 3 months ago • 2 comments

Fixed issue #724 Login page

Summary

This proposal aims to enhance the user experience on the caMicroscope platform by redirecting users to the login page when they click on the "Already have an account?" link on the Sign-Up HTML page.

Motivation

My motivation for this Pull Request stems from my desire to contribute to the caMicroscope organization as an Outreachy applicant. I am eager to enhance my skills and knowledge while making a meaningful impact. By fixing issue #724, I aim to improve the user experience on the caMicroscope platform. This enhancement redirects users to the login page when they click on the "Already have an account?" link on the Sign-Up HTML page, streamlining the user journey and making the platform more user-friendly.

signup

Ayesh-07 avatar Mar 15 '24 05:03 Ayesh-07

This should work via https://github.com/camicroscope/caMicroscope/blob/55d8db226ad28daa9908d00142fbbae4c61812e0/apps/signup/signup.js#L116

Does this not work in your experience? Notably, it's likely you're developing in a way where there is no login and no login page, so it may go to a broken link, but it should try.

I'm not opposed to changing it to a regular link, but that'd involve cleaning up that loginpage function in addition to adding the href.

birm avatar Mar 22 '24 03:03 birm

@brim, there is no login page in the current setup. I attempted to update the JavaScript function, but the result doesn't look better. I've cleaned up the JavaScript loginpage() function code and am now waiting for your review.

Ayesh-07 avatar Mar 23 '24 10:03 Ayesh-07