Skip to content

Saving document links on Room Database#473

Merged
leandroBorgesFerreira merged 1 commit intoWriteopia:mainfrom
OdisBy:feat/document-links-on-android
Jun 26, 2025
Merged

Saving document links on Room Database#473
leandroBorgesFerreira merged 1 commit intoWriteopia:mainfrom
OdisBy:feat/document-links-on-android

Conversation

@OdisBy
Copy link
Copy Markdown
Contributor

@OdisBy OdisBy commented Jun 26, 2025

General

Now, the Room Database will save document links.

These document links are being used to Link a message inside a Page to another Page.

Steps

  • Adding the link_to_document column.
  • Increasing Room Database Version (this will delete all user data of plataforms that uses Room)
  • Parsing the new column on StoryUnitParse.kt
  • Retrieving the DocumentLink, using the ID and the title of pointed page, searching the title with the page ID, on RoomDocumentRepository.kt

@leandroBorgesFerreira
Copy link
Copy Markdown
Collaborator

Totally works!!

@leandroBorgesFerreira leandroBorgesFerreira merged commit d364ebd into Writeopia:main Jun 26, 2025
7 checks passed
@OdisBy OdisBy deleted the feat/document-links-on-android branch June 26, 2025 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants