[PR #5632] [MERGED] enh: open PDF citations on the associated page #8517

Closed
opened 2025-11-11 17:58:34 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/5632
Author: @jannikstdl
Created: 9/23/2024
Status: Merged
Merged: 9/24/2024
Merged by: @tjbck

Base: devHead: dev


📝 Commits (3)

  • ac277e8 enh: CitationsModal
  • 8eb8226 Remove animation import - unsure if animations are desired
  • f69956b fix: only append link with page attribute if metatada.page is available

📊 Changes

3 files changed (+29 additions, -15 deletions)

View changed files

📝 src/lib/components/chat/Messages/CitationsModal.svelte (+23 -13)
📝 src/lib/components/common/Tooltip.svelte (+3 -1)
📝 src/lib/i18n/locales/de-DE/translation.json (+3 -1)

📄 Description

Description

  • If you use PDFs, the file is now opened on the right page of the text snippet citation on supported browsers.
  • Styling changes to clarify to the user that the link is clickable.
  • Additional "tippyOptions" property to add specific properties to the Tooltip (needed to remove the off-mount delay for scrolling containers).
  • "page" is now a i18n key
  • German locales

Changelog Entry

Added

  • 📄 PDF Citation Support & UI Enhancements: PDFs now open directly at the referenced page in supported browsers, improving navigation. Additionally, clickable links in the citation modal have updated styling to make them more visually clear and user-friendly.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/open-webui/pull/5632 **Author:** [@jannikstdl](https://github.com/jannikstdl) **Created:** 9/23/2024 **Status:** ✅ Merged **Merged:** 9/24/2024 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `dev` ← **Head:** `dev` --- ### 📝 Commits (3) - [`ac277e8`](https://github.com/open-webui/open-webui/commit/ac277e8e9ed4a47c019096e74a187e839aa3891b) enh: CitationsModal - [`8eb8226`](https://github.com/open-webui/open-webui/commit/8eb82265d01b18cb58b0ea0a9473cda26aed96d4) Remove animation import - unsure if animations are desired - [`f69956b`](https://github.com/open-webui/open-webui/commit/f69956bda8bb11b9bfc1c0987f149a1243f5b592) fix: only append link with page attribute if metatada.page is available ### 📊 Changes **3 files changed** (+29 additions, -15 deletions) <details> <summary>View changed files</summary> 📝 `src/lib/components/chat/Messages/CitationsModal.svelte` (+23 -13) 📝 `src/lib/components/common/Tooltip.svelte` (+3 -1) 📝 `src/lib/i18n/locales/de-DE/translation.json` (+3 -1) </details> ### 📄 Description ### Description - If you use PDFs, the file is now opened on the right page of the text snippet citation on supported browsers. - Styling changes to clarify to the user that the link is clickable. - Additional "tippyOptions" property to add specific properties to the Tooltip (needed to remove the off-mount delay for scrolling containers). - "page" is now a i18n key - German locales ### Changelog Entry ### Added - **📄 PDF Citation Support & UI Enhancements**: PDFs now open directly at the referenced page in supported browsers, improving navigation. Additionally, clickable links in the citation modal have updated styling to make them more visually clear and user-friendly. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-11 17:58:34 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#8517