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

Adds interactivity for planner commands #5909

Closed
wants to merge 1 commit into from

Conversation

milanholemans
Copy link
Contributor

@milanholemans milanholemans commented Mar 12, 2024

Closes #5902


In this PR

  • Added interactivity to selecting a Planner plan or Planner bucket
  • Moved common logic to planner util
  • Refactored Planner commands to use getId util functions instead of fetching the entire object when only the ID is needed.

@milanholemans milanholemans force-pushed the planner-interactivity branch 2 times, most recently from 1df3dd1 to 47f8e12 Compare March 12, 2024 23:55
@martinlingstuyl martinlingstuyl self-assigned this May 3, 2024
Copy link
Contributor

@martinlingstuyl martinlingstuyl left a comment

Choose a reason for hiding this comment

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

Hi @milanholemans, great work! This cleans up nicely. I do have some comments. Could you look at them?

src/cli/cli.ts Outdated Show resolved Hide resolved
src/m365/planner/commands/plan/plan-remove.ts Outdated Show resolved Hide resolved
src/m365/planner/commands/task/task-add.ts Outdated Show resolved Hide resolved
src/m365/planner/commands/task/task-remove.ts Outdated Show resolved Hide resolved
src/utils/planner.spec.ts Outdated Show resolved Hide resolved
src/utils/planner.ts Outdated Show resolved Hide resolved
@martinlingstuyl martinlingstuyl marked this pull request as draft May 3, 2024 11:54
@milanholemans milanholemans marked this pull request as ready for review May 5, 2024 19:17
Copy link
Contributor

@martinlingstuyl martinlingstuyl left a comment

Choose a reason for hiding this comment

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

Nice work @milanholemans! Will merge it soon...

@martinlingstuyl
Copy link
Contributor

Merged manually, thank you! 🎉

@milanholemans milanholemans deleted the planner-interactivity branch May 7, 2024 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enhancement: Introduce interactivity for planner commands
2 participants