Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 0 additions & 1 deletion precomputer/src/utils/queue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ export const getQueueCommon = async ({ api, params }: Props): Promise<QueueCommo
return {
name,
title,
rfcNumber: rfcNumber ?? undefined,
pages,
clusters: typeof clusterNumber === 'number' ? [clusterNumber] : undefined,
enqueuedAtIso: enqueuedAt?.toISOString(),
Expand Down
9 changes: 1 addition & 8 deletions website/app/components/FinalReviewIndexTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,6 @@ const columns = [
},
sortingFn: 'alphanumeric',
}),
columnHelper.accessor('rfcNumber', {
header: 'RFC Number',
cell: data => data.getValue(),
sortingFn: 'alphanumeric',
sortUndefined: 'last',
}),
columnHelper.accessor(
'labels', {
header: 'Labels',
Expand Down Expand Up @@ -118,8 +112,7 @@ const table = useVueTable({
if (searchQuery.value && searchQuery.value.trim()) {
const searchTerm = searchQuery.value.trim().toLowerCase()
const nameMatch = d.name?.toLowerCase().includes(searchTerm)
const rfcMatch = d.rfcNumber?.toString().toLowerCase().includes(searchTerm)
if (!nameMatch && !rfcMatch) {
if (!nameMatch) {
return false
}
}
Expand Down
13 changes: 1 addition & 12 deletions website/app/components/QueueIndexTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -81,16 +81,6 @@ const columns = [
},
sortingFn: 'alphanumeric',
}),
columnHelper.accessor('rfcNumber', {
header: 'RFC Number',
cell: data => data.getValue(),
sortingFn: (rowA, rowB, columnId) => {
const a = Number(rowA.getValue(columnId))
const b = Number(rowB.getValue(columnId))
return a - b
},
sortUndefined: 'last',
}),
columnHelper.accessor(
'labels', {
header: 'Labels',
Expand Down Expand Up @@ -198,8 +188,7 @@ const table = useVueTable({
if (searchQuery.value && searchQuery.value.trim()) {
const searchTerm = searchQuery.value.trim().toLowerCase()
const nameMatch = d.name?.toLowerCase().includes(searchTerm)
const rfcMatch = d.rfcNumber?.toString().toLowerCase().includes(searchTerm)
if (!nameMatch && !rfcMatch) {
if (!nameMatch) {
return false
}
}
Expand Down
2 changes: 1 addition & 1 deletion website/app/utils/validators.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export const QueueCommonItemSchema = z.object({
deadlineIso: z.string().optional(), // ISO date
labels: LabelCommonSchema.array().optional(),
clusters: z.number().array().optional(),
rfcNumber: z.number().optional(),
// rfcNumber: z.number().optional(),
pages: z.number().optional(),
enqueuedAtIso: z.string().optional(), // ISO date
ianaStatus: IanaStatusCommonSchema.optional(),
Expand Down