Skip to content

refactor: consider moving provider doc URLs to API or config — currently hardcoded in source #2534

@AgentWOPR

Description

@AgentWOPR

Repo: wopr-network/wopr-platform-ui

File: src/config/provider-docs.ts:3-16

Static map of providerSlug -> external docs URL (e.g. openai: "https://platform.openai.com/api-keys") shown to users in the channel wizard. These are intentional external links with no secret material, but hardcoded strings require a code change and deployment when a provider rebrands their dashboard.

Fix: If provider URLs change frequently, move the map to a config file loaded at build time or to the platform API. For now, document in CLAUDE.md that changes to external provider URLs require a code change in this file.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions