Add Unsplash plugin#87
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 59363058b1
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| }, | ||
| { | ||
| "action": "waitForURL", | ||
| "url": "https://billing.unsplash.com/*", |
There was a problem hiding this comment.
Use recursive wildcard for billing portal URL match
The waitForURL guard in getDocuments is too narrow for Stripe portal redirects: https://billing.unsplash.com/* only matches a single path segment, while Stripe customer portal URLs are typically nested (for example /p/session/...), so this step can time out and prevent invoice extraction from running at all. Using a recursive pattern here avoids blocking document retrieval when the redirect includes deeper paths.
Useful? React with 👍 / 👎.
| }, | ||
| { | ||
| "action": "checkURL", | ||
| "url": "https://unsplash.com/*/account" |
There was a problem hiding this comment.
Accept direct
/account URL in auth check
The auth check navigates to https://unsplash.com/account but then only accepts https://unsplash.com/*/account; if Unsplash keeps authenticated users on the direct /account route (without an extra segment), checkAuth will report a false unauthenticated state and unnecessarily trigger the login flow. The URL matcher should include the direct account route as well.
Useful? React with 👍 / 👎.
|
Der CI-Fehler ist kein Inhaltsproblem — der Workflow versucht den Branch direkt aus |
|
danke fuer die integrationen!! :) |
Adds support for Unsplash photo subscriptions (Unsplash+).
Billing portal:
https://unsplash.com/account/subscriptions/manageredirects tobilling.unsplash.com(Stripe Customer Portal).Uses the
getInvoicesFromStripeBillingPortalsnippet after following the automatic redirect to the Stripe billing portal.