[PR #17534] [CLOSED] feat: Add "Attach Website" Button to the new Plus Menu in Message Input Area #40088

Closed
opened 2026-04-25 12:30:34 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/17534
Author: @Classic298
Created: 9/17/2025
Status: Closed

Base: devHead: attach-website-button


📝 Commits (1)

  • 5fddf41 The 'Attach Website' button is now in the 'More' menu, and it correctly opens the new modal. The feature is fully integrated into the user interface.

📊 Changes

3 files changed (+112 additions, -2 deletions)

View changed files

📝 src/lib/components/chat/MessageInput.svelte (+23 -1)
src/lib/components/chat/MessageInput/AttachWebsiteModal.svelte (+76 -0)
📝 src/lib/components/chat/MessageInput/InputMenu.svelte (+13 -1)

📄 Description

Pull Request Checklist

Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.

Before submitting, make sure you've checked the following:

  • Target branch: Please verify that the pull request targets the dev branch.
  • Description: Provide a concise description of the changes made in this pull request.
  • Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.
  • Documentation: Have you updated relevant documentation Open WebUI Docs, or other documentation sources?
  • Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?
  • Testing: Have you written and run sufficient tests to validate the changes?
  • Code review: Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards?
  • Prefix: To clearly categorize this pull request, prefix the pull request title using one of the following:
    • feat: Introduces a new feature or enhancement to the codebase

Changelog Entry

Description

Added

  • Adds an "Attach Website" Button to the MessageInput.svelte area
  • When clicked, popup modal opens, prompting user to insert URL
  • Will call the existing backend function to load website content
  • Will validate URL and throw error if URL is faulty
  • If URL is good, and function grabbed content, modal closes and fetched website gets added as a document to the chat
  • IN SHORT: a user-friendly and obvious variant of the #URL feature in the chat input.
  • Placeholder of the URL input field directly suggests to the user that YouTube URLs are also possible
  • User friendly

Additional Information

  • [Insert any additional context, notes, or explanations for the changes]
    • [Reference any related issues, commits, or other relevant information]

Contributor License Agreement

By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.


🔄 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/17534 **Author:** [@Classic298](https://github.com/Classic298) **Created:** 9/17/2025 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `attach-website-button` --- ### 📝 Commits (1) - [`5fddf41`](https://github.com/open-webui/open-webui/commit/5fddf41fbb52b43e874632e9de81f34c58cc0bea) The 'Attach Website' button is now in the 'More' menu, and it correctly opens the new modal. The feature is fully integrated into the user interface. ### 📊 Changes **3 files changed** (+112 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/lib/components/chat/MessageInput.svelte` (+23 -1) ➕ `src/lib/components/chat/MessageInput/AttachWebsiteModal.svelte` (+76 -0) 📝 `src/lib/components/chat/MessageInput/InputMenu.svelte` (+13 -1) </details> ### 📄 Description # Pull Request Checklist ### Note to first-time contributors: Please open a discussion post in [Discussions](https://github.com/open-webui/open-webui/discussions) and describe your changes before submitting a pull request. **Before submitting, make sure you've checked the following:** - [X] **Target branch:** Please verify that the pull request targets the `dev` branch. - [X] **Description:** Provide a concise description of the changes made in this pull request. - [X] **Changelog:** Ensure a changelog entry following the format of [Keep a Changelog](https://keepachangelog.com/) is added at the bottom of the PR description. - [X] **Documentation:** Have you updated relevant documentation [Open WebUI Docs](https://github.com/open-webui/docs), or other documentation sources? - [X] **Dependencies:** Are there any new dependencies? Have you updated the dependency versions in the documentation? - [ ] **Testing:** Have you written and run sufficient tests to validate the changes? - [X] **Code review:** Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards? - [X] **Prefix:** To clearly categorize this pull request, prefix the pull request title using one of the following: - **feat**: Introduces a new feature or enhancement to the codebase # Changelog Entry ### Description ### Added - Adds an "Attach Website" Button to the MessageInput.svelte area - When clicked, popup modal opens, prompting user to insert URL - Will call the existing backend function to load website content - Will validate URL and throw error if URL is faulty - If URL is good, and function grabbed content, modal closes and fetched website gets added as a document to the chat - IN SHORT: a user-friendly and obvious variant of the `#URL` feature in the chat input. - Placeholder of the URL input field directly suggests to the user that YouTube URLs are also possible - User friendly --- ### Additional Information - [Insert any additional context, notes, or explanations for the changes] - [Reference any related issues, commits, or other relevant information] ### Contributor License Agreement By submitting this pull request, I confirm that I have read and fully agree to the [Contributor License Agreement (CLA)](https://github.com/open-webui/open-webui/blob/main/CONTRIBUTOR_LICENSE_AGREEMENT), and I am providing my contributions under its terms. --- <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 2026-04-25 12:30:34 -05: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#40088