Skip to content
Open
Show file tree
Hide file tree
Changes from 21 commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
31c8855
fix(57-feat-req-admin-category-dashboard-admincategory): draft
snomiao May 7, 2025
c82d135
feat: implement admin category dashboard
snomiao Aug 9, 2025
7539fd0
feat: rename category.tsx to categories.tsx and implement server-side…
snomiao Aug 10, 2025
71e18cd
format: Apply prettier --fix changes
snomiao Aug 10, 2025
f9f8b79
refactor: use usePage hook for admin categories pagination
snomiao Aug 10, 2025
eda5382
feat: migrate from categories to tags system
snomiao Sep 30, 2025
4db877a
fix: resolve ESLint warning in claim-my-node useEffect dependencies
snomiao Oct 1, 2025
2b44027
Merge main branch into category dashboard feature branch
snomiao Oct 15, 2025
ec3ba4f
format: Apply prettier --fix changes
snomiao Oct 15, 2025
b1ada46
fix: Show nodes with tags in table instead of uncategorized badge
snomiao Oct 16, 2025
547ee68
format: Apply prettier --fix changes
snomiao Oct 16, 2025
5401b7e
feat: Add tag editing functionality to admin tags page
snomiao Oct 16, 2025
af0d5c2
format: Apply prettier --fix changes
snomiao Oct 16, 2025
f112b5d
fix: remove href from current page breadcrumb items
snomiao Oct 25, 2025
7466472
Merge remote-tracking branch 'origin/main' into 57-feat-req-admin-cat…
snomiao Oct 25, 2025
172d8b8
format: Apply prettier --fix changes
snomiao Oct 25, 2025
8d78ef3
Merge branch 'main' into 57-feat-req-admin-category-dashboard-adminca…
snomiao Oct 25, 2025
b03776c
feat: use admin endpoint for editing admin_tags
snomiao Oct 25, 2025
a993612
format: Apply prettier --fix changes
snomiao Oct 25, 2025
1588a27
Merge branch 'main' into 57-feat-req-admin-category-dashboard-adminca…
snomiao Oct 25, 2025
517306e
format: Apply prettier --fix changes
snomiao Oct 25, 2025
5bb25aa
feat: enable publishers to edit node tags
snomiao Oct 25, 2025
d8171e0
format: Apply prettier --fix changes
snomiao Oct 25, 2025
526a260
fix: admin tags page now always uses admin endpoint
snomiao Oct 26, 2025
ffbfa35
format: Apply prettier --fix changes
snomiao Oct 26, 2025
be5a759
fix: rename CategoriesPage to TagsPage for consistency
snomiao Oct 26, 2025
8425cd3
format: Apply prettier --fix changes
snomiao Oct 26, 2025
6290d24
format: Apply prettier and biome formatting fixes
snomiao Oct 26, 2025
a0d8af0
Merge branch 'main' into feature/admin-tags
snomiao Oct 26, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions components/admin/AdminTreeNavigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@ export default function AdminTreeNavigation({
icon: HiOutlineCollection,
href: '/admin/add-unclaimed-node',
},
{
id: 'tag-management',
label: t('Tag Management'),
icon: HiOutlineCollection,
href: '/admin/tags',
},
],
},
{
Expand Down
14 changes: 14 additions & 0 deletions locales/ar/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
"Add unclaimed node": "إضافة عقدة غير مُطالب بها",
"Admin Dashboard": "لوحة تحكم المشرف",
"Admin Navigation": "تنقل المسؤول",
"Admin Tags": "علامات المشرف",
"Admin Tags (comma separated)": "علامات المشرف (مفصولة بفواصل)",
"Admin-only tags for security warnings and metadata (e.g., dev, unsafe, fragile_deps)": "علامات خاصة بالمسؤول لتحذيرات الأمان والبيانات الوصفية (مثل: dev، unsafe، fragile_deps)",
"All": "الكل",
"All Nodes": "جميع العقد",
"All Tags": "جميع العلامات",
Expand Down Expand Up @@ -120,10 +123,13 @@
"Edit Preempted Comfy Node Names": "تحرير أسماء العقد المحجوزة لـ Comfy",
"Edit Publisher": "تحرير الناشر",
"Edit Search Ranking": "تحرير ترتيب البحث",
"Edit Tags": "تحرير العلامات",
"Edit details": "تحرير التفاصيل",
"Edit node": "تحرير العقدة",
"Edit secret key": "تحرير مفتاح السر",
"Edit tags": "تحرير العلامات",
"Edit unclaimed node": "تحرير عقدة غير مُطالب بها",
"Enter admin tags separated by commas": "أدخل علامات المشرف مفصولة بفواصل",
"Enter category": "أدخل فئة",
"Enter one OS per line": "أدخل نظام تشغيل واحد لكل سطر",
"Enter one accelerator per line": "أدخل مسرعًا واحدًا في كل سطر",
Expand Down Expand Up @@ -208,13 +214,15 @@
"Name": "اسم",
"New Publisher": "ناشر جديد",
"Next": "التالي",
"No admin tags": "لا توجد علامات مسؤول",
"No batch ID found for {{id}}@{{version}}": "لم يتم العثور على معرف دفعة لـ {{id}}@{{version}}",
"No nodes found": "لم يتم العثور على عقد",
"No preempted comfy node names added yet": "لم تتم إضافة أسماء عقد Comfy محجوزة بعد",
"No publisher information available": "لا توجد معلومات ناشر متاحة",
"No publishers found": "لم يتم العثور على ناشرين",
"No repository URL available for this node": "لا يوجد عنوان URL للمستودع مُتاح لهذه العقدة.",
"No status history found for {{id}}@{{version}}": "لم يتم العثور على تاريخ الحالة لـ {{id}}@{{version}}",
"No tags": "لا توجد علامات",
"No unclaimed nodes found.": "لم يتم العثور على عقد غير مُطالب بها.",
"No versions selected": "لم يتم اختيار أي إصدارات",
"Node": "عقدة",
Expand All @@ -224,6 +232,7 @@
"Node ID is required for claiming.": "يلزم معرّف العقدة للمطالبة به.",
"Node Information": "معلومات العقدة",
"Node Management": "إدارة العقدة",
"Node Name": "اسم العقدة",
"Node Version": "إصدار العقدة",
"Node Version Compatibility": "توافق إصدار العقدة",
"Node Version Compatibility Admin": "توافق إصدار العقدة مسئول النظام",
Expand All @@ -241,6 +250,7 @@
"Node {{name}} successfully claimed by {{publisherName}}": "تمت المطالبة بالعقدة {{name}} بنجاح من قبل {{publisherName}}",
"Nodes": "عقد",
"Nodes List": "قائمة العقد",
"Nodes with Tags": "العقد مع العلامات",
"None": "لا شيء",
"Not specified": "غير محدد",
"Note": "ملاحظة",
Expand All @@ -266,6 +276,7 @@
"Press Ctrl+Enter to save": "اضغط Ctrl+Enter للحفظ",
"Previous": "السابق",
"Processing verification result...": "جارٍ معالجة نتيجة التحقق...",
"Public tags visible to all users (e.g., video, audio, utility)": "العلامات العامة المرئية لجميع المستخدمين (مثل الفيديو، الصوت، الأداة)",
"Publisher": "الناشر",
"Publisher ID": "معرف الناشر",
"Publisher ID in repository does not match selected publisher": "معرف الناشر في المستودع لا يتطابق مع الناشر المحدد",
Expand Down Expand Up @@ -329,6 +340,7 @@
"Step 5: Claim Successful": "الخطوة 5: المطالبة ناجحة",
"Supported Accelerators": "المسرعات المدعومة",
"Supported Operating Systems": "أنظمة التشغيل المدعومة",
"Tag Management": "إدارة العلامات",
"Tags": "علامات",
"Tags (comma separated)": "علامات (مفصولة بفواصل)",
"There was an error loading the nodes. Please try again later.": "حدث خطأ أثناء تحميل العقد. يرجى المحاولة مرة أخرى لاحقًا.",
Expand All @@ -353,7 +365,9 @@
"Type": "نوع",
"Unable to claim the node. Please verify your GitHub repository ownership and try again.": "غير قادر على المطالبة بالعقدة. يرجى التحقق من ملكية مستودع GitHub الخاص بك والمحاولة مرة أخرى.",
"Unable to get user email, please reload and try again": "غير قادر على الحصول على بريد المستخدم الإلكتروني، يرجى إعادة التحميل والمحاولة مرة أخرى.",
"Unable to save: missing node information": "غير قادر على الحفظ: معلومات العقدة مفقودة",
"Unable to save: missing node or publisher information": "غير قادر على الحفظ: معلومات العقدة أو الناشر مفقودة",
"Unable to save: missing publisher information": "غير قادر على الحفظ: معلومات الناشر مفقودة",
"Unable to verify repository permissions. Please try again.": "غير قادر على التحقق من أذونات المستودع. يرجى المحاولة مرة أخرى.",
"Unclaimed": "غير مُطالب بها",
"Unclaimed Nodes": "عقد غير مُطالب بها",
Expand Down
14 changes: 14 additions & 0 deletions locales/en/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
"Add unclaimed node": "Add unclaimed node",
"Admin Dashboard": "Admin Dashboard",
"Admin Navigation": "Admin Navigation",
"Admin Tags": "Admin Tags",
"Admin Tags (comma separated)": "Admin Tags (comma separated)",
"Admin-only tags for security warnings and metadata (e.g., dev, unsafe, fragile_deps)": "Admin-only tags for security warnings and metadata (e.g., dev, unsafe, fragile_deps)",
"All": "All",
"All Nodes": "All Nodes",
"All Tags": "All Tags",
Expand Down Expand Up @@ -120,10 +123,13 @@
"Edit Preempted Comfy Node Names": "Edit Preempted Comfy Node Names",
"Edit Publisher": "Edit Publisher",
"Edit Search Ranking": "Edit Search Ranking",
"Edit Tags": "Edit Tags",
"Edit details": "Edit details",
"Edit node": "Edit node",
"Edit secret key": "Edit secret key",
"Edit tags": "Edit tags",
"Edit unclaimed node": "Edit unclaimed node",
"Enter admin tags separated by commas": "Enter admin tags separated by commas",
"Enter category": "Enter category",
"Enter one OS per line": "Enter one OS per line",
"Enter one accelerator per line": "Enter one accelerator per line",
Expand Down Expand Up @@ -208,13 +214,15 @@
"Name": "Name",
"New Publisher": "New Publisher",
"Next": "Next",
"No admin tags": "No admin tags",
"No batch ID found for {{id}}@{{version}}": "No batch ID found for {{id}}@{{version}}",
"No nodes found": "No nodes found",
"No preempted comfy node names added yet": "No preempted comfy node names added yet",
"No publisher information available": "No publisher information available",
"No publishers found": "No publishers found",
"No repository URL available for this node": "No repository URL available for this node",
"No status history found for {{id}}@{{version}}": "No status history found for {{id}}@{{version}}",
"No tags": "No tags",
"No unclaimed nodes found.": "No unclaimed nodes found.",
"No versions selected": "No versions selected",
"Node": "Node",
Expand All @@ -224,6 +232,7 @@
"Node ID is required for claiming.": "Node ID is required for claiming.",
"Node Information": "Node Information",
"Node Management": "Node Management",
"Node Name": "Node Name",
"Node Version": "Node Version",
"Node Version Compatibility": "Node Version Compatibility",
"Node Version Compatibility Admin": "Node Version Compatibility Admin",
Expand All @@ -241,6 +250,7 @@
"Node {{name}} successfully claimed by {{publisherName}}": "Node {{name}} successfully claimed by {{publisherName}}",
"Nodes": "Nodes",
"Nodes List": "Nodes List",
"Nodes with Tags": "Nodes with Tags",
"None": "None",
"Not specified": "Not specified",
"Note": "Note",
Expand All @@ -266,6 +276,7 @@
"Press Ctrl+Enter to save": "Press Ctrl+Enter to save",
"Previous": "Previous",
"Processing verification result...": "Processing verification result...",
"Public tags visible to all users (e.g., video, audio, utility)": "Public tags visible to all users (e.g., video, audio, utility)",
"Publisher": "Publisher",
"Publisher ID": "Publisher ID",
"Publisher ID in repository does not match selected publisher": "Publisher ID in repository does not match selected publisher",
Expand Down Expand Up @@ -329,6 +340,7 @@
"Step 5: Claim Successful": "Step 5: Claim Successful",
"Supported Accelerators": "Supported Accelerators",
"Supported Operating Systems": "Supported Operating Systems",
"Tag Management": "Tag Management",
"Tags": "Tags",
"Tags (comma separated)": "Tags (comma separated)",
"There was an error loading the nodes. Please try again later.": "There was an error loading the nodes. Please try again later.",
Expand All @@ -353,7 +365,9 @@
"Type": "Type",
"Unable to claim the node. Please verify your GitHub repository ownership and try again.": "Unable to claim the node. Please verify your GitHub repository ownership and try again.",
"Unable to get user email, please reload and try again": "Unable to get user email, please reload and try again",
"Unable to save: missing node information": "Unable to save: missing node information",
"Unable to save: missing node or publisher information": "Unable to save: missing node or publisher information",
"Unable to save: missing publisher information": "Unable to save: missing publisher information",
"Unable to verify repository permissions. Please try again.": "Unable to verify repository permissions. Please try again.",
"Unclaimed": "Unclaimed",
"Unclaimed Nodes": "Unclaimed Nodes",
Expand Down
14 changes: 14 additions & 0 deletions locales/es/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
"Add unclaimed node": "Agregar nodo no reclamado",
"Admin Dashboard": "Tablero de Administrador",
"Admin Navigation": "Navegación de administrador",
"Admin Tags": "Etiquetas de administrador",
"Admin Tags (comma separated)": "Etiquetas de administrador (separadas por comas)",
"Admin-only tags for security warnings and metadata (e.g., dev, unsafe, fragile_deps)": "Etiquetas solo para administradores para advertencias de seguridad y metadatos (por ejemplo, dev, unsafe, fragile_deps)",
"All": "Todos",
"All Nodes": "Todos los Nodos",
"All Tags": "Todas las Etiquetas",
Expand Down Expand Up @@ -120,10 +123,13 @@
"Edit Preempted Comfy Node Names": "Editar los nombres de nodo Comfy anticipados",
"Edit Publisher": "Editar Editor",
"Edit Search Ranking": "Editar Clasificación de Búsqueda",
"Edit Tags": "Editar Etiquetas",
"Edit details": "Editar detalles",
"Edit node": "Editar nodo",
"Edit secret key": "Editar clave secreta",
"Edit tags": "Editar etiquetas",
"Edit unclaimed node": "Editar nodo no reclamado",
"Enter admin tags separated by commas": "Ingrese etiquetas de administrador separadas por comas",
"Enter category": "Ingrese categoría",
"Enter one OS per line": "Ingrese un sistema operativo por línea",
"Enter one accelerator per line": "Ingrese un acelerador por línea",
Expand Down Expand Up @@ -208,13 +214,15 @@
"Name": "Nombre",
"New Publisher": "Nuevo Editor",
"Next": "Siguiente",
"No admin tags": "No hay etiquetas de administrador",
"No batch ID found for {{id}}@{{version}}": "No se encontró ID de lote para {{id}}@{{version}}",
"No nodes found": "No se encontraron nodos",
"No preempted comfy node names added yet": "Aún no se han agregado nombres de nodos cómodos anticipados",
"No publisher information available": "No hay información de editor disponible",
"No publishers found": "No se encontraron editores",
"No repository URL available for this node": "No hay URL de repositorio disponible para este nodo",
"No status history found for {{id}}@{{version}}": "No se encontró el historial de estado para {{id}}@{{version}}",
"No tags": "Sin etiquetas",
"No unclaimed nodes found.": "No se encontraron nodos sin reclamar.",
"No versions selected": "No se han seleccionado versiones",
"Node": "Nodo",
Expand All @@ -224,6 +232,7 @@
"Node ID is required for claiming.": "需要节点ID进行认领。",
"Node Information": "Información del Nodo",
"Node Management": "Gestión de Nodos",
"Node Name": "Nombre del nodo",
"Node Version": "Versión de Nodo",
"Node Version Compatibility": "Compatibilidad de Versión de Nodo",
"Node Version Compatibility Admin": "Administrador de Compatibilidad de Versión de Nodo",
Expand All @@ -241,6 +250,7 @@
"Node {{name}} successfully claimed by {{publisherName}}": "Nodo {{name}} reclamado exitosamente por {{publisherName}}",
"Nodes": "Nodos",
"Nodes List": "Lista de Nodos",
"Nodes with Tags": "Nodos con etiquetas",
"None": "Ninguno",
"Not specified": "No especificado",
"Note": "Nota",
Expand All @@ -266,6 +276,7 @@
"Press Ctrl+Enter to save": "Presiona Ctrl+Enter para guardar",
"Previous": "Anterior",
"Processing verification result...": "Procesando el resultado de la verificación...",
"Public tags visible to all users (e.g., video, audio, utility)": "Etiquetas públicas visibles para todos los usuarios (por ejemplo, video, audio, utilidad)",
"Publisher": "Editor",
"Publisher ID": "ID del editor",
"Publisher ID in repository does not match selected publisher": "El ID del editor en el repositorio no coincide con el editor seleccionado.",
Expand Down Expand Up @@ -329,6 +340,7 @@
"Step 5: Claim Successful": "Paso 5: Reclamo exitoso",
"Supported Accelerators": "Aceleradores compatibles",
"Supported Operating Systems": "Sistemas Operativos Compatibles",
"Tag Management": "Gestión de Etiquetas",
"Tags": "Etiquetas",
"Tags (comma separated)": "Etiquetas (separadas por comas)",
"There was an error loading the nodes. Please try again later.": "Hubo un error al cargar los nodos. Por favor, inténtelo de nuevo más tarde.",
Expand All @@ -353,7 +365,9 @@
"Type": "Tipo",
"Unable to claim the node. Please verify your GitHub repository ownership and try again.": "No se puede reclamar el nodo. Por favor verifique la propiedad de su repositorio de GitHub y vuelva a intentarlo.",
"Unable to get user email, please reload and try again": "No se puede obtener el correo electrónico del usuario, por favor recargue e intente de nuevo",
"Unable to save: missing node information": "No se puede guardar: falta información del nodo.",
"Unable to save: missing node or publisher information": "No se puede guardar: falta información del nodo o del editor.",
"Unable to save: missing publisher information": "No se puede guardar: falta información del editor.",
"Unable to verify repository permissions. Please try again.": "无法验证仓库权限。请再试一次。",
"Unclaimed": "No reclamado",
"Unclaimed Nodes": "Nodos no reclamados",
Expand Down
Loading