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

Scrolling over membership in Gitter historical room jumps calendar around because those events weren't timestamp massaged #182

Closed
MadLittleMods opened this issue Apr 25, 2023 · 1 comment · Fixed by #196
Labels
A-archive-room-view The view to look at a room day by day in the archive T-Defect Something isn't working. Bugs, crashes, or other reported issues.

Comments

@MadLittleMods
Copy link
Contributor

MadLittleMods commented Apr 25, 2023

Scrolling over membership in Gitter historical room jumps calendar around because those events weren't timestamp massaged.

.../r/gitter_gitter:gitter.im/date/2015/11/15

In the future, it would be nice to timestamp massage /join membership events (see MSC3998) so we don't have to do this type of ignoring and so the room is more semantic.

Potential solution

Ignore membership events in the IntersectionObserver (because they aren’t timestamp massaged) so you don’t jump around in the calendar

@MadLittleMods MadLittleMods added T-Enhancement New feature or request A-archive-room-view The view to look at a room day by day in the archive labels Apr 25, 2023
@MadLittleMods MadLittleMods added T-Defect Something isn't working. Bugs, crashes, or other reported issues. and removed T-Enhancement New feature or request labels Apr 25, 2023
@MadLittleMods
Copy link
Contributor Author

MadLittleMods commented Apr 27, 2023

Solved instead by ignoring events which appear in the future compared to timestamp in the URL

Fixed in #196

MadLittleMods added a commit that referenced this issue Apr 27, 2023
Don't jump calendar around for events which appear in the future compared to the timestamp in the URL.

This sort of situation occurs often for Gitter imported historical rooms where we have a bunch of history that is timestamp massaged intermixed with a bunch of join events which we couldn't timestamp massage at the time.

Fix #182
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-archive-room-view The view to look at a room day by day in the archive T-Defect Something isn't working. Bugs, crashes, or other reported issues.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant