Coder Social home page Coder Social logo

Comments (9)

lipis avatar lipis commented on July 4, 2024

Would be nice if someone could make a review on this one..

I even have the docs for the newly created (and updated) functions:

http://docs.gae-init.appspot.com/reference/#util.update_query_argument
http://docs.gae-init.appspot.com/reference/#utils.order_by_link
http://docs.gae-init.appspot.com/reference/#utils.filter_by_link

You can test the latest and greatest filters & orders live (filter links work also as toggles):
http://gae-init.appspot.com/user/?active=True&admin=False&limit=16&order=-modified

Where you will notice that changing the filters or the orders will not affect the other stuff as it used to be in the old version (http://0-11-0.gae-init.appspot.com/user/)

@topless, @gmist, @mdxs, @joernhees

from gae-init.

mdxs avatar mdxs commented on July 4, 2024

I like it; and from what I see it also allows someone to bookmark a particular view.

I'm not 100% sure about the UX... I can work with it, but can I explain it to Joe Doe easily? Nevertheless, unless I (or someone else) can provide an even better approach, this works fine.

from gae-init.

lipis avatar lipis commented on July 4, 2024

Yeah the UI is tricky.. I didn't really like the drop-downs either but they way easier to explain because you could write more stuff there.. icons are tricky.. but on the other hand it's not that hard to get it..

The important thing is that when set is filtered (however you managed to do it) if you change the order without reseting the filters.. (of course you have to have these indexes, but it works)

Also if you click on the filter that is checked it will simply remove it :)

from gae-init.

joernhees avatar joernhees commented on July 4, 2024

i also like how it shortens down coding something like that, but i don't really like the facebook thumbs up/down for boolean values... somehow confused me at first... isn't what one would expect here a checkbox / toggle button?

from gae-init.

lipis avatar lipis commented on July 4, 2024

It's a 3 state thingy so toggle or a checkbox is also not really an option.. and the most sane solution would be a drop down or radio buttons for the boolean values.. (True, False, None)
Here is how it was before with the drop down.. http://0-11-0.gae-init.appspot.com/user/

(The icons could be easily changed if it's only the icon problem.. to something like check and times.. fa-check and fa-times maybe..)

from gae-init.

mdxs avatar mdxs commented on July 4, 2024

Or use a label and combo box (with active value shown) approach, like "Limit:" + "64" (and other values to select from in combo); "Category:" + "All" (w/combo: "All", "Users", "Administrators"); and "Status:" + "All" (w/combo: "All", "Active", "Inactive")... who cares they are implemented as booleans?

Side note: actually the 64 box isn't set to active for Limit in current implementation...

from gae-init.

mdxs avatar mdxs commented on July 4, 2024

The "More" popping up when there are selected users could be "Action:" + whatever is allowed; or individual buttons for the actions that are possible,

from gae-init.

lipis avatar lipis commented on July 4, 2024

The More drop down thingy I got it as an idea from Gmail when they are appearing more stuff when selecting emails or contacts.. and this approach could scale better if in the future you want to add more actions that could happen on your user base.. changing it or not though could be discussed in another issue.. as this is is completely different topic :)

from gae-init.

mdxs avatar mdxs commented on July 4, 2024

Sure enough, just noticed it when testing current stuff.

from gae-init.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.