Skip to content

Conversation

@SebieF
Copy link
Contributor

@SebieF SebieF commented Aug 20, 2024

Once applied, this PR will make it possible to sort tasks by given tags.

Tags are sorted in the following order:

(no tags)
(no tags)
A B
A C
B
B D

I used nvm install 20 node version for building and testing. I added a unit test and ran it using npx vitest run. For translations, I added a german translation. If it is necessary to add all translations before, please add a comment and I will add them soon. I wanted to create the PR first such that I can get feedback if my implemented feature matches the expectations for the project :)

Closes #1466.

@raimund-schluessler
Copy link
Member

raimund-schluessler commented Aug 29, 2024

Thanks for the contribution, I will have a look.

Could you please already remove the added translation files? Translation is handled via Transifex, what is included manually will be overwritten at the next sync.

Edit: And could you please also fix the lint errors?

@SebieF
Copy link
Contributor Author

SebieF commented Sep 1, 2024

You are welcome and thanks for taking a look! I removed the translation files and fixed the linter errors, let me know if any additional changes are necessary :)

@github-actions
Copy link

github-actions bot commented Sep 4, 2024

Hello there,
Thank you so much for taking the time and effort to create a pull request to our Nextcloud project.

We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process.

Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6

Thank you for contributing to Nextcloud and we hope to hear from you soon!

(If you believe you should not receive this message, you can add yourself to the blocklist.)

Sorts tags in the following order (descending):
(no tags)
(no tags)
A B
A C
B
B D

Signed-off-by: Sebastian <sebastian.franz@tum.de>
Signed-off-by: Sebastian <sebastian.franz@tum.de>
Signed-off-by: Sebastian <sebastian.franz@tum.de>
It expects a string array rather than a string

Signed-off-by: Sebastian <sebastian.franz@tum.de>
Signed-off-by: Sebastian <sebastian.franz@tum.de>
@SebieF SebieF force-pushed the feature/sort-by-tags branch from dd09ecb to 93f1f60 Compare September 13, 2024 11:49
@raimund-schluessler raimund-schluessler modified the milestones: 0.16.2, 0.17.0 Sep 22, 2024
Copy link
Member

@raimund-schluessler raimund-schluessler left a comment

Choose a reason for hiding this comment

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

Works.

@raimund-schluessler raimund-schluessler merged commit d3dd45c into nextcloud:master Sep 22, 2024
@SebieF SebieF deleted the feature/sort-by-tags branch September 23, 2024 06:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature request] Sort by Category

2 participants