Skip to content

✨ feat: refresh topic sharing experience (share page + popover)#15581

Merged
rivertwilight merged 3 commits into
canaryfrom
style/share-page-floating-toolbar
Jun 10, 2026
Merged

✨ feat: refresh topic sharing experience (share page + popover)#15581
rivertwilight merged 3 commits into
canaryfrom
style/share-page-floating-toolbar

Conversation

@rivertwilight

@rivertwilight rivertwilight commented Jun 9, 2026

Copy link
Copy Markdown
Collaborator

πŸ’» Change Type

  • ✨ feat
  • πŸ’„ style

πŸ”— Related Issue

πŸ”€ Description of Change

Two related areas of the topic-sharing experience.

1. Shared-topic page (/share/t/:id)

  • Floating toolbar β€” the bottom action bar no longer occupies a layout row; it floats over the conversation (absolutely positioned, bottom-center), with pointer-events handled so the area around the pill stays scrollable.
  • Header actions menu β€” a top-right 3-dot menu with Go to LobeHub (https://lobehub.com) and Report (mailto:hi@lobehub.com).
  • Disclaimer at the end of the conversation β€” the share disclaimer renders as the last item in the message list (scrolls in after the final message), replacing the old standalone bottom strip. Copy was tightened for clarity.

2. Share popover (src/features/SharePopover)

  • Auto-copy on enable β€” switching a topic to link sharing now copies the share link to the clipboard automatically; the success toast reads "Share link copied to clipboard" (the manual Copy link button shares the same message). copyToClipboard already has an execCommand fallback, so it won't surface a false "update failed" error.
  • Warmer privacy warning β€” the confirm dialog is rewritten with a warmer tone, says what a shared topic may contain, and appends an icon list: Tool calling details, Credentials, Images, Uploaded files β€” plus a note that it can be switched back to private anytime.

i18n: source keys in src/locales/default/chat.ts, mirrored to en-US, hand-translated for zh-CN. New keys (sharePage.menu.*, privacyWarning.items.*, privacyWarning.note) will be filled for other locales by the daily auto-i18n CI; refreshed values on existing keys stay EN/ZH-only until re-translated.

πŸ§ͺ How to Test

Share page β€” open /share/t/:id:

  1. The action bar floats over the conversation; the disclaimer shows at the end of the message list.
  2. The top-right 3-dot menu opens Go to LobeHub and Report.

Share popover β€” open the share popover on a topic:

  1. Switch visibility to Anyone with the link β†’ link is copied automatically, toast reads "Share link copied to clipboard".
  2. On the first switch, the privacy dialog shows the warmer copy + the icon list of what may be shared.
  • Tested locally
  • No tests needed

bun run type-check passes. UI not yet verified in a running browser.

πŸ“Έ Screenshots / Videos

Before After
Toolbar in its own row; disclaimer strip; "Privacy Notice" text-only dialog; manual copy only Floating toolbar; disclaimer at conversation end; 3-dot menu; warm privacy dialog with icon list; auto-copy on enable

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry @rivertwilight, you have reached your weekly rate limit of 500000 diff characters.

Please try again later or upgrade to continue using Sourcery

@vercel

vercel Bot commented Jun 9, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
lobehub Ready Ready Preview, Comment Jun 10, 2026 9:35am

Request Review

@dosubot dosubot Bot added size:M This PR changes 30-99 lines, ignoring generated files. i18n labels Jun 9, 2026
@codecov

codecov Bot commented Jun 9, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 29.72973% with 26 lines in your changes missing coverage. Please review.
βœ… Project coverage is 67.61%. Comparing base (8b342c6) to head (0adb16b).
⚠️ Report is 5 commits behind head on canary.

Additional details and impacted files
@@             Coverage Diff             @@
##           canary   #15581       +/-   ##
===========================================
- Coverage   80.69%   67.61%   -13.09%     
===========================================
  Files         992     3356     +2364     
  Lines      123056   338605   +215549     
  Branches    11322    30688    +19366     
===========================================
+ Hits        99304   228932   +129628     
- Misses      23561   109482    +85921     
  Partials      191      191               
Flag Coverage Ξ”
app 60.14% <52.38%> (?)
database 98.12% <ΓΈ> (ΓΈ)
packages/agent-manager-runtime 49.69% <ΓΈ> (ΓΈ)
packages/agent-runtime 81.06% <ΓΈ> (ΓΈ)
packages/app-config 44.58% <ΓΈ> (ΓΈ)
packages/builtin-tool-lobe-agent 20.07% <ΓΈ> (ΓΈ)
packages/context-engine 84.12% <ΓΈ> (ΓΈ)
packages/conversation-flow 91.29% <ΓΈ> (ΓΈ)
packages/device-gateway-client 90.18% <ΓΈ> (ΓΈ)
packages/env 11.42% <ΓΈ> (ΓΈ)
packages/eval-dataset-parser 95.15% <ΓΈ> (ΓΈ)
packages/eval-rubric 76.11% <ΓΈ> (ΓΈ)
packages/file-loaders 87.89% <ΓΈ> (ΓΈ)
packages/locales 0.87% <0.00%> (-0.01%) ⬇️
packages/memory-user-memory 74.99% <ΓΈ> (ΓΈ)
packages/model-bank 99.99% <ΓΈ> (ΓΈ)
packages/model-runtime 84.27% <ΓΈ> (ΓΈ)
packages/prompts 72.51% <ΓΈ> (ΓΈ)
packages/python-interpreter 92.90% <ΓΈ> (ΓΈ)
packages/ssrf-safe-fetch 0.00% <ΓΈ> (ΓΈ)
packages/trpc 40.43% <ΓΈ> (ΓΈ)
packages/types 35.18% <ΓΈ> (ΓΈ)
packages/utils 85.03% <ΓΈ> (ΓΈ)
packages/web-crawler 88.08% <ΓΈ> (ΓΈ)

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Ξ”
Store 68.41% <ΓΈ> (βˆ…)
Services 54.25% <ΓΈ> (βˆ…)
Server 97.03% <ΓΈ> (βˆ…)
Libs 54.03% <ΓΈ> (βˆ…)
Utils 82.48% <ΓΈ> (-17.52%) ⬇️
πŸš€ New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • πŸ“¦ JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@rivertwilight rivertwilight force-pushed the style/share-page-floating-toolbar branch 3 times, most recently from a35f804 to efecc61 Compare June 9, 2026 09:08
@dosubot dosubot Bot added size:L This PR changes 100-499 lines, ignoring generated files. and removed size:M This PR changes 30-99 lines, ignoring generated files. labels Jun 9, 2026
@rivertwilight rivertwilight changed the title πŸ’„ style: float share topic toolbar and add a header actions menu ✨ feat: refresh topic sharing experience (share page + popover) Jun 9, 2026
@rivertwilight rivertwilight force-pushed the style/share-page-floating-toolbar branch 2 times, most recently from aae900c to bb041eb Compare June 9, 2026 10:38
@rivertwilight rivertwilight force-pushed the style/share-page-floating-toolbar branch from bb041eb to 6fe8d64 Compare June 10, 2026 02:26
rivertwilight and others added 2 commits June 10, 2026 15:46
- Float the bottom action bar over the conversation instead of letting it
  occupy a dedicated layout row; add a footer spacer so the last message can
  scroll clear of it
- Add a top-right 3-dot menu holding the share disclaimer, a "Go to LobeHub"
  link, and a "Report" (mailto) entry
- Remove the standalone bottom disclaimer strip (now in the menu)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…Export action

- Copy the share link to the clipboard automatically when a topic is
  switched to link sharing; the success toast now reads "Share link
  copied to clipboard"
- Rewrite the share privacy-warning dialog with a warmer tone and an
  icon list of what a shared topic may include (connector calling
  details, credentials, images, uploaded files), plus a note that it can
  be set back to private anytime
- Rename the "More share options" action to "Export" (file-output icon)
  and retitle the dialog it opens from "Share" to "Export"

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@rivertwilight rivertwilight force-pushed the style/share-page-floating-toolbar branch from 6fe8d64 to 017fe81 Compare June 10, 2026 08:06
- Document title now shows "<topic> Β· LobeHub": relocate the share topic
  route meta to the route folder and wire it into both desktop router
  configs (it was previously only registered on mobile, so desktop fell
  back to just "LobeHub")
- Add a "Copy Link" item to the share page header menu that copies the
  current page URL to the clipboard

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@rivertwilight rivertwilight merged commit b8b37cf into canary Jun 10, 2026
33 of 34 checks passed
@rivertwilight rivertwilight deleted the style/share-page-floating-toolbar branch June 10, 2026 09:43
arvinxx added a commit that referenced this pull request Jun 10, 2026
# πŸš€ LobeHub Release (20260610)

**Release Date:** June 10, 2026  
**Since v2.2.2:** 131 merged PRs Β· 13 contributors

> This weekly release strengthens agent collaboration across cloud,
desktop, CLI, and workspace flows, with steadier runtime behavior and a
broader foundation for workspace-scoped data.

---

## ✨ Highlights

- **Agent execution across devices** β€” Unifies per-device working
directories, project skill discovery, and sub-agent suspend/resume
behavior across server, QStash, and device RPC flows. (#15543, #15566,
#15481, #15620, #15591)
- **Connector and sandbox platform** β€” Expands connector permissions,
custom OAuth MCP connector onboarding, sandbox provider support, and
user-uploaded file sync into cloud sandbox runs. (#15463, #15546,
#15184, #15550)
- **Desktop and CLI reliability** β€” Fixes desktop cold-start,
auto-update, Windows build, CLI skill discovery, and `lh connect` agent
dispatch paths. (#15547, #15525, #15527, #15562, #15632, #15634)
- **Pages and sharing** β€” Refreshes topic sharing, improves Page Editor
layout behavior, and routes Page Agent tool execution through the
server-side editor path. (#15581, #15556, #15588, #15023, #15610)
- **Model availability and provider updates** β€” Adds user-scoped LobeHub
model availability, Claude Fable 5, Qwen thinking preservation, and
MiniMax M3 updates. (#15590, #15639, #13494, #15376)

---

## πŸ—οΈ Core Product & Architecture

### Agent Runtime & Heterogeneous Agents

- Improves sub-agent lifecycle handling, including async suspend/resume,
queue-mode QStash resume delivery, and blocking nested sub-agent calls.
(#15481, #15620, #15575)
- Stabilizes heterogeneous agent ingestion and streaming with raw stream
dumps, per-turn usage, image forwarding on regenerate, and
duplicate-text fixes. (#15602, #15577, #15592, #15585)
- Adds execution-device and working-directory controls across device
RPC, legacy defaults, and remote-spawned Claude Code sessions. (#15543,
#15566, #15591, #15572)
- Improves runtime diagnostics and compatibility, including Gemini
multimodal output capture, abort stream semantics, and trace quality
analysis. (#15535, #13677, #15508)

---

## πŸ“± Platforms, Integrations & UX

### Connectors, Sandbox & Tools

- Ships API-level connector tool permissions, custom OAuth MCP connector
onboarding, and connector-first runtime execution. (#15463, #15546)
- Adds sandbox provider support, cloud sandbox file sync, and safer
external URL file input handling with SSRF validation. (#15184, #15550,
#12657)
- Improves tool visibility and execution with pinned app-fixed tools,
ANSI output rendering, gateway-tunneled MCP calls, and automatic
headless tool runs. (#15509, #15516, #15469, #15492)

### Desktop, CLI & Web UX

- Restores desktop startup and reload behavior, preserves IPC error
causes, and keeps the tab bar new-tab action visible across routes.
(#15547, #15597, #15638)
- Fixes desktop update and build stability for browser quit guards,
macOS update signing, and Windows Visual Studio detection. (#15525,
#15527, #15562)
- Shows the plan-limit upgrade UI on desktop builds. (#15628)
- Adds the Agent Run delivery checker and fixes CLI device dispatch plus
skill list/search output. (#15489, #15634, #15632)
- Refreshes onboarding, auth source preservation, topic UI states,
referral/Fable campaign copy, and chat-input control bar behavior.
(#15629, #15544, #15573, #15614, #15616, #15617, #15622, #15643)

---

## πŸ”’ Security, Reliability & Rollout Notes

- External URL file input now includes SSRF validation for safer Google
file handling. (#12657)
- Database workspace-scope migrations are part of this release;
self-hosted operators should run the normal migration path before
serving the updated app. (#15446, #15465, #15468, #15472)
- The release branch was re-cut from `canary` and includes the latest
`main` release-version commit so `v2.2.2` is the verified compare base.

---

## πŸ‘₯ Contributors

@ONLY-yours, @sxjeru, @hardy-one, @xujingli, @hezhijie0327, @Coooolfan,
@arvinxx, @tjx666, @Innei, @rivertwilight, @rdmclin2, @cy948,
@AmAzing129

**Full Changelog**:
v2.2.2...release/weekly-20260610-recut-3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

i18n size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant