feat(api, i18n): add agent_node_id to various admin queries and enhance multi-language support
Introduced the agent_node_id field in AdminDrawListQuery, AdminPlayerListQuery, AdminSettlementBatchListQuery, TicketItemsListQuery, and TransferOrderListQuery to improve filtering capabilities. Updated the admin-breadcrumb and admin-sidebar components to include new translations for agent-related terms in English, Nepali, and Chinese, enhancing the overall user experience and multi-language support across the admin interface.
This commit is contained in:
18
src/app/admin/(shell)/agents/page.tsx
Normal file
18
src/app/admin/(shell)/agents/page.tsx
Normal file
@@ -0,0 +1,18 @@
|
||||
import { ModuleScaffold } from "@/components/admin/module-scaffold";
|
||||
import { AdminPermissionGate } from "@/components/admin/admin-permission-gate";
|
||||
import { AgentsConsole } from "@/modules/agents/agents-console";
|
||||
import { PRD_AGENTS_ACCESS_ANY } from "@/lib/admin-prd";
|
||||
import { buildPageMetadata } from "@/lib/page-metadata";
|
||||
import type { Metadata } from "next";
|
||||
|
||||
export const metadata: Metadata = buildPageMetadata("agents", "title");
|
||||
|
||||
export default function AgentsPage() {
|
||||
return (
|
||||
<ModuleScaffold>
|
||||
<AdminPermissionGate requiredAny={PRD_AGENTS_ACCESS_ANY}>
|
||||
<AgentsConsole />
|
||||
</AdminPermissionGate>
|
||||
</ModuleScaffold>
|
||||
);
|
||||
}
|
||||
@@ -46,6 +46,7 @@
|
||||
--radius-2xl: calc(var(--radius) * 1.8);
|
||||
--radius-3xl: calc(var(--radius) * 2.2);
|
||||
--radius-4xl: calc(var(--radius) * 2.6);
|
||||
--animate-loading-dot-bounce: loading-dot-bounce 0.9s ease-in-out infinite;
|
||||
}
|
||||
|
||||
:root {
|
||||
@@ -208,3 +209,18 @@
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes loading-dot-bounce {
|
||||
0%,
|
||||
70%,
|
||||
100% {
|
||||
transform: translateY(0);
|
||||
opacity: 0.35;
|
||||
}
|
||||
|
||||
35% {
|
||||
transform: translateY(-48%);
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user