[PR #4790] [MERGED] Refactor Managed Services in "Data Handling & Privacy" Onboarding Step to Use Their Privacy Policy URL #4772

Closed
opened 2026-02-22 18:36:30 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/4790
Author: @angelplusultra
Created: 12/16/2025
Status: Merged
Merged: 12/18/2025
Merged by: @timothycarambat

Base: masterHead: 4184-provide-privacy-policy-links-in-onboarding


📝 Commits (10+)

  • 200664c Refactor non-local LLM Provider, Vector Database, and Embedding Engine privacy information to use their policy URLs instead of descriptions
  • d914b28 Update LLM Provider, Embedding Engine, and Vector Database sections to include privacy policy links
  • 9dfc610 fix broken links, lint
  • 8c66ce7 Merge branch 'master' of github.com:Mintplex-Labs/anything-llm into 4184-provide-privacy-policy-links-in-onboarding
  • 038316a Update AstraDB privacy policy URL in onboarding flow
  • d623bb1 Refactor AnythingLLM Privacy & Data page to show managed provider privacy policy URLs
  • 94c5ccf Update Mistral privacy policy URLs in onboarding flow for consistency
  • 372f20d Abstract privacy policies of providers into a reusable component | Refactor Privacy & Data Handling Step of onboarding flow to focus on solely rendering that step | Move provider privacy policy maps into constants.js
  • af667ab Remove commented-out code for third-party provider privacy policies in Privacy and Data Handling component
  • 661baee Update privacy policy descriptions for consistency by adding periods at the end of sentences in ProviderPrivacy component and constants.js

📊 Changes

5 files changed (+502 additions, -668 deletions)

View changed files

frontend/src/components/ProviderPrivacy/constants.js (+376 -0)
frontend/src/components/ProviderPrivacy/index.jsx (+119 -0)
📝 frontend/src/locales/en/common.js (+1 -1)
📝 frontend/src/pages/GeneralSettings/PrivacyAndData/index.jsx (+3 -91)
📝 frontend/src/pages/OnboardingFlow/Steps/DataHandling/index.jsx (+3 -576)

📄 Description

Pull Request Type

  • feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 🔨 chore
  • 📝 docs

Relevant Issues

resolves #4184

What is in this change?

This PR refactors the "Data Handling & Privacy" step in the onboarding flow where managed LLM Providers, Embedding Providers and Vector Databases use their privacy policy URL instead of hardcoded privacy policy details. Local services (e.g Ollama) still use hardcoded details.

All URLs have been manually verified.

This PR also:

  • Applies light polishes to the UI to improve presentation.
  • Deletes all unused description fields in managed services to reduce code bloat.

Before

image

After

image

Additional Information

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated
  • I have tested my code functionality
  • Docker build succeeds locally

🔄 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/Mintplex-Labs/anything-llm/pull/4790 **Author:** [@angelplusultra](https://github.com/angelplusultra) **Created:** 12/16/2025 **Status:** ✅ Merged **Merged:** 12/18/2025 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `4184-provide-privacy-policy-links-in-onboarding` --- ### 📝 Commits (10+) - [`200664c`](https://github.com/Mintplex-Labs/anything-llm/commit/200664cad322534149ee0db576ac7e1e44b45776) Refactor non-local LLM Provider, Vector Database, and Embedding Engine privacy information to use their policy URLs instead of descriptions - [`d914b28`](https://github.com/Mintplex-Labs/anything-llm/commit/d914b284763fb3320e25a5c7288744b75c84015c) Update LLM Provider, Embedding Engine, and Vector Database sections to include privacy policy links - [`9dfc610`](https://github.com/Mintplex-Labs/anything-llm/commit/9dfc610cd40cc7f068ed8421c5d4dd0031e78760) fix broken links, lint - [`8c66ce7`](https://github.com/Mintplex-Labs/anything-llm/commit/8c66ce749796b634ce9caa505123cbf467775616) Merge branch 'master' of github.com:Mintplex-Labs/anything-llm into 4184-provide-privacy-policy-links-in-onboarding - [`038316a`](https://github.com/Mintplex-Labs/anything-llm/commit/038316ade4fac19ee7823f4f143ad1755484e28b) Update AstraDB privacy policy URL in onboarding flow - [`d623bb1`](https://github.com/Mintplex-Labs/anything-llm/commit/d623bb1901f2216d84fddf04ae8314b49dbfe476) Refactor AnythingLLM Privacy & Data page to show managed provider privacy policy URLs - [`94c5ccf`](https://github.com/Mintplex-Labs/anything-llm/commit/94c5ccf34be5b95526ff179396954290beab8cb8) Update Mistral privacy policy URLs in onboarding flow for consistency - [`372f20d`](https://github.com/Mintplex-Labs/anything-llm/commit/372f20d1b3793c2cfb4f862a3f29711ccff2981f) Abstract privacy policies of providers into a reusable component | Refactor Privacy & Data Handling Step of onboarding flow to focus on solely rendering that step | Move provider privacy policy maps into constants.js - [`af667ab`](https://github.com/Mintplex-Labs/anything-llm/commit/af667ab46b408156198c3220026009cbcd84f99f) Remove commented-out code for third-party provider privacy policies in Privacy and Data Handling component - [`661baee`](https://github.com/Mintplex-Labs/anything-llm/commit/661baeef6c15fe4324f7ea1f545a63743c0cd470) Update privacy policy descriptions for consistency by adding periods at the end of sentences in ProviderPrivacy component and constants.js ### 📊 Changes **5 files changed** (+502 additions, -668 deletions) <details> <summary>View changed files</summary> ➕ `frontend/src/components/ProviderPrivacy/constants.js` (+376 -0) ➕ `frontend/src/components/ProviderPrivacy/index.jsx` (+119 -0) 📝 `frontend/src/locales/en/common.js` (+1 -1) 📝 `frontend/src/pages/GeneralSettings/PrivacyAndData/index.jsx` (+3 -91) 📝 `frontend/src/pages/OnboardingFlow/Steps/DataHandling/index.jsx` (+3 -576) </details> ### 📄 Description ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [ ] ✨ feat - [ ] 🐛 fix - [x] ♻️ refactor - [ ] 💄 style - [ ] 🔨 chore - [ ] 📝 docs ### Relevant Issues <!-- Use "resolves #xxx" to auto resolve on merge. Otherwise, please use "connect #xxx" --> resolves #4184 ### What is in this change? <!-- Describe the changes in this PR that are impactful to the repo. --> This PR refactors the "Data Handling & Privacy" step in the onboarding flow where **managed** LLM Providers, Embedding Providers and Vector Databases use their privacy policy URL instead of hardcoded privacy policy details. Local services (e.g Ollama) still use hardcoded details. All URLs have been manually verified. This PR also: - Applies light polishes to the UI to improve presentation. - Deletes all unused `description` fields in managed services to reduce code bloat. ### Before <img width="1526" height="721" alt="image" src="https://github.com/user-attachments/assets/5a3557f1-d595-4f54-8faf-e2c3abca28f0" /> ### After <img width="1526" height="721" alt="image" src="https://github.com/user-attachments/assets/9dfe9b43-4ded-44bb-a887-b22b885686b8" /> ### Additional Information <!-- Add any other context about the Pull Request here that was not captured above. --> ### Developer Validations <!-- All of the applicable items should be checked. --> - [x] I ran `yarn lint` from the root of the repo & committed changes - [x] Relevant documentation has been updated - [x] I have tested my code functionality - [x] Docker build succeeds locally --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-22 18:36:30 -05:00
yindo closed this issue 2026-02-22 18:36:30 -05:00
yindo changed title from [PR #4790] Refactor Managed Services in "Data Handling & Privacy" Onboarding Step to Use Their Privacy Policy URL to [PR #4790] [MERGED] Refactor Managed Services in "Data Handling & Privacy" Onboarding Step to Use Their Privacy Policy URL 2026-06-05 15:20:18 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#4772