Skip to content
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

Rois sorted #264

Merged
merged 8 commits into from
Aug 8, 2019
Merged

Rois sorted #264

merged 8 commits into from
Aug 8, 2019

Conversation

will-moore
Copy link
Member

See https://trello.com/c/XZRTvaFj/9-sorting-of-rois-in-table

Allows sorting of ROIs in the table. Work in Progress

  • Disable if we have pagination (lots of ROIs)
  • Allow sort on theC, shape type, Length, Area?

When sorting ROIs by an attribute of Shape (e.g. label, theZ, theT etc) it's possible for an ROI to have many shapes. In this case, we pick the first shape!

Screen Shot 2019-04-24 at 11 05 11

@jburel jburel changed the title Rois sorted WIP:Rois sorted Jul 16, 2019
@jburel
Copy link
Member

jburel commented Jul 16, 2019

What is the status of this PR? still WIP?

@will-moore will-moore changed the title WIP:Rois sorted Rois sorted Jul 16, 2019
@will-moore
Copy link
Member Author

I think this is ready to test. I'll list it for testing...

@jburel
Copy link
Member

jburel commented Jul 17, 2019

It is now possible to sort by Z/T and comment
We could look add adding
When adding "area" to the display, part of the bracket is truncated. Resizing the right-hand panel does not solve the issue. see screenshot
sorting_iviewer

@will-moore
Copy link
Member Author

Now we support sorting by Area & Length:
If a shape has no Comment, Area or Length it should be sorted after those that do:

Screen Shot 2019-08-06 at 16 07 23

@pwalczysko
Copy link
Member

Works as expected. Ready to merge FMPOV

@@ -117,6 +124,17 @@ export default class RegionsList extends EventSubscriber {
this.waitForRegionsInfoReady();
}

sort(value) {
console.log('click Sort', value);
Copy link
Member

Choose a reason for hiding this comment

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

Do you want to keep it?

@jburel
Copy link
Member

jburel commented Aug 8, 2019

Merging travis is green

@jburel jburel merged commit eb310bb into ome:master Aug 8, 2019
@jburel jburel added this to the 0.8.0 milestone Sep 3, 2019
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.

3 participants