I'm no UI/UX expert but modals are more or less the standard today,
windows looks like a relic from the 2000s.
Am also interested in decoupling the js from the admin to make possible for
downstream theme maintainers to use another implementation if they please [2].
On Tuesday, February 24, 2015 at 3:23:23 PM UTC+1, riccardo.magliocchetti wrote:I'm no UI/UX expert but modals are more or less the standard today,
windows looks like a relic from the 2000s.
That argument is based on what? I'd personally argue that windows are superior cause I can easily switch between the page and the window -- something that does not work with modals
I would suggest that a good modal implementation for these should still support "open in new tab/window" properly, with control/command click not detected by the overriding JavaScript. It may be possible to do this and keep the popup functionality passing the new id back to the parent window.
From a UX perspective, I have heard[citation needed] that modal windows are not ideal, mainly due to their blocking nature. However inline ajax loaded windows are much better. For "small" parent form objects, this would likely be ideal - click the plus icon, it reveals a 3-4 field inline form, fill that in or cancel it, by choosing an option from the dropdown etc. This concept of an inline parent form would be generally useful, I've written a few limited implementations but never had the time to consider all the edge cases to make a third party project.
There are definitely better ways to deal with raw_id_fields than the popup window in my opinion - utilising something like select2 with ajax loading and a hook on the ModelAdmin would be ideal.
In any case, it is fairly trivial to add options like this to the modeladmin and make them opt in if that is desired.
Overall, I'm probably -0 on morals, but +1 on supporting an optional alternative way to handle add buttons on related objects.
Marc
--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-develop...@googlegroups.com.
To post to this group, send email to django-d...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/8d65957b-6e57-4b7a-a8b1-7ce3a2ee8a18%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Il 24/02/2015 16:18, Florian Apolloner ha scritto:
On Tuesday, February 24, 2015 at 3:23:23 PM UTC+1, riccardo.magliocchetti wrote:
I'm no UI/UX expert but modals are more or less the standard today,
windows looks like a relic from the 2000s.
That argument is based on what? I'd personally argue that windows are superior
cause I can easily switch between the page and the window -- something that does
not work with modals
Not really an argument, it's more an observation that ui frameworks like bootstrap, foundations, etc.. usually have a modal component. In data entry UI that may not be the case though but i have no clue. Personally I just want to be able to use modals or whatever just by overwriting templates. I get that, I am happy :)
>
> On Feb 25, 2015, at 09:07, Russell Keith-Magee <rus...@keith-magee.com> wrote:
>
> I have an operating system with a graphical user interface. The developers of that operating system spent an immense amount of time developing it, polishing it, making it behave in predictable ways, getting keyboard accessibility sorted out, and so on. The idea of a CSS+HTML+JS implementation of UI features that badly implement half of the behavior provided natively by the OS - and the idea that this implementation is somehow *preferable* to native UI elements - absolutely *boggles* my mind.
While I agree on desktop OS, I find responsive HTML modals much more usable on mobile.
That said, HTML modals vs popups is hardly the biggest issue we have when it comes to usability on mobile platforms, which isn't surprising considering the admin look & feel was invented way before mobile was a thing.
I've opened a ticket [1] to implement the popups in the admin as modal instead
of windows. I'm no UI/UX expert but modals are more or less the standard today,
windows looks like a relic from the 2000s.
Hello,
I've opened a ticket [1] to implement the popups in the admin as modal instead
of windows. I'm no UI/UX expert but modals are more or less the standard today,
windows looks like a relic from the 2000s.If it ain't broke don't fix it. The django admin is awesome, the reason it hasn't changed much is because it doesn't need to. Google.com's home page still more or less looks the same as it did in 2000.
--
You received this message because you are subscribed to a topic in the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-developers/b38JElfE3wk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to django-develop...@googlegroups.com.
To post to this group, send email to django-d...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/23deeacb-b344-4c32-a1d3-7ed2a4964ef2%40googlegroups.com.