Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed
- Maximum rows per page raised from 200 to 1000. The page-size dropdown gains 500 and 1000 options; the default stays at 50 (#58).

### Docs
- README screenshot replaced with one showing vector columns: CLIP badges, per-row sparklines, and the highlighted vector field in the schema panel. The old screenshot only showed scalar columns.

Expand Down
2 changes: 1 addition & 1 deletion backend/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ async def startup_event():
)

DATA_PATH = Path(os.getenv("DATA_PATH", "/data"))
MAX_LIMIT = 200
MAX_LIMIT = 1000

def validate_dataset_name(name: str) -> bool:
return (
Expand Down
3 changes: 2 additions & 1 deletion backend/tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,8 @@ def test_rows_offset_past_end(client):

def test_rows_limit_bounds(client):
assert client.get("/datasets/sample/rows", params={"limit": 0}).status_code == 422
assert client.get("/datasets/sample/rows", params={"limit": 201}).status_code == 422
assert client.get("/datasets/sample/rows", params={"limit": 1000}).status_code == 200
assert client.get("/datasets/sample/rows", params={"limit": 1001}).status_code == 422
assert client.get("/datasets/sample/rows", params={"offset": -1}).status_code == 422


Expand Down
2 changes: 2 additions & 0 deletions web/vanilla/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ <h2 id="datasetTitle">Select a dataset</h2>
<option value="50" selected>50 rows</option>
<option value="100">100 rows</option>
<option value="200">200 rows</option>
<option value="500">500 rows</option>
<option value="1000">1000 rows</option>
</select>
</div>
</div>
Expand Down
Loading