Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Navigate to Instant messages and Attachments in Chat Preview #2291

Open
aberenguel opened this issue Aug 15, 2024 · 4 comments
Open

Navigate to Instant messages and Attachments in Chat Preview #2291

aberenguel opened this issue Aug 15, 2024 · 4 comments

Comments

@aberenguel
Copy link
Contributor

When we click on a image or video in References table, it is shown the file content Preview tab.

image

Similarly, when we click on InstantMessage in SubItems table, it is shown the Metadata tab. The preview tab has no content.

image

It would be interesting if it could to navigate to the item position in chat preview. It would facilitate a lot some analysis.

aberenguel added a commit to aberenguel/IPED that referenced this issue Aug 15, 2024
@aberenguel aberenguel changed the title Preview Instant messages and Attachments in Chat Preview Navigate to Instant messages and Attachments in Chat Preview Aug 15, 2024
@lfcnassif
Copy link
Member

lfcnassif commented Aug 16, 2024

Right. I'm just not sure about changing the default metadata view, it was intentional because it can show important info, maybe the "go to chat position" context menu option could be added to related items panels.

@lfcnassif
Copy link
Member

Question: To list those messages in subitems tab, the parent chat preview was selected on the main table and was displayed in the natural viewer, right? I don't see how just the message name, in the subitems tab, would help identifying a specific message as important so the user would want to view it in the chat context...

But if the user is analyzing instant messages on the main table, where each message detail can already be found in the table columns, displaying the message context in the chat preview makes sense to me. Just not sure how to implement it, because the chat preview and the instant message are different items and the current viewer API AFAIK just accepts 1 item at a time.

@aberenguel
Copy link
Contributor Author

aberenguel commented Aug 19, 2024

Question: To list those messages in subitems tab, the parent chat preview was selected on the main table and was displayed in the natural viewer, right?

Yes.

I don't see how just the message name, in the subitems tab, would help identifying a specific message as important so the user would want to view it in the chat context...

For messages (subitems) I agree with you, unless the message was bookmarked as important and it is colored in subitems table. But for images (references) it is great to see where are the images in chat classified as important (bookmaked as well).

But if the user is analyzing instant messages on the main table, where each message detail can already be found in the table columns, displaying the message context in the chat preview makes sense to me. Just not sure how to implement it, because the chat preview and the instant message are different items and the current viewer API AFAIK just accepts 1 item at a time.

I also thought about that. It could have a workaround in MultiViewer like "if is a message, render its parent chat".

@lfcnassif
Copy link
Member

Just not sure how to implement it, because the chat preview and the instant message are different items and the current viewer API AFAIK just accepts 1 item at a time.

I just remembered the ViewerController class has the method below:
public void loadFile(IStreamSource file, IStreamSource viewFile, String contentType, Set<String> highlightTerms)

It is used, for example, for videos, for which the original item is passed to the first param, so Hex and Text viewers use the original video content, and the video preview/mosaic is passed as the second param, so it can be rendered in the Preview viewer.

If we decide to change current behavior, the instant message could be passed as the first param and its parent chat as the second one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants