jslirola
Thank you! That's probably because I have a lot of free time these days. 🙂
Some suggestions for your extension, they might be useful in the future:
- I assume that the references that exist before installing the extension, are not reflected. right? It would be interesting to implement a link scan in the database messages to include such references.
That's right. Re-parsing the old message is an idea currently discussed here: club-1/flarum-ext-cross-references34
For now I am more in favour of not adding cross-references in target discussions, unless there is a way to insert posts in the post stream back in time. But not sure yet.
- Related to the previous one. Include a button in a discussion to search for references to it and add them in order of publication to keep the history over time.
I don't think I want to add this kind of search feature. This IMO would be better done by the re-parsing of old messages once. As even without inserting cross-reference posts in the stream, we can still add the relations in the database.
- Possibility of including a badge in the discussions with the highest number of references, to highlight them for their popularity and that other users can easily find them.
This could be interesting, even more so together with a new sort option in the discussion's list.
Another idea I had in mind was a kind of summary of the sources after the first post. Kind of how Discourse does it (e.g. on this discourse post).