-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
feat: group suggestions for users link #9878
feat: group suggestions for users link #9878
Conversation
Co-authored-by: Eddie Jaoude <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I really like the idea. I noticed when editing, I can't seem to change it
- edit link
- change group name
- click out from group input and it changes back to the previous value
components/GroupLinkSearch.js
Outdated
<Label htmlFor="search-groups">Group</Label> | ||
<Combobox.Input | ||
name="search-group" | ||
onChange={handleGroupChange} | ||
className={`border-2 transition-all duration-250 ease-linear rounded px-6 py-2 mb-2 block w-full dark:bg-primary-high hover:border-tertiary-medium focus:ring-0 focus:border-tertiary-medium focus:outline-0`} | ||
/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be better if we associated the label
with the input
field explicitly by using id
attribute. This enhances accessibility by establishing a clear connection between label
and input
.
The following resources could be helpful: https://www.w3.org/WAI/tutorials/forms/labels/#associating-labels-explicitly
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this still needs improving, could you raise as a separate issue, thank you 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, I'll create a new issue to address the improvement. Thanks for your guidance! 👍
…m/sital002/BioDrop into feat-groups-suggestions-for-links
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works well, thank you 👍
Fixes Issue
closes #9836
Changes proposed
Users will be able to view all the previous groups.
Check List (Check all the applicable boxes)
Screenshots
After changes:
Note to reviewers