On 08/05/16 16:01, Doug Blank wrote:
> On a related note, it would be nice to separate in the GUI the notion
> of opening up the details of an object to view, versus planning on
> editing. For example, currently when you just want to see the details
> of a person, you have to open the data in an "editor". Clicking "Ok"
> will update the data (and the last changed time, regardless of whether
> any change was made).
>
I have been saying this for years. Use editors for editing and views
for viewing.
In my Gramps, I have replaced the relationship view with a series of
interconnected viewers. Each viewer displays information from multiple
tables.
Together with using forms for data entry, this means that I use the
standard editors far less often.
> Rather, it would be nice to see the data, but have a secondary button
> in the edit dialog to allow editing. By clicking an "Edit" button, the
> system could "lock the row" (via some mechanism) which would be
> reflected in the database, and make the fields in the dialog editable.
> We could even then allow some users to view, but not edit (eg, the
> Edit button would be disabled).
I would prefer to only use editors for editing.
In the past we have added features to the editors to make them better
viewers, not better editors.
>
> At least sqlite does not have row-locking functionality, and maybe
> others don't as well. Perhaps a "locked" field, and a timestamp (for
> timeout) would allow such functionality? We'd also have to perhaps
> "lock" (or check for locks on) records before editing them (say, in a
> transaction), or fail and rollback if any were locked.
>
A separate lock table would probably be better. It would only ever
contain a relatively small number of lock records.
Nick.
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel