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

Improved responsiveness of shortcuts section #227

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

sohan10012
Copy link

Enhanced Visual Appeal: Adjusted the CSS to align the #shortcuts-section to the right, making it look more organized and visually appealing.

  • For screens wider than 1400px, the section is positioned 320px from the right edge.

  • For screens between 1400px and 1200px, the right margin decreases dynamically to keep the
    section aligned to the right.

  • For screens narrower than 1200px, the section is centered horizontally.

  • For screens narrower than 900px, the section remains centered and takes the full width.

  • Responsive Design: Added media queries to handle different screen widths and ensure smooth
    transitions.

  • Consistent Layout: Utilized flexbox properties such as flex-wrap and justify-content to maintain

  • Uniform Spacing: Applied consistent padding and gap values to ensure uniform spacing.

Impact:

  • Improved the overall look and feel of the shortcuts section, making it more user-friendly and aesthetically pleasing across various screen sizes.
  • Enhanced the user experience by maintaining consistent positioning and alignment of the shortcuts section on different devices.
    shortcut-change-ss

Copy link
Collaborator

@itz-rj-here itz-rj-here left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much @sohan10012 for your very hard work

@itz-rj-here
Copy link
Collaborator

@prem-k-r Please review the changes

@XengShi
Copy link
Owner

XengShi commented Nov 29, 2024

Screencast.from.2024-11-29.16-18-10.webm

I see weird positioning of shortcuts for larger devices, Please don't change its position keep it centered

Copy link
Collaborator

@itz-rj-here itz-rj-here left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Requesting changes

style.css Outdated
left: 0;
right: 0;
justify-content: center;
right: 320px; /* Adjusted margin for shortcuts to align right */
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry @sohan10012 but we can't let the shortcuts align at the right side.
You should change it.

@sohan10012
Copy link
Author

sohan10012 commented Nov 29, 2024 via email

…of the #shortcuts-section to use percentages instead of fixed pixels.- This change ensures that the section remains well-aligned and visually appealing on larger screens.- Added media queries to dynamically adjust the right margin based on screen width.- Addressed the issue where the section looked messy on larger devices by making it more responsive.
@sohan10012
Copy link
Author

i resolved that isse and now can u please check once >??

@itz-rj-here
Copy link
Collaborator

@XengShi @prem-k-r

@sohan10012
Copy link
Author

Screencast.from.2024-11-29.16-18-10.webm
I see weird positioning of shortcuts for larger devices, Please don't change its position keep it centered

the shortcut tab position is in fixed position , so the shortcut section looked weird ,, but if u insepect the page and check for its views in differents screen widths , the shortcut centre is completely alligned ,
i request u to check once by inspect element option because i referred that , because by default the round button in right corner has its postion fixed
i request u to please review by checking in the inspect page option ,

Thank you for the reviews

@sohan10012
Copy link
Author

Screen.Recording.2024-11-29.181826.mp4

this is the screen recording

Copy link
Collaborator

@prem-k-r prem-k-r left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is not centered
image
image

@sohan10012
Copy link
Author

it is not centered image image

actually my goal was to keep it in the right side so that it looks organised , that was the idea behind my code update , i am sorry if u didnt like it , I just felt it looked organised in the right so suggested with an change of code

@prem-k-r
Copy link
Collaborator

it is not centered image image

actually my goal was to keep it in the right side so that it looks organised , that was the idea behind my code update , i am sorry if u didnt like it , I just felt it looked organised in the right so suggested with an change of code

Oh, no worries! I understand your intention to keep it organized, but I personally don't prefer the right-aligned change.

@itz-rj-here
Copy link
Collaborator

it is not centered image image

actually my goal was to keep it in the right side so that it looks organised , that was the idea behind my code update , i am sorry if u didnt like it , I just felt it looked organised in the right so suggested with an change of code

Oh, no worries! I understand your intention to keep it organized, but I personally don't prefer the right-aligned change.

