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

Allow jumping to older messages from replies. #134

Open
tandr3w opened this issue Aug 28, 2023 · 0 comments
Open

Allow jumping to older messages from replies. #134

tandr3w opened this issue Aug 28, 2023 · 0 comments

Comments

@tandr3w
Copy link
Contributor

tandr3w commented Aug 28, 2023

Currently, when jumping to a previous message for a reply, if the original message isn't loaded, it gives an error like "ref does not exist". I think it would be useful if it was possible to jump to a message even if it hasn't been fetched yet. If a full-text search was implemented, this would also be useful to allow jumping to messages. Something like:

  1. Fetch only the original message you want to jump to and some messages around it, then scroll to that message.
  2. When scrolling down, fetch the messages below, similarly to how messages are currently fetched, just in a different direction.

I think that one possible issue with this implementation is that it's possible for the original messages to be fetched but not the edited versions if messages are fetched while scrolling down (this doesn't happen while scrolling up since it's guaranteed for edits to be later than the original message). Can we do anything about this?

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

1 participant