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 for validating 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 cleary categorize this pull request, prefix the pull request title, using one of the following:
BREAKING CHANGE: Significant changes that may affect compatibility
build: Changes that affect the build system or external dependencies
ci: Changes to our continuous integration processes or workflows
chore: Refactor, cleanup, or other non-functional code changes
docs: Documentation update or addition
feat: Introduces a new feature or enhancement to the codebase
fix: Bug fix or error correction
i18n: Internationalization or localization changes
perf: Performance improvement
refactor: Code restructuring for better maintainability, readability, or scalability
style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc.)
test: Adding missing tests or correcting existing tests
WIP: Work in progress, a temporary label for incomplete or ongoing work
Changelog Entry
Description
Adds haptic feedback in the form of phone vibration during response streaming.
Added
Haptic Feedback (vibration) during response streaming, similar to the ChatGPT mobile app
Changed
N/A
Deprecated
N/A
Removed
N/A
Fixed
N/A
Security
N/A
Breaking Changes
N/A
Additional Information
Since the navigator.vibrate API is not supported on iOS browsers, this feature will only be noticeable on non iOS devices (e.g. Android)
🔄 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/4301
**Author:** [@dannyl1u](https://github.com/dannyl1u)
**Created:** 8/2/2024
**Status:** ❌ Closed
**Base:** `dev` ← **Head:** `feat/haptic-feedback-mobile`
---
### 📝 Commits (10+)
- [`5ebb9eb`](https://github.com/open-webui/open-webui/commit/5ebb9eb1d1893ca1a4db00234b769c27f1669481) feat: haptic feedback on mobile
- [`ac1e51a`](https://github.com/open-webui/open-webui/commit/ac1e51a4647ab905cce58a62d8952afbda7e3431) undo diff on unchanged file
- [`7707f3b`](https://github.com/open-webui/open-webui/commit/7707f3b3db18abe30708a3a0b9069e304ced23dc) style: npm run format
- [`c0e0e34`](https://github.com/open-webui/open-webui/commit/c0e0e348c2aa11785d00d6a62f8f4a5b38620665) Merge branch 'dev' into feat/haptic-feedback-mobile
- [`a1458e7`](https://github.com/open-webui/open-webui/commit/a1458e7205d0354a6bc9f8fb3a8b7628c486bb66) undo diff
- [`cec5fdd`](https://github.com/open-webui/open-webui/commit/cec5fdd14430455153802ee3a8abeecf31e9653d) Added EXTRA_MODULES argument
- [`71d88fe`](https://github.com/open-webui/open-webui/commit/71d88fe35d68dc8ba5907d63fb787ea33bed072e) revert
- [`367fa03`](https://github.com/open-webui/open-webui/commit/367fa039a0fa0f7d3599437421057186549761e2) added install_frontmatter_requirements
- [`879f858`](https://github.com/open-webui/open-webui/commit/879f85802a2097de39e06bcdf23f69e09e8067cd) chore(deps): bump chromadb from 0.5.4 to 0.5.5 in /backend
- [`549d3b4`](https://github.com/open-webui/open-webui/commit/549d3b4d10c2ecd384774d9f717b0b64d38120dc) chore(deps): bump langchain from 0.2.11 to 0.2.12 in /backend
### 📊 Changes
**96 files changed** (+2475 additions, -3812 deletions)
<details>
<summary>View changed files</summary>
📝 `.github/ISSUE_TEMPLATE/bug_report.md` (+21 -24)
📝 `.github/workflows/integration-test.yml` (+4 -11)
📝 `CHANGELOG.md` (+0 -53)
📝 `backend/apps/images/main.py` (+3 -20)
📝 `backend/apps/images/utils/comfyui.py` (+11 -170)
📝 `backend/apps/ollama/main.py` (+309 -84)
📝 `backend/apps/openai/main.py` (+141 -75)
📝 `backend/apps/socket/main.py` (+12 -15)
📝 `backend/apps/webui/main.py` (+44 -5)
📝 `backend/apps/webui/models/chats.py` (+4 -5)
📝 `backend/apps/webui/routers/chats.py` (+5 -16)
📝 `backend/apps/webui/routers/tools.py` (+18 -13)
📝 `backend/config.py` (+0 -28)
📝 `backend/main.py` (+16 -14)
📝 `backend/requirements.txt` (+10 -11)
📝 `backend/utils/misc.py` (+3 -87)
📝 `backend/utils/task.py` (+2 -1)
📝 `backend/utils/utils.py` (+6 -3)
📝 `cypress/e2e/chat.cy.ts` (+13 -18)
📝 `docs/SECURITY.md` (+3 -19)
_...and 76 more files_
</details>
### 📄 Description
# Pull Request Checklist
Closes #3513
Tested on Samsung Galaxy S21
### 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?
- [x] **Testing:** Have you written and run sufficient tests for validating 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 cleary categorize this pull request, prefix the pull request title, using one of the following:
- **BREAKING CHANGE**: Significant changes that may affect compatibility
- **build**: Changes that affect the build system or external dependencies
- **ci**: Changes to our continuous integration processes or workflows
- **chore**: Refactor, cleanup, or other non-functional code changes
- **docs**: Documentation update or addition
- **feat**: Introduces a new feature or enhancement to the codebase
- **fix**: Bug fix or error correction
- **i18n**: Internationalization or localization changes
- **perf**: Performance improvement
- **refactor**: Code restructuring for better maintainability, readability, or scalability
- **style**: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc.)
- **test**: Adding missing tests or correcting existing tests
- **WIP**: Work in progress, a temporary label for incomplete or ongoing work
# Changelog Entry
### Description
- Adds haptic feedback in the form of phone vibration during response streaming.
### Added
- Haptic Feedback (vibration) during response streaming, similar to the ChatGPT mobile app
### Changed
- N/A
### Deprecated
- N/A
### Removed
- N/A
### Fixed
- N/A
### Security
- N/A
### Breaking Changes
- N/A
---
### Additional Information
- Since the `navigator.vibrate` API is not supported on iOS browsers, this feature will only be noticeable on non iOS devices (e.g. Android)
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/4301
Author: @dannyl1u
Created: 8/2/2024
Status: ❌ Closed
Base:
dev← Head:feat/haptic-feedback-mobile📝 Commits (10+)
5ebb9ebfeat: haptic feedback on mobileac1e51aundo diff on unchanged file7707f3bstyle: npm run formatc0e0e34Merge branch 'dev' into feat/haptic-feedback-mobilea1458e7undo diffcec5fddAdded EXTRA_MODULES argument71d88ferevert367fa03added install_frontmatter_requirements879f858chore(deps): bump chromadb from 0.5.4 to 0.5.5 in /backend549d3b4chore(deps): bump langchain from 0.2.11 to 0.2.12 in /backend📊 Changes
96 files changed (+2475 additions, -3812 deletions)
View changed files
📝
.github/ISSUE_TEMPLATE/bug_report.md(+21 -24)📝
.github/workflows/integration-test.yml(+4 -11)📝
CHANGELOG.md(+0 -53)📝
backend/apps/images/main.py(+3 -20)📝
backend/apps/images/utils/comfyui.py(+11 -170)📝
backend/apps/ollama/main.py(+309 -84)📝
backend/apps/openai/main.py(+141 -75)📝
backend/apps/socket/main.py(+12 -15)📝
backend/apps/webui/main.py(+44 -5)📝
backend/apps/webui/models/chats.py(+4 -5)📝
backend/apps/webui/routers/chats.py(+5 -16)📝
backend/apps/webui/routers/tools.py(+18 -13)📝
backend/config.py(+0 -28)📝
backend/main.py(+16 -14)📝
backend/requirements.txt(+10 -11)📝
backend/utils/misc.py(+3 -87)📝
backend/utils/task.py(+2 -1)📝
backend/utils/utils.py(+6 -3)📝
cypress/e2e/chat.cy.ts(+13 -18)📝
docs/SECURITY.md(+3 -19)...and 76 more files
📄 Description
Pull Request Checklist
Closes #3513
Tested on Samsung Galaxy S21
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:
devbranch.Changelog Entry
Description
Added
Changed
Deprecated
Removed
Fixed
Security
Breaking Changes
Additional Information
navigator.vibrateAPI is not supported on iOS browsers, this feature will only be noticeable on non iOS devices (e.g. Android)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.