Mee too.

@sohan10012
Copy link
Author

it is not centered image image

actually my goal was to keep it in the right side so that it looks organised , that was the idea behind my code update , i am sorry if u didnt like it , I just felt it looked organised in the right so suggested with an change of code

Oh, no worries! I understand your intention to keep it organized, but I personally don't prefer the right-aligned change.

okay bro , thank you , i hope i can contribute in this project , if there are any issues related to frontend please ping me up , i am willing to help

@itz-rj-here
Copy link
Collaborator

itz-rj-here commented Nov 29, 2024

it is not centered image image

actually my goal was to keep it in the right side so that it looks organised , that was the idea behind my code update , i am sorry if u didnt like it , I just felt it looked organised in the right so suggested with an change of code

Oh, no worries! I understand your intention to keep it organized, but I personally don't prefer the right-aligned change.

okay bro , thank you , i hope i can contribute in this project , if there are any issues related to frontend please ping me up , i am willing to help

Just make the shortcuts stay centered and resolve the conflicts. It looks better if the shortcuts stay at the center.

@XengShi
Copy link
Owner

XengShi commented Nov 29, 2024

@sohan10012
Thank you for your efforts and contributions; they are greatly appreciated.

Your idea of aligning the shortcut position with the search bar section is quite creative, but I believe it works best when there are only a few shortcuts.

For contributing to the project:
When expanding the AI tools on smaller displays, the layout (Ai tools shortcuts) extends horizontally instead of wrapping to the next line, which affects usability.
Fix it if you can!

Happy Coding!

@sohan10012
Copy link
Author

it is not centered image image

actually my goal was to keep it in the right side so that it looks organised , that was the idea behind my code update , i am sorry if u didnt like it , I just felt it looked organised in the right so suggested with an change of code

Oh, no worries! I understand your intention to keep it organized, but I personally don't prefer the right-aligned change.

okay bro , thank you , i hope i can contribute in this project , if there are any issues related to frontend please ping me up , i am willing to help

Just make the shortcuts stay centered and resolve the conflicts. It looks better if the shortcuts stay at the center.

sure i will resolve the issue

@sohan10012
Copy link
Author

@sohan10012 Thank you for your efforts and contributions; they are greatly appreciated.

Your idea of aligning the shortcut position with the search bar section is quite creative, but I believe it works best when there are only a few shortcuts.

For contributing to the project: When expanding the AI tools on smaller displays, the layout (Ai tools shortcuts) extends horizontally instead of wrapping to the next line, which affects usability. Fix it if you can!

Happy Coding!

sure , i will try to solve this by next week

@sohan10012
Copy link
Author

Screen.Recording.2024-11-29.210140.mp4

does this work ?? i mean when the tools wrap up they get overlapped on the above tools , vivibility becomes quite bad and also difficult

@itz-rj-here
Copy link
Collaborator

Screen.Recording.2024-11-29.210140.mp4

does this work ?? i mean when the tools wrap up they get overlapped on the above tools , vivibility becomes quite bad and also difficult

I don't think someone will use portrait monitor for the extention 😄

@prem-k-r
Copy link
Collaborator

Screen.Recording.2024-11-29.210140.mp4
does this work ?? i mean when the tools wrap up they get overlapped on the above tools , vivibility becomes quite bad and also difficult

yeah kind of, what else we can do lol.
It seems okay

@sohan10012
Copy link
Author

so should i push ?? if u have any tips u give me , i will try implementing it
like adding a glassmorphism so something ...

@prem-k-r
Copy link
Collaborator

Btw current responsiveness:

responsiveness.shortcuts.mp4

@prem-k-r
Copy link
Collaborator

so should i push ?? if u have any tips u give me , i will try implementing it like adding a glassmorphism so something ...

glassmorphism .. maybe not
rest let's wait for XengShi

@sohan10012
Copy link
Author

