Files
snek/src
retoor 85f4a051c4 feat: add timestamp-based pagination to channel messages and auto-focus textbox
Add optional `timestamp` parameter to `ChannelMessageService.offset()` method enabling cursor-based pagination alongside existing offset-based pagination. When timestamp is provided and page >= 0, query filters for messages created after the given timestamp; when page < 0, filters for messages created before the timestamp. Update `RPCView.get_messages()` to pass the new timestamp parameter through to the service. Also add `textBox.focus()` call in web template to automatically focus the message input field on page load.
2025-02-17 12:37:05 +00:00
..