Skip to content

Add Cloudflare Workers configuration - #95

Open
cloudflare-workers-and-pages[bot] wants to merge 13 commits into
mainfrom
cloudflare/workers-autoconfig
Open

Add Cloudflare Workers configuration#95
cloudflare-workers-and-pages[bot] wants to merge 13 commits into
mainfrom
cloudflare/workers-autoconfig

Conversation

@cloudflare-workers-and-pages

Copy link
Copy Markdown

This PR configures your project for Cloudflare Workers deployment using Wrangler autoconfig.

Merging this PR commits the configuration to your repository, enabling faster deployments and version controlled settings.

Detected settings:

  • Framework: vite
  • Build command: pnpm run build
  • Deploy command: pnpm wrangler deploy
  • Version (non-production deploy) command: pnpm wrangler versions upload

Note: For this PR, we used these detected settings to generate a working preview. When merged, we'll override your build and deploy commands if they don't match what's currently configured, ensuring successful deployments for your setup.

Next steps after merging:
Your Worker configuration lives in wrangler.jsonc. You can now:


View build details · Join the discussion for questions or feedback

Omar-0O and others added 13 commits June 30, 2026 20:53
Updated the Submission Management low participation filter to require less than 8 submissions for project responsibles and responsibles, and less than 4 for all other levels (like under follow-up). The dialog description text has also been updated in both English and Arabic to reflect this new logic accurately.

Co-authored-by: Omar-0O <189334282+Omar-0O@users.noreply.github.com>
Update Low Participation Filter Logic in Submission Management
- client.ts: fix session storage race condition by defaulting to
  localStorage unless rememberMe is explicitly 'false'. Previously,
  timing issues could cause the session to be saved in sessionStorage,
  which gets wiped on page refresh causing unexpected logouts.

- AuthContext.tsx: fix stale closure in onAuthStateChange by replacing
  profile state read with a profileIdRef. The old code captured a
  stale snapshot of profile (null) in the useEffect closure, causing
  fetchProfile to run unnecessarily on every auth event.

- Auth.tsx: add kiosk branch shortcut — entering a branch name with
  no password redirects directly to /kiosk with that branch pre-selected.
  Also update email field to accept both email and branch name.

docs: add bug-report-auto-logout.md documenting the root cause and fix
@vercel

vercel Bot commented Jul 13, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
rtc Ready Ready Preview, Comment Jul 13, 2026 8:06pm

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 13, 2026

Copy link
Copy Markdown
Author

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
❌ Deployment failed
View logs
rtc 14b574c Jul 13 2026, 08:05 PM

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