Bug 322392 - Improve how plugins can add "attachments" to the page
Summary: Improve how plugins can add "attachments" to the page
Status: CONFIRMED
Alias: None
Product: telepathy
Classification: Frameworks and Libraries
Component: text-ui-message-filters (show other bugs)
Version: git-latest
Platform: Other Linux
: NOR task
Target Milestone: Future
Assignee: Telepathy Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-15 13:50 UTC by Daniele E. Domenichelli
Modified: 2013-11-04 14:02 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniele E. Domenichelli 2013-07-15 13:50:42 UTC
There should be a way to refer to attachments to the page (images, videos, formulas, code, etc.). For example the latex filter could replace the formula with (see attachment n). This should have a link to the actual image.

It should be clear that this part is not written by the user, but that it was added by the ui, so perhaps using a smaller font. When selecting and copying this part, it should actually copy the original code, not the "see attachment" part. It would be also a very good thing if by clicking on it, it could replace the "(see attachment n)" with the actual code, and backwards, like the emoticon plugin.

This should available to any plugin, so that the ui results polished if you attach several stuff to a message.

See comments here https://git.reviewboard.kde.org/r/111501/
Comment 1 David Edmundson 2013-11-04 14:02:07 UTC
Probably best to work on this in the QML rewrite. 
I have a plan in my head, nag me to write it down on the wiki.