diff --git a/app/components/RouteList.vue b/app/components/RouteList.vue
new file mode 100644
index 0000000..d50cbb2
--- /dev/null
+++ b/app/components/RouteList.vue
@@ -0,0 +1,265 @@
+
+
+
{{ t("routes.reorderKeyboardHint") }}
+
+
{{ announcement }}
+
+
+
+
diff --git a/app/composables/useI18n.ts b/app/composables/useI18n.ts
index 3db0266..2152eb7 100644
--- a/app/composables/useI18n.ts
+++ b/app/composables/useI18n.ts
@@ -142,6 +142,13 @@ const en: Dict = {
"group.routesIn": "Routes in {name}",
"routes.emptyGroup": "No routes in this group yet.",
"routes.createFirst": "Create your first route",
+ "routes.reorder": "Reorder",
+ "routes.reorderHint": "Drag routes by their handle to change the evaluation order, then save.",
+ "routes.reorderKeyboardHint": "Press Arrow Up or Arrow Down to move this route.",
+ "routes.reorderSave": "Save order",
+ "routes.reorderCancel": "Cancel",
+ "routes.dragHandle": "Reorder {name}",
+ "routes.moved": "{name} moved to position {n}",
"routes.delete": "Delete route",
"route.untitled": "(untitled)",
"route.noFilters": "no filters",
@@ -392,6 +399,7 @@ const en: Dict = {
"toast.groupIdExists": "Group ID already exists",
"toast.saveFailed": "Save failed: {msg}",
"toast.deleteFailed": "Delete failed: {msg}",
+ "toast.orderSaved": "Route order saved",
"confirm.deleteRoute": 'Delete route "{name}"?',
"confirm.deleteGroup": 'Delete group "{name}"?',
"confirm.deleteGroupWarn": " {n} route(s) reference it and will lose their group.",
@@ -544,6 +552,13 @@ const zh: Dict = {
"group.routesIn": "{name} 的路由",
"routes.emptyGroup": "该分组还没有路由。",
"routes.createFirst": "创建第一个路由",
+ "routes.reorder": "调整顺序",
+ "routes.reorderHint": "拖动手柄调整路由的评估顺序,完成后保存。",
+ "routes.reorderKeyboardHint": "按上下方向键移动该路由。",
+ "routes.reorderSave": "保存顺序",
+ "routes.reorderCancel": "取消",
+ "routes.dragHandle": "调整“{name}”的顺序",
+ "routes.moved": "“{name}”已移到第 {n} 位",
"routes.delete": "删除路由",
"route.untitled": "(未命名)",
"route.noFilters": "无过滤器",
@@ -792,6 +807,7 @@ const zh: Dict = {
"toast.groupIdExists": "分组 ID 已存在",
"toast.saveFailed": "保存失败:{msg}",
"toast.deleteFailed": "删除失败:{msg}",
+ "toast.orderSaved": "路由顺序已保存",
"confirm.deleteRoute": "确定删除路由“{name}”吗?",
"confirm.deleteGroup": "确定删除分组“{name}”吗?",
"confirm.deleteGroupWarn": " 有 {n} 条路由引用它,将失去所属分组。",
diff --git a/docs/guide/routes.md b/docs/guide/routes.md
index b737cc2..02ae794 100644
--- a/docs/guide/routes.md
+++ b/docs/guide/routes.md
@@ -39,6 +39,10 @@ Each entry of `targets` is a push destination, so one route can forward to sever
| `discordRoleIds` | string[] | No | Discord role ids to ping when this route fires; applied to Discord targets only |
| `ast` | object | No | Boolean filter tree (`{all:[...]}` / `{any:[...]}` / `{not:{...}}`); takes precedence over `filters` when present |
+## Route Order
+
+Routes are evaluated in the order the console shows them, group by group. To change it, click **Reorder** on the group page, drag routes by their handle (or focus a handle and press ↑ / ↓), then **Save order**. The order is stored per group in D1 (`d1_routes.position`, migration `0012`); a database without that migration keeps loading routes in id order.
+
## Discord Role Mentions
Set `discordRoleIds` on a route to ping one or more Discord roles (身份组) whenever that route fires. The mention (`<@&roleId>`) is prepended to the message content of every **Discord** target of the route; Telegram targets ignore this field. Mentions only trigger notifications when the bot has the `Mention Everyone` permission (or the role is marked mentionable), and the bot must be able to see the role.
diff --git a/docs/zh/guide/routes.md b/docs/zh/guide/routes.md
index d4161ac..f576cfa 100644
--- a/docs/zh/guide/routes.md
+++ b/docs/zh/guide/routes.md
@@ -39,6 +39,10 @@
| `discordRoleIds` | string[] | 否 | 路由触发时要提醒的 Discord 身份组 id;仅对 Discord 目标生效 |
| `ast` | object | 否 | 布尔过滤器树(`{all:[...]}` / `{any:[...]}` / `{not:{...}}`);存在时优先于 `filters` |
+## 路由顺序
+
+路由按控制台中显示的顺序逐个分组评估。在分组页点击**调整顺序**,拖动路由左侧的手柄(或聚焦手柄后按 ↑ / ↓),再点击**保存顺序**。顺序按分组保存在 D1(`d1_routes.position`,迁移 `0012`);未执行该迁移的数据库会继续按 id 顺序加载路由。
+
## Discord 身份组提醒
在路由上设置 `discordRoleIds` 可在其触发时提醒一个或多个 Discord 身份组(角色)。提醒(`<@&roleId>`)会加在路由所有 **Discord** 目标的消息内容前;Telegram 目标忽略该字段。只有当机器人拥有 `Mention Everyone` 权限(或身份组标记为可提及)且能看到该身份组时,提醒才会触发通知。