428-text-card-to-notes #449

Merged
b24johka merged 5 commits from 428-text-card-to-notes into team_1_week_2 2026-04-21 08:20:43 +00:00
Collaborator

Changed old text view, not using textarea-tag instead off input-tag. After some discussion with team leaders we decided to go with edit/erase button on the view instead off the dashboard edit button.

Also changed the Card component, there was an unnecessary div-tag making views not to scale with the parent.

There is a function that makes editing false when pressing enter, this function existed before I worked on the file. I do think that it can be somewhat negative to have false on an enter "stroke", users may want to have a new lines in the notes but did not do any changes to it.

Changed old text view, not using textarea-tag instead off input-tag. After some discussion with team leaders we decided to go with edit/erase button on the view instead off the dashboard edit button. Also changed the Card component, there was an unnecessary div-tag making views not to scale with the parent. There is a function that makes editing false when pressing enter, this function existed before I worked on the file. I do think that it can be somewhat negative to have false on an enter "stroke", users may want to have a new lines in the notes but did not do any changes to it.
found the issue why text displayed outside of card, trying to resolve a better approach
To edit you now have to press the button also implemented a remove all button if you want a fresh note
Author
Collaborator

This pull-request is related to three issues: 428, 412 and 395.

This pull-request is related to three issues: [428](https://git.webug.se/Andras/BoundlessFlowCampus2K/issues/428), [412](https://git.webug.se/Andras/BoundlessFlowCampus2K/issues/412) and [395](https://git.webug.se/Andras/BoundlessFlowCampus2K/issues/395).
Collaborator

Review on issue #428

Whats done

  • Tested if the textarea scaled with the card.
    • Works as intended.
  • Tested the "save", "edit" and "erase all" buttons.
    • Works as intended.

Inspected following files:

  • features/text/Text.module.css
  • features/text/TextView.js
    • Naming conventions
      • Naming conventions followed.
    • Comments
      • Descriptive comments.
    • General code quality
      • No issues found.
      • Good code quality.

Conclusion

  • The issue has been resolved.
  • One thing that is also mention by @b24erika is that when pressing enter the text is simply saved, meaning that the user cannot press enter to skip to the next line. This is not necessarily an issue but is worth mentioning.
# Review on issue https://git.webug.se/Andras/BoundlessFlowCampus2K/issues/428 ## Whats done - Tested if the textarea scaled with the card. - Works as intended. - Tested the "save", "edit" and "erase all" buttons. - Works as intended. ### Inspected following files: - features/text/Text.module.css - features/text/TextView.js - Naming conventions - Naming conventions followed. - Comments - Descriptive comments. - General code quality - No issues found. - Good code quality. ## Conclusion - The issue has been resolved. - One thing that is also mention by @b24erika is that when pressing enter the text is simply saved, meaning that the user cannot press enter to skip to the next line. This is not necessarily an issue but is worth mentioning.
Collaborator

The review has been of very high quality, well done! this PR will be merged in directly.

The review has been of very high quality, well done! this PR will be merged in directly.
b24johka merged commit 8ee09df557 into team_1_week_2 2026-04-21 08:20:43 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 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!449
No description provided.