-
Notifications
You must be signed in to change notification settings - Fork 125
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
Search v2 #63
Search v2 #63
Conversation
Add to sab backbone coded
Added fully working nzb.su search capabilities
Okay, things have been redone and seem to be neater |
A really good start! Some suggestions though, as I feel that it needs a few tweaks before it's ready to be merged in:
|
I should have some time this weekend, so let me know if you want me to pick this up and implement the amends in the list above. |
@mrkipling i'm not sure if i will have time so when you stop to do your weekly updates and this it not updated yet then by all means feel free to finish it up.... |
Any updates on this today? |
Didn't get a change to work on it I'm afraid; only had a bit of time this afternoon which I spent on other pull requests. |
Added settings cog
I've had a go today at some of your request and I'm not really sure which way you want to go so maybe I'll leave this one for you, is that ok? |
No problem, I'll take a look as soon as I can.
|
Conflicts: modules/sabnzbd.py static/js/index.js
Tried to get this up to date with master but havent had the chance to test yet. |
Had the chance to test and review somethings now. On a test installation things seem to be working well. Still need to rearrange the settings, fix minor bugs and whatnot but all in all I think it's getting closer to being ready. @mrkipling Care to comment? |
top, right, left and bottom positions set to 0px
I think the one thing left now is creating the independent settings page for this.... |
Erm, bit of a noob question perhaps, but how do I pull this request? I've always just pulled the branch that you've opened the request for, as that is what the email tells me to do :) e.g. git pull https://github.com/gugahoi/maraschino search-v2 However, that branch hasn't been updated in 2 months... which I didn't find out until I'd spent 30 minutes fixing JS errors :) |
Ignore that last comment... I actually did pull the right branch, but when looking at it on GitHub I was looking at the "search" branch (not "search-v2"). From what I can see, this isn't quite ready. Some observations:
|
Search closes for me with Alt-F (Not tried button bashing yet) and I had a little go at some of the styling for it... I tried to get the tbody to scroll separately from the thead, but is something CSS3 wont do yet. |
Alt+F hides for me too... Also, Search Settings only work after a refresh so it does work, just not the way it's supposed to :-b I was thinking of adding a close button but you are supposed to be able to close with ALT+F |
Conflicts: modules/sabnzbd.py
The issues that I've been having make it sound like I've been using an |
…from Yes -> No and no page refresh took place.
I'm reviewing this now, and hope to have it mostly done this evening. One thing that I've come across: hard-coding the categories for each search site isn't great, as new categories get added (PS4 games, for example). Do they have APIs that you can use to retrieve the list of categories? |
Okay, this is all on branch search-v2. There were quite a few bugs; please go over the commit log when you get a chance and see what I've changed. Other than bug and styling fixes, I've changed the key combination that invokes search to be "alt-s", as "alt-f" opens the tools menu in Chrome if the window isn't properly focussed (which is to say, a lot of the time). I've also made it so that ESC also closes the search module (I found myself naturally pressing ESC a lot to try to close it). I think that it still needs some work. Specifically:
...but I think this stuff can wait for another day. If you're happy with the search-v2 branch as it is then go ahead and merge it in. |
Oh, and almost forgot - good job! I can already see myself using this a lot :) |
Actually, I was thinking about this last night. Perhaps let's wait until the weekend before merging this in, if you don't mind? I should have some free time to at least move the settings around (and hopefully a few more things), and it would be better if this was done for the first release so that things don't start moving around in the interface for no good reason. If I don't manage to get it done this weekend, however, I'll just merge it in anyway. Sound good? |
I've just pushed some changes which move search settings into their own dialog. The remote icon in the top-right has been replaced with an expanded menu which appears when you hover over it. What do you think? |
The category drop menu doesnt show by default, you need to search for it to show. im guessing this has something to do with polling the python to get the list. also when you have chosen a category and then search it would be nice if it could remember the category you searched. |
This one is a bit neater and seems to be working