JamesNZL / notion-assignment-import

A free cross-browser extension to load Canvas assignments into Notion, with 8200+ unique users.
https://jamesnzl.xyz/notion-assignment-import
Other
35 stars 5 forks source link

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

Closed JamesNZL closed 2 months ago

JamesNZL commented 2 months ago

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