Repository navigation
Fix Dockerfile, httpOnly cookies, custom fields persistence and developer API keys - #1691
Merged
yusuftomilola merged 8 commits intoOct 17, 2026
Conversation
|
@RUKAYAT-CODER Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
|
@RUKAYAT-CODER is attempting to deploy a commit to the naijabuz's projects Team on Vercel. A member of the Team first needs to authorize it. |
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR addresses four frontend issues with small, focused changes:
#1620 - Add a Dockerfile and compose service for the frontend
frontend/Dockerfile(multi-stage: deps, builder, standalone runner with non-root user and healthcheck).output: "standalone"innext.config.ts.frontendservice todocker-compose.ymlwithNEXT_PUBLIC_API_URL.#1619 - Move tokens from localStorage to httpOnly cookies
store/auth.store.tsto remove alllocalStoragetoken writes anddocument.cookiemanipulation.HttpOnly; Secure; SameSite=Laxcookies by the backend; the client sendswithCredentials.#1616 - Custom fields page persists via API
lib/api/custom-fields.tswith a typed API client (list, create, update, delete, toggleActive).settings/custom-fields/page.tsxto load and persist field definitions through the API on mount and on changes.#1615 - Developer settings use API instead of Math.random
lib/api/developer-settings.tswith a typed API client (list/create/revoke API keys, list/create/delete/test webhooks, rotate webhook secrets).settings/developers/page.tsxto load keys/webhooks from the API and create them via API calls instead of generating secrets client-side withMath.random.Closes #1620
Closes #1619
Closes #1616
Closes #1615