Skip to content

Commit

Permalink
fix: UI - use last_activity_at in the dataset list (#5741)
Browse files Browse the repository at this point in the history
This PR uses `last_activity_At`instead of `updated_at` in the dataset
card info and in the sorting filter on the homepage
  • Loading branch information
leiyre authored Dec 10, 2024
1 parent e66d001 commit b1820bd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions argilla-frontend/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ These are the section headers that we use:

## [Unreleased]()

### Fixed

- Fixed dataset update date information in the dataset list ([#5741](https://github.com/argilla-io/argilla/pull/#5741))

## [2.5.0](https://github.com/argilla-io/argilla/compare/v2.4.1...v2.5.0)

### Added
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</div>
<div class="dataset-card__date">
<span v-text="$t('home.updatedAt')" />
<BaseDate format="date-relative-now" :date="dataset.updatedAt" />
<BaseDate format="date-relative-now" :date="dataset.lastActivityAt" />
</div>
</div>
<p class="dataset-card__workspace">{{ dataset.workspaceName }}</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ export default {
return {
querySearch: "",
sortedOrder: "desc",
sortedByField: "updatedAt",
sortedByField: "lastActivityAt",
sortOptions: [
{ value: "name", label: this.$t("home.name") },
{ value: "updatedAt", label: this.$t("home.updatedAt") },
{ value: "lastActivityAt", label: this.$t("home.updatedAt") },
{ value: "createdAt", label: this.$t("home.createdAt") },
],
selectedWorkspaces: [],
Expand Down

0 comments on commit b1820bd

Please sign in to comment.