Rework the function editor demo - #17
Conversation
Protect the editor and API with a basic login flow backed by signed, HttpOnly session cookies. Add login and logout UI, session expiry handling, tests, and configuration documentation. Signed-off-by: Han Verstraete (OpenFaaS Ltd) <han@openfaas.com>
Build the React UI and serve it from the Express API in a non-root runtime image. Include the OpenFaaS CLI and Node 20 template, container health checks, SPA routing, and deployment documentation. Signed-off-by: Han Verstraete (OpenFaaS Ltd) <han@openfaas.com>
Package the function editor with health probes, Secret-backed OpenFaaS credentials, a ClusterIP Service, ttl.sh image defaults, and Kubernetes setup documentation. Signed-off-by: Han Verstraete (OpenFaaS Ltd) <han@openfaas.com>
Align the editor with the OpenFaaS dashboard, add official branding, simplify navigation, and improve the layout on small screens. Signed-off-by: Han Verstraete (OpenFaaS Ltd) <han@openfaas.com>
Use the OpenFaaS node24 template for function builds and update the editor runtime label. Signed-off-by: Han Verstraete (OpenFaaS Ltd) <han@openfaas.com>
Introduce template switching, hash-based deployment status, responsive function tabs, live build logs, and sticky deployment controls. Signed-off-by: Han Verstraete (OpenFaaS Ltd) <han@openfaas.com>
Flatten the invoke and response layout, improve responsive styling, and normalize button focus behavior across browsers. Signed-off-by: Han Verstraete (OpenFaaS Ltd) <han@openfaas.com>
0bc7355 to
6e601b9
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Make Helm the primary installation path, document chart configuration, refresh the README and screenshot, and update the Chart to use the OpenFaaS gateway and builder secrets by default. Signed-off-by: Han Verstraete (OpenFaaS Ltd) <han@openfaas.com>
Build multi-architecture images on version tags and publish SHA, release, and latest tags to GHCR. Signed-off-by: Han Verstraete (OpenFaaS Ltd) <han@openfaas.com>
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Clarify the demo scope, link supported templates, outline the architecture, and document build performance and Function Builder configuration considerations. Signed-off-by: Han Verstraete (OpenFaaS Ltd) <han@openfaas.com>
Hide Monaco's iOS keyboard overlay and prevent automatic viewport zoom when focusing editor or authentication inputs. Signed-off-by: Han Verstraete (OpenFaaS Ltd) <han@openfaas.com>
Report readiness only after all template files are available and keep liveness separate. Recover from malformed saved workspace state by falling back to the default template. Signed-off-by: Han Verstraete (OpenFaaS Ltd) <han@openfaas.com>
78b2fb7 to
8a5e13f
Compare
AI Pull Request OverviewDisclaimer: This review was generated by automated AI and may contain errors. Do not trust its outputs without human verification. Summary
Approval rating (1-10)7/10. The feature is coherent, but the backend needs stricter function-name validation before merge. Summary per fileSummary per file
Overall AssessmentThe PR is a substantial and mostly cohesive rework of the demo. The packaging and UI changes fit the described workflow, and the new authentication layer is covered by focused tests. The main issue is that the backend accepts Detailed ReviewDetailed ReviewFindingsHigh: Validate
|
Description
Reworks the function editor demo with authentication, container and Helm packaging, multi-template support, streamed build output, and refreshed editor and testing interfaces.
Motivation and context
Improve the demo with an updated browser-based workflow for editing, building, deploying, and testing OpenFaaS functions.
How has this been tested
Validated with automated tests, ESLint, production and container builds, and deployment to a K3s cluster.