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

Sort favorite files first #1860

Merged
merged 1 commit into from
Oct 25, 2016
Merged

Conversation

ryanwr
Copy link
Contributor

@ryanwr ryanwr commented Oct 22, 2016

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

I'd appreciate feedback on this!

@mention-bot
Copy link

@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
Member

cc @nickvergessen

@nickvergessen
Copy link
Member

Tested and works 👍

@MorrisJobke
Copy link
Member

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

@MorrisJobke
Copy link
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
Signed-off-by: Ryan Welch <ryantwr@gmail.com>
@ryanwr
Copy link
Contributor Author

ryanwr commented Oct 24, 2016

Thanks!

@MorrisJobke It should be signed off now! 😄

@codecov-io
Copy link

codecov-io commented Oct 24, 2016

Current coverage is 57.28% (diff: 100%)

Sunburst

No coverage report found for master at cfae91a.

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

@ryanwr
Copy link
Contributor Author

ryanwr commented Oct 24, 2016

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

@rullzer
Copy link
Member

rullzer commented Oct 25, 2016

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
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
Member

There is no jumping here

@ryanwr
Copy link
Contributor Author

ryanwr commented Oct 25, 2016

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

@jancborchardt
Copy link
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