-
Notifications
You must be signed in to change notification settings - Fork 412
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
feat: add last_activity_at
to feedback datasets
#3992
feat: add last_activity_at
to feedback datasets
#3992
Conversation
@damianpumar please feel free to add here the frontend changes, using this new dataset attribute instead of Once it's done please set the PR as ready for review. |
The URL of the deployed environment for this PR is https://argilla-quickstart-pr-3992-ki24f765kq-no.a.run.app |
Codecov ReportAll modified lines are covered by tests ✅ see 292 files with indirect coverage changes 📢 Thoughts on this report? Let us know!. |
…ttps://github.com/argilla-io/argilla into feature/add-last-activity-at-to-feedback-datasets
From my side is done! |
src/argilla/server/alembic/versions/26721800a9f3_add_last_activity_at_to_datasets_table.py
Outdated
Show resolved
Hide resolved
last_activity_at
to feedback datasets
# Description This PR adds a new `DateTime` column to `datasets` table with name `last_activity_at`. This new column will be updated for the following cases: * When a dataset is created or updated. * When a response for a record belonging to the dataset has been created, updated or deleted. The idea is that we can use `last_activity_at` to record the last time that an activity associated with a dataset happened and use it instead of `updated_at` to show recent activity on the UI. Closes #3981 **Type of change** - [x] New feature (non-breaking change which adds functionality) **How Has This Been Tested** - [x] Adding new tests and running them locally. - [x] Running tests using PostgreSQL locally. **Checklist** - [ ] I added relevant documentation - [x] follows the style guidelines of this project - [x] I did a self-review of my code - [ ] I made corresponding changes to the documentation - [x] My changes generate no new warnings - [x] I have added tests that prove my fix is effective or that my feature works - [ ] I filled out [the contributor form](https://tally.so/r/n9XrxK) (see text above) - [ ] I have added relevant notes to the CHANGELOG.md file (See https://keepachangelog.com/) --------- Co-authored-by: Damián Pumar <[email protected]>
Description
This PR adds a new
DateTime
column todatasets
table with namelast_activity_at
.This new column will be updated for the following cases:
The idea is that we can use
last_activity_at
to record the last time that an activity associated with a dataset happened and use it instead ofupdated_at
to show recent activity on the UI.Closes #3981
Type of change
How Has This Been Tested
Checklist