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

Add url & opengraph card previews #720

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open

Add url & opengraph card previews #720

wants to merge 10 commits into from

Conversation

tarkah
Copy link
Member

@tarkah tarkah commented Jan 22, 2025

@casperstorm please work your magic on preview / card UI in scroll_view

@andymandias can you help test the scrollable? I've landed on a new implementation that allows us to be "sticky" to the top of the viewport when it's unlocked (not anchored to the bottom to auto-scroll w/ new messages). This means that when images load or older chat history messages load, the scrollable should not shift out from under us and provides a very pleasant experience. I believe I've been able to improve on / fix some of the chat history bugs related to scrolling / infinite scrolling.

@tarkah tarkah force-pushed the feat/url-preview branch 2 times, most recently from 5152d48 to b914b53 Compare January 24, 2025 22:08
This is more stable since due to chat history
messages can be overridden and their received time
will update, but server time is the same.

I noticed a regression in highlight buffer where
certain messages weren't triggering a scroll to message
because of this, since the highlight message retains
the oldest received at.

Changing this fixed the regression since their server
times remain the same.
@casperstorm casperstorm linked an issue Jan 28, 2025 that may be closed by this pull request
@tarkah tarkah marked this pull request as ready for review January 28, 2025 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Render images inline
2 participants