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

feat(comments): support task comments #5934

Merged
merged 4 commits into from
Mar 8, 2024
Merged

Conversation

hermanwikner
Copy link
Member

@hermanwikner hermanwikner commented Mar 8, 2024

Description

This pull request introduces a type configuration to the comments feature ("field" | "task") to enable the creation of comments in the upcoming Tasks feature. Additionally, the UI components have been made somewhat less tied to the field comments scenario by moving the previously required fieldPath value to an optional payload property. Although the UI components are still somewhat tied to the field comments scenario, this change is a step in the right direction towards making them more generic and adaptable to other contexts, such as when creating comments on tasks.

What to review

  • Make sure that field comments works as before

Notes for release

N/A

Copy link

vercel bot commented Mar 8, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
performance-studio ✅ Ready (Inspect) Visit Preview Mar 8, 2024 1:16pm
test-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 8, 2024 1:16pm
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
studio-workshop ⬜️ Ignored (Inspect) Visit Preview Mar 8, 2024 1:16pm

Copy link
Contributor

github-actions bot commented Mar 8, 2024

No changes to documentation

Copy link
Contributor

github-actions bot commented Mar 8, 2024

Component Testing Report Updated Mar 8, 2024 1:20 PM (UTC)

File Status Duration Passed Skipped Failed
comments/CommentInput.spec.tsx ✅ Passed (Inspect) 30s 15 0 0
formBuilder/ArrayInput.spec.tsx ✅ Passed (Inspect) 6s 3 0 0
formBuilder/inputs/PortableText/Annotations.spec.tsx ✅ Passed (Inspect) 11s 3 0 0
formBuilder/inputs/PortableText/copyPaste/CopyPaste.spec.tsx ✅ Passed (Inspect) 12s 4 2 0
formBuilder/inputs/PortableText/Decorators.spec.tsx ✅ Passed (Inspect) 12s 6 0 0
formBuilder/inputs/PortableText/FocusTracking.spec.tsx ✅ Passed (Inspect) 30s 15 0 0
formBuilder/inputs/PortableText/Input.spec.tsx ✅ Passed (Inspect) 57s 15 0 0
formBuilder/inputs/PortableText/ObjectBlock.spec.tsx ✅ Passed (Inspect) 59s 18 0 0
formBuilder/inputs/PortableText/RangeDecoration.spec.tsx ✅ Passed (Inspect) 11s 6 0 0
formBuilder/inputs/PortableText/Styles.spec.tsx ✅ Passed (Inspect) 12s 6 0 0
formBuilder/inputs/PortableText/Toolbar.spec.tsx ✅ Passed (Inspect) 19s 9 0 0

@hermanwikner hermanwikner marked this pull request as ready for review March 8, 2024 12:53
@hermanwikner hermanwikner requested review from a team, skogsmaskin and pedrobonamin and removed request for a team March 8, 2024 12:53
Copy link
Contributor

@pedrobonamin pedrobonamin left a comment

Choose a reason for hiding this comment

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

Thanks for this @hermanwikner !

@hermanwikner hermanwikner changed the title feat(comments): support task comments [WIP] feat(comments): support task comments Mar 8, 2024
@hermanwikner hermanwikner requested a review from a team as a code owner March 8, 2024 13:11
@hermanwikner hermanwikner requested review from rexxars and removed request for a team March 8, 2024 13:11
@hermanwikner hermanwikner added this pull request to the merge queue Mar 8, 2024
Merged via the queue into next with commit 75273af Mar 8, 2024
40 checks passed
@hermanwikner hermanwikner deleted the feat/comments-task-support branch March 8, 2024 13:23
juice49 pushed a commit that referenced this pull request Mar 13, 2024
* feat(comments): support task comments

* fix(comments):  omit `payload` when creating new thread

* chore(eslint): add "sortOrder" to `ignores.attributes`

* fix(comments): remove eslint ignore comment
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