Skip to content

feat(admin): filter parameters#327

Open
vm-001 wants to merge 11 commits intomainfrom
feat/admin-filter-parameters
Open

feat(admin): filter parameters#327
vm-001 wants to merge 11 commits intomainfrom
feat/admin-filter-parameters

Conversation

@vm-001
Copy link
Copy Markdown
Collaborator

@vm-001 vm-001 commented Mar 25, 2026

Summary

This PR enhanced the entity's page(list) API.

  • A new cursor pagination (limit, after, 'before').
  • Filter parameters, such as name, name, enabled,created_at, and created_at[gt|gte|lt|lte]`.
  • A sort parameter for sorting.

#265

@vm-001 vm-001 force-pushed the feat/admin-filter-parameters branch 3 times, most recently from 84fe538 to 826fa9e Compare March 25, 2026 16:40
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 25, 2026

Codecov Report

❌ Patch coverage is 84.61538% with 72 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
db/dao/dao.go 82.22% 8 Missing and 8 partials ⚠️
pkg/openapi/openapi.go 76.47% 8 Missing and 4 partials ⚠️
admin/api/attempts.go 45.45% 4 Missing and 2 partials ⚠️
admin/api/events.go 45.45% 4 Missing and 2 partials ⚠️
admin/api/plugins.go 45.45% 4 Missing and 2 partials ⚠️
admin/api/workspaces.go 45.45% 4 Missing and 2 partials ⚠️
db/dao/query.go 70.00% 3 Missing and 3 partials ⚠️
admin/api/api.go 63.63% 2 Missing and 2 partials ⚠️
admin/api/params.go 97.60% 4 Missing ⚠️
admin/api/endpoints.go 72.72% 2 Missing and 1 partial ⚠️
... and 1 more
Flag Coverage Δ
integration 75.84% <64.52%> (?)
integration-o11 40.37% <29.70%> (-1.13%) ⬇️
unit 13.75% <32.26%> (+1.73%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
admin/api/models.go 100.00% <100.00%> (ø)
app/app.go 81.64% <100.00%> (+18.08%) ⬆️
db/dao/attempt_dao.go 100.00% <100.00%> (+19.56%) ⬆️
db/dao/endpoint_dao.go 100.00% <100.00%> (ø)
db/dao/event_dao.go 89.18% <ø> (+32.43%) ⬆️
db/dao/plugin_dao.go 100.00% <100.00%> (ø)
db/dao/source_dao.go 100.00% <100.00%> (ø)
db/dao/workspace_dao.go 100.00% <ø> (ø)
db/entities/schema.go 60.00% <100.00%> (-2.50%) ⬇️
dispatcher/registry.go 85.00% <100.00%> (+12.50%) ⬆️
... and 14 more

... and 97 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@vm-001 vm-001 force-pushed the feat/admin-filter-parameters branch 10 times, most recently from c77b22b to 12f3e00 Compare March 26, 2026 16:38
Comment thread admin/api/events.go Outdated
vm-001 and others added 2 commits March 27, 2026 00:49
Co-authored-by: webhookx-x <webhookx@gmail.com>
Signed-off-by: vm-001 <leeys.top@gmail.com>
@vm-001 vm-001 force-pushed the feat/admin-filter-parameters branch from 7f126e7 to e0be580 Compare March 26, 2026 16:49
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