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

Update existing Notion pages with Canvas assignment changes (#385) #387

Merged
merged 14 commits into from
Jul 4, 2024

Conversation

JamesNZL
Copy link
Owner

@JamesNZL JamesNZL commented Jul 4, 2024

Closes #385

Caution

This functionality requires a new Update Content capability for the integration.
This introduces a breaking change—existing users of the extension must reauthorise with Notion.

This PR implements the ability for the extension to update previously-imported Notion pages with updated Canvas information, provided:

  1. The changed Canvas details are one of:
    1. Assignment name,
    2. Assignment points value,
    3. Assignment due date, or
    4. Assignment unlock date.

Note

The due/unlock date must have changed by at least a minute and a half.

  1. The assignment data has been re-copied into the extension using the Copy from Canvas button.

  2. The extension is configured correctly. The Import Assignment Changes toggle for the changed property must be configured to Import.

image

  1. The Export to Notion button is clicked.

If all the above are met, the existing page should be updated with the new properties!

image

@JamesNZL JamesNZL added the feature New feature or request label Jul 4, 2024
@JamesNZL JamesNZL self-assigned this Jul 4, 2024
@JamesNZL JamesNZL changed the title Update existing Notion pages with Canvas assignment changes Update existing Notion pages with Canvas assignment changes (#385) Jul 4, 2024
BREAKING CHANGE: This requires a new previously unheld capability on the integration. Existing users must reauthorise with Notion.
@JamesNZL JamesNZL merged commit 0f22184 into main Jul 4, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update previously imported page with changes
1 participant