Frontend guidelines (React + TypeScript)
This document contains coding standards for the Databasus frontend (React 19 + TypeScript + Vite + Mantine + TailwindCSS).
The rules for every module are in the root `AGENTS.md`.
---
## Table
9.3k5d agoReviewMountCreate a free account to mount
operational UI.
- **Backend**: Go, exposing a gRPC API with a REST/OpenAPI gateway.
- **Frontend**: TypeScript + React, built with Vite.
- **Infrastructure**: PostgreSQL (state) and RabbitMQ (messaging), run via Docker.
- The application name
9.1k17d agoReviewMountCreate a free account to mount
Astron Agent is an enterprise-grade Agentic Workflow development platform. It includes the console frontend and backend, multiple core microservices, a plugin system, and deployment and infrastructure configuration. The repository
No other project uses it yet
8.9k3mo agoReviewMountCreate a free account to mount
rust integrates here** - Rust functions are called from this codebase
- **dashboard consumes this API** - Frontend uses the FastAPI routes and controller files.
### Technology Stack
- **Python** - Primary language
- **FastAPI** - API framework
8.8k4mo agoReviewMountCreate a free account to mount
runtime polymorphism only at genuine runtime boundaries such as
providers, storage backends, platform services, frontends, and integrations.
- **MUST NOT** add allocation, virtual dispatch, type erasure, reference counting,
or synchronization unless
8.8k5mo agoReviewMountCreate a free account to mount
Embedded web server module that provides Ktor server startup function and hosts static frontend build files (
built from web-ui/ React project)
- **workspace**: Sandboxed per-workspace file system and shell
No other project uses it yet
8.7k22d agoReviewMountCreate a free account to mount
Slack, webhook, etc.).
- Language: Go (see `go.mod` for the required version, currently `go 1.26`).
- Frontend (legacy): Elm app under `ui/app/` (Node version pinned in `.nvmrc`).
- Frontend (new): React + TypeScript + Mantine
Steady3 mentions in 2 weeks
No other project uses it yet
8.7k5mo agoReviewMountCreate a free account to mount
dashboards using a `custom_component` as
bootstrap glue. Tells: "card", "theme", "dashboard", "icon pack",
"frontend" in the description. Those go under Dashboard Cards / Themes
/ Icon packs / Dashboards, never under Custom
No other project uses it yet
8.6k6mo agoReviewMountCreate a free account to mount
tests
- Run `yarn install` to install JavaScript dependencies
- Run `yarn encore dev` to compile frontend assets
## PHP Code
- Use modern PHP 8.2+ syntax and features
- Declare `strict_types
8.6k14mo agoReviewMountCreate a free account to mount
rest of the available locales. NEVER hard-code plain English in the frontend, instead use the available `i18next` library and the respective translations.
For the REST framework
1 project uses a version of this
8.5k6mo agoReviewMountCreate a free account to mount
runtime commands, and
`imagePullPolicy: IfNotPresent`. Every beta component sets both offline
environment variables; beta Frontends do not mount the cache, and beta
backend workers run as UID/GID 0 with
Steady3 mentions in 2 weeks
No other project uses it yet
8.5k6d agoReviewMountCreate a free account to mount
Version 24.x LTS (for asset compilation)
- **Yarn**: Version 4.x (package manager for frontend assets)
## Building the Project
### Command Line
```bash
# Navigate to the web project
cd src/OrchardCore.Cms.Web
8.2k26d agoReviewMountCreate a free account to mount
OpenCoworkAIPipes a download into a shellAGENTS.md
package.json`, workspace manifests, and `pnpm-lock.yaml`. Read those files instead of trusting stale docs.
### Frontend
- React + Vite + Tailwind v4 + CSS variables.
- State uses Zustand. Do not introduce Redux, Recoil, or MobX
8.2k6mo agoReviewMountCreate a free account to mount
AGENTS.md
## Frontend
The web interface lives in `graylog2-web-interface/` and has its own conventions. Before modifying frontend code, you must read `graylog2-web-interface/AGENTS.md` and follow its conventions
8.2k16mo agoReviewMountCreate a free account to mount
eslint-disable` or a
baseline entry to get green is not a fix. The frontend has no baseline (its `tsc` reports zero
errors); the backend mypy baseline only shrinks
8.1k7mo agoReviewMountCreate a free account to mount