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

MVP - Modified Chip Filter #9831

Merged
merged 5 commits into from
Oct 25, 2023
Merged

MVP - Modified Chip Filter #9831

merged 5 commits into from
Oct 25, 2023

Conversation

grimmoc
Copy link
Contributor

@grimmoc grimmoc commented Oct 19, 2023

Description

added a "last modified" filter chip in search to narrow down results based on last modified date.

Related Issue

Motivation and Context

How Has This Been Tested?

  • test environment:
  • test case 1:
  • test case 2:
  • ...

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation ticket raised:

Open tasks:

  • ...

@update-docs
Copy link

update-docs bot commented Oct 19, 2023

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

Copy link
Collaborator

@JammingBen JammingBen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please also add q_lastModified to https://github.com/owncloud/web/blob/master/packages/web-pkg/src/router/common.ts#L30. This ensures the filter stays active after opening and closing a file editor from the search result list.

Rest LGTM, very nice! And unit tests 🙌

P.S. I believe there is no reason for this PR to be in a draft state anymore? ;)

packages/web-app-files/src/components/Search/List.vue Outdated Show resolved Hide resolved
packages/web-app-files/src/components/Search/List.vue Outdated Show resolved Hide resolved
@fschade
Copy link
Collaborator

fschade commented Oct 25, 2023

please:

  • remove the WIP from issue title
  • provide a quick description for later reference
  • add changelog

@grimmoc grimmoc marked this pull request as ready for review October 25, 2023 08:10
Copy link
Collaborator

@fschade fschade left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fschade fschade changed the title MVP - WIP - Modified Chip Filter MVP - Modified Chip Filter Oct 25, 2023
@sonarcloud
Copy link

sonarcloud bot commented Oct 25, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 15 Code Smells

95.2% 95.2% Coverage
0.0% 0.0% Duplication

@grimmoc grimmoc merged commit 7e5340a into master Oct 25, 2023
4 checks passed
@delete-merged-branch delete-merged-branch bot deleted the last-modified-filter-chip branch October 25, 2023 09:11
ownclouders pushed a commit that referenced this pull request Oct 25, 2023
* mvp, wip

* added unit test

* added loading from capabilities + adjusted tests accordingly

* clean up, added changelog

* added route query param to persistence list
AlexAndBear pushed a commit that referenced this pull request Dec 13, 2023
* mvp, wip

* added unit test

* added loading from capabilities + adjusted tests accordingly

* clean up, added changelog

* added route query param to persistence list
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.

[web] Add "Last modified" filter Chip
3 participants