You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Contacts inserted into TinyMCE in #3169 are picked up by linkcheck eventually. But for users, it is not at all apparent why this doesn't happen immediately, potentially leading to confusion when they have inserted a contact in a page, but that page is not shown in the contact's list of pages it is embedded in.
It can also lead to potential inconsistencies:
insert contact "A" into a page, save
go to "A"s contact details
change "A"s name to "B"
most likely, Linkcheck has not caught the embedding of the contact in the page yet, and so that page will not be updated, still showing "A".
Proposed Solution
the creation of a contact through the Contact Form should create a linkcheck URL object, where the URL in question is the contact's full_url. It should either be checked immediately, or set to be valid during its creation
inserting the contact into TinyMCE should query that URL object, and create a new related Link object
Essentially, force linkcheck to recognize the contact.
charludo
changed the title
Register a new URL and Link in Linkcheck whenevera contact is inserted in TniyMCE
Register a new URL and Link in Linkcheck whenever a contact is inserted in TinyMCE
Dec 9, 2024
Motivation
Contacts inserted into TinyMCE in #3169 are picked up by linkcheck eventually. But for users, it is not at all apparent why this doesn't happen immediately, potentially leading to confusion when they have inserted a contact in a page, but that page is not shown in the contact's list of pages it is embedded in.
It can also lead to potential inconsistencies:
Proposed Solution
URL
object, where the URL in question is the contact'sfull_url
. It should either be checked immediately, or set to be valid during its creationURL
object, and create a new relatedLink
objectEssentially, force linkcheck to recognize the contact.
Alternatives
None, really
Related Issues
Blocked by:
The text was updated successfully, but these errors were encountered: