zubhub icon indicating copy to clipboard operation
zubhub copied to clipboard

Improve Notification and Signup Panel's Responsiveness

Open brrkrmn opened this issue 1 year ago • 18 comments

Description

Notification and signup panels behave abnormally below a certain screen size. They should either be in their original place, or they can be full-screen, just like how we show notification panel to logged in mobile users. Waiting for suggestions to improve these, thanks.

To Reproduce:

  1. Visit https://zubhub.unstructured.studio/
  2. Make sure you are not logged in
  3. Click on the notification or the avatar icons on the top right
  4. Make your screen width below 600

Screenshot 2023-11-07 at 09 57 12 Screenshot 2023-11-07 at 09 57 42

brrkrmn avatar Nov 07 '23 07:11 brrkrmn

Hi @brrkrmn is this a design issue?

mehreeee avatar Nov 07 '23 07:11 mehreeee

Hello @mehreeee yes it is open to design suggestions

brrkrmn avatar Nov 07 '23 07:11 brrkrmn

Hey @brrkrmn this is how it looks on an iPhone 14 plus, width 428px. I don't think it should show a full screen Screenshot (85)

Screenshot (87)

mehreeee avatar Nov 07 '23 08:11 mehreeee

@mehreeee leaning more into the second one. First one looks like it's too big for that screen size.

DonPresh avatar Nov 07 '23 11:11 DonPresh

@mehreeee leaning more into the second one. First one looks like it's too big for that screen size.

Thank you @DonPresh. @brrkrmn you can use the second size for it. The sizes should be the same on both modals to maintain consistency.

mehreeee avatar Nov 07 '23 11:11 mehreeee

@mehreeee This is for mobile yeah? How about designing a different solution? Let me whip up something real quick. We can make further iterations to the design.

DonPresh avatar Nov 07 '23 11:11 DonPresh

https://github.com/unstructuredstudio/zubhub/assets/100778015/a5d6ea43-80a5-47ff-b174-b9d24de771c7

@mehreeee and @brrkrmn what do you think? A lil different from what we have (P.S, the texts are filler texts) but makes that place a little less cluttered.

DonPresh avatar Nov 07 '23 11:11 DonPresh

Or we could do this @brrkrmn @DonPresh Screenshot (88)

mehreeee avatar Nov 07 '23 11:11 mehreeee

Screen.Recording.2023-11-07.at.12.35.18.mov @mehreeee and @brrkrmn what do you think? A lil different from what we have (P.S, the texts are filler texts) but makes that place a little less cluttered.

Looks great. But they look more like links that will open in new tabs and will take a lot longer to implement. I'm assuming we want to keep users on the same page.

mehreeee avatar Nov 07 '23 12:11 mehreeee

The signup panel can just be centered on smaller screens I think @brrkrmn

aqsaaqeel avatar Nov 07 '23 13:11 aqsaaqeel

Hi @brrkrmn the scrollbar issue has been fixed, good job. Like @NdibeRaymond suggested here https://github.com/unstructuredstudio/zubhub/pull/989#issuecomment-1793727487, we could also fix the same issue on the web. Like making the modal not cover the top nav bar here, but fix it directly below the notification bell.

Screenshot (89)

mehreeee avatar Nov 07 '23 17:11 mehreeee

Nice Iterations @mehreeee @DonPresh I agree with @aqsaaqeel suggestion I feel it would be better if the notification and signup panels are centered aligned reason been that : Center aligned modals adapts well to different screen sizes and orientations, and also draws the user's attention to the modal's content, making it the primary focal point.

See screenshot of what I designed below image

Dumzy006 avatar Nov 07 '23 17:11 Dumzy006

Nice Iterations @mehreeee @DonPresh I agree with @aqsaaqeel suggestion I feel it would be better if the notification and signup panels are centered aligned reason been that : Center aligned modals adapts well to different screen sizes and orientations, and also draws the user's attention to the modal's content, making it the primary focal point.

See screenshot of what I designed below image

Nice design @Dumzy006. If it’s going to be centralized it might as well be a full screen because it’s kind of covering the other ‘share your work’ CTA button.

mehreeee avatar Nov 07 '23 17:11 mehreeee

Since you are logged out, the 'share your work' button still serves the same purpose as to that of the 'notification' and 'sign up' when clicked @meh

Nice Iterations @mehreeee @DonPresh I agree with @aqsaaqeel suggestion I feel it would be better if the notification and signup panels are centered aligned reason been that : Center aligned modals adapts well to different screen sizes and orientations, and also draws the user's attention to the modal's content, making it the primary focal point. See screenshot of what I designed below image

Nice design @Dumzy006. If it’s going to be centralized it might as well be a full screen because it’s kind of covering the other ‘share your work’ CTA button.

Since you are logged out, the 'share your work' button still serves the same purpose as to that of the 'notification' and 'sign up' when clicked .... Any one works @mehreeee

Dumzy006 avatar Nov 07 '23 17:11 Dumzy006

Since you are logged out, the 'share your work' button still serves the same purpose as to that of the 'notification' and 'sign up' when clicked @meh

Nice Iterations @mehreeee @DonPresh I agree with @aqsaaqeel suggestion I feel it would be better if the notification and signup panels are centered aligned reason been that : Center aligned modals adapts well to different screen sizes and orientations, and also draws the user's attention to the modal's content, making it the primary focal point. See screenshot of what I designed below image

Nice design @Dumzy006. If it’s going to be centralized it might as well be a full screen because it’s kind of covering the other ‘share your work’ CTA button.

Since you are logged out, the 'share your work' button still serves the same purpose as to that of the 'notification' and 'sign up' when clicked @mehreeee

Yeah I agree. But The main CTA is the share your work. It shouldn’t be covered so users can chose any of the options to sign in. Just my opinion tho 👍

mehreeee avatar Nov 07 '23 17:11 mehreeee

@mehreeee, @DonPresh, @Dumzy006, @aqsaaqeel thank you guys for your great suggestions, I think centering the modal in the page looks really good, about it covering the 'share your work' button, both of the buttons redirect the user to the same page so I am not sure if it creates a problem

brrkrmn avatar Nov 07 '23 19:11 brrkrmn

Hi @brrkrmn the scrollbar issue has been fixed, good job. Like @NdibeRaymond suggested here #989 (comment), we could also fix the same issue on the web. Like making the modal not cover the top nav bar here, but fix it directly below the notification bell.

@mehreeee thank you for reminding this, you're right this should also be fixed. We can also add the close buttons as you suggested as part of this issue since it looks like a small fix

brrkrmn avatar Nov 07 '23 19:11 brrkrmn

@srish @tuxology @brrkrmn I would like to work on this issue. Can you please assign this issue to me? Thanks :)

PiyushChandra17 avatar Aug 17 '24 16:08 PiyushChandra17