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

Peterson implement improvements in team code input #2621

Open
wants to merge 10 commits into
base: development
Choose a base branch
from

Conversation

peterson337
Copy link
Contributor

Description

This pull request has been opened to implement the auto-save feature in the team code input.

Related PRS (if any):

None

Main changes explained:

Three components (AutoCompleteTeamCode.jsx, UserTeamsTable.jsx and UserProfile.jsx) have been modified to implement the auto-save.

How to test:

  1. check into current branch
  2. do npm install and ... to run this PR locally
  3. Clear site data/cache
  4. Log in as an administrator or owner.
  5. go to view profile→ Teams
  6. After the team code has 5, 6, or 7 characters, the team will be automatically saved. If a new code is entered, it will be saved, and the autocomplete will be updated

Screenshots or videos of changes:

Peterson_implement_improvements_in_team_code_input

Note:

None.

Copy link

@Vigneshwar-Muriki Vigneshwar-Muriki left a comment

Choose a reason for hiding this comment

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

Tested this PR and its working as expected. Got a toast notification after updating the team code.

Screen.Recording.2024-08-26.205745.mp4

manikittu810
manikittu810 previously approved these changes Aug 27, 2024
Copy link
Contributor

@manikittu810 manikittu810 left a comment

Choose a reason for hiding this comment

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

Hello @peterson337
Everything is working as mentioned.
Screenshot 2024-08-27 at 12 27 57 PM
Screenshot 2024-08-27 at 12 28 15 PM

Thank you.

JatinAgrawal94
JatinAgrawal94 previously approved these changes Aug 29, 2024
Copy link
Contributor

@JatinAgrawal94 JatinAgrawal94 left a comment

Choose a reason for hiding this comment

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

Changes work as expected. Good work.

2621.mp4

Jingyii800
Jingyii800 previously approved these changes Aug 30, 2024
Copy link
Contributor

@Jingyii800 Jingyii800 left a comment

Choose a reason for hiding this comment

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

I have tested this function and it worked as expected.

bandicam.2024-08-29.20-12-40-471.mp4

Copy link
Contributor

@Pranay-ai Pranay-ai left a comment

Choose a reason for hiding this comment

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

Hey @peterson337
I have reviewed the PR But i have couple of Issues
The Team code is not being checked if it's a valid Code
Too many Toast Notifications For Each Char Added and Deleted

TEAM.AUTO.UPDATE.mp4

jinxyou
jinxyou previously approved these changes Aug 31, 2024
Copy link

@jinxyou jinxyou left a comment

Choose a reason for hiding this comment

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

Screenshot 2024-08-30 212909
The function works fine. Great work!

CillianRen
CillianRen previously approved these changes Sep 1, 2024
Copy link

@CillianRen CillianRen left a comment

Choose a reason for hiding this comment

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

Screen.Recording.2024-08-31.232346.mp4

it works perfectly for me.

Copy link

@sri0606 sri0606 left a comment

Choose a reason for hiding this comment

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

Hey @peterson337 , I have reviewed the changes you made and found some issues:

  • When I enter a character and choose an option from dropdown, I get the correct toaster message. But when I clear the team code to enter another, I get another toaster message saying "Team code updated"
  • If I enter a invalid team code with enough characters, I get "Team code updated".
  • It crashes/lags sometimes as you can see in video below. I had to refresh.
HGN.APP.-.Google.Chrome.2024-09-05.12-51-41.mp4

@peterson337 peterson337 added the do not review Do not review or look at code without full context label Sep 6, 2024
Copy link

netlify bot commented Sep 16, 2024

Deploy Preview for highestgoodnetwork-dev ready!

Name Link
🔨 Latest commit 4aa372c
🔍 Latest deploy log https://app.netlify.com/sites/highestgoodnetwork-dev/deploys/66eb19c15e13de00087ba901
😎 Deploy Preview https://deploy-preview-2621--highestgoodnetwork-dev.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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do not review Do not review or look at code without full context
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants