Skip to content

chore: merge develop to main for Cloudflare production deploy - #184

Merged
ayoub3bidi merged 81 commits into
mainfrom
develop
Jun 23, 2026
Merged

chore: merge develop to main for Cloudflare production deploy#184
ayoub3bidi merged 81 commits into
mainfrom
develop

Conversation

@ayoub3bidi

Copy link
Copy Markdown
Owner

Contribution workflow

  • Base branch is main: This PR targets main from develop.
  • Guidelines and docs: Read CONTRIBUTING.md and relevant docs.
  • This template: PR template structure kept; sections below filled in.

Description

This is not a v0.5.0 release PR. It merges develop into main so the Cloudflare Workers production deploy can run on main — the next step in the Netlify → Cloudflare migration.

develop already has the migration merged (#183) and deploys to the staging worker. Merging to main triggers deploy to the production worker (bayan-flow.workers.dev). Custom domains (bayanflow.com, dev.bayanflow.com) stay on Netlify until DNS cutover.

Everything else on develop (tree/graph categories, legal pages, sound work, etc.) ships with this merge because that is how the branches diverged — not because we are cutting a release tag.

Type of Change

  • 🐛 Bug fix (non-breaking change which fixes an issue)
  • ✨ New feature (non-breaking change which adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • 📚 Documentation update
  • 🎨 Style/UI improvement
  • ⚡ Performance improvement
  • 🧪 Test addition or improvement
  • 🔧 Chore (maintenance, dependencies, etc.)

Related Issues

Fixes #

Changes Made

Why this PR exists (migration)

  • wrangler.jsonc — static SPA on dist/, staging / production environments
  • deploy-cloudflare.yml — deploys to production worker after CI passes on main
  • preview-cloudflare.yml — PR previews on staging worker
  • public/_headers — security headers (CSP, HSTS, etc.) ported from Netlify
  • Netlify CI deploy removed; netlify.toml kept for rollback (~2 weeks)
  • Removed public/_redirects (conflicts with Cloudflare SPA routing)

Also included (already on develop, not release-scoped)

develop is ~76 commits ahead of main. Notable work that rides along:

  • Tree traversal + graph algorithm categories (+13 algorithms)
  • Pseudocode tab, sound/export improvements, legal pages, SEO, Phosphor icons
  • Security hardening + Semgrep CI

No version bump or GitHub Release is planned as part of this merge.

Algorithm Details (if applicable)

N/A for migration intent. Registry completeness unchanged on develop.

Testing

  • develop CI green (including Cloudflare staging deploy)
  • After merge: confirm Deploy (Cloudflare Workers) succeeds on main
  • Smoke https://bayan-flow.workers.dev before DNS cutover
  • Quick check: SPA hard refresh on /app, footer Product Hunt badge, one locale switch

Test Results

Rely on latest green CI on develop. Post-merge, verify production worker URL loads.

Screenshots/GIFs

N/A

Code Quality

  • develop branch CI passing
  • No new changes introduced by this PR itself — merge only

Performance Impact

  • No performance impact from migration path (static assets on Workers)

Accessibility

  • N/A — merge only

Breaking Changes

  • CI no longer deploys to Netlify on push to main
  • bayanflow.com DNS unchanged until manual cutover
  • GitHub secrets required: CF_API_TOKEN, CF_ACCOUNT_ID (already configured)

Checklist

Additional Notes

After merge (migration sequence)

  1. Deploy (Cloudflare Workers) runs on mainhttps://bayan-flow.workers.dev
  2. Smoke production workers.dev (SPA refresh, badge, basic app flow)
  3. Uncomment custom-domain routes in wrangler.jsonc, redeploy
  4. Repoint dev.bayanflow.com and bayanflow.com in Cloudflare dashboard
  5. Keep Netlify projects ~2 weeks for rollback, then delete + cleanup netlify.toml

What this PR is not

  • Not the official v0.5.0 release
  • Not a GitHub Release / changelog publish
  • Not permission to delete Netlify yet

Rollback

Point DNS back to Netlify if needed. Netlify projects and netlify.toml remain available.


Reviewer Guidelines:

  • Treat as a migration merge, not a feature release review
  • Confirm Cloudflare deploy workflow will run on main
  • Spot-check for accidental migration blockers only

…-tab

Multilingual pseudocode tab, sort-order control, and theme-safe syntax highlighting
…ance settings panel for tree node count, and update translations
…scenarios

- Added support for graph algorithms including topological sort with scenario options.
- Introduced GraphAlgorithmCategoryVisualizer and GraphAlgorithmMatrixVisualizer components for rendering.
- Implemented GraphScenarioDropdown for selecting graph scenarios.
- Enhanced visual representation with GraphAlgorithmVideoScene and GraphAlgorithmMatrixScene.
- Updated registry and configuration files to accommodate new graph algorithms and scenarios.
- Added tests for new components and functionalities to ensure reliability.
- Remove lucide-react dependency entirely
- Install @phosphor-icons/react v2.1.10
- Map all 33 unique Lucide icons to Phosphor equivalents
- Replace text labels with inline SVG brand icons in footer social links
- Add missing i18n keys for Facebook, Instagram, TikTok in all 3 locales
- Update 5 test file mocks from lucide-react to @phosphor-icons/react
- 1519 tests passing, lint and format clean
…impleIcons

- Add weight=bold to all 58 Phosphor icon render sites across 21 files
- Replace amateur inline SVG brand icons with SimpleIcons (SiYoutube, SiInstagram, SiTiktok) from react-icons
- Remove hand-crafted TikTok music note SVG that looked unprofessional
- Remove Facebook icon from footer entirely
- Fix strokeWidth={1.75} prop on GitHubRepoBadge icon (Lucide prop, now weight=bold)
- All 1519 tests passing, lint and format clean
refactor: replace lucide-react with @phosphor-icons/react + add footer social links
…st Inter, click-to-load YouTube embeds with local thumbnails, and publish Privacy Policy and Terms of Use for public launch.
feat: privacy launch, legal pages, self-hosted fonts, YouTube click-to-load
chore(security): Phase 0 hardening — headers, Semgrep CI, deps
chore: migrate hosting from Netlify to Cloudflare Workers (static assets)
@ayoub3bidi ayoub3bidi self-assigned this Jun 23, 2026
@netlify

netlify Bot commented Jun 23, 2026

Copy link
Copy Markdown

Deploy Preview for dev-bayanflow ready!

Name Link
🔨 Latest commit 2b0e649
🔍 Latest deploy log https://app.netlify.com/projects/dev-bayanflow/deploys/6a3ae74e82cc5a00084b97f7
😎 Deploy Preview https://deploy-preview-184--dev-bayanflow.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai

coderabbitai Bot commented Jun 23, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: bbae0fd2-3542-4a73-bf81-4badf8a75855

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch develop

Comment @coderabbitai help to get the list of available commands.

@github-actions github-actions Bot added documentation Improvements or additions to documentation style Improve styling, design, and animation ci Workflows dependencies algorithm config tests labels Jun 23, 2026
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedreact-router-dom@​7.10.1 ⏵ 7.18.01001006597100
Updated@​vitest/​coverage-v8@​3.2.4 ⏵ 3.2.6991007299 +2100
Updatedvitest@​3.2.4 ⏵ 3.2.698 +1100 +7579 +198100
Updated@​vitest/​ui@​3.2.4 ⏵ 3.2.699 +110082 +199 +2100

View full report

@codecov

codecov Bot commented Jun 23, 2026

Copy link
Copy Markdown

@ayoub3bidi
ayoub3bidi merged commit 0056f87 into main Jun 23, 2026
20 of 22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

algorithm ci Workflows config dependencies documentation Improvements or additions to documentation style Improve styling, design, and animation tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant