Skip to content

chore(right float area): add tips#4213

Open
githubdudu wants to merge 1 commit into
notionnext-org:mainfrom
githubdudu:chore/tips-on-rightfloatarea
Open

chore(right float area): add tips#4213
githubdudu wants to merge 1 commit into
notionnext-org:mainfrom
githubdudu:chore/tips-on-rightfloatarea

Conversation

@githubdudu

@githubdudu githubdudu commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

已知问题 Background

  1. In Hexo theme, there are missing tips for the right float button which the endspace theme has.

    Hexo theme:
    20260626-0031-59 9264757

    Endspace theme:
    20260626-0033-24 1792445

解决方案 Solution

  1. Take the Endspace theme as example. Follow it

改动收益 Benifit

  1. More consistent across themes
  2. User-friendly

具体改动 Scope

Only affect Hexo theme.

  1. themes/hexo/components/ButtonFloatDarkMode.js
    add 'Light Mode' or 'Dark Mode' just like Endspace theme.
  2. themes/hexo/components/ButtonJumpToComment.js
    add "Jump to Comment" tips. Same as Endspace theme.

测试确认

  • 本地开发环境测试通过
  • 生产环境构建测试通过

其他问题 Related issues / Considerations

There are also same issue in themes : fuwari, commerce and matery.

image
  1. Should I also change fuwari and matery theme?
  2. About the commerce theme, the right float button doesn't even show up correctly in the page.

用户文档(docs/user-guide/

若本 PR 修改 docs/user-guide/docs/developer/ 中与站长相关的说明,可勾选「不适用」并跳过本节。

  • 不适用(无文档改动)
  • 已按 维护工作流 自检
  • 路径符合 docs/user-guide/ 目录约定
  • 已更新 user-guide/README.md(新增/移动文章时)
  • 已更新 ARTICLE_INDEX.md(新 slug 或路径变更时)
  • 环境变量名与 conf/*.config.js 一致(若文档涉及配置)
  • 示例中无真实 Token、.env、私有 ID
  • 保留或更新了「原文链接」(若源自 docs.tangly1024.com)
@vercel

vercel Bot commented Jun 26, 2026

Copy link
Copy Markdown

@githubdudu is attempting to deploy a commit to the tangly1024's projects Team on Vercel.

A member of the Team first needs to authorize it.

@netlify

netlify Bot commented Jun 26, 2026

Copy link
Copy Markdown

Deploy Preview for notionnext-netlify ready!

Name Link
🔨 Latest commit 29a310e
🔍 Latest deploy log https://app.netlify.com/projects/notionnext-netlify/deploys/6a3dca1eba9d2800085b7a0d
😎 Deploy Preview https://deploy-preview-4213--notionnext-netlify.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@githubdudu githubdudu marked this pull request as ready for review June 26, 2026 00:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant