Skip to content

solution#1102

Open
AlenaSSobolieva wants to merge 2 commits into
mate-academy:masterfrom
AlenaSSobolieva:develop
Open

solution#1102
AlenaSSobolieva wants to merge 2 commits into
mate-academy:masterfrom
AlenaSSobolieva:develop

Conversation

@AlenaSSobolieva
Copy link
Copy Markdown

No description provided.

Copy link
Copy Markdown

@mateacademy-ai-mentor mateacademy-ai-mentor left a comment

Choose a reason for hiding this comment

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

Review Summary

Your implementation covers all core requirements well, but there is one issue that needs addressing. The position field has a 5-character minimum validation on lines 120-123 that is not specified in the task requirements. Since the task only requires validation for Name (≥4 chars) and Age (18-90), this extra validation may cause test failures if tests include position values shorter than 5 characters. Please remove lines 120-123. Additionally, there are duplicate noValidate settings on lines 47-48 and 50-51 - remove the first occurrence (lines 47-48) to clean up the redundancy. Once these are addressed, your submission will be ready for approval.


✨ Please rate this review in the Platform's notification center1. I will be grateful for your feedback! ✨

Important

Fix the issues, commit the changes, and then re-request my review using the Re-request review button2 in the Reviewers tab.

Tip

If you have any comments about this review, please leave a message in the Add a comment section below and mention me with the @mateacademy-ai-mentor tag3.
I will read your message during my next review of your pull request. Please do not reply directly to my comments, as that feature is not supported yet.

Caution

Do not close the pull request until the review is complete. Closing it early can lead to unexpected behavior and disrupt the review process.

Footnotes

  1. Rate AI review example

  2. Re-request AI review example

  3. Add AI review comments example

Comment thread src/scripts/main.js
Comment on lines +47 to +51

form.noValidate = true;
form.setAttribute('novalidate', '');

form.noValidate = true;
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Duplicate noValidate = true and setAttribute('novalidate', '') lines. Lines 47-48 are repeated on lines 50-51. Remove the duplicate lines 47-48.

Comment thread src/scripts/main.js Outdated
@AlenaSSobolieva AlenaSSobolieva marked this pull request as draft May 4, 2026 11:59
@AlenaSSobolieva AlenaSSobolieva marked this pull request as ready for review May 4, 2026 11:59
Copy link
Copy Markdown

@mateacademy-ai-mentor mateacademy-ai-mentor left a comment

Choose a reason for hiding this comment

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

Review Summary

All core task requirements are implemented and functioning correctly. The form validation properly checks Name (≥4 characters) and Age (18-90) as specified, table sorting toggles between ASC and DESC, row selection works with the 'active' class, and all notifications display appropriately. The only noted issue is a minor redundancy where noValidate is set twice (lines 47-48), but this doesn't affect functionality and falls under code quality preferences rather than a blocking issue. The optional cell editing feature wasn't implemented, which is acceptable per requirements. Your solution is complete and ready.


✨ Please rate this review in the Platform's notification center1. I will be grateful for your feedback! ✨

Footnotes

  1. Rate AI review example

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.

2 participants