generated from Code-Institute-Org/gitpod-full-template
-
Notifications
You must be signed in to change notification settings - Fork 1
USER STORY: Edit own task #16
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Labels
Milestone
Comments
Closed
blahosyl
added a commit
that referenced
this issue
Jul 30, 2024
blahosyl
added a commit
that referenced
this issue
Jul 30, 2024
- create `taskData` and `setTaskData` with `useState` hook - inside `useState`, set defaults for input fields (empty strings or default values, if any) - destructure all taskData object attributes - add `value` props to Form.Control components (all editable fields) - create `handleChange()` function - add `onChange` prop for `Form.Control` components to use `handleChange()`
blahosyl
added a commit
that referenced
this issue
Aug 1, 2024
blahosyl
added a commit
that referenced
this issue
Aug 1, 2024
- add `handleEdit `function: - redirect to `history.push(/tasks/${id}/edit)` - pass the handleEdit function to `MoreDropdown` (in `Task.js`)
blahosyl
added a commit
that referenced
this issue
Aug 1, 2024
Blocked by #86 |
This was referenced Aug 7, 2024
blahosyl
added a commit
that referenced
this issue
Aug 8, 2024
blahosyl
added a commit
that referenced
this issue
Aug 8, 2024
blahosyl
added a commit
that referenced
this issue
Aug 8, 2024
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
As a Logged-in User,
I want to edit tasks owned by me or assigned to me,
so that update information as needed
Acceptance Criteria
Tasks
useHistory
(if not already done)handleEdit
function:history.push(
/tasks/${id}/edit)
handleEdit
function toMoreDropdown
(inTask.js
)TaskEditForm
based on TaskCreateForm USER STORY: Put TaskForm into separate component #102TaskEditForm
toApp.js
& add route to itThe text was updated successfully, but these errors were encountered: