super-productivity/packages/plugin-dev/trello-issue-provider
Johannes Millan be50775c9c feat(plugins): migrate Trello issue provider to a plugin
Move the built-in Trello provider out of core into a bundled plugin
(packages/plugin-dev/trello-issue-provider), mirroring the prior
GitHub/ClickUp/Gitea/Linear migrations.

- Board selection is now a dynamic `select` config field backed by
  `loadOptions` (member + organization boards, merged) instead of the
  bespoke `trello_additional_cfg` board-picker component, which is
  deleted along with its `@case('TRELLO')` in the edit dialog.
- Credentials are sent via Trello's `Authorization: OAuth` header rather
  than `key`/`token` URL query params, so they never appear in request
  URLs or error logs (keeps the redaction from #8459 intact).
- Card attachments are surfaced as markdown links in the issue display;
  the plugin model has no attachment hook, so the previous inline
  preview / attachment-count is dropped.
- `getIssueLink` derives `https://trello.com/c/<shortLink>` directly;
  isDone maps from a card being archived (closed).
- issue-provider.reducer migrates legacy TRELLO providers to plugin
  shape on load (boardName listed first so the tooltip keeps showing
  the board name); auto-enable already covers migrated keys generically.
- i18n: the built-in config form was hard-coded English, but the
  issue-content display labels used shared translated keys. Ship all 28
  app locales — DISPLAY.* and the token-help link sourced from the
  shared F.ISSUE.ISSUE_CONTENT.* / HOW_TO_GET_A_TOKEN translations, with
  the never-translated config-field labels kept in English per locale.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-18 14:37:39 +02:00
..
i18n
scripts
src
icon.svg
package-lock.json
package.json
tsconfig.json