Skip to content

fix 浏览器无法显示时间轴的问题#391

Merged
OXeu merged 1 commit into
openRin:devfrom
qyzhizi:fix-timeline-groupby
Oct 20, 2025
Merged

fix 浏览器无法显示时间轴的问题#391
OXeu merged 1 commit into
openRin:devfrom
qyzhizi:fix-timeline-groupby

Conversation

@qyzhizi
Copy link
Copy Markdown
Contributor

@qyzhizi qyzhizi commented Oct 20, 2025

修复低版本浏览器中时间轴页面无法加载的问题
Object.groupBy() 是一个 ES2024(即 ES15)新特性,它在 Node.js 20+、Chrome 118+、Edge 118+ 已经支持
但Safari 在 macOS 中无法单独升级:
🚫 Safari 17.2 及之前版本还不支持!
✅ Safari 17.4(2024年3月发布)才开始支持 Object.groupBy()
因此添加了兼容性代码

@qyzhizi qyzhizi marked this pull request as ready for review October 20, 2025 08:46
Copy link
Copy Markdown
Collaborator

@OXeu OXeu left a comment

Choose a reason for hiding this comment

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

LGTM

@OXeu OXeu merged commit 9f0b7ab into openRin:dev Oct 20, 2025
qyzhizi added a commit to qyzhizi/Rin that referenced this pull request Oct 20, 2025
qyzhizi added a commit to qyzhizi/Rin that referenced this pull request Jan 7, 2026
OXeu added a commit that referenced this pull request Feb 1, 2026
* feat: Add adjacent feeds feature (Closes #202) (#293)

* style: Add placeholder div

style: Fixed FeedCard width

fix: Can't delete cache

chore: Adding clear adjacent feed cache

refactor: Adjacent feeds API

feat: Adding some cache function

style: Change flex direction on mobile screens

feat: Adding adjacent feeds to the frontend

feat: Adding adjacent feeds API to the backend

* style: 调整上一篇/下一篇样式

Signed-off-by: Xeu <thankrain@qq.com>

---------

Signed-off-by: Xeu <thankrain@qq.com>
Co-authored-by: Sittymin <mail@sittymin.top>

* fix: change adjacent sort strategy by created time

Signed-off-by: Xeu <thankrain@qq.com>

* style: adjust margin

Signed-off-by: Xeu <thankrain@qq.com>

* feat: Add additional translations and improve favicon update logic (#308)

* fix: move getEnv into function for proper initialization (#309)

* chore(deps-dev): bump vitest from 1.3.0 to 1.6.1 (#310)

Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 1.3.0 to 1.6.1.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v1.6.1/packages/vitest)

---
updated-dependencies:
- dependency-name: vitest
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix: locked version

* feat: Add sorting for friend list (#341)

* feat: add Moments feature (#356)

* fix(footer): update copyright year to be dynamic

* feat(editor): add reusable markdown editor component

* feat(db): add moments table and relations

* feat(moments): add moments service with CRUD operations

* feat(moments): add moments feature frontend

* chore: remove unused import

* fix: writing page layout

* style(moments): adjust moments style & remove font cdn

* feat: add error page and router permission handling (#358)

* feat: Implement automatic UI scaling for high-DPI displays (#370)

On high-resolution monitors (e.g., QHD, 4K), the UI elements and fonts appear too small, requiring users to manually zoom the browser for comfortable viewing.

This commit introduces an automatic scaling mechanism to improve readability and user experience on these large displays.

* docs: update documentation url

* docs: update documentation url

* Add cursor pointer to Table of Contents links (#385)

* Add cursor pointer to Table of Contents links

* Set cursor pointer opacity to 50

* fix Bun version (#389)

* fix: 浏览器 无法显示 时间轴的问题 (#391)

* Update DEPLOY.md (#408)

* fix monaco editor IME problem (#407)

* feat: implement AI summary feature with extensive model support (#411)

This commit adds comprehensive AI summary functionality for articles with support for multiple AI providers and models.

**Frontend:**
- Add AI configuration UI in settings with manual save button
- AI enable/disable toggle auto-saves immediately
- Change provider/model inputs from text to select dropdowns for better UX
- Provider/model selection dynamically updates available options
- Add storage event listener to sync AI enabled state across pages
- Add disabled prop support to Button component

**Backend:**
- Add AI configuration table (ai_config) with provider, model, API key, and URL
- Add /ai-config API endpoint for CRUD operations
- Integrate AI summary generation in feed service
- Include AI enabled status in client config response

**AI Providers Supported (5 providers, 70+ models):**
- OpenAI: GPT-5/4/3.5 series (22 models)
- Claude: 4.5/3 series (10 models)
- Gemini: 3/2.5/2.0/1.5 series (14 models)
- DeepSeek: chat/reasoner (2 models)
- Zhipu: GLM-4 series (20 models)

**Performance:**
- Optimize config loading by including AI status in client config
- Reduce API requests per page load from 2 to 1

**i18n:**
- Add translations for AI configuration UI (zh-CN, en, ja, zh-TW)

**Database:**
- Migration 0005.sql adds ai_config table

Co-authored-by: Claude <noreply@anthropic.com>

* feat: support custom models

* fix: custom apiUrl does not work

* refactor: Simplifies the configuration of the local development environment (#417)

* chore: update bun.lockb

* chore: bump bun to 1.3.6

* ci: add pr check workflow

* feat(release): implement automated release workflow with commit-based changelog generation (#418)

Add automated release notes generation from conventional commits

Create commit message convention documentation

Enhance release script to auto-generate CHANGELOG templates

Update release workflow to categorize commits (features, fixes, etc.)

Improve CHANGELOG.md structure with detailed migration guides

Update RELEASE.md documentation with new workflow

The release process now:

Extracts and categorizes commits by type (feat, fix, perf, etc.)

Generates GitHub Release notes automatically

Maintains detailed CHANGELOG.md for migration guides

Enforces conventional commit format through documentation

Refs: improved release mechanism design

* docs: migrate documentation from standalone repo to main repository (#419)

Move all docs from https://github.com/openRin/docs to docs/ directory

Set up Rspress documentation site with bilingual support (zh/en)

Include deploy guides, SEO/RSS configuration, changelog, and contribution guidelines

Update README files to reference the new docs location

Ensure code and documentation are now in sync within the same repository

* docs: migrate remaining documentation to Rspress documentation site (#420)

* docs: migrate remaining docs to documentation site

- Move DEVELOPMENT.md to docs/docs/zh/guide/development.md
- Move COMMIT_CONVENTION.md to docs/docs/zh/guide/commit-convention.md (translated to Chinese)
- Move RELEASE.md to docs/docs/zh/guide/release.md (translated to Chinese)
- Update _meta.json and _nav.json to include new pages
- Remove legacy markdown files from docs/ root

* docs: add English documentation for development, commit convention and release

- Add docs/docs/en/guide/development.md (local development guide)
- Add docs/docs/en/guide/commit-convention.md (commit message convention)
- Add docs/docs/en/guide/release.md (release process)
- Update en/_meta.json and en/_nav.json to include new pages

This completes the bilingual documentation migration for all guide pages.

* docs: update logo for docs & readme

---------

Signed-off-by: Xeu <thankrain@qq.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Sittymin <mail@sittymin.top>
Co-authored-by: Sittymin <45896075+Sittymin@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: nekomoyi <funny_mo_yi@foxmail.com>
Co-authored-by: Antigone Semiotics Club <115871032+AntigoneSemioticsClub@users.noreply.github.com>
Co-authored-by: Zhedong Cen <cenzhedong2@126.com>
Co-authored-by: Zhipeng Luo <2830942138@qq.com>
Co-authored-by: Mao Chenyu <chenyumao815@outlook.com>
Co-authored-by: nicad <36125594+PBnicad@users.noreply.github.com>
Co-authored-by: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants