[RFC] Extend Existing Implementation of AJAX in ACP

Note: We are moving the topics of this forum and it will be deleted at some point

Publish your own request for comments/change or patches for the next version of phpBB. Discuss the contributions and proposals of others. Upcoming releases are 3.2/Rhea and 3.3.
User avatar
M.Gaetan89
Registered User
Posts: 64
Joined: Tue Jan 28, 2014 7:17 pm
Location: Divonne-les-Bains, France
Contact:

Re: [RFC] Extend Existing Implementation of AJAX in ACP

Post by M.Gaetan89 » Sat May 31, 2014 11:55 pm

Maybe it's not possible with phpBB browsers compatibility requirements, but what about HTML5 drag and drop ?
Last edited by M.Gaetan89 on Sun Jun 01, 2014 12:43 am, edited 1 time in total.

User avatar
Jessica.
Registered User
Posts: 144
Joined: Wed Feb 09, 2011 8:17 pm
Location: Pennsylvania, USA
Contact:

Re: [RFC] Extend Existing Implementation of AJAX in ACP

Post by Jessica. » Sun Jun 01, 2014 12:17 am

+1

Drag and drop is better than using the arrow buttons...even though it's slightly easier to order with the ajax in ordering, drag and drop is way better.

User avatar
PayBas
Registered User
Posts: 305
Joined: Tue Jul 29, 2008 6:08 pm
Contact:

Re: [RFC] Extend Existing Implementation of AJAX in ACP

Post by PayBas » Sun Jun 01, 2014 9:54 am

M.Gaetan89 wrote:Maybe it's not possible with phpBB browsers compatibility requirements, but what about HTML5 drag and drop ?
Of course I would prefer a HTML5 implementation too. But the browser-compatibility list for phpBB 3.1 is IE8+.

HTML5 drag & drop doesn't work for:
  • IE8
  • IE9 only partially (no <div> etc., but since we want to sort <tr> it might not be a problem)
  • Safari 5.1
We could argue that IE8 & Safari 5 could fall back on using the regular arrows. We'll have to discuss it first.

User avatar
hanakin
Infrastructure Team
Infrastructure Team
Posts: 788
Joined: Sat Dec 25, 2010 9:02 pm
Contact:

Re: [RFC] Extend Existing Implementation of AJAX in ACP

Post by hanakin » Sun Jun 01, 2014 1:34 pm

im not sure 5.1 should still be in the mix, but if we are using js I am not sure what the issue is as we can polyfill all of those browsers someway im sure to enable it

User avatar
brunoais
Registered User
Posts: 958
Joined: Fri Dec 18, 2009 3:55 pm

Re: [RFC] Extend Existing Implementation of AJAX in ACP

Post by brunoais » Sun Jun 01, 2014 5:03 pm

We can make drag&drop only for the browsers that support it. For the rest, we keep the classical up and down arrows with the twist that it now does not require full page reloads to reorder.

As for the drag&drop using HTML5, I recently have made drag&drop with the browser's API so I can assist whoever wants to do that.

BTW: The drag&drop API was made by microsoft. The one in the spec was made based on a result of reverse-engineering Microsoft's API in IE.

User avatar
PayBas
Registered User
Posts: 305
Joined: Tue Jul 29, 2008 6:08 pm
Contact:

Re: [RFC] Extend Existing Implementation of AJAX in ACP

Post by PayBas » Sun Jun 01, 2014 5:55 pm

brunoais wrote:We can make drag&drop only for the browsers that support it. For the rest, we keep the classical up and down arrows with the twist that it now does not require full page reloads to reorder.

As for the drag&drop using HTML5, I recently have made drag&drop with the browser's API so I can assist whoever wants to do that.

BTW: The drag&drop API was made by microsoft. The one in the spec was made based on a result of reverse-engineering Microsoft's API in IE.
I've never actually used HTML5 drag & drop, so if you want to take the lead on this, you're more than welcome.

User avatar
prototech
Former Team Member
Posts: 53
Joined: Mon Mar 12, 2007 12:25 am

Re: [RFC] Extend Existing Implementation of AJAX in ACP

Post by prototech » Sun Jun 01, 2014 11:07 pm

brunoais wrote:We can make drag&drop only for the browsers that support it. For the rest, we keep the classical up and down arrows with the twist that it now does not require full page reloads to reorder.
That is fine with me.

User avatar
Pony99CA
Registered User
Posts: 986
Joined: Sun Feb 08, 2009 2:35 am
Location: Hollister, CA
Contact:

Re: [RFC] Extend Existing Implementation of AJAX in ACP

Post by Pony99CA » Thu Jun 05, 2014 2:32 am

prototech wrote:
brunoais wrote:We can make drag&drop only for the browsers that support it. For the rest, we keep the classical up and down arrows with the twist that it now does not require full page reloads to reorder.
That is fine with me.
Yes, but keep the arrows there even in HTML 5 for people who don't know about or can't use (accessibility, for example) drag and drop.

Steve
Silicon Valley Pocket PC (http://www.svpocketpc.com)
Creator of manage_bots and spoof_user (ask me)
Need hosting for a small forum with full cPanel & MySQL access? Contact me or PM me.

User avatar
brunoais
Registered User
Posts: 958
Joined: Fri Dec 18, 2009 3:55 pm

Re: [RFC] Extend Existing Implementation of AJAX in ACP

Post by brunoais » Sat Jun 07, 2014 9:51 am

Yeah, sure

Post Reply