Screen.Recording.2024-11-29.213217.mp4

this is how it looks right now,

yeah okay i can wait✌️

@prem-k-r
Copy link
Collaborator

Screen.Recording.2024-11-29.213217.mp4
this is how it looks right now,

yeah okay i can wait✌️

seems fine, please push it

… AI tools container remains in its original position.- Removed border radius for a cleaner look.- Added margin to AI tools when they start wrapping up to maintain a well-organized layout.- Ensured smooth transitions for a consistent appearance across different screen sizes.
@sohan10012
Copy link
Author

Screen.Recording.2024-11-30.195458.mp4

final screen recording

Copy link
Collaborator

@itz-rj-here itz-rj-here left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Conflicts

@prem-k-r
Copy link
Collaborator

prem-k-r commented Dec 1, 2024

Conflicts... Maybe replicate the changes in new branch with copy of current main

..

@itz-rj-here
Copy link
Collaborator

Conflicts... Maybe replicate the changes in new branch with copy of current main

..

Yup it's a better idea.

@sohan10012
Copy link
Author

ok sure , i will do it tomorrow

@sohan10012
Copy link
Author

Done with the conflicts 👍, please check once

@XengShi
Copy link
Owner

XengShi commented Dec 2, 2024

image

On the first load or after reloading the page, the "AI Tools" section occupies extra space, overlapping the shortcut icons and making them unclickable.

And, the animations feel quite slow,

@sohan10012
Copy link
Author

Screen.Recording.2024-12-02.184917.mp4
Screen.Recording.2024-12-02.184749.mp4

is the animation speed okay?

style.css Outdated Show resolved Hide resolved
@sohan10012
Copy link
Author

Screen.Recording.2024-12-02.200420.mp4

screen record of the ai tools

@prem-k-r
Copy link
Collaborator

prem-k-r commented Dec 2, 2024

image

@prem-k-r
Copy link
Collaborator

prem-k-r commented Dec 2, 2024

image

it's fine to some extent, everything seems good

prem-k-r
prem-k-r previously approved these changes Dec 2, 2024
@sohan10012
Copy link
Author

Hi @prem-k-r @itz-rj-here , could you please provide an update on my PR? Thank you!

@prem-k-r
Copy link
Collaborator

prem-k-r commented Dec 4, 2024

Seems good to merge..
@XengShi can test, give suggestions if any, and merge it

itz-rj-here
itz-rj-here previously approved these changes Dec 4, 2024
Copy link
Collaborator

@itz-rj-here itz-rj-here left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code looks ok for me

@prem-k-r prem-k-r mentioned this pull request Dec 5, 2024
@XengShi
Copy link
Owner

XengShi commented Dec 5, 2024

@sohan10012
Everything is looking fine but 'AI Tools' button shouldn't change its position:

Screencast.From.2024-12-05.21-21-53.mp4

@sohan10012
Copy link
Author

@sohan10012
Everything is looking fine but 'AI Tools' button shouldn't change its position:

Screencast.From.2024-12-05.21-21-53.mp4

Sorry I am unable to do that , the height of the page isn't getting altered to fix the overflow of the container .

@XengShi
Copy link
Owner

XengShi commented Dec 7, 2024

@sohan10012
Everything is looking fine but 'AI Tools' button shouldn't change its position:

Screencast.From.2024-12-05.21-21-53.mp4

Sorry I am unable to do that , the height of the page isn't getting altered to fix the overflow of the container .

Checkout https://github.com/XengShi/materialYouNewTab/tree/chrome-v2.5

I have added a scrolling effect instead of wrapping

@sohan10012
Copy link
Author

Sure I will look into it

@sohan10012 sohan10012 dismissed stale reviews from prem-k-r and itz-rj-here via d2d0323 December 29, 2024 15:37
@itz-rj-here itz-rj-here added the changes required PR requires updates based on review feedback label Jan 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changes required PR requires updates based on review feedback
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants