[Phpmyadmin-devel] Designer settings should be part of the saved state -- but how?

Madhura Jayaratne madhura.cj at gmail.com
Sat Jun 13 11:28:16 CEST 2015


On Sat, Jun 13, 2015 at 11:50 AM, Isaac Bennetch <bennetch at gmail.com> wrote:

> Hello,
>
> Deven is working on RFE 1060 [0] which requests that the Designer "snap
> to grid" and "angular links/direct links" settings should be remembered.
>
> In the tracker artifact, you can see (or I'll summarize below) we're
> discussing how exactly to preserve this information and I'm open to
> additional opinions.
>
> Configuration directive: I don't like adding two more directives plus we
> can't toggle the value in `config.inc.php` when the user toggles the
> setting in Designer. This solution seems quite undesirable.
>
> phpMyAdmin Configuration Storage: Seems the best place; we already store
> Designer coordinates here and PDF page layout. Would probably require
> modifying the schema unless we come up with some wild idea like storing
> the preference in 'pma__table_coords' and some specially crafted db_name
> and table_name (without testing it, I'm imagining NULL for each, and x
> and y can store a 0 or 1 for each of the two factors we're storing. It's
> quite late so I'm not sure if this idea is brilliant or awful, but I
> suspect it's the latter. I don't see a point to adding a whole new table
> to track two values of true or false, so perhaps this idea isn't ideal,
> either.
>
> Session storage/Cookie: An obvious choice, except it only persists in
> the user's browser; if they use a new computer the value is lost. In
> this case, it's a quick toggle to restore the setting, so part of me
> wonders if this is the best solution.
>

I prefer this third options.

>
> I welcome your input, otherwise Deven and I will continue ahead
> regardless :)
>
> Thanks and regards
> ~isaac
>
> 0 - https://sourceforge.net/p/phpmyadmin/feature-requests/1060/
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Phpmyadmin-devel mailing list
> Phpmyadmin-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel
>



-- 
Thanks and Regards,

Madhura Jayaratne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20150613/f4d12a17/attachment.html>


More information about the Developers mailing list