You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Formatters: `formatBytes()`, `formatDateTime()` from `src/utils/dataFormatters/`
94
161
- Time parsing: utilities in `src/utils/timeParsers/`
95
162
- Query utilities: `src/utils/query.ts` for SQL/YQL helpers
96
163
164
+
## Development Commands
165
+
166
+
```bash
167
+
npm run lint # Run all linters before committing
168
+
npm run typecheck # TypeScript type checking
169
+
npm run unused # Find unused code
170
+
```
171
+
97
172
## Before Making Changes
98
173
99
174
- Run `npm run lint` and `npm run typecheck` before committing
100
175
- Follow conventional commit message format
101
176
- Use conventional commit format for PR titles with lowercase subjects (e.g., "fix: update api endpoints", "feat: add new component", "chore: update dependencies")
102
177
- PR title subjects must be lowercase (no proper nouns, sentence-case, start-case, pascal-case, or upper-case)
178
+
- PR title must not exceed 72 characters (keep them concise and descriptive)
103
179
- Ensure all user-facing text is internationalized
104
180
- Test with a local YDB instance when possible
105
181
@@ -108,3 +184,10 @@ This is a React-based monitoring and management interface for YDB clusters. The
108
184
-`window.api` - Access API methods in browser console
109
185
-`window.ydbEditor` - Monaco editor instance
110
186
- Enable request tracing with `DEV_ENABLE_TRACING_FOR_ALL_REQUESTS`
187
+
188
+
## Environment Variables
189
+
190
+
-`REACT_APP_BACKEND` - Backend URL for single-cluster mode
191
+
-`REACT_APP_META_BACKEND` - Meta backend URL for multi-cluster mode
192
+
-`PUBLIC_URL` - Base URL for static assets (use `.` for relative paths)
193
+
-`GENERATE_SOURCEMAP` - Set to `false` for production builds
0 commit comments