Skip to content

Adds 'outlook event list' command. Closes #7083#7174

Closed
MartinM85 wants to merge 2 commits intopnp:mainfrom
MartinM85:feature/7083-outlook-event-list
Closed

Adds 'outlook event list' command. Closes #7083#7174
MartinM85 wants to merge 2 commits intopnp:mainfrom
MartinM85:feature/7083-outlook-event-list

Conversation

@MartinM85
Copy link
Copy Markdown
Contributor

Closes #7083

@Adam-it Adam-it self-assigned this Apr 3, 2026
@Adam-it Adam-it requested a review from Copilot April 3, 2026 21:10
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a new Microsoft Graph-backed Outlook command to list calendar events (m365 outlook event list), along with supporting utilities, tests, and documentation updates.

Changes:

  • Added outlook event list command with options for user/calendar selection, time range, timezone, properties, and filtering.
  • Introduced a reusable calendar utility for resolving calendars by id/name (with corresponding unit tests).
  • Added docs page and sidebar entry for the new command.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/utils/calendar.ts New utility to retrieve a user’s calendar by id/name via Microsoft Graph
src/utils/calendar.spec.ts Unit tests for the new calendar utility
src/m365/outlook/commands/event/event-list.ts Implements the new outlook event list command and request building logic
src/m365/outlook/commands/event/event-list.spec.ts Tests for validation and request URL construction for the new command
src/m365/outlook/commands.ts Registers new command name constant EVENT_LIST
docs/src/config/sidebars.ts Adds the new command doc to the Outlook sidebar
docs/docs/cmd/outlook/event/event-list.mdx Documentation page for m365 outlook event list

Copy link
Copy Markdown
Member

@Adam-it Adam-it left a comment

Choose a reason for hiding this comment

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

@MartinM85 Amazing work 👏 I only noticed one thing regarding validating of the user identity, other than that for me looks like it's ready to go 🚀

Checked locally ✅

@Adam-it Adam-it marked this pull request as draft April 3, 2026 21:37
@MartinM85 MartinM85 marked this pull request as ready for review April 4, 2026 14:14
@MartinM85 MartinM85 requested a review from Adam-it April 4, 2026 14:14
Copy link
Copy Markdown
Member

@Adam-it Adam-it left a comment

Choose a reason for hiding this comment

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

LGTM 🔥

@Adam-it
Copy link
Copy Markdown
Member

Adam-it commented Apr 5, 2026

Ready to merge 🚀

@Adam-it Adam-it closed this Apr 5, 2026
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.

New command: outlook event list

3 participants