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

✅ Ticket description edit does not update metadata. #48

Closed
3 tasks
Tracked by #46
jon-nfc opened this issue Jan 19, 2025 · 0 comments · Fixed by #42
Closed
3 tasks
Tracked by #46

✅ Ticket description edit does not update metadata. #48

jon-nfc opened this issue Jan 19, 2025 · 0 comments · Fixed by #42
Assignees
Labels
task::feature Task Type type::task Issue Type
Milestone

Comments

@jon-nfc
Copy link
Member

jon-nfc commented Jan 19, 2025

When editing the ticket description the page metadata is not updated, therefore any new model references added to the description will not render.

Details

Add as part of a patch, post and put request when using apiFetch that the object returned needs to include the data, inc any errors, http status and the metadata optionally.

Tasks

  • Update ticket description update to update the metadata returned

    apiFetch(
    page_data['_urls']['_self'],
    (data) => {
    setTicketData(data)
    setEditingDescription(false)
    },
    'PATCH',
    form_data

  • apiFetch send data request metadata fetch is optional

  • does return error messages for display inline with fields

@jon-nfc jon-nfc added task::feature Task Type type::task Issue Type labels Jan 19, 2025
@jon-nfc jon-nfc added this to the v1.0.0 milestone Jan 19, 2025
@jon-nfc jon-nfc moved this to Backlog in Centurion ERP Jan 19, 2025
@jon-nfc jon-nfc moved this from Backlog to Planning in Centurion ERP Jan 19, 2025
@jon-nfc jon-nfc moved this from Planning to In progress in Centurion ERP Jan 22, 2025
@jon-nfc jon-nfc self-assigned this Jan 22, 2025
@jon-nfc jon-nfc linked a pull request Jan 22, 2025 that will close this issue
8 tasks
@jon-nfc jon-nfc moved this from In progress to Done in Centurion ERP Jan 22, 2025
@jon-nfc jon-nfc changed the title Ticket description edit does not update metadata. ✅ Ticket description edit does not update metadata. Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
task::feature Task Type type::task Issue Type
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant