Modal shows contents, not just a layout

WHAT DO YOU RECOMMEND

When hovering over a @mention link, a preview modal appears, which is really useful. But the modal just shows the layout and wallpaper of the object, I wonder whether this is an intended design. It would be more powerful if it can show some contents of the first several lines, like wikipedia does.

Btw, @mention will show a modal for hovering, but “/Link to Object” won’t. Why is there such a difference?

HOW COULD IT BE DONE

The modal can show some contents of the first several lines.

REAL WORLD USE CASES

Preview an object through a modal instead of opening every single one.

RECOMMENDED ALTERNATIVES

Open the linked object in the page to view the contents.

ADDITIONAL CONTEXT

None.

2 Likes

Hello @gdbb for some reason images you uploaded are broken for me :thinking:

I uploaded many times and tried many images, but Idk why the second image is always broken.

So I choose to upload a zip file in the end. :smiling_face_with_tear:

modal.zip (1003.2 KB)

1 Like

@ignatovv @gdbb Images/videos not loading was a problem with our web-host, we have fixed it now.

2 Likes