-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
deprisma pt.1: API and UI cleanup #1880
base: main
Are you sure you want to change the base?
Conversation
@@ -98,7 +91,7 @@ export default function QRepStatusTable({ partitions }: QRepStatusTableProps) { | |||
currentPartitions.sort((a, b) => { | |||
const aValue = a[sortField]; | |||
const bValue = b[sortField]; | |||
if (aValue === null || bValue === null) { | |||
if (aValue === undefined || bValue === undefined) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this behavior seems kinda weird, usually you want nulls to go to end or start, not randomly plinko through sort
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
needs to also be fixed in other places that sort on multiple types
3c9f083
to
225c288
Compare
@@ -302,7 +302,7 @@ message QRepParitionResult { | |||
} | |||
|
|||
message DropFlowInput { | |||
string flow_name = 1; | |||
string flow_job_name = 1; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
renaming fields breaks things, but can probably get by on this proto
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
proto wasn't used before this PR for some reason
had started with just Prisma cleanup but turned into a general cleanup so splitting off to prevent code churn