Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User and Admin toggle on Login and Registration Screen #1173

Closed
aashimawadhwa opened this issue Dec 10, 2023 · 29 comments
Closed

User and Admin toggle on Login and Registration Screen #1173

aashimawadhwa opened this issue Dec 10, 2023 · 29 comments
Assignees

Comments

@aashimawadhwa
Copy link
Member

Is your feature request related to a problem? Please describe.
We need an interface to login to user portal provided by talawa which can be accessed by this url http://localhost:3001/user when you run talawa Admin and talawa API on your local machine

Describe the solution you'd like:

  1. The login and registration form should have a toggle functionality.
  2. This toggle should allow users to switch between user and admin roles seamlessly.
  3. Users can select their role preference using a toggle switch to access the respective login or registration form.
Screen.Recording.2023-12-10.at.9.32.15.PM.mov

Potential internship candidates
Please read this if you are planning to apply for a Palisadoes Foundation internship PalisadoesFoundation/talawa#359

@chandel-aman
Copy link
Contributor

@aashimawadhwa @noman2002
Can I take this issue?

@ASCE-D
Copy link

ASCE-D commented Dec 10, 2023

Hello Devs, I want to contribute, can I work on this issue?

@noman2002
Copy link
Member

@chandel-aman You already have 2 issue in your name.
@ASCE-D Assigning this to you.

@chandel-aman
Copy link
Contributor

@noman2002 PR for both the issues have been merged

@chandel-aman
Copy link
Contributor

@noman2002 Could you assign this issue to me, as I commented on it first. My both issues were merged but were not closed.

@noman2002
Copy link
Member

@chandel-aman No worries. Let him work on this one. I think he is new here. You can take other issues. 👍🏻

@Devesh326
Copy link
Contributor

Hi @ASCE-D are you still working on this issue?

@Ravi3727
Copy link

Hello everyone,
Is anyone working on this issue? or is this issue resolved??

@ASCE-D
Copy link

ASCE-D commented Dec 14, 2023

yes, I'm working, I have some questions that I've asked on slack and am waiting for a response.

@Ravi3727
Copy link

Ohh, okay fine

@aashimawadhwa
Copy link
Member Author

aashimawadhwa commented Dec 15, 2023

@ASCE-D what is the progress on this , we needed this on priority. you may ask your questions here.

@hharshas
Copy link

hharshas commented Dec 15, 2023

Can I work on this issue.

@ASCE-D
Copy link

ASCE-D commented Dec 20, 2023

@aashimawadhwa I've been waiting for your response on slack from more than a week,
image

I'll fix the CSS, my Q was can I make a separate component or just a conditional statement is fine

 (<div className={styles.active_tab}> //login and registration form  </div>)                  
: <div className={styles.active_tab}>
   <UserLoginPage />
 </div>```
 

@aashimawadhwa
Copy link
Member Author

I request you to ask doubts here not on slack @ASCE-D

@aashimawadhwa
Copy link
Member Author

Update the css as it is in the video @ASCE-D

@ASCE-D
Copy link

ASCE-D commented Dec 20, 2023

@aashimawadhwa please check
image

@aashimawadhwa
Copy link
Member Author

Can you update a video showing the behaviour?
@ASCE-D

@ASCE-D
Copy link

ASCE-D commented Dec 20, 2023

2023-12-20.22-14-48.mp4

@aashimawadhwa please check

Copy link

This issue did not get any activity in the past 10 days and will be closed in 180 days if no update occurs. Please check if the develop branch has fixed it and report again or close the issue.

@github-actions github-actions bot added the no-issue-activity No issue activity label Dec 31, 2023
@palisadoes
Copy link
Contributor

@ASCE-D

If you have completed the task to your satisfaction then open a PR. There is no need to ask for validation here.

@ASCE-D
Copy link

ASCE-D commented Dec 31, 2023

@aashimawadhwa @noman2002 please review my PR #1332 , thankyou

@palisadoes
Copy link
Contributor

Please follow the template for the reasons stated in the PR

@ASCE-D ASCE-D removed their assignment Dec 31, 2023
@palisadoes
Copy link
Contributor

@palisadoes
Copy link
Contributor

  1. Closed partially in error. Please reopen another PR with the template filled in.
  2. Reassigning.

@github-actions github-actions bot removed the no-issue-activity No issue activity label Jan 2, 2024
@palisadoes
Copy link
Contributor

@ASCE-D Are you still working on this?

@palisadoes
Copy link
Contributor

Unassigning due to no response and a desire to get this implemented quickly

@meetulr
Copy link
Contributor

meetulr commented Jan 3, 2024

I'd like to work on this.

@meetulr
Copy link
Contributor

meetulr commented Jan 4, 2024

Do we just need a toggle between the two routes, so that we won't have to manually type the url?

@palisadoes
Copy link
Contributor

palisadoes commented Jan 4, 2024

  1. Yes.
  2. Ideally with two separate tabs on the same screen without the need to re-enter a URL as proposed by the previous assignee

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

10 participants