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

fix: redesigned the dropdown #2645

Closed
wants to merge 14 commits into from
Closed

Conversation

sagarkori143
Copy link
Contributor

resolves: #1318

Copy link

netlify bot commented Feb 10, 2024

Deploy Preview for asyncapi-website ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit f01a31c
🔍 Latest deploy log https://app.netlify.com/sites/asyncapi-website/deploys/65f5bda8e147140008460e22
😎 Deploy Preview https://deploy-preview-2645--asyncapi-website.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@asyncapi-bot
Copy link
Contributor

asyncapi-bot commented Feb 10, 2024

⚡️ Lighthouse report for the changes in this PR:

Category Score
🔴 Performance 36
🟢 Accessibility 98
🟢 Best practices 92
🟢 SEO 100
🔴 PWA 33

Lighthouse ran on https://deploy-preview-2645--asyncapi-website.netlify.app/

@sagarkori143 sagarkori143 changed the title fix: Redesigned the dropdown fix: redesigned the dropdown Feb 10, 2024
@sagarkori143
Copy link
Contributor Author

Hey @akshatnema @sambhavgupta0705 Please have a look and give your reviews. I'll bring changes further accordingly.

@sagarkori143
Copy link
Contributor Author

Friendly reminder.
@sambhavgupta0705

@sagarkori143
Copy link
Contributor Author

hey @Mayaleeeee This PR is related to design. Please have a look and give suggestions.

@sambhavgupta0705
Copy link
Member

@Mayaleeeee PTAL

Copy link
Member

@akshatnema akshatnema left a comment

Choose a reason for hiding this comment

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

Hey @sagarkori143 ,
Selected items from the dropdowns are not properly aligned. Kindly correct them.
Preview:

image

components/tools/FiltersDropdown.js Outdated Show resolved Hide resolved
@sagarkori143
Copy link
Contributor Author

sagarkori143 commented Mar 1, 2024

Hey @akshatnema . I have pushed the requested changes. PTAL.

Copy link
Member

Choose a reason for hiding this comment

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

Why there are changes in this file?

Copy link
Member

@sambhavgupta0705 sambhavgupta0705 Mar 2, 2024

Choose a reason for hiding this comment

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

It got built in my PRs also but I ignored them and didn't add them in commit

Copy link
Contributor Author

@sagarkori143 sagarkori143 Mar 4, 2024

Choose a reason for hiding this comment

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

I got these changes from pulling master branch. Should I discard them?

@@ -12,18 +12,18 @@ export default function FiltersDropdown({ dataList = [], checkedOptions = [], se
};

return (
<div className={twMerge(`max-w-lg flex gap-2 flex-wrap p-2 duration-200 delay-150 ${className}`)} data-testid="FiltersDropdown-div">
<div className={twMerge(`max-w-lg max-h-[25rem] overflow-y-auto border-4 flex gap-2 flex-col p-2 duration-200 delay-150 ${className}`)} data-testid="FiltersDropdown-div">
Copy link
Member

Choose a reason for hiding this comment

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

I still see that changes I requested before are reverted in the latest change. Kindly update the PR.

Copy link
Member

@sambhavgupta0705 sambhavgupta0705 left a comment

Choose a reason for hiding this comment

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

@sagarkori143 please remove changes of adopters.json

@sagarkori143
Copy link
Contributor Author

Okay @sambhavgupta0705 Discarding them right now!!

@sagarkori143
Copy link
Contributor Author

@sagarkori143 please remove changes of adopters.json

Done @sambhavgupta0705 👍

@sambhavgupta0705
Copy link
Member

screen-20240305-100823.mp4

@sagarkori143 while selecting the drop-down options on mobile it is giving a bad experience to users
Can you please look after this

@sambhavgupta0705
Copy link
Member

@sagarkori143 any update

@sagarkori143
Copy link
Contributor Author

Hey @sambhavgupta0705 . Yes I'm trying to find out the reason for that unwanted user experience.

@Mayaleeeee
Copy link
Member

Hey @sambhavgupta0705 . Yes I'm trying to find out the reason for that unwanted user experience.

Great job, @sagarkori143! Can you share the link for the dropdown menu?

@sagarkori143
Copy link
Contributor Author

Hey @sambhavgupta0705 . Yes I'm trying to find out the reason for that unwanted user experience.

Great job, @sagarkori143! Can you share the link for the dropdown menu?

Hey @Mayaleeeee I didn't understand which link you are referring to. Please clarify.

@sambhavgupta0705
Copy link
Member

@Mayaleeeee here is the url https://www.asyncapi.com/tools

@sagarkori143
Copy link
Contributor Author

I have gone through all the components of the filters section and checked them for onclick event listeners. Everything seems okay to me and I am not able to find the reason for that unwanted onclick behavior. I need some assistance in this. @sambhavgupta0705

@sambhavgupta0705
Copy link
Member

@akshatnema can you please look after this one as you have a better knowledge of tools section

@sambhavgupta0705
Copy link
Member

closing this as this PR has conflcts with website migration and we need to think of a good fix for this one

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

Successfully merging this pull request may close these issues.

Add proper dropdowns to the Filters Select Menu
5 participants