Skip to content

Commit b8db78d

Browse files
authored
Merge branch 'dev' into Style
2 parents ff30105 + c0c60c3 commit b8db78d

File tree

22 files changed

+2787
-83
lines changed

22 files changed

+2787
-83
lines changed

.github/workflows/feedback.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Feedback Wanted
2+
3+
on:
4+
pull_request:
5+
types: [closed]
6+
7+
jobs:
8+
feedback:
9+
if: github.event.pull_request.merged == true
10+
runs-on: ubuntu-latest
11+
permissions:
12+
pull-requests: write
13+
issues: write
14+
contents: read
15+
16+
steps:
17+
- name: Comment feedback request
18+
uses: peter-evans/create-or-update-comment@v3
19+
with:
20+
token: ${{ secrets.GITHUB_TOKEN }}
21+
issue-number: ${{ github.event.pull_request.number }}
22+
body: |
23+
🎉 Thank you for your contribution! Your PR has been successfully merged.
24+
25+
We’d love to hear your thoughts to help improve KubeStellar.
26+
Please take a moment to fill out our short feedback survey:
27+
28+
https://kubestellar.io/survey

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -382,16 +382,16 @@ REDIS_IMAGE=redis:7-alpine docker compose up
382382

383383
1. **Backend API**: [http://localhost:4000](http://localhost:4000) (or custom port if `BACKEND_PORT` is set)
384384
2. **Frontend UI**: [http://localhost:5173](http://localhost:5173) (or custom port if `FRONTEND_PORT` is set)
385-
3. **Grafana Dashboard**: [http://localhost:13000](http://localhost:13000) (when monitoring profile is enabled)
386-
4. **Prometheus Metrics**: [http://localhost:19090](http://localhost:19090) (when monitoring profile is enabled)
385+
3. **Grafana Dashboard**: [http://localhost:13000](http://localhost:13000)
386+
4. **Prometheus Metrics**: [http://localhost:19090](http://localhost:19090)
387387

388388
#### Accessing Grafana Dashboard
389389

390390
To access the Grafana monitoring dashboard:
391391

392-
1. **Start services with monitoring profile**:
392+
1. **Start services**:
393393
```bash
394-
docker compose --profile monitoring up
394+
docker compose up
395395
```
396396

397397
2. **Access Grafana**:

backend/examples/cluster-monitor/frontend/package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docker-compose.yml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,6 @@ services:
179179
- '--web.enable-lifecycle'
180180
- '--web.listen-address=0.0.0.0:19090'
181181
restart: unless-stopped
182-
profiles:
183-
- monitoring
184182

185183
# Grafana - for visualization
186184
grafana:
@@ -192,6 +190,7 @@ services:
192190
- ./monitoring/grafana/dashboards:/etc/grafana/provisioning/dashboards:ro
193191
- ./monitoring/grafana/datasources:/etc/grafana/provisioning/datasources:ro
194192
environment:
193+
- GF_DATASOURCES_DEFAULT_URL=http://localhost:19090
195194
- GF_SECURITY_ALLOW_EMBEDDING=true
196195
- GF_SECURITY_ADMIN_PASSWORD=${GRAFANA_PASSWORD:-admin}
197196
- GF_SECURITY_ADMIN_USER=${GRAFANA_USER:-admin}
@@ -200,8 +199,6 @@ services:
200199
depends_on:
201200
- prometheus
202201
restart: unless-stopped
203-
profiles:
204-
- monitoring
205202

206203
# Node Exporter for system metrics (optional)
207204
node-exporter:
@@ -217,36 +214,30 @@ services:
217214
- '--path.sysfs=/host/sys'
218215
- '--collector.filesystem.ignored-mount-points=^/(sys|proc|dev|host|etc)($$|/)'
219216
restart: unless-stopped
220-
profiles:
221-
- monitoring
222217

223218
# PostgreSQL Exporter for database metrics (optional)
224219
postgres-exporter:
225220
image: prometheuscommunity/postgres-exporter:latest
226221
container_name: postgres-exporter
222+
network_mode: host
227223
environment:
228224
DATA_SOURCE_NAME: "postgresql://authuser:authpass123@localhost:5400/authdbui?sslmode=disable"
229-
network_mode: host
230225
depends_on:
231226
postgres:
232227
condition: service_healthy
233228
restart: unless-stopped
234-
profiles:
235-
- monitoring
236229

237230
# Redis Exporter for Redis metrics (optional)
238231
redis-exporter:
239232
image: oliver006/redis_exporter:latest
240233
container_name: redis-exporter
234+
network_mode: host
241235
environment:
242236
REDIS_ADDR: "redis://localhost:6379"
243-
network_mode: host
244237
depends_on:
245238
redis:
246239
condition: service_healthy
247240
restart: unless-stopped
248-
profiles:
249-
- monitoring
250241

251242
volumes:
252243
postgres_data: {}

frontend/e2e/CommandPalette.spec.ts

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -30,23 +30,6 @@ test.describe('Command Palette', () => {
3030
});
3131

3232
test.describe('Keyboard Shortcuts', () => {
33-
test('command palette opens with keyboard shortcut Ctrl+K', async ({ page }) => {
34-
// Ensure the page has focus first
35-
await page.click('body');
36-
await page.waitForTimeout(100);
37-
38-
// Use Ctrl+K to open command palette
39-
await page.keyboard.press('Control+k');
40-
41-
// Wait for the search input to appear (which indicates the palette is open)
42-
const searchInput = page.getByPlaceholder('Search commands...');
43-
await expect(searchInput).toBeVisible({ timeout: 5000 });
44-
45-
// Alternative verification: check if we can type in the search input
46-
await searchInput.fill('test');
47-
await expect(searchInput).toHaveValue('test');
48-
});
49-
5033
test('command palette opens by clicking button', async ({ page }) => {
5134
// Click the command palette button
5235
const commandPaletteButton = page.getByRole('button', { name: 'Open command palette' });

0 commit comments

Comments
 (0)