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
Added e2e tests to cover basic functionality of documents
Add document with tags
Check if edit and delete button available
Check if upload dialog is available
Delete document after test
🔄 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/3982
**Author:** [@jonathan-rohde](https://github.com/jonathan-rohde)
**Created:** 7/18/2024
**Status:** ✅ Merged
**Merged:** 7/19/2024
**Merged by:** [@tjbck](https://github.com/tjbck)
**Base:** `dev` ← **Head:** `fix/missing-tags-add-doc-modal`
---
### 📝 Commits (3)
- [`c6eba8c`](https://github.com/open-webui/open-webui/commit/c6eba8c0a1bd47a77cb225482383bd079cdaa66a) enh: add e2e tests for document list
- [`c3f90ba`](https://github.com/open-webui/open-webui/commit/c3f90ba3477b0a069337e4856495cc2b485d3252) enh: add translation keys
- [`b42d288`](https://github.com/open-webui/open-webui/commit/b42d2886a260fb21e948771893d17141cc23237c) enh: add missing file
### 📊 Changes
**44 files changed** (+225 additions, -1 deletions)
<details>
<summary>View changed files</summary>
➕ `cypress/data/example-doc.txt` (+9 -0)
➕ `cypress/e2e/documents.cy.ts` (+46 -0)
📝 `cypress/support/e2e.ts` (+49 -0)
📝 `cypress/support/index.d.ts` (+2 -0)
📝 `src/lib/components/common/Tags/TagInput.svelte` (+2 -1)
📝 `src/lib/components/workspace/Documents.svelte` (+3 -0)
📝 `src/lib/i18n/locales/ar-BH/translation.json` (+3 -0)
📝 `src/lib/i18n/locales/bg-BG/translation.json` (+3 -0)
📝 `src/lib/i18n/locales/bn-BD/translation.json` (+3 -0)
📝 `src/lib/i18n/locales/ca-ES/translation.json` (+3 -0)
📝 `src/lib/i18n/locales/ceb-PH/translation.json` (+3 -0)
📝 `src/lib/i18n/locales/de-DE/translation.json` (+3 -0)
📝 `src/lib/i18n/locales/dg-DG/translation.json` (+3 -0)
📝 `src/lib/i18n/locales/en-GB/translation.json` (+3 -0)
📝 `src/lib/i18n/locales/en-US/translation.json` (+3 -0)
📝 `src/lib/i18n/locales/es-ES/translation.json` (+3 -0)
📝 `src/lib/i18n/locales/fa-IR/translation.json` (+3 -0)
📝 `src/lib/i18n/locales/fi-FI/translation.json` (+3 -0)
📝 `src/lib/i18n/locales/fr-CA/translation.json` (+3 -0)
📝 `src/lib/i18n/locales/fr-FR/translation.json` (+3 -0)
_...and 24 more files_
</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.
- [ ] **Changelog:** Ensure a changelog entry following the format of [Keep a Changelog](https://keepachangelog.com/) is added at the bottom of the PR description.
- [ ] **Documentation:** Have you updated relevant documentation [Open WebUI Docs](https://github.com/open-webui/docs), or other documentation sources?
- [ ] **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
- Addition to https://github.com/open-webui/open-webui/pull/3972
- Added e2e tests to cover basic functionality of documents
- Add document with tags
- Check if edit and delete button available
- Check if upload dialog is available
- Delete document after test
---
<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/3982
Author: @jonathan-rohde
Created: 7/18/2024
Status: ✅ Merged
Merged: 7/19/2024
Merged by: @tjbck
Base:
dev← Head:fix/missing-tags-add-doc-modal📝 Commits (3)
c6eba8cenh: add e2e tests for document listc3f90baenh: add translation keysb42d288enh: add missing file📊 Changes
44 files changed (+225 additions, -1 deletions)
View changed files
➕
cypress/data/example-doc.txt(+9 -0)➕
cypress/e2e/documents.cy.ts(+46 -0)📝
cypress/support/e2e.ts(+49 -0)📝
cypress/support/index.d.ts(+2 -0)📝
src/lib/components/common/Tags/TagInput.svelte(+2 -1)📝
src/lib/components/workspace/Documents.svelte(+3 -0)📝
src/lib/i18n/locales/ar-BH/translation.json(+3 -0)📝
src/lib/i18n/locales/bg-BG/translation.json(+3 -0)📝
src/lib/i18n/locales/bn-BD/translation.json(+3 -0)📝
src/lib/i18n/locales/ca-ES/translation.json(+3 -0)📝
src/lib/i18n/locales/ceb-PH/translation.json(+3 -0)📝
src/lib/i18n/locales/de-DE/translation.json(+3 -0)📝
src/lib/i18n/locales/dg-DG/translation.json(+3 -0)📝
src/lib/i18n/locales/en-GB/translation.json(+3 -0)📝
src/lib/i18n/locales/en-US/translation.json(+3 -0)📝
src/lib/i18n/locales/es-ES/translation.json(+3 -0)📝
src/lib/i18n/locales/fa-IR/translation.json(+3 -0)📝
src/lib/i18n/locales/fi-FI/translation.json(+3 -0)📝
src/lib/i18n/locales/fr-CA/translation.json(+3 -0)📝
src/lib/i18n/locales/fr-FR/translation.json(+3 -0)...and 24 more files
📄 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:
devbranch.Changelog Entry
Description
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.