7.4 billion tokens per month. 34 free LLM providers. 635 free model endpoints. All behind one /v1 endpoint, plus any custom OpenAI-compatible endpoint. Smart routing, automatic failover, encrypted keys. Personal experimentation only.
TypeScript
feat(fallback): jump-to-rank, type a destination instead of dragging (#1324)
tashdroid7ccef915f642
diff --git a/client/src/components/model-table.rank.test.tsx b/client/src/components/model-table.rank.test.tsxnew file mode 100644index 00000000..064a7e72--- /dev/null+++ b/client/src/components/model-table.rank.test.tsx@@ -0,0 +1,165 @@+// @vitest-environment jsdom+//+// Jump-to-rank (#1317): the rank cell in manual mode is a button that opens an+// inline number input. This mounts the real SortableGroupRow (inside a DndContext+// so useSortable's hooks have their provider) and drives the actual+// click → type → Enter / Escape / blur cycle, asserting the row's click-to-detail+// navigation never fires and that an unchanged rank commits nothing.+import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest'+import { act } from 'react'+import { createRoot, type Root } from 'react-dom/client'++// This jsdom build surfaces no Storage on window (see auth-gate tests, which+// stub fetch instead of touching storage); the i18n provider reads one at+// mount, so give it a minimal in-memory shim before any import runs.+if (!globalThis.localStorage) {+ const store = new Map<string, string>()+ // @ts-expect-error minimal shim+ globalThis.localStorage = {+ getItem: (k: string) => store.get(k) ?? null,+ setItem: (k: string, v: string) => void store.set(k, v),+ removeItem: (k: string) => void store.delete(k),+ }+}++import { MemoryRouter } from 'react-router-dom'+import { DndContext } from '@dnd-kit/core'+import { I18nProvider } from '@/i18n'+import { SortableGroupRow } from './model-table'+import type { ModelGroupRow } from '@/lib/routing'++type GroupMember = ModelGroupRow['members'][number]++function member(modelDbId: number): GroupMember {+ return {+ modelDbId, priority: modelDbId, effectivePriority: modelDbId, penalty: 0,+ rateLimitHits: 0, enabled: true, platform: 'openai',+ modelId: `m${modelDbId}`, displayName: `m${modelDbId}`,+ intelligenceRank: 1, speedRank: 1, sizeLabel: '', rpmLimit: null, rpdLimit: null,+ monthlyTokenBudget: '0', contextWindow: 1000, supportsVision: false, supportsTools: false,+ } as unknown as GroupMember+}+const group: ModelGroupRow = { key: 'g1', label: 'Some Model', members: [member(1)] }++let root: Root+let container: HTMLDivElement++function render(onMoveRank: (n: number) => void, editable = true) {+ root = createRoot(container)+ act(() => {+ root.render(+ <I18nProvider>+ <MemoryRouter>+ <DndContext>+ <table>+ <tbody>+ <SortableGroupRow group={group} rank={7} editableRank={editable}+ onMoveRank={editable ? onMoveRank : undefined} onToggleGroup={() => {}} />+ </tbody>+ </table>+ </DndContext>+ </MemoryRouter>+ </I18nProvider>,+ )+ })+}++beforeEach(() => { container = document.createElement('div'); document.body.appendChild(container) })+afterEach(() => { act(() => root.unmount()); container.remove() })++// React dedupes value writes that bypass its tracker; go through the native+// setter so onChange actually fires, the way the testing-library docs advise.+function type(input: HTMLInputElement, value: string) {+ const setter = Object.getOwnPropertyDescriptor(HTMLInputElement.prototype, 'value')!.set!+ setter.call(input, value)+ input.dispatchEvent(new Event('input', { bubbles: true }))+}++function rankButton() { return container.querySelector('td:nth-child(2) button') as HTMLButtonElement }++describe('rank cell jump-to-rank (#1317)', () => {+ it('renders a plain number when the rank is not editable', () => {+ const onMove = vi.fn()+ render(onMove, false)+ expect(rankButton()).toBeNull()+ expect(container.querySelector('td:nth-child(2)')!.textContent).toBe('7')+ })++ it('click opens the input prefilled; Enter commits the typed rank and does not touch the row link', () => {+ const onMove = vi.fn()+ render(onMove)+ const btn = rankButton()+ expect(btn.getAttribute('aria-label')).toBeTruthy()+ act(() => { btn.click() })+ const input = container.querySelector('input[type="number"]') as HTMLInputElement+ expect(input.value).toBe('7')+ act(() => { type(input, '2') })+ act(() => { input.dispatchEvent(new KeyboardEvent('keydown', { key: 'Enter', bubbles: true })) })+ expect(onMove).toHaveBeenCalledWith(2)+ expect(container.querySelector('input[type="number"]')).toBeNull()+ })++ it('Escape cancels without committing', () => {+ const onMove = vi.fn()+ render(onMove)+ act(() => { rankButton().click() })+ const input = container.querySelector('input[type="number"]') as HTMLInputElement+ act(() => { type(input, '1') })+ act(() => { input.dispatchEvent(new KeyboardEvent('keydown', { key: 'Escape', bubbles: true })) })+ expect(onMove).not.toHaveBeenCalled()+ expect(rankButton()).toBeTruthy()+ })++ it('a blur that follows Escape (focused input unmounting) still commits nothing', () => {+ const onMove = vi.fn()+ render(onMove)+ act(() => { rankButton().click() })+ const input = container.querySelector('input[type="number"]') as HTMLInputElement+ act(() => { type(input, '1') })+ act(() => {+ input.dispatchEvent(new KeyboardEvent('keydown', { key: 'Escape', bubbles: true }))+ input.dispatchEvent(new FocusEvent('focusout', { bubbles: true }))+ })+ expect(onMove).not.toHaveBeenCalled()+ expect(rankButton()).toBeTruthy()+ })++ it('a blur that follows Enter does not commit a second time', () => {+ const onMove = vi.fn()+ render(onMove)+ act(() => { rankButton().click() })+ const input = container.querySelector('input[type="number"]') as HTMLInputElement+ act(() => { type(input, '3') })+ act(() => {+ input.dispatchEvent(new KeyboardEvent('keydown', { key: 'Enter', bubbles: true }))+ input.dispatchEvent(new FocusEvent('focusout', { bubbles: true }))+ })+ expect(onMove).toHaveBeenCalledTimes(1)+ expect(onMove).toHaveBeenCalledWith(3)+ })++ it('blur commits; committing the same rank as before does nothing', () => {+ const onMove = vi.fn()+ render(onMove)+ act(() => { rankButton().click() })+ let input = container.querySelector('input[type="number"]') as HTMLInputElement+ act(() => { input.dispatchEvent(new FocusEvent('focusout', { bubbles: true })) })+ expect(onMove).not.toHaveBeenCalled()+ act(() => { rankButton().click() })+ input = container.querySelector('input[type="number"]') as HTMLInputElement+ act(() => { type(input, '4') })+ act(() => { input.dispatchEvent(new FocusEvent('focusout', { bubbles: true })) })+ expect(onMove).toHaveBeenCalledWith(4)+ })++ it('clicking the rank editor does not trigger row navigation', () => {+ render(vi.fn())+ const row = container.querySelector('tr')!+ const before = container.ownerDocument.querySelectorAll('a').length+ act(() => { rankButton().click() })+ // The click that opened the editor must have stopped at the button: no+ // navigation happened, and the input is now in the row, not a link.+ expect(container.querySelector('tr')!).toBe(row)+ expect(container.ownerDocument.querySelectorAll('a').length).toBe(before)+ })+})\ No newline at end of filediff --git a/client/src/components/model-table.tsx b/client/src/components/model-table.tsxindex 76d5eaf9..558b6741 100644--- a/client/src/components/model-table.tsx+++ b/client/src/components/model-table.tsx@@ -1,4 +1,4 @@-import type { ReactNode } from 'react'+import { useRef, useState, type ReactNode } from 'react'import { Link, useNavigate } from 'react-router-dom'import { useSortable } from '@dnd-kit/sortable'import { CSS } from '@dnd-kit/utilities'@@ -268,13 +268,78 @@ export const dragDots = (</svg>)+// The rank cell, editable in manual mode (#1317). Dragging a model from rank+// 140 to rank 3 across a long chain is dozens of rows of pointer travel; an+// operator with a target rank in mind should just type it. The number is a+// button that swaps in a tiny inline input: Enter commits, Escape cancels,+// blur commits (matching how lightweight inline editors behave in spreadsheets+// and OS file renames). Out-of-range or unparseable values are clamped by the+// caller; an unchanged rank just closes the editor.+export function RankEditor({ rank, onMoveRank }: { rank: number; onMoveRank: (toRank: number) => void }) {+ const { t } = useI18n()+ const [editing, setEditing] = useState(false)+ const [draft, setDraft] = useState('')+ // Set once the edit is settled (Enter, Escape or blur). Unmounting a focused+ // input can fire blur after Escape/Enter already ran, so without this guard+ // Escape could fall through to the blur-commit path, or Enter commit twice.+ const settled = useRef(false)++ function commit() {+ if (settled.current) return+ settled.current = true+ setEditing(false)+ const n = Number.parseInt(draft, 10)+ if (Number.isFinite(n) && n > 0 && n !== rank) onMoveRank(n)+ }++ function cancel() {+ settled.current = true+ setEditing(false)+ }++ if (editing) {+ return (+ <input+ type="number"+ min={1}+ autoFocus+ value={draft}+ onChange={e => setDraft(e.target.value)}+ onClick={e => e.stopPropagation()}+ onBlur={commit}+ onKeyDown={e => {+ e.stopPropagation()+ if (e.key === 'Enter') commit()+ if (e.key === 'Escape') cancel()+ }}+ aria-label={t('models.moveToRank')}+ className="w-9 rounded border bg-background px-1 py-0.5 text-center font-mono text-xs tabular-nums"+ />+ )+ }+ return (+ <button+ type="button"+ onClick={e => { e.stopPropagation(); settled.current = false; setDraft(String(rank)); setEditing(true) }}+ title={t('models.moveToRank')}+ aria-label={t('models.moveToRank')}+ className="w-full text-center font-mono text-xs text-muted-foreground tabular-nums underline decoration-dotted decoration-transparent underline-offset-2 hover:decoration-current hover:text-foreground transition-colors"+ >+ {rank}+ </button>+ )+}+// The collapsed header row for a logical-model group: name, provider count,// union vision/tools badges, the best member's axis bars + score, and a single// switch that enables/disables every provider in the group.-export function GroupHeaderCells({ group, rank, dragHandle, onToggleGroup, allRows, rateUsage }: {+export function GroupHeaderCells({ group, rank, dragHandle, editableRank, onMoveRank, onToggleGroup, allRows, rateUsage }: {group: ModelGroupRowrank: numberdragHandle?: ReactNode+ // Manual mode only: renders the rank as a click-to-type jump editor (#1317).+ editableRank?: boolean+ onMoveRank?: (toRank: number) => voidonToggleGroup: (memberIds: number[], enabled: boolean) => void// Every configured row, for endpoint disambiguation. Two relays serving one// model id land in different display groups the moment one copy is renamed,@@ -319,7 +384,11 @@ export function GroupHeaderCells({ group, rank, dragHandle, onToggleGroup, allRoreturn (<><td className="py-2 pl-3 pr-1 w-6 align-middle">{dragHandle ?? <span className="text-muted-foreground/30 select-none">·</span>}</td>- <td className="py-2 pr-2 w-6 text-center font-mono text-xs text-muted-foreground tabular-nums align-middle">{rank}</td>+ <td className="py-2 pr-2 w-6 text-center font-mono text-xs text-muted-foreground tabular-nums align-middle">+ {editableRank && onMoveRank+ ? <RankEditor rank={rank} onMoveRank={onMoveRank} />+ : rank}+ </td><td className="py-2 pr-3 align-middle"><div className="flex items-center gap-1.5 min-w-0"><Link to={`/models/chat/${detailId}`} aria-label={t('models.viewProviders')} onClick={e => e.stopPropagation()} className="flex items-center gap-2 flex-wrap text-left min-w-0">@@ -381,9 +450,11 @@ export function GroupHeaderCells({ group, rank, dragHandle, onToggleGroup, allRo)}-export function SortableGroupRow({ group, rank, onToggleGroup, allRows, rateUsage }: {+export function SortableGroupRow({ group, rank, editableRank, onMoveRank, onToggleGroup, allRows, rateUsage }: {group: ModelGroupRowrank: number+ editableRank?: boolean+ onMoveRank?: (toRank: number) => voidonToggleGroup: (memberIds: number[], enabled: boolean) => voidallRows?: readonly Row[]rateUsage?: ReadonlyMap<number, RateLimitUsageRow>@@ -414,7 +485,7 @@ export function SortableGroupRow({ group, rank, onToggleGroup, allRows, rateUsagonClick={() => navigate(`/models/chat/${detailId}`)}className={`group/row border-b last:border-0 bg-card cursor-pointer transition-colors hover:[&>td]:bg-muted/50 [&>td:first-child]:rounded-l-lg [&>td:last-child]:rounded-r-lg ${isDragging ? 'opacity-50' : ''} ${anyEnabled ? (depleted ? 'opacity-60' : '') : 'opacity-50'}`}>- <GroupHeaderCells group={group} rank={rank} dragHandle={handle} onToggleGroup={onToggleGroup} allRows={allRows} rateUsage={rateUsage} />+ <GroupHeaderCells group={group} rank={rank} dragHandle={handle} editableRank={editableRank} onMoveRank={onMoveRank} onToggleGroup={onToggleGroup} allRows={allRows} rateUsage={rateUsage} /></tr>)}diff --git a/client/src/i18n/locales/am.json b/client/src/i18n/locales/am.jsonindex 1f5760d8..dac74bcf 100644--- a/client/src/i18n/locales/am.json+++ b/client/src/i18n/locales/am.json@@ -209,6 +209,7 @@"noKey": "ቁልፍ የለም","dragToReorder": "እንደገና ለማዘዝ ይጎትቱ","dragToReorderGroup": "ሞዴሉን እንደገና ለማዘዝ ይጎትቱ",+ "moveToRank": "ወደ ደረጃ ዘልለው","providerCount": "{count} አቅራቢዎች","servedBy": "በ {providers} አገልግሏል","viewProviders": "አቅራቢዎችን ይመልከቱ",diff --git a/client/src/i18n/locales/ar.json b/client/src/i18n/locales/ar.jsonindex 5df04161..1c41a624 100644--- a/client/src/i18n/locales/ar.json+++ b/client/src/i18n/locales/ar.json@@ -209,6 +209,7 @@"noKey": "لا يوجد مفتاح","dragToReorder": "اسحب لإعادة الترتيب","dragToReorderGroup": "اسحب لإعادة ترتيب النموذج",+ "moveToRank": "الانتقال إلى الترتيب","providerCount": "مقدمي {count}","servedBy": "يخدمها {providers}","viewProviders": "عرض مقدمي الخدمة",diff --git a/client/src/i18n/locales/az.json b/client/src/i18n/locales/az.jsonindex 1984cda7..5438efe6 100644--- a/client/src/i18n/locales/az.json+++ b/client/src/i18n/locales/az.json@@ -209,6 +209,7 @@"noKey": "Açar yoxdur","dragToReorder": "Yenidən sıralamaq üçün sürükləmə","dragToReorderGroup": "Modeli yenidən sıralamaq üçün sürükləmə",+ "moveToRank": "Reytinqə keçid","providerCount": "{count} təminatçıları","servedBy": "Xidmət {providers}","viewProviders": "Bax təminatçıları",diff --git a/client/src/i18n/locales/bg.json b/client/src/i18n/locales/bg.jsonindex baa362de..efed6ec9 100644--- a/client/src/i18n/locales/bg.json+++ b/client/src/i18n/locales/bg.json@@ -209,6 +209,7 @@"noKey": "Без ключ","dragToReorder": "Съпротивление за пренареждане","dragToReorderGroup": "Модел за пренареждане на влачене",+ "moveToRank": "Към позиция","providerCount": "{count} доставчици","servedBy": "Обслужван от {providers}","viewProviders": "Вижте доставчиците",diff --git a/client/src/i18n/locales/bn.json b/client/src/i18n/locales/bn.jsonindex 49c6d7d8..0e724a29 100644--- a/client/src/i18n/locales/bn.json+++ b/client/src/i18n/locales/bn.json@@ -209,6 +209,7 @@"noKey": "কোন চাবি নেই","dragToReorder": "পুনরায় সাজাতে টেনে আনুন","dragToReorderGroup": "মডেল পুনরায় সাজাতে টেনে আনুন",+ "moveToRank": "র্যাংকে যান","providerCount": "{count} প্রদানকারী","servedBy": "{providers} দ্বারা পরিবেশিত","viewProviders": "প্রদানকারী দেখুন",diff --git a/client/src/i18n/locales/cs.json b/client/src/i18n/locales/cs.jsonindex 703c4d39..dd02affc 100644--- a/client/src/i18n/locales/cs.json+++ b/client/src/i18n/locales/cs.json@@ -209,6 +209,7 @@"noKey": "Bez klíče","dragToReorder": "Tah pro přeuspořádání","dragToReorderGroup": "Tah pro přeuspořádání modelu",+ "moveToRank": "Přejít na pozici","providerCount": "{count} poskytovatelé","servedBy": "Obsluhováno {providers}","viewProviders": "Zobrazit poskytovatele",diff --git a/client/src/i18n/locales/da.json b/client/src/i18n/locales/da.jsonindex 83e44d0b..2e3ce485 100644--- a/client/src/i18n/locales/da.json+++ b/client/src/i18n/locales/da.json@@ -209,6 +209,7 @@"noKey": "Ingen nøgle","dragToReorder": "Træk for at omorganisere","dragToReorderGroup": "Træk for at omarrangere modellen",+ "moveToRank": "Hop til rang","providerCount": "{count} udbydere","servedBy": "Betjent af {providers}","viewProviders": "Se udbydere",diff --git a/client/src/i18n/locales/de.json b/client/src/i18n/locales/de.jsonindex 41be6654..e62c36f1 100644--- a/client/src/i18n/locales/de.json+++ b/client/src/i18n/locales/de.json@@ -209,6 +209,7 @@"noKey": "kein Schlüssel","dragToReorder": "Zum Neuanordnen ziehen","dragToReorderGroup": "Ziehen Sie, um das Modell neu anzuordnen",+ "moveToRank": "Zu Rang springen","providerCount": "{count}-Anbieter","servedBy": "Bereitgestellt von {providers}","viewProviders": "Anbieter anzeigen",diff --git a/client/src/i18n/locales/el.json b/client/src/i18n/locales/el.jsonindex 9b11957c..a852c124 100644--- a/client/src/i18n/locales/el.json+++ b/client/src/i18n/locales/el.json@@ -209,6 +209,7 @@"noKey": "χωρίς κλειδί","dragToReorder": "Σύρετε για αναδιάταξη","dragToReorderGroup": "Σύρετε για να αλλάξετε τη σειρά του μοντέλου",+ "moveToRank": "Μετάβαση στην κατάταξη","providerCount": "{count} παρόχων","servedBy": "Σερβίρεται από {providers}","viewProviders": "Προβολή παρόχων",diff --git a/client/src/i18n/locales/en.json b/client/src/i18n/locales/en.jsonindex 8d48f05b..c635d434 100644--- a/client/src/i18n/locales/en.json+++ b/client/src/i18n/locales/en.json@@ -209,6 +209,7 @@"noKey": "no key","dragToReorder": "Drag to reorder","dragToReorderGroup": "Drag to reorder model",+ "moveToRank": "Jump to rank","providerCount": "{count} providers","servedBy": "Served by {providers}","viewProviders": "View providers",diff --git a/client/src/i18n/locales/es.json b/client/src/i18n/locales/es.jsonindex bb19e2ca..d436330e 100644--- a/client/src/i18n/locales/es.json+++ b/client/src/i18n/locales/es.json@@ -209,6 +209,7 @@"noKey": "sin clave","dragToReorder": "Arrastra para reordenar","dragToReorderGroup": "Arrastra para reordenar el modelo",+ "moveToRank": "Ir a la posición","providerCount": "{count} proveedores","servedBy": "Servido por {providers}","viewProviders": "Ver proveedores",diff --git a/client/src/i18n/locales/fa.json b/client/src/i18n/locales/fa.jsonindex 03292362..a8992e60 100644--- a/client/src/i18n/locales/fa.json+++ b/client/src/i18n/locales/fa.json@@ -209,6 +209,7 @@"noKey": "بدون کلید","dragToReorder": "برای سفارش مجدد بکشید","dragToReorderGroup": "برای سفارش مجدد مدل بکشید",+ "moveToRank": "پرش به رتبه","providerCount": "ارائه دهندگان {count}","servedBy": "ارائه شده توسط {providers}","viewProviders": "ارائه دهندگان را مشاهده کنید",diff --git a/client/src/i18n/locales/fi.json b/client/src/i18n/locales/fi.jsonindex 373c383b..efd7f15e 100644--- a/client/src/i18n/locales/fi.json+++ b/client/src/i18n/locales/fi.json@@ -209,6 +209,7 @@"noKey": "ei avainta","dragToReorder": "Drag ja järjestä uudelleen","dragToReorderGroup": "Vetäminen uudelleenjärjestelyyn mallin uudelleenjärjestelyyn",+ "moveToRank": "Siirry sijalle","providerCount": "{count} palveluntarjoajat","servedBy": "Palvelevat {providers}","viewProviders": "Näytä palveluntarjoajat",diff --git a/client/src/i18n/locales/fr.json b/client/src/i18n/locales/fr.jsonindex 83876c41..c62284ba 100644--- a/client/src/i18n/locales/fr.json+++ b/client/src/i18n/locales/fr.json@@ -209,6 +209,7 @@"noKey": "aucune clé","dragToReorder": "Glisser pour réordonner","dragToReorderGroup": "Glisser pour réorganiser le modèle",+ "moveToRank": "Aller au rang","providerCount": "{count} fournisseurs","servedBy": "Fourni par {providers}","viewProviders": "Voir les fournisseurs",diff --git a/client/src/i18n/locales/gu.json b/client/src/i18n/locales/gu.jsonindex 35f2dac9..4fc90b46 100644--- a/client/src/i18n/locales/gu.json+++ b/client/src/i18n/locales/gu.json@@ -209,6 +209,7 @@"noKey": "કોઈ ચાવી નથી","dragToReorder": "ફરીથી ગોઠવવા માટે ખેંચો","dragToReorderGroup": "મૉડલને ફરીથી ગોઠવવા માટે ખેંચો",+ "moveToRank": "શ્રેણીક્રમે જાઓ","providerCount": "{count} પ્રદાતાઓ","servedBy": "{providers} દ્વારા સેવા આપવામાં આવે છે","viewProviders": "પ્રદાતાઓ જુઓ",diff --git a/client/src/i18n/locales/ha.json b/client/src/i18n/locales/ha.jsonindex 1514623a..f4b4f877 100644--- a/client/src/i18n/locales/ha.json+++ b/client/src/i18n/locales/ha.json@@ -209,6 +209,7 @@"noKey": "babu makulli","dragToReorder": "Ja don sake yin oda","dragToReorderGroup": "Ja don sake yin tsari",+ "moveToRank": "Tsallawa zu matsayi","providerCount": "{count} masu samarwa","servedBy": "{providers} ya yi aiki","viewProviders": "Duba masu samarwa",diff --git a/client/src/i18n/locales/he.json b/client/src/i18n/locales/he.jsonindex 77d7bac3..75714c5e 100644--- a/client/src/i18n/locales/he.json+++ b/client/src/i18n/locales/he.json@@ -209,6 +209,7 @@"noKey": "אין מפתח","dragToReorder": "גרר לסידור מחדש","dragToReorderGroup": "גרור לסדר מחדש מודל",+ "moveToRank": "קפיצה לדירוג","providerCount": "ספקי {count}","servedBy": "משרת על ידי {providers}","viewProviders": "הצג ספקים",diff --git a/client/src/i18n/locales/hi.json b/client/src/i18n/locales/hi.jsonindex 2af8aba4..aa22334c 100644--- a/client/src/i18n/locales/hi.json+++ b/client/src/i18n/locales/hi.json@@ -209,6 +209,7 @@"noKey": "कोई कुंजी नहीं","dragToReorder": "पुनः व्यवस्थित करने के लिए खींचें","dragToReorderGroup": "मॉडल को पुनः व्यवस्थित करने के लिए खींचें",+ "moveToRank": "रैंक पर जाएँ","providerCount": "{count} प्रदाता","servedBy": "{providers} द्वारा सेवा प्रदान की गई","viewProviders": "प्रदाताओं को देखें",diff --git a/client/src/i18n/locales/hr.json b/client/src/i18n/locales/hr.jsonindex c09d6ac5..697675f7 100644--- a/client/src/i18n/locales/hr.json+++ b/client/src/i18n/locales/hr.json@@ -209,6 +209,7 @@"noKey": "Nema ključa","dragToReorder": "Povlačenje radi ponovnog redoslijeda","dragToReorderGroup": "Povlačenje za promjenu redoslijeda modela",+ "moveToRank": "Skoči na plasman","providerCount": "{count} pružatelji usluga","servedBy": "Služio {providers}","viewProviders": "Pogledajte pružatelje usluga",diff --git a/client/src/i18n/locales/hu.json b/client/src/i18n/locales/hu.jsonindex 338679b7..e5fef3f0 100644--- a/client/src/i18n/locales/hu.json+++ b/client/src/i18n/locales/hu.json@@ -209,6 +209,7 @@"noKey": "Nincs kulcs","dragToReorder": "Drag újrarendezéshez","dragToReorderGroup": "Drag a modell újrarendezéséhez",+ "moveToRank": "Ugrás rangszámra","providerCount": "{count} szolgáltatók","servedBy": "A {providers} által szolgálva","viewProviders": "Szolgáltatók megtekintése",diff --git a/client/src/i18n/locales/id.json b/client/src/i18n/locales/id.jsonindex 7f185242..549c2c97 100644--- a/client/src/i18n/locales/id.json+++ b/client/src/i18n/locales/id.json@@ -209,6 +209,7 @@"noKey": "tidak ada kunci","dragToReorder": "Tarik untuk menyusun ulang","dragToReorderGroup": "Seret untuk menyusun ulang model",+ "moveToRank": "Lompat ke peringkat","providerCount": "Penyedia {count}","servedBy": "Dilayani oleh {providers}","viewProviders": "Lihat penyedia",diff --git a/client/src/i18n/locales/ig.json b/client/src/i18n/locales/ig.jsonindex 57e98514..b75b8490 100644--- a/client/src/i18n/locales/ig.json+++ b/client/src/i18n/locales/ig.json@@ -209,6 +209,7 @@"noKey": "enweghị igodo","dragToReorder": "Dọrọ ka ị hazie","dragToReorderGroup": "Dọrọ ka ị hazie ihe nlereanya",+ "moveToRank": "Gaa na ọkwa","providerCount": "Ndị na-eweta {count}","servedBy": "{providers} na-ejere ya ozi","viewProviders": "Lelee ndị na-eweta ya",diff --git a/client/src/i18n/locales/it.json b/client/src/i18n/locales/it.jsonindex 2910842f..8f6d2cb7 100644--- a/client/src/i18n/locales/it.json+++ b/client/src/i18n/locales/it.json@@ -209,6 +209,7 @@"noKey": "nessuna chiave","dragToReorder": "Trascina per riordinare","dragToReorderGroup": "Trascina per riordinare il modello",+ "moveToRank": "Vai alla posizione","providerCount": "{count} fornitori","servedBy": "Servito da {providers}","viewProviders": "Vedi fornitori",diff --git a/client/src/i18n/locales/ja.json b/client/src/i18n/locales/ja.jsonindex 0c59e499..b5638d10 100644--- a/client/src/i18n/locales/ja.json+++ b/client/src/i18n/locales/ja.json@@ -209,6 +209,7 @@"noKey": "鍵がありません","dragToReorder": "ドラッグして並べ替えます","dragToReorderGroup": "ドラッグしてモデルを並べ替えます",+ "moveToRank": "ランクへ移動","providerCount": "{count}プロバイダー","servedBy": "{providers}が提供","viewProviders": "プロバイダーを表示する",diff --git a/client/src/i18n/locales/ka.json b/client/src/i18n/locales/ka.jsonindex e60f7a86..55abfbd1 100644--- a/client/src/i18n/locales/ka.json+++ b/client/src/i18n/locales/ka.json@@ -209,6 +209,7 @@"noKey": "გასაღების გარეშე","dragToReorder": "გადაიტანეთ ხელახლა შეკვეთისთვის","dragToReorderGroup": "გადაიტანეთ მოდელის ხელახლა შეკვეთისთვის",+ "moveToRank": "გადასვლა რანგზე","providerCount": "{count} პროვაიდერები","servedBy": "ემსახურება {providers}","viewProviders": "პროვაიდერების ნახვა",diff --git a/client/src/i18n/locales/km.json b/client/src/i18n/locales/km.jsonindex 7fae4673..593138b8 100644--- a/client/src/i18n/locales/km.json+++ b/client/src/i18n/locales/km.json@@ -209,6 +209,7 @@"noKey": "គ្មានសោ","dragToReorder": "អូសដើម្បីរៀបចំឡើងវិញ","dragToReorderGroup": "អូសដើម្បីរៀបចំម៉ូដែលឡើងវិញ",+ "moveToRank": "ទៅកាន់ចំណាត់","providerCount": "{count}","servedBy": "បម្រើដោយ {providers}","viewProviders": "មើលអ្នកផ្តល់សេវា",diff --git a/client/src/i18n/locales/kn.json b/client/src/i18n/locales/kn.jsonindex 0aa89149..f02d9725 100644--- a/client/src/i18n/locales/kn.json+++ b/client/src/i18n/locales/kn.json@@ -209,6 +209,7 @@"noKey": "ಕೀ ಇಲ್ಲ","dragToReorder": "ಮರುಕ್ರಮಗೊಳಿಸಲು ಎಳೆಯಿರಿ","dragToReorderGroup": "ಮಾದರಿಯನ್ನು ಮರುಕ್ರಮಗೊಳಿಸಲು ಎಳೆಯಿರಿ",+ "moveToRank": "ರೆಂಕ್ಗೆ ಹೋಗಿ","providerCount": "{count} ಪೂರೈಕೆದಾರರು","servedBy": "{providers} ಮೂಲಕ ಸೇವೆ ಸಲ್ಲಿಸಲಾಗಿದೆ","viewProviders": "ಪೂರೈಕೆದಾರರನ್ನು ವೀಕ್ಷಿಸಿ",diff --git a/client/src/i18n/locales/ko.json b/client/src/i18n/locales/ko.jsonindex 87b23e1f..6827368e 100644--- a/client/src/i18n/locales/ko.json+++ b/client/src/i18n/locales/ko.json@@ -209,6 +209,7 @@"noKey": "열쇠 없음","dragToReorder": "드래그하여 재정렬하세요.","dragToReorderGroup": "드래그하여 모델 재정렬",+ "moveToRank": "순위이동","providerCount": "{count} 제공업체","servedBy": "{providers} 제공","viewProviders": "공급자 보기",diff --git a/client/src/i18n/locales/lt.json b/client/src/i18n/locales/lt.jsonindex 1e0f9e59..be4c8a84 100644--- a/client/src/i18n/locales/lt.json+++ b/client/src/i18n/locales/lt.json@@ -209,6 +209,7 @@"noKey": "Be rakto","dragToReorder": "Vilkimas į pertvarką","dragToReorderGroup": "Vilkimas į pertvarkos modelį",+ "moveToRank": "Peršokti į poziciją","providerCount": "{count} teikėjai","servedBy": "Aptarnavo {providers}","viewProviders": "Peržiūrėti tiekėjai",diff --git a/client/src/i18n/locales/ml.json b/client/src/i18n/locales/ml.jsonindex 04aec6a5..92fa23bc 100644--- a/client/src/i18n/locales/ml.json+++ b/client/src/i18n/locales/ml.json@@ -209,6 +209,7 @@"noKey": "താക്കോൽ ഇല്ല","dragToReorder": "പുനഃക്രമീകരിക്കാൻ വലിച്ചിടുക","dragToReorderGroup": "മോഡൽ പുനഃക്രമീകരിക്കാൻ വലിച്ചിടുക",+ "moveToRank": "റാങ്കിലേക്ക്","providerCount": "{count} ദാതാക്കൾ","servedBy": "{providers} സേവനം നൽകുന്നു","viewProviders": "ദാതാക്കളെ കാണുക",diff --git a/client/src/i18n/locales/mr.json b/client/src/i18n/locales/mr.jsonindex 41488339..cc74d18d 100644--- a/client/src/i18n/locales/mr.json+++ b/client/src/i18n/locales/mr.json@@ -209,6 +209,7 @@"noKey": "चावी नाही","dragToReorder": "पुनर्क्रमित करण्यासाठी ड्रॅग करा","dragToReorderGroup": "मॉडेल पुनर्क्रमित करण्यासाठी ड्रॅग करा",+ "moveToRank": "क्रमांकावर जा","providerCount": "{count} प्रदाता","servedBy": "{providers} द्वारे सेवा दिली","viewProviders": "प्रदाते पहा",diff --git a/client/src/i18n/locales/ms.json b/client/src/i18n/locales/ms.jsonindex 47aec368..7976ec10 100644--- a/client/src/i18n/locales/ms.json+++ b/client/src/i18n/locales/ms.json@@ -209,6 +209,7 @@"noKey": "tiada kunci","dragToReorder": "Seret untuk menyusun semula","dragToReorderGroup": "Seret untuk menyusun semula model",+ "moveToRank": "Lompat ke pangkat","providerCount": "{count} penyedia","servedBy": "Dihidangkan oleh {providers}","viewProviders": "Lihat penyedia",diff --git a/client/src/i18n/locales/my.json b/client/src/i18n/locales/my.jsonindex 6ddbd62d..e1a94352 100644--- a/client/src/i18n/locales/my.json+++ b/client/src/i18n/locales/my.json@@ -209,6 +209,7 @@"noKey": "သော့မရှိ","dragToReorder": "ပြန်စီစဉ်ရန် ဆွဲပါ","dragToReorderGroup": "မော်ဒယ်ကို ပြန်စီရန် ဆွဲယူပါ",+ "moveToRank": "အဆင့်သို့ သွားရန်","providerCount": "{count} ပံ့ပိုးသူများ","servedBy": "ဝန်ဆောင်မှုပေးသူ {providers}","viewProviders": "ပံ့ပိုးသူများကို ကြည့်ရှုပါ",diff --git a/client/src/i18n/locales/ne.json b/client/src/i18n/locales/ne.jsonindex bc4bcee9..72003043 100644--- a/client/src/i18n/locales/ne.json+++ b/client/src/i18n/locales/ne.json@@ -209,6 +209,7 @@"noKey": "कुञ्जी छैन","dragToReorder": "पुन: क्रमबद्ध गर्न तान्नुहोस्","dragToReorderGroup": "नमूना पुन: क्रमबद्ध गर्न तान्नुहोस्",+ "moveToRank": "र्याङ्कमा जानुहोस्","providerCount": "प्रदायकहरू {count} गर्नुहोस्","servedBy": "{providers} द्वारा सेवा गरिएको","viewProviders": "प्रदायक हेर्नुहोस्",diff --git a/client/src/i18n/locales/nl.json b/client/src/i18n/locales/nl.jsonindex 0dbc4abb..49511202 100644--- a/client/src/i18n/locales/nl.json+++ b/client/src/i18n/locales/nl.json@@ -209,6 +209,7 @@"noKey": "Geen sleutel","dragToReorder": "Slepen om te herschikken","dragToReorderGroup": "Sleep om model te herschikken",+ "moveToRank": "Ga naar positie","providerCount": "{count} aanbieders","servedBy": "Bediend door {providers}","viewProviders": "Bekijk aanbieders",diff --git a/client/src/i18n/locales/no.json b/client/src/i18n/locales/no.jsonindex 9621a29e..21472d16 100644--- a/client/src/i18n/locales/no.json+++ b/client/src/i18n/locales/no.json@@ -209,6 +209,7 @@"noKey": "Ingen nøkkel","dragToReorder": "Dra for å omorganisere","dragToReorderGroup": "Dra for å omorganisere modellen",+ "moveToRank": "Hopp til rang","providerCount": "{count} leverandører","servedBy": "Betjent av {providers}","viewProviders": "Vis leverandører",diff --git a/client/src/i18n/locales/or.json b/client/src/i18n/locales/or.jsonindex d9afaed4..57b11ff8 100644--- a/client/src/i18n/locales/or.json+++ b/client/src/i18n/locales/or.json@@ -209,6 +209,7 @@"noKey": "କୌଣସି ଚାବି ନାହିଁ","dragToReorder": "ପୁନଃକ୍ରମ କରିବାକୁ ଡ୍ରାଗ୍ କରନ୍ତୁ","dragToReorderGroup": "ମଡେଲ୍ ପୁନଃକ୍ରମ କରିବାକୁ ଡ୍ରାଗ୍ କରନ୍ତୁ",+ "moveToRank": "ର୍ୟାଙ୍କକୁ ଯାଆନ୍ତୁ","providerCount": "{count} ପ୍ରଦାନକାରୀ","servedBy": "{providers} ଦ୍ୱାରା ପରିବେଷଣ କରାଯାଇଥିଲା","viewProviders": "ପ୍ରଦାନକାରୀ ଦର୍ଶନ କରନ୍ତୁ",diff --git a/client/src/i18n/locales/pa.json b/client/src/i18n/locales/pa.jsonindex b49c2b40..2073f8e2 100644--- a/client/src/i18n/locales/pa.json+++ b/client/src/i18n/locales/pa.json@@ -209,6 +209,7 @@"noKey": "ਕੋਈ ਕੁੰਜੀ ਨਹੀਂ","dragToReorder": "ਮੁੜ ਕ੍ਰਮਬੱਧ ਕਰਨ ਲਈ ਘਸੀਟੋ","dragToReorderGroup": "ਮਾਡਲ ਨੂੰ ਮੁੜ ਕ੍ਰਮਬੱਧ ਕਰਨ ਲਈ ਘਸੀਟੋ",+ "moveToRank": "ਰੈਂਕ ਤੇ ਜਾਓ","providerCount": "{count} ਪ੍ਰਦਾਤਾ","servedBy": "{providers} ਦੁਆਰਾ ਸੇਵਾ ਕੀਤੀ ਗਈ","viewProviders": "ਪ੍ਰਦਾਤਾ ਦੇਖੋ",diff --git a/client/src/i18n/locales/pl.json b/client/src/i18n/locales/pl.jsonindex 509fcd4f..b6d1ecab 100644--- a/client/src/i18n/locales/pl.json+++ b/client/src/i18n/locales/pl.json@@ -209,6 +209,7 @@"noKey": "brak klucza","dragToReorder": "Przeciągnij, aby zmienić kolejność","dragToReorderGroup": "Przeciągnij, aby zmienić kolejność modelu",+ "moveToRank": "Przejdź do rangi","providerCount": "Dostawcy {count}","servedBy": "Obsługiwane przez {providers}","viewProviders": "Zobacz dostawców",diff --git a/client/src/i18n/locales/pt-BR.json b/client/src/i18n/locales/pt-BR.jsonindex bd6faf41..d69d0d3b 100644--- a/client/src/i18n/locales/pt-BR.json+++ b/client/src/i18n/locales/pt-BR.json@@ -209,6 +209,7 @@"noKey": "sem chave","dragToReorder": "Arraste para reordenar","dragToReorderGroup": "Arraste para reordenar o modelo",+ "moveToRank": "Ir para a posição","providerCount": "{count} provedores","servedBy": "Servido por {providers}","viewProviders": "Ver provedores",diff --git a/client/src/i18n/locales/pt-PT.json b/client/src/i18n/locales/pt-PT.jsonindex 55ff8f87..54c24e9e 100644--- a/client/src/i18n/locales/pt-PT.json+++ b/client/src/i18n/locales/pt-PT.json@@ -209,6 +209,7 @@"noKey": "sem chave","dragToReorder": "Arrasto para reordenação","dragToReorderGroup": "Arrasto para reordenar o modelo",+ "moveToRank": "Ir para a posição","providerCount": "{count} Prestadores","servedBy": "Servido por {providers}","viewProviders": "Ver fornecedores",diff --git a/client/src/i18n/locales/ro.json b/client/src/i18n/locales/ro.jsonindex cb2eb5a0..af9e10a5 100644--- a/client/src/i18n/locales/ro.json+++ b/client/src/i18n/locales/ro.json@@ -209,6 +209,7 @@"noKey": "fără cheie","dragToReorder": "Rezistența la reordonare","dragToReorderGroup": "Drag la reordonare a modelului",+ "moveToRank": "Sari la poziția","providerCount": "{count} furnizori","servedBy": "Deservit de {providers}","viewProviders": "Vezi furnizorii",diff --git a/client/src/i18n/locales/ru.json b/client/src/i18n/locales/ru.jsonindex 9eee36d6..57948e02 100644--- a/client/src/i18n/locales/ru.json+++ b/client/src/i18n/locales/ru.json@@ -209,6 +209,7 @@"noKey": "нет ключа","dragToReorder": "Перетащите, чтобы изменить порядок","dragToReorderGroup": "Перетащите, чтобы изменить порядок модели",+ "moveToRank": "Перейти к рангу","providerCount": "Поставщики {count}","servedBy": "Обслуживает {providers}","viewProviders": "Посмотреть поставщиков",diff --git a/client/src/i18n/locales/si.json b/client/src/i18n/locales/si.jsonindex a7e67c72..76e5e510 100644--- a/client/src/i18n/locales/si.json+++ b/client/src/i18n/locales/si.json@@ -209,6 +209,7 @@"noKey": "යතුරක් නැත","dragToReorder": "නැවත ඇණවුම් කිරීමට අදින්න","dragToReorderGroup": "ආකෘතිය නැවත ඇණවුම් කිරීමට අදින්න",+ "moveToRank": "රැන්ක් එකට යන්න","providerCount": "{count} සපයන්නන්","servedBy": "{providers} විසින් සේවය කරන ලදී","viewProviders": "සපයන්නන් බලන්න",diff --git a/client/src/i18n/locales/sk.json b/client/src/i18n/locales/sk.jsonindex 701df24e..d7275970 100644--- a/client/src/i18n/locales/sk.json+++ b/client/src/i18n/locales/sk.json@@ -209,6 +209,7 @@"noKey": "Bez kľúča","dragToReorder": "Drag na preusporiadanie","dragToReorderGroup": "Drag na preusporiadanie modelu",+ "moveToRank": "Prejsť na pozíciu","providerCount": "{count} poskytovatelia","servedBy": "Obsluhované {providers}","viewProviders": "Zobraziť poskytovateľov",diff --git a/client/src/i18n/locales/sr.json b/client/src/i18n/locales/sr.jsonindex 60224768..da3b9d70 100644--- a/client/src/i18n/locales/sr.json+++ b/client/src/i18n/locales/sr.json@@ -209,6 +209,7 @@"noKey": "без кључа","dragToReorder": "Превуците да бисте променили редослед","dragToReorderGroup": "Превуците да бисте променили редослед модела",+ "moveToRank": "Скочи на ранг","providerCount": "{count} провајдери","servedBy": "Служи {providers}","viewProviders": "Погледајте добављаче",diff --git a/client/src/i18n/locales/sv.json b/client/src/i18n/locales/sv.jsonindex 4f8da11f..f559e65c 100644--- a/client/src/i18n/locales/sv.json+++ b/client/src/i18n/locales/sv.json@@ -209,6 +209,7 @@"noKey": "Ingen nyckel","dragToReorder": "Dra för att omordna","dragToReorderGroup": "Dra för att omordna modellen",+ "moveToRank": "Hoppa till rang","providerCount": "{count} leverantörer","servedBy": "Trafikerad av {providers}","viewProviders": "Visa leverantörer",diff --git a/client/src/i18n/locales/sw.json b/client/src/i18n/locales/sw.jsonindex 07e24c1c..e67a780a 100644--- a/client/src/i18n/locales/sw.json+++ b/client/src/i18n/locales/sw.json@@ -209,6 +209,7 @@"noKey": "hakuna ufunguo","dragToReorder": "Buruta ili kupanga upya","dragToReorderGroup": "Buruta ili kupanga upya muundo",+ "moveToRank": "Ruka hadi nafasi","providerCount": "Mtoaji wa {count}","servedBy": "Imetolewa na {providers}","viewProviders": "Tazama watoa huduma",diff --git a/client/src/i18n/locales/ta.json b/client/src/i18n/locales/ta.jsonindex ddc5dcfd..703608d7 100644--- a/client/src/i18n/locales/ta.json+++ b/client/src/i18n/locales/ta.json@@ -209,6 +209,7 @@"noKey": "சாவி இல்லை","dragToReorder": "மறுவரிசைப்படுத்த இழுக்கவும்","dragToReorderGroup": "மாதிரியை மறுவரிசைப்படுத்த இழுக்கவும்",+ "moveToRank": "வரிசைக்குச் செல்","providerCount": "{count} வழங்குநர்கள்","servedBy": "{providers} ஆல் வழங்கப்பட்டது","viewProviders": "வழங்குநர்களைக் காண்க",diff --git a/client/src/i18n/locales/te.json b/client/src/i18n/locales/te.jsonindex b798e554..1e17d1cc 100644--- a/client/src/i18n/locales/te.json+++ b/client/src/i18n/locales/te.json@@ -209,6 +209,7 @@"noKey": "కీ లేదు","dragToReorder": "క్రమాన్ని మార్చడానికి లాగండి","dragToReorderGroup": "మోడల్ క్రమాన్ని మార్చడానికి లాగండి",+ "moveToRank": "ర్్యాంక్కు వెళ్లండి","providerCount": "{count} ప్రొవైడర్లు","servedBy": "{providers} ద్వారా అందించబడింది","viewProviders": "ప్రొవైడర్లను వీక్షించండి",diff --git a/client/src/i18n/locales/th.json b/client/src/i18n/locales/th.jsonindex ffd158b6..0b0417e3 100644--- a/client/src/i18n/locales/th.json+++ b/client/src/i18n/locales/th.json@@ -209,6 +209,7 @@"noKey": "ไม่มีกุญแจ","dragToReorder": "ลากเพื่อเรียงลำดับใหม่","dragToReorderGroup": "ลากเพื่อจัดลำดับโมเดลใหม่",+ "moveToRank": "ไปที่อันดับ","providerCount": "ผู้ให้บริการ {count}","servedBy": "ให้บริการโดย {providers}","viewProviders": "ดูผู้ให้บริการ",diff --git a/client/src/i18n/locales/tl.json b/client/src/i18n/locales/tl.jsonindex 17628611..e5d7f9ec 100644--- a/client/src/i18n/locales/tl.json+++ b/client/src/i18n/locales/tl.json@@ -209,6 +209,7 @@"noKey": "walang susi","dragToReorder": "I-drag para mag-ayos muli","dragToReorderGroup": "I-drag upang ayusin muli ang modelo",+ "moveToRank": "Tumalon sa ranggo","providerCount": "{count} mga tagapagbigay","servedBy": "Pinagsilbihan ni {providers}","viewProviders": "Tingnan ang mga provider",diff --git a/client/src/i18n/locales/tr.json b/client/src/i18n/locales/tr.jsonindex 9255d837..af0366b6 100644--- a/client/src/i18n/locales/tr.json+++ b/client/src/i18n/locales/tr.json@@ -209,6 +209,7 @@"noKey": "anahtar yok","dragToReorder": "Yeniden sıralamak için sürükleyin","dragToReorderGroup": "Modeli yeniden sıralamak için sürükleyin",+ "moveToRank": "Rütbeye git","providerCount": "{count} sağlayıcıları","servedBy": "{providers} tarafından sunulmaktadır","viewProviders": "Sağlayıcıları görüntüle",diff --git a/client/src/i18n/locales/uk.json b/client/src/i18n/locales/uk.jsonindex 887eccf7..0814a48a 100644--- a/client/src/i18n/locales/uk.json+++ b/client/src/i18n/locales/uk.json@@ -209,6 +209,7 @@"noKey": "немає ключа","dragToReorder": "Перетягніть, щоб змінити порядок","dragToReorderGroup": "Перетягніть, щоб змінити порядок моделі",+ "moveToRank": "Перейти до рангу","providerCount": "Провайдери {count}","servedBy": "Обслуговує {providers}","viewProviders": "Переглянути постачальників",diff --git a/client/src/i18n/locales/ur.json b/client/src/i18n/locales/ur.jsonindex 2a2795c0..1b65be4d 100644--- a/client/src/i18n/locales/ur.json+++ b/client/src/i18n/locales/ur.json@@ -209,6 +209,7 @@"noKey": "کوئی چابی نہیں","dragToReorder": "دوبارہ ترتیب دینے کے لیے گھسیٹیں۔","dragToReorderGroup": "ماڈل کو دوبارہ ترتیب دینے کے لیے گھسیٹیں۔",+ "moveToRank": "رینک پر جائیں","providerCount": "{count} فراہم کنندگان","servedBy": "{providers} کے ذریعہ پیش کیا گیا۔","viewProviders": "فراہم کنندگان کو دیکھیں",diff --git a/client/src/i18n/locales/uz.json b/client/src/i18n/locales/uz.jsonindex 1569a5ee..626a8ec1 100644--- a/client/src/i18n/locales/uz.json+++ b/client/src/i18n/locales/uz.json@@ -209,6 +209,7 @@"noKey": "kalit yo'q","dragToReorder": "Qayta tartiblash uchun torting","dragToReorderGroup": "Modelni qayta tartiblash uchun torting",+ "moveToRank": "Rangga o‘tish","providerCount": "{count} provayderlari","servedBy": "{providers} tomonidan xizmat qiladi","viewProviders": "Provayderlarni ko'rish",diff --git a/client/src/i18n/locales/vi.json b/client/src/i18n/locales/vi.jsonindex 4ce48a64..0d68943b 100644--- a/client/src/i18n/locales/vi.json+++ b/client/src/i18n/locales/vi.json@@ -209,6 +209,7 @@"noKey": "không có chìa khóa","dragToReorder": "Kéo để sắp xếp lại","dragToReorderGroup": "Kéo để sắp xếp lại mô hình",+ "moveToRank": "Nhảy đến hạng","providerCount": "Nhà cung cấp {count}","servedBy": "Được phục vụ bởi {providers}","viewProviders": "Xem nhà cung cấp",diff --git a/client/src/i18n/locales/yo.json b/client/src/i18n/locales/yo.jsonindex 21ca75fc..6110cc04 100644--- a/client/src/i18n/locales/yo.json+++ b/client/src/i18n/locales/yo.json@@ -209,6 +209,7 @@"noKey": "ko si bọtini","dragToReorder": "Fa lati tunto","dragToReorderGroup": "Fa lati tunto awoṣe",+ "moveToRank": "Fò sí ipò","providerCount": "{count} olupese","servedBy": "Yoo wa nipasẹ {providers}","viewProviders": "Wo awọn olupese",diff --git a/client/src/i18n/locales/zh-CN.json b/client/src/i18n/locales/zh-CN.jsonindex 7315d711..b464208f 100644--- a/client/src/i18n/locales/zh-CN.json+++ b/client/src/i18n/locales/zh-CN.json@@ -209,6 +209,7 @@"noKey": "无密钥","dragToReorder": "拖动以重新排序","dragToReorderGroup": "拖动以重新排序模型",+ "moveToRank": "跳转到排名","providerCount": "{count} 个提供方","servedBy": "由 {providers} 提供","viewProviders": "查看提供方",diff --git a/client/src/i18n/locales/zh-TW.json b/client/src/i18n/locales/zh-TW.jsonindex 3e955672..5776ffc6 100644--- a/client/src/i18n/locales/zh-TW.json+++ b/client/src/i18n/locales/zh-TW.json@@ -209,6 +209,7 @@"noKey": "無金鑰","dragToReorder": "拖曳以重新排序","dragToReorderGroup": "拖曳以重新排序模型",+ "moveToRank": "跳轉到排名","providerCount": "{count} 個提供者","servedBy": "由 {providers} 提供","viewProviders": "查看提供者",diff --git a/client/src/lib/routing.test.ts b/client/src/lib/routing.test.tsindex c463f395..785eb498 100644--- a/client/src/lib/routing.test.ts+++ b/client/src/lib/routing.test.ts@@ -13,6 +13,7 @@ import {tightestRateLimit,type RateLimitUsageRow,type Row,+ clampRankToIndex,} from './routing'// Per-endpoint identity must be INVISIBLE until two endpoints actually serve the@@ -401,3 +402,24 @@ describe('depleted rows (#1015)', () => {expect(groups.map(g => g.members[0].modelDbId)).toEqual([2, 1])})})++describe('clampRankToIndex (#1317)', () => {+ const N = 10+ it('maps a typed 1-based rank to the 0-based index', () => {+ expect(clampRankToIndex(1, N)).toBe(0)+ expect(clampRankToIndex(5, N)).toBe(4)+ expect(clampRankToIndex(N, N)).toBe(N - 1)+ })+ it('clamps instead of erroring: below 1 goes to the front, past the end goes last', () => {+ expect(clampRankToIndex(-3, N)).toBe(0)+ expect(clampRankToIndex(0, N)).toBe(0)+ expect(clampRankToIndex(999, N)).toBe(N - 1)+ })+ it('truncates fractional ranks', () => {+ expect(clampRankToIndex(3.9, N)).toBe(2)+ })+ it('rejects unparseable values so the row stays put', () => {+ expect(clampRankToIndex(Number.NaN, N)).toBe(-1)+ expect(clampRankToIndex(Infinity, N)).toBe(-1)+ })+})diff --git a/client/src/lib/routing.ts b/client/src/lib/routing.tsindex 18efb560..c71f9db5 100644--- a/client/src/lib/routing.ts+++ b/client/src/lib/routing.ts@@ -501,6 +501,16 @@ export function buildGroups(return groups}+// Clamp a typed 1-based rank (#1317) to a valid 0-based index into the visible+// chain. Jump-to-rank edits clamp instead of erroring: 1 means "front", a+// number past the end means "last", and garbage falls back to staying put.+export function clampRankToIndex(toRank: number, length: number): number {+ if (!Number.isFinite(toRank)) return -1+ const i = Math.trunc(toRank) - 1+ if (i < 0) return 0+ return i > length - 1 ? length - 1 : i+}+/*** Whether a search query matches a logical-model group (#1056). The hay covers* everything the table can DISPLAY for the group: its label, canonical id, anddiff --git a/client/src/pages/FallbackPage.tsx b/client/src/pages/FallbackPage.tsxindex 9dcea2aa..33663254 100644--- a/client/src/pages/FallbackPage.tsx+++ b/client/src/pages/FallbackPage.tsx@@ -21,6 +21,7 @@ import { useI18n } from '@/i18n'import { apiFetch } from '@/lib/api'import {buildGroups,+ clampRankToIndex,isGroupDepleted,groupMatchesQuery,groupMaxContext,@@ -304,6 +305,19 @@ export default function FallbackPage() {setLocalEntries(allEntries.map(e => ({ ...e, priority: prio.get(e.modelDbId) ?? e.priority })))}+ // Jump-to-rank (#1317): type a target rank instead of dragging a model across+ // a long chain. Same staging path as drag — persistGroupOrder serializes the+ // new display order into localEntries and Save commits it. The typed rank is+ // clamped to the chain, so 1 means "front of the queue" and an over-the-end+ // number means "last" without needing a validation error.+ function handleMoveGroupRank(key: string, toRank: number) {+ const oldI = orderedGroups.findIndex(g => g.key === key)+ if (oldI < 0) return+ const newI = clampRankToIndex(toRank, orderedGroups.length)+ if (newI === oldI) return+ persistGroupOrder(arrayMove(orderedGroups, oldI, newI))+ }+// Reorder models (the failover priority order). Providers within a model are// ordered by the active strategy and managed on the model's own page.function handleGroupedDragEnd(event: DragEndEvent) {@@ -599,7 +613,7 @@ export default function FallbackPage() {<SortableContext items={renderedGroups.map(g => `grp:${g.key}`)} strategy={verticalListSortingStrategy}><tbody>{renderedGroups.map(g => (- <SortableGroupRow key={g.key} group={g} rank={rankByKey.get(g.key) ?? 0} onToggleGroup={handleGroupToggle} allRows={rows} rateUsage={rateUsageByModel} />+ <SortableGroupRow key={g.key} group={g} rank={rankByKey.get(g.key) ?? 0} editableRank onMoveRank={r => handleMoveGroupRank(g.key, r)} onToggleGroup={handleGroupToggle} allRows={rows} rateUsage={rateUsageByModel} />))}</tbody></SortableContext>