Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

feat: group suggestions for users link #9878

Merged

Conversation

sital002
Copy link
Member

@sital002 sital002 commented Dec 4, 2023

Fixes Issue

closes #9836

Changes proposed

Users will be able to view all the previous groups.

Check List (Check all the applicable boxes)

  • My code follows the code style of this project.
  • My change requires changes to the documentation.
  • I have updated the documentation accordingly.
  • All new and existing tests passed.
  • This PR does not contain plagiarized content.
  • The title of my pull request is a short description of the requested changes.

Screenshots

After changes:
image
image

Note to reviewers

@github-actions github-actions bot added the issue linked Pull Request has issue linked label Dec 4, 2023
Co-authored-by: Eddie Jaoude <eddie@jaoudestudios.com>
Copy link
Member

@eddiejaoude eddiejaoude left a 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

  1. edit link
  2. change group name
  3. click out from group input and it changes back to the previous value

Comment on lines 27 to 32
<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`}
/>
Copy link
Contributor

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

Copy link
Member

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 👍

Copy link
Contributor

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! 👍

@sital002 sital002 changed the title feat: gorup suggestions for users link feat: group suggestions for users link Dec 22, 2023
Copy link
Member

@eddiejaoude eddiejaoude left a 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 👍

@eddiejaoude eddiejaoude merged commit 87265a1 into EddieHubCommunity:main Jan 11, 2024
13 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
issue linked Pull Request has issue linked
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE] Users should be able to select from already existing groups
3 participants