Fix buttons going off screen in a smaller width browser window. Moved their location to underneath the filters
Adds simple bulk delete handler, and consolidates the single delete to use the bulk delete handler to reduce logic drift between the 2 delete paths. With this a new api route is created delete /repositories that takes in a list of ids to delete
Quarter width:
Half width:
Full width:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/RayLabsHQ/gitea-mirror/pull/322
**Author:** [@binary141](https://github.com/binary141)
**Created:** 6/14/2026
**Status:** ✅ Merged
**Merged:** 6/14/2026
**Merged by:** [@arunavo4](https://github.com/arunavo4)
**Base:** `main` ← **Head:** `main`
---
### 📝 Commits (8)
- [`2f575ff`](https://github.com/RayLabsHQ/gitea-mirror/commit/2f575ff01089a44e64da93d6c2383f98a6ec9ae0) Handle indexing when shift + clicking in the repository table
- [`8a6dad1`](https://github.com/RayLabsHQ/gitea-mirror/commit/8a6dad1ff393951c88bb27384ec779cacde93fb5) Move the buttons when selecting rows
- [`8db405b`](https://github.com/RayLabsHQ/gitea-mirror/commit/8db405b86dc60cd841309f43ae0dfcc38313096d) Add in a bulk delete func in the repositories table
- [`568891e`](https://github.com/RayLabsHQ/gitea-mirror/commit/568891e3c5fe39d941e8e2c073617136dc867e68) Merge branch 'RayLabsHQ:main' into main
- [`51de23e`](https://github.com/RayLabsHQ/gitea-mirror/commit/51de23ec78596266569cf0264ea91d3d217fa765) Merge branch 'main' of github.com:binary141/gitea-mirror
- [`9a3e31d`](https://github.com/RayLabsHQ/gitea-mirror/commit/9a3e31da5c3c1ef020f36c2bb45078c2980d808f) Add bulk delete handler
- [`b9d05bf`](https://github.com/RayLabsHQ/gitea-mirror/commit/b9d05bf8f520616a5891d46ac3a7f46228bfc03c) Make the single action use the bulk delete
- [`cb1419d`](https://github.com/RayLabsHQ/gitea-mirror/commit/cb1419dac416e48161f21ff67c9a715d831fe0a2) Delete the single repository id handler
### 📊 Changes
**3 files changed** (+239 additions, -157 deletions)
<details>
<summary>View changed files</summary>
📝 `src/components/repositories/Repository.tsx` (+189 -106)
📝 `src/pages/api/repositories/[id].ts` (+1 -51)
➕ `src/pages/api/repositories/index.ts` (+49 -0)
</details>
### 📄 Description
# What does this do?
- Fix buttons going off screen in a smaller width browser window. Moved their location to underneath the filters
- Adds simple bulk delete handler, and consolidates the single delete to use the bulk delete handler to reduce logic drift between the 2 delete paths. With this a new api route is created `delete /repositories` that takes in a list of ids to delete
Quarter width:
<img width="637" height="186" alt="image" src="https://github.com/user-attachments/assets/14d5e82e-6d61-487a-9ffd-bafdb1510166" />
Half width:
<img width="1185" height="171" alt="image" src="https://github.com/user-attachments/assets/1f7abdea-13b5-4c3a-a6f9-112b0f6c19ea" />
Full width:
<img width="2548" height="239" alt="image" src="https://github.com/user-attachments/assets/4837c3c0-7392-4488-93b1-644fce995cc6" />
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/RayLabsHQ/gitea-mirror/pull/322
Author: @binary141
Created: 6/14/2026
Status: ✅ Merged
Merged: 6/14/2026
Merged by: @arunavo4
Base:
main← Head:main📝 Commits (8)
2f575ffHandle indexing when shift + clicking in the repository table8a6dad1Move the buttons when selecting rows8db405bAdd in a bulk delete func in the repositories table568891eMerge branch 'RayLabsHQ:main' into main51de23eMerge branch 'main' of github.com:binary141/gitea-mirror9a3e31dAdd bulk delete handlerb9d05bfMake the single action use the bulk deletecb1419dDelete the single repository id handler📊 Changes
3 files changed (+239 additions, -157 deletions)
View changed files
📝
src/components/repositories/Repository.tsx(+189 -106)📝
src/pages/api/repositories/[id].ts(+1 -51)➕
src/pages/api/repositories/index.ts(+49 -0)📄 Description
What does this do?
delete /repositoriesthat takes in a list of ids to deleteQuarter width:

Half width:

Full width:

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.