The window-scroll clamp and forced set-window-start fought redisplay
and made the prompt unreachable. Rely on plain Emacs scrolling with
buffer-local scroll-conservatively=101; keep recenter -1 only for the
at-bottom render path.
- Toggle overriding-local-map via post-command-hook: while point is in
the draft, a global-map-parented keymap shadows mode hotkeys (g, h,
q, SPC, DEL) so any text can be typed; RET/C-c C-c send
- Treat missing window as "at bottom" during first render and force
point to the prompt after switch-to-buffer
- Add mattermost-download-dir custom (default ~/Downloads)
- Pass file_name and download_dir in download_file request
- Save files with original names in user-configured directory
- Open downloaded files via xdg-open (system default application)
mattermost--set-header-marker calls replace-match, which raised
"Buffer is read-only" inside toggle, aborting before the collapsed
state was recorded. All marker/overlay mutation now goes through
mattermost--collapse-section with inhibit-read-only bound.
Also deduplicate section rendering into mattermost--insert-section.
fix(mm-client): parse files/info tolerantly and log raw body
Accept array, {file_infos: [...]}, and {order, file_infos: {id: ...}}
shapes; add serde defaults to FileInfo fields. Log body prefix at
debug level to identify the actual Mattermost 10.9.3 response shape.
- handlers/mod.rs: public handler functions
- handlers/helpers.rs: utility functions (get_client, get_token, etc.)
- handlers/enrich.rs: post enrichment (display names, files)
- Fix FileInfo export in mm-core
feat(ui): preserve collapsed state on dashboard refresh
- Track collapsed team IDs in buffer-local mattermost--collapsed-teams
- Save collapse state before re-rendering (define-derived-mode resets locals)
- Restore collapse state after re-rendering
- Reset dashboard buffer on mattermost-reset-state
- Read channel type from :type (matches Rust serde rename), not :channel_type
- Group channels by team with Direct messages section last
- Use text properties instead of regex to resolve channel under point
- Fallback "Other" section when bridge omits teams
- Add user display name resolution for WebSocket 'posted' events
- Change message format to multi-line: [YYYY-MM-DD HH:MM] **Name:**\nmessage
- Add blank line between messages for readability
- Disable truncate-lines in channel buffers for long messages
- Add User::display_name() helper (first+last name, fallback to username)
- Add get_users_by_ids batch endpoint in mm-client
- Add user_display_name field to Post model (skip_deserializing)
- Enrich posts in handle_get_history via single /users/ids request
- Emacs already uses user_display_name when available
- Add get_user method to mm-client to fetch user profile by ID
- Update handle_list_channels to post-process DM channels
- Parse 'user1__user2' format to find the other participant
- Fetch other participant's profile and populate display_name
- Fallback to username if first_name/last_name are empty
- Add Channel model to mm-core
- Implement get_my_channels in mm-client
- Add list_channels handler and routing in mm-bridge
- Create mattermost-dashboard-mode with interactive connection prompt
- Add dev-check.sh script for quick Rust validation