argilla icon indicating copy to clipboard operation
argilla copied to clipboard

bug: pagination remains active even though there are no records

Open davidberenstein1957 opened this issue 2 years ago • 5 comments

Describe the bug If you open a page with pagination on page x, even though the current version of the dataset doesn´t have page 6, a blank screen without records or the option to go back to any other page..

To Reproduce Steps to reproduce the behavior:

  1. Go to a dataset with page 2 via an URL
  2. Delete all records from page 2 (via Python)
  3. click the refresh button
  4. See error

Expected behavior I would expect to get redirected to page 1.

Screenshots image

Environment (please complete the following information):

  • OS [e.g. iOS]: MacOS
  • Browser [e.g. chrome, safari]: Firefox
  • Argilla Version [e.g. 1.0.0]: 1.1.1
  • ElasticSearch Version [e.g. 7.10.2]: N.A.
  • Docker Image (optional) [e.g. argilla:v1.0.0]: 1.1.1

Additional context N.A.

davidberenstein1957 avatar Dec 16 '22 09:12 davidberenstein1957

@leiyre @keithCuniah please add an effort record in order to prioritize. Thanks!

Amelie-V avatar Mar 03 '23 12:03 Amelie-V

This issue is stale because it has been open for 90 days with no activity.

github-actions[bot] avatar Nov 24 '23 01:11 github-actions[bot]

Hey @davidberenstein1957 ! Is this issue still relevant for Argilla 2.0?

nataliaElv avatar May 27 '24 13:05 nataliaElv

Yes it is:) Not sure @damianpumar or @leiyre feel this is a UI issue that can be handled easily?

davidberenstein1957 avatar May 27 '24 13:05 davidberenstein1957

Hi @davidberenstein1957, I think we could easily fix it, the redirect should work only when the criteria doesn't match any records, right? Hi @nataliaElv you're right, this issue is not still relevant for version 2.0

damianpumar avatar May 28 '24 07:05 damianpumar