Skip to content

Sort favorite files first - #1860

Merged
rullzer merged 1 commit into
nextcloud:masterfrom
ryanwr:feature-sort-favorite
Oct 25, 2016
Merged

rullzer merged 1 commit into
nextcloud:masterfrom
ryanwr:feature-sort-favorite

Conversation

@ryanwr

@ryanwr ryanwr commented Oct 22, 2016

Copy link
Copy Markdown
Contributor

Shows the favorited files first in the file list, Issue #1802

I'd appreciate feedback on this!

@mention-bot

Copy link
Copy Markdown

@ryanwr, thanks for your PR! By analyzing the history of the files in this pull request, we identified @PVince81, @icewind1991 and @butonic to be potential reviewers.

@MorrisJobke

Copy link
Copy Markdown
Member

cc @nickvergessen

@nickvergessen

Copy link
Copy Markdown
Member

Tested and works 👍

@MorrisJobke

Copy link
Copy Markdown
Member

Awesome! I tested it with a directory with many files (where pagination is used) and it works fine 👍

@MorrisJobke

Copy link
Copy Markdown
Member

@ryanwr There is only the sign-off missing. See https://github.com/nextcloud/server/blob/master/.github/CONTRIBUTING.md#sign-your-work for more details about it. To fix this you could do git commit --amend -s then the sign-off message is added and you only need to force push (because you have changed an existing commit) via git push --force origin feature-sort-favorite.

Thanks a lot for your contribution 😃 Feel free to join our IRC channel #nextcloud-dev on freenode and check out other starter issues: https://github.com/nextcloud/server/labels/starter%20issue

@MorrisJobke MorrisJobke added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Oct 24, 2016
@ryanwr

ryanwr commented Oct 24, 2016

Copy link
Copy Markdown
Contributor Author

Thanks!

@MorrisJobke It should be signed off now! 😄

@codecov-io

codecov-io commented Oct 24, 2016 •

Copy link
Copy Markdown

Current coverage is 57.28% (diff: 100%)

Sunburst

No coverage report found for master at cfae91a.

Powered by Codecov. Last update cfae91a...3e96f33

@ryanwr

ryanwr commented Oct 24, 2016

Copy link
Copy Markdown
Contributor Author

Looks like drone ci failed, doesn't look related to my changes though

@rullzer

rullzer commented Oct 25, 2016

Copy link
Copy Markdown
Member

Agreed looks unrelated.
Lets merge this. But we probabaly need js tests for this behaviour. Just so it doesn't break.

@rullzer
rullzer merged commit 60fa82d into nextcloud:master Oct 25, 2016
@jancborchardt jancborchardt added the design Design, UI, UX, etc. label Oct 25, 2016
@jancborchardt

Copy link
Copy Markdown
Member

@ryanwr awesome work! :) Sometimes when favoriting a file further down it seems to jump up a row.
Did you intend for it to jump up all the way, or nothing to happen until next reload / navigation / sort change?

@nickvergessen

Copy link
Copy Markdown
Member

There is no jumping here

@ryanwr

ryanwr commented Oct 25, 2016

Copy link
Copy Markdown
Contributor Author

There shouldn't be any jumping, it shouldnt change anything until it's sorted again by reloading or resorting

@jancborchardt

Copy link
Copy Markdown
Member

Ok, maybe a problem with my dev setup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to release Ready to be released and/or waiting for tests to finish design Design, UI, UX, etc. enhancement feature: files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants