Skip to content
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

Make saved annotations filterable and sortable #4887

Merged
merged 13 commits into from
Aug 16, 2023

Conversation

jorg-vr
Copy link
Contributor

@jorg-vr jorg-vr commented Aug 11, 2023

This pull request makes saved_annotations sortable and filterable on the list page.

image

It also contains a new rails concern sortable that avoids duplicating complex code fragment for the 4th time.

Because of #4886 I could also simplify the annotations_list component, as the small layout with prefiltering is no longer used.

I also updated the table content:

  • exercise and course no longer link to the item but act as easy filter buttons.

  • number of usages is a separate column to make it more easily sortable.

  • fix flickering similar to Update annotation form #4701

Part of #4564

@jorg-vr jorg-vr added the enhancement A change that isn't substantial enough to be called a feature label Aug 11, 2023
@jorg-vr jorg-vr self-assigned this Aug 11, 2023
@jorg-vr jorg-vr marked this pull request as ready for review August 14, 2023 13:26
@jorg-vr jorg-vr requested a review from a team as a code owner August 14, 2023 13:26
@jorg-vr jorg-vr requested review from bmesuere and niknetniko and removed request for a team August 14, 2023 13:26
@jorg-vr jorg-vr marked this pull request as draft August 14, 2023 13:26
@jorg-vr jorg-vr marked this pull request as ready for review August 16, 2023 07:17
app/controllers/activities_controller.rb Outdated Show resolved Hide resolved
app/controllers/submissions_controller.rb Outdated Show resolved Hide resolved
@jorg-vr jorg-vr merged commit cd97690 into main Aug 16, 2023
12 of 13 checks passed
@jorg-vr jorg-vr deleted the enhance/filtarable-sortable-save-annotations branch August 16, 2023 13:34
@jorg-vr jorg-vr temporarily deployed to naos August 16, 2023 13:34 — with GitHub Actions Inactive
@jorg-vr jorg-vr temporarily deployed to production August 16, 2023 13:39 — with GitHub Actions Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A change that isn't substantial enough to be called a feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants