Skip to content

Conversation

@annavik
Copy link
Member

@annavik annavik commented Oct 25, 2023

Checked API endpoints to see what sorting is currently available. Tried to match everything I could find to table columns. Here is an updated list of current sort settings available from web UI. Fixes #290

Page

  • Column name (api_sort_field)

Status

  • Started at (started_at)
  • Status (status)

Deployments

Client side sorting available for all columns.

Sessions

  • Most recent (updated_at)
  • Session (start)
  • Captures (captures_count)
  • Detections (detections_count)
  • Occurrences (occurrences_count)
  • Species (taxa_count)

Occurrences

  • Most recent (updated_at)

Species

  • Most recent (updated_at)
  • Name (name)
  • Detections (detections_count)
  • Occurrences (occurrences_count)

@netlify
Copy link

netlify bot commented Oct 25, 2023

Deploy Preview for ami-web ready!

Name Link
🔨 Latest commit d255617
🔍 Latest deploy log https://app.netlify.com/sites/ami-web/deploys/654056143ba95b0008f188b9
😎 Deploy Preview https://deploy-preview-293--ami-web.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 51
Accessibility: 100
Best Practices: 92
SEO: 92
PWA: 70
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

@netlify
Copy link

netlify bot commented Oct 25, 2023

Deploy Preview for ami-storybook ready!

Name Link
🔨 Latest commit d255617
🔍 Latest deploy log https://app.netlify.com/sites/ami-storybook/deploys/654056142f7c9f0008c5a9fd
😎 Deploy Preview https://deploy-preview-293--ami-storybook.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@annavik
Copy link
Member Author

annavik commented Oct 25, 2023

@annavik
Copy link
Member Author

annavik commented Oct 25, 2023

To see what sort settings we have, I have checked API docs:

Screenshot 2023-10-25 at 16 27 08

Copy link
Collaborator

@mihow mihow left a comment

Choose a reason for hiding this comment

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

Fantastic, thank you.

@mihow mihow merged commit 7931095 into main Oct 31, 2023
mihow added a commit that referenced this pull request Nov 2, 2023
* Update sorting

* Tweak sort fields for sessions

---------

Co-authored-by: Michael Bunsen <notbot@gmail.com>
mihow added a commit that referenced this pull request Nov 2, 2023
* Update sorting

* Tweak sort fields for sessions

---------

Co-authored-by: Michael Bunsen <notbot@gmail.com>
@mihow mihow deleted the web-ui-fix-sorting branch November 17, 2023 21:34
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.

Fix column sorting for table views

3 participants