Include permalink in error message when replied to message fails to load
See original GitHub issueYour use case
What would you like to do?
When a reply fails to load whether it be network or code related, include a permalink or at least event_id
for the message it’s trying to load so it’s possible to reference and find the event in question.
Currently, the error message just says the following which has no details.
Unable to load event that was replied to, it either does not exist or you do not have permission to view it.
Why would you like to do it?
It’s not easy to find the message it’s trying to reference yourself or debug the situation. Just have to View source and dive into the gritty details.
How would you like to achieve it?
Add a permalink to the event in question. The event probably exists if someone is trying to reference it.
These kind of code or network fail cases are unlimited and cannot made to be impossible to encounter. We should strive to improve the fail scenario which could be a variety of solutions:
- Just the
event_id
to reference. The bare minimum that should be available. “What failed to load?” - Permalink so you can try seeing the message for yourself in whatever manner. This solves the problem in code and network fail scenarios and makes it convenient to see the content you were missing.
- A retry button to try reloading the message when conditions are better. But this one is susceptible to code bugs like the one explained at the top of this comment so I’m not in favor of it.
- Other ideas
Have you considered any alternatives?
No response
Additional context
Related to:
Issue Analytics
- State:
- Created a year ago
- Comments:15 (15 by maintainers)
Top Results From Across the Web
WordPress Permalinks Not Working: How to Fix Broken Links
The most common issue you'll notice with broken permalinks is 404: Not Found error in WordPress when accessing a page on your website....
Read more >Error message: Failed to load plugin url - WordPress.org
Hi. As the title says, this error message turns up when I try to write new posts.. This happened compeletely randomly, I havent...
Read more >I get error message when clicking on hyperlink in Outlook ...
When clicking on a hyperlink in an Outlook message, I get the following message (every time!) General Failure. The URL was (URL listed)...
Read more >How To Fix "Failed To Load Resource" Error In WordPress
If the missing resource is a WordPress plugin file, then you will need to reinstall the plugin. For more details, see our step...
Read more >Failed to Load Resource: The Server Responded With a ...
The error code that states failed to load resource: the server responded with a status of ... An example, where you can have...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
it might be possible to add a developer-only button of some kind if we’re not certain it’d be safe for the general population. Like https://github.com/matrix-org/matrix-react-sdk/pull/7537 but for replies.
@MadLittleMods the specific bug you are hitting is https://github.com/vector-im/element-web/issues/21543 - if you could drop repro steps there that would be swell.