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

cmd/syncthing: Remove folder limit on /rest/system/browse #3279

Closed
wants to merge 1 commit into from

Conversation

norgeous
Copy link
Contributor

@norgeous norgeous commented Jun 8, 2016

Purpose

Remove folder limit on /rest/system/browse
Previously limited to 10 results, is now unlimited.

I'm not sure why it was limited to 10, can someone explain?

Testing

I compiled a build!

Previously limited to 10 results, now unlimited.
@calmh
Copy link
Member

calmh commented Jun 8, 2016

@st-review lgtm

@AudriusButkevicius wrote this from the start and may remember the reasoning, I would expect it's mostly to protect the browser from too large directories but that's not necessarily our problem

@st-review
Copy link

@calmh: Noted! Need another LGTM or explicit merge command.

@AudriusButkevicius
Copy link
Member

@st-review lgtm

@st-review
Copy link

👌 Merged as e71c78a. Thanks, @norgeous!

@st-review st-review closed this Jun 8, 2016
st-review pushed a commit that referenced this pull request Jun 8, 2016
Previously limited to 10 results, now unlimited.

GitHub-Pull-Request: #3279
LGTM: calmh, AudriusButkevicius
@AudriusButkevicius
Copy link
Member

It was limited not to have a stupidly large dropdown in the ui, but arguably that should be done in the js code.

@norgeous
Copy link
Contributor Author

norgeous commented Jun 8, 2016

Awesome! My testing with Firefox, it shows a scrollbar beside the datalist when there's lots of options. Will need this for jstree if integrated. Limiting should be done in the js code indeed. Thanks.

@st-review st-review added the frozen-due-to-age Issues closed and untouched for a long time, together with being locked for discussion label Jun 16, 2017
@syncthing syncthing locked and limited conversation to collaborators Jun 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
frozen-due-to-age Issues closed and untouched for a long time, together with being locked for discussion
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants