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

fix(tasks): show pending tasks in document footer #5894

Merged
merged 10 commits into from
Mar 12, 2024
Merged

fix(tasks): show pending tasks in document footer #5894

merged 10 commits into from
Mar 12, 2024

Conversation

ninaandal
Copy link
Contributor

@ninaandal ninaandal commented Mar 4, 2024

Description

Adds new tasks config for the tasks plugin.

__internal_tasks: {
    footerAction: ReactNode
  },

It also integrates into this footerAction the component to show how many pending tasks the document has, and open the tasks sidebar by clicking that button.

Screenshot 2024-03-08 at 18 46 23

What to review

Is the configPropertyReducer implemented correctly?

Testing

Notes for release

Copy link

vercel bot commented Mar 4, 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 12, 2024 0:33am
test-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 12, 2024 0:33am
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
studio-workshop ⬜️ Ignored (Inspect) Visit Preview Mar 12, 2024 0:33am

Copy link
Contributor

github-actions bot commented Mar 4, 2024

No changes to documentation

Copy link
Contributor

github-actions bot commented Mar 4, 2024

Component Testing Report Updated Mar 12, 2024 12:24 PM (UTC)

File Status Duration Passed Skipped Failed
comments/CommentInput.spec.tsx ✅ Passed (Inspect) 32s 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) 31s 15 0 0
formBuilder/inputs/PortableText/Input.spec.tsx ✅ Passed (Inspect) 59s 15 0 0
formBuilder/inputs/PortableText/ObjectBlock.spec.tsx ✅ Passed (Inspect) 1m 0s 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

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 @ninaandal, great work!
Suggested some tiny changes that we will need to update.

@pedrobonamin pedrobonamin force-pushed the edx-986-plugin branch 3 times, most recently from 7a59706 to 68880ea Compare March 8, 2024 14:23
@pedrobonamin pedrobonamin added this pull request to the merge queue Mar 12, 2024
Merged via the queue into next with commit 177bc79 Mar 12, 2024
36 checks passed
@pedrobonamin pedrobonamin deleted the edx-1131 branch March 12, 2024 13:14
juice49 pushed a commit that referenced this pull request Mar 13, 2024
* fix(tasks): show pending tasks in document footer

* fix(tasks): add button to open tasks

* fix(tasks): remove comment

* fix(tasks): move out of document

* fix(tasks): add conditional to tasks footer

* fix(tasks): fix ts error

* fix(tasks): update pr with comments

* fix(tasks): keep task sidebar open if clicked on badge

* fix(tasks): pluralize task text

* fix(tasks): change React.ReactNode for ReactNode and remove data-as from button

---------

Co-authored-by: Pedro Bonamin <pedrobonamin@gmail.com>
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.

None yet

3 participants