Skip to content

Add per-site Webflow configuration#216

Merged
simonsmallchua merged 16 commits into
mainfrom
feat/webflow-site-manage
Jan 4, 2026
Merged

Add per-site Webflow configuration#216
simonsmallchua merged 16 commits into
mainfrom
feat/webflow-site-manage

Conversation

@simonsmallchua
Copy link
Copy Markdown
Contributor

@simonsmallchua simonsmallchua commented Jan 4, 2026

Summary

  • Adds per-site configuration for Webflow sites after OAuth completion
  • Each site can have a schedule (None/6h/12h/24h/48h) and "Run on Publish" toggle
  • Sites displayed in settings modal with search (>5 sites) and pagination (>10 sites)

Changes

  • Database: New webflow_site_settings table with RLS policies
  • Backend: 3 new API endpoints for sites list, schedule, and auto-publish
  • Frontend: Site configuration UI in settings modal with auto-save

New API Endpoints

  • GET /v1/integrations/webflow/{connection_id}/sites - List sites with settings
  • PUT /v1/integrations/webflow/sites/{site_id}/schedule - Update schedule
  • PUT /v1/integrations/webflow/sites/{site_id}/auto-publish - Toggle webhook

Test plan

  • Connect Webflow via OAuth, verify sites appear in modal
  • Change schedule dropdown, verify scheduler created/updated
  • Toggle auto-publish, verify webhook registered/removed
  • Publish in Webflow, verify job created only when toggle is ON
  • Search sites with >5 in workspace
  • Pagination with >10 configured sites

Summary by CodeRabbit

  • New Features

    • Per‑site Webflow configuration UI: searchable, paginated site list with loading/empty states, schedule options (6/12/24/48h), Refresh and Run‑on‑Publish toggles; settings modal auto‑opens after connecting.
  • Bug Fixes

    • Cleans up stored Webflow secrets on connection delete and on token storage failure.
    • Dashboard skips actions prefixed with webflow‑/site‑.
    • Improved schedule dropdown and auto‑publish toggle responsiveness; webhook handling now respects per‑site enablement.
  • Chores

    • Backend APIs, DB schema/migrations and test mocks added to persist per‑site settings, webhooks and schedulers.

✏️ Tip: You can customize this high-level summary in your review settings.

Loading
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.

1 participant