#396-AddBodyTextTxtCard #407

Merged
c24elipe merged 3 commits from #396-AddBodyTextTxtCard into team_2_week_2 2026-04-21 10:47:30 +00:00
Collaborator

Changed the TextView.js file to add a TextArea.
The text area is resizable vertically and allows new lines.
It uses separate editing than the title to avoid mix-ups and UX confusion

Changed the **TextView.js** file to add a TextArea. The text area is resizable vertically and allows new lines. It uses separate editing than the title to avoid mix-ups and UX confusion
Collaborator

I have reviewed the files concerning this issue(textView.js) and also the application to see if everything working as intended and have come to the conclusion that overall everything is working fine. Just some small inconsistencies.

"const [editingField, setIsEditing] = useState(null);" should be const [editingField, setEditing] = useState(null); since it is no longer an boolean.

Also you set "useState(null);" so it expects a null value but later you use "setIsEditing(false);". You should change it for setIsEditing(null);

Other than these 2 inconsistencies everything is working as intended.

I have reviewed the files concerning this issue(textView.js) and also the application to see if everything working as intended and have come to the conclusion that overall everything is working fine. Just some small inconsistencies. "const [editingField, setIsEditing] = useState(null);" should be const [editingField, setEditing] = useState(null); since it is no longer an boolean. Also you set "useState(null);" so it expects a null value but later you use "setIsEditing(false);". You should change it for setIsEditing(null); Other than these 2 inconsistencies everything is working as intended.
Author
Collaborator

Done!

Done!
Collaborator

Review on #396

Whats done

Tested on Windows using Firefox

  • App starts
    • Title editing works, clicking shows input field, pressing Enter or clicking outside saves and closes
    • Body editing works, same as above

Inspected following files

  • frontend/src/features/text/TextView.js
    • Indentation/code styling
      • Follows Prettier
    • Naming convention
      • Follows wiki standards
      • Previous review issues fixed: setIsEditing renamed to setEditing, false changed to null
    • Comments
      • No comments
    • General code quality
      • looks good
  • frontend/package.json
    • No new dependencies added

Conclusion

  • Text boxes works as intended. Previous review issues have been fixed.
# Review on #396 ## Whats done ### Tested on Windows using Firefox + App starts + Title editing works, clicking shows input field, pressing Enter or clicking outside saves and closes + Body editing works, same as above ### Inspected following files + frontend/src/features/text/TextView.js + Indentation/code styling + Follows Prettier + Naming convention + Follows wiki standards + Previous review issues fixed: setIsEditing renamed to setEditing, false changed to null + Comments + No comments + General code quality + looks good + frontend/package.json + No new dependencies added ## Conclusion + Text boxes works as intended. Previous review issues have been fixed.
c24elipe approved these changes 2026-04-21 10:47:15 +00:00
c24elipe left a comment
Collaborator

It compilse and works as show in the image.
image

It compilse and works as show in the image. ![image](/attachments/e7d30ab0-5f0e-45b1-b69a-8f754b60b8ec)
c24elipe merged commit d09b603469 into team_2_week_2 2026-04-21 10:47:30 +00:00
c24elipe deleted branch #396-AddBodyTextTxtCard 2026-04-21 10:47:30 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
4 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Andras/BoundlessFlowCampus2K!407
No description provided.