hash
hash copied to clipboard
Implement `PageModel` class
🌟 What is the purpose of this PR?
This PR introduces the PageModel class, and basic ordered link functionality temporarily implemented in the LinkModel class.
🔗 Related links
- Asana task (internal)
🔍 What does this change?
- adds the page-related workspace types:
archived,summary,title,indexproperty typesPageentity typecontainlink type
- adds the text-related workspace types:
tokensproperty typeTextentity type
- adds the required
LinkModelmethods for creating/updating/removing ordered links (to allow for ordered blocks in pages) - adds the
PageModelclass
📜 Does this require a change to the docs?
No.
⚠️ Known issues
- tests are not passing when run using single command (asana task)
🐾 Next steps
🛡 What tests cover this?
link.model.test.tshas been updated to test ordered link functionalitypage.model.test.tshas been added to test page-related functionality
❓ How to test this?
Check the backend integration tests in CI, or run the backend integration tests locally.
📹 Demo
This pull request introduces 1 alert when merging c75624bff80623507f2e64e66d4c18f2ce89fc16 into d9d542a3534c6f9f198625080625db45491ef909 - view on LGTM.com
new alerts:
- 1 for Unused variable, import, function or class