Skip to content

Conversation

Sakib25800
Copy link
Contributor

This PR adds:

  • Grouping
  • Sorting
  • Search

I chose to use DataTable as the table library since it had the easiest setup and I found it the most ergonomic for our use case.

Currently the design looks poor as I plan to do the design as the last step - functionality first.

Copy link
Member

@Kobzol Kobzol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks awesome! Especially the search should come be pretty useful. I also tested that the table renders fine without JavaScript, which is also important.

Left one question and one nit.

Copy link
Member

@Kobzol Kobzol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

}
fn get_queue_status_priority(status: &QueueStatus) -> u32 {
match status {
QueueStatus::ReadyForMerge(_, _) => 0,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seeing this function, I wonder if we should add the mergeability status into QueueStatus, and have something like QueueStatus::Unmergeable. Not sure if that would help with anything though, and definitely not for this PR anyway.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We wouldn't be able to use that variant in the merge queue itself since it filters out un-mergeable PRs.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's not really different from NotApproved or Stalled, which should already never be returned from the SQL query, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

True. I guess there's no use for that variant (at least now).

@Kobzol Kobzol added this pull request to the merge queue Oct 5, 2025
Merged via the queue into rust-lang:main with commit 255dbe6 Oct 5, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants