Sigafoos / journal-links

A module for Foundry VTT that links entities (journal entries, actors and items) that reference each other
MIT License
5 stars 5 forks source link

Refactor to work with v9 and fix various bugs #15

Closed vexofp closed 2 years ago

vexofp commented 2 years ago

Various changes to make the module compatible with v9 and to fix various bugs.

The core of how data is stored in the flags is unchanged, so I do not think there should be any data migration issues. If there are, a manual sync should resolve them since it wipes everything.

The module.json updates are something of a guess, as I am not terribly familiar with that part.

AzfarBadaroudine commented 2 years ago

This version works great for drag&drop links, but not for direct links.

For example, a journal entry named test1: The first line won't create a link in test1, but the second one will work fine

@JournalEntry[test1] @JournalEntry[HWYWzYV9XMItUHuL]{test1}

jtracey commented 2 years ago

I went ahead and forked + published this module with these changes (plus a couple other improvements). https://foundryvtt.com/packages/journal-backlinks/ https://github.com/jtracey/journal-backlinks