Skip to content

chore(import): remove the OptiSigns provider - #3157

Merged
vpetersson merged 2 commits into
masterfrom
chore/remove-optisigns
Jul 8, 2026
Merged

chore(import): remove the OptiSigns provider#3157
vpetersson merged 2 commits into
masterfrom
chore/remove-optisigns

Conversation

@vpetersson

Copy link
Copy Markdown
Contributor

Description

Removes the OptiSigns import provider.

Verification against the OptiSigns GraphQL gateway showed it cannot actually import content:

  • Files: no downloadable URL is exposed for uploaded assets (only a CDN-relative thumbnail key, with no public base to build a URL from, and getAssetDetail returns API_NOT_AVAILABLE). Every image/video would be skipped.
  • Web assets: all point at internal *.optisigns.com apps (weather, social player), which are correctly filtered out.

So an OptiSigns import returned nothing. Rather than ship a button that imports nothing, this removes the provider entirely: the provider module, its tests, the registry entry, and the website/wizard copy. Guessing an S3/CDN base was the only alternative and is not something we want to ship.

The other providers (Yodeck, ScreenCloud, piSignage, Xibo) are unaffected. If we later get an OptiSigns account on a plan that exposes file URLs, re-adding the provider is a new module plus one registry line.

Checklist

  • I have performed a self-review of my own code.
  • New and existing unit tests pass locally and on CI with my changes.
  • I have done an end-to-end test for Raspberry Pi devices.
  • I have tested my changes for x86 devices.
  • I added a documentation for the changes I have made (when necessary).

🤖 Generated with Claude Code

OptiSigns' GraphQL gateway does not expose a downloadable file URL for
uploaded assets (only a CDN-relative thumbnail key with no public base),
and its web assets are internal *.optisigns.com apps, so an import returned
nothing. Rather than ship a provider that imports nothing, remove it:
provider module, registry entry, tests, and the website/wizard copy. The
other providers (Yodeck, ScreenCloud, piSignage, Xibo) are unaffected.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@vpetersson
vpetersson requested a review from a team as a code owner July 8, 2026 12:13
@vpetersson vpetersson self-assigned this Jul 8, 2026
@vpetersson
vpetersson requested a review from Copilot July 8, 2026 12:13

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Removes the OptiSigns content-import provider from Anthias, including its implementation, tests, registry wiring, and user-facing documentation/copy, because the OptiSigns API does not expose usable downloadable URLs for uploaded assets.

Changes:

  • Removed the OptiSigns provider module and its unit tests.
  • Unregistered OptiSigns from the import provider registry.
  • Updated docs and UI copy to no longer mention OptiSigns as a supported import source.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
website/content/docs/importing-content-from-other-platforms.md Removes OptiSigns from supported-platform and CLI/provider documentation.
src/anthias_server/lib/integrations/registry.py Removes OptiSigns provider import and registry entry.
src/anthias_server/lib/integrations/optisigns.py Deletes the OptiSigns GraphQL import provider implementation.
src/anthias_server/lib/integrations/graphql.py Updates GraphQL helper module docstring to reflect current provider usage.
src/anthias_server/lib/integrations/init.py Updates integrations package docstring to remove OptiSigns references.
src/anthias_server/app/views.py Updates import wizard view docstring to remove OptiSigns references.
src/anthias_server/app/templates/settings.html Updates settings template comment to remove OptiSigns references.
src/anthias_server/api/tests/test_optisigns_import.py Deletes OptiSigns provider unit tests.
src/anthias_server/api/tests/_graphql_helpers.py Updates test helper docstring to remove OptiSigns mention.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/anthias_server/lib/integrations/__init__.py Outdated
Comment thread src/anthias_server/app/views.py Outdated
Comment thread src/anthias_server/app/templates/settings.html Outdated
Address Copilot: don't hard-code the provider list in the settings
template, the import view docstring, or the package docstring, so the
comments don't drift as providers change. Also fix an awkward line wrap.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@sonarqubecloud

sonarqubecloud Bot commented Jul 8, 2026

Copy link
Copy Markdown

@vpetersson
vpetersson merged commit e0ec190 into master Jul 8, 2026
9 checks passed
@vpetersson
vpetersson deleted the chore/remove-optisigns branch July 8, 2026 12:24
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.

2 participants