Skip to content

Add privacy warning to Document Embedding widget (#1089)#1117

Closed
leskovecg wants to merge 1 commit intomasterfrom
fix-privacy-warning-clean
Closed

Add privacy warning to Document Embedding widget (#1089)#1117
leskovecg wants to merge 1 commit intomasterfrom
fix-privacy-warning-clean

Conversation

@leskovecg
Copy link
Collaborator

Add Privacy Warning to Document Embedding Widget (#1089)

Issue

Fixes #1089

Description of Changes

This PR adds an informational message to the Document Embedding widget to inform users that the widget sends documents to an external server (api.garaza.io).
The goal is to help users avoid submitting sensitive or private data unintentionally.

  • Added self.Information.privacy_warning() to the widget’s __init__ method.
  • Shown message:

    "This widget sends documents to an external server. Avoid using it with sensitive data."

Includes

  • Code changes
  • Tests
  • Documentation

@ajdapretnar
Copy link
Collaborator

This looks good. I'm just wondering whether we should use UserAdviceMessages instead? Otherwise there is a constant exclamation over the widget. @janezd?
Screenshot 2025-05-09 at 12 58 47

@janezd
Copy link
Contributor

janezd commented Jul 7, 2025

I'm just wondering whether we should use UserAdviceMessages instead? Otherwise there is a constant exclamation over the widget. @janezd?

I agree. Either UserAdviceMessage or even a permanent label within the widget.

@ajdapretnar
Copy link
Collaborator

Closed in favour of #1134.

@ajdapretnar ajdapretnar closed this Sep 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Text mining add-on and data privacy

3 participants