Skip to content

fix: desktop defaults to bookmarklet login tab; conversation messages newest-at-bottom#945

Closed
Copilot wants to merge 2 commits intofeature/messages-webuifrom
copilot/sub-pr-944
Closed

fix: desktop defaults to bookmarklet login tab; conversation messages newest-at-bottom#945
Copilot wants to merge 2 commits intofeature/messages-webuifrom
copilot/sub-pr-944

Conversation

Copy link
Contributor

Copilot AI commented Mar 15, 2026

Two UX fixes for messages.html based on review feedback.

Changes

  • Login tab auto-selection: Detect desktop vs. mobile via (hover: hover) and (pointer: fine) media query. Desktop opens the bookmarklet tab by default; mobile/touch opens session login by default.
var isDesktop = window.matchMedia('(hover: hover) and (pointer: fine)').matches;
var defaultTab = isDesktop ? 'bookmarklet' : 'manual';
  • Conversation message order: API response is reversed before rendering so oldest messages appear at the top and newest at the bottom, matching standard chat UX.
tbody.innerHTML = mails.slice().reverse().map(function(m) {  }).join('');

💬 Send tasks to Copilot coding agent from Slack and Teams to turn conversations into code. Copilot posts an update in your thread when it's finished.


Summary by cubic

Adds messages.html WebUI for short messages. Addresses Linear 752 by prioritizing login options by device and showing newest messages at the bottom.

  • New Features
    • New messages.html page for short-message viewing.
    • Device-aware login: desktop shows bookmarklet login first; mobile shows session login first.
    • Newest messages appear at the bottom.

Written for commit cf095af. Summary will update on new commits.

…n thread view

Co-authored-by: PythonSmall-Q <106425289+PythonSmall-Q@users.noreply.github.com>
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Mar 15, 2026

Deploying xmoj-script-dev-channel with  Cloudflare Pages  Cloudflare Pages

Latest commit: cf095af
Status: ✅  Deploy successful!
Preview URL: https://6bfba66b.xmoj-script-dev-channel.pages.dev
Branch Preview URL: https://copilot-sub-pr-944.xmoj-script-dev-channel.pages.dev

View logs

Copilot AI changed the title [WIP] [752] Add messages.html WebUI for short messages fix: desktop defaults to bookmarklet login tab; conversation messages newest-at-bottom Mar 15, 2026
Copilot AI requested a review from PythonSmall-Q March 15, 2026 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants