libredb / libredb/libredb-studio
Security tab badges are the only all-caps badges in the app
- Dominant language
- TypeScript
- Stars
- 726
- Forks
- 119
- Avg merge
- 7h 47m
- Merged PRs (30d)
- 265
Description
## What
The two badges on the admin Security tab shout in capitals. They are the only all-caps badges in the application; every other badge uses normal casing.
## Where
`src/components/admin/tabs/SecurityTab.tsx` lines 95 and 99:
```tsx
ENABLED
```
Sweeping `src/components/` for all-caps badge text returns these two and nothing else. Badges elsewhere read `Active`, `Idle`, `Abort` and so on.
## Expected
Both badges read `Enabled`, matching the casing used by every other badge in the app.
## How to fix
1. In `src/components/admin/tabs/SecurityTab.tsx`, change the badge text on line 95 from `ENABLED` to `Enabled`.
2. Do the same on line 99.
3. Leave the class names alone. Only the visible text changes.
## How to check
Run `bun run dev`, sign in as admin, and open the Security tab. The Admin Access and User Access rows should read `Enabled`, sitting alongside the other badges in the admin without standing out.
Contributor guide
Research direction
Open src/components/admin/tabs/SecurityTab.tsx and inspect the badges at lines 95 and 99. Change only their visible text from `ENABLED` to `Enabled`, leaving the class names unchanged. Run `bun run dev`, sign in as admin, and open the Security tab; both access rows should display `Enabled`.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Active
- Clarity
- Clearly specified
- Newbie friendliness
- 95/100