Usability issue
From Twitter:@OlegLeontiev:#bugin@piwik-oncesetTimeZoneisnoteditablethroughAdminPanel.Althoughitallowseditingactions,thechanges'renotcommited
No, but I suspect this is because he used the big "Save" button (under Global Website Settings) instead of the clicking on the green checkmark. This is a small usability issue.
Propose we add a tooltip to the green checkmark and a "Save" button next to (or below) "Add a new website".
Also, noticed that you can have multiple rows in edit state, but saving applies only to that one row, and refreshes the entire page (losing any other unsaved changes).
(In [2219]) refs #1382 - add tooltips to ok.png and remove.png when in edit state
To avoid users making several changes in several websites (or users), we could make it impossible to edit two rows at once. When a row is being edited, if the user clicks on another row, a javascript popup could ask 'Do you want to save your changes in the website properties before editing another website? Yes/Cancel'.
This wouldn't fix the issue when a user edits a website and then clicks 'Save' in another section below though. Maybe the JS popup mentioned above could be displayed anytime the user focuses the mouse outside the row being edited (ie. when clicking another row, or when changing other settings on the page).
If the admin menu allowed submenus, we could put these sections on separate pages, so there's never more than one Save button per page.
Can we update the table after the ajax request without refreshing the page?
Replying to vipsoft:
If the admin menu allowed submenus, we could put these sections on separate pages, so there's never more than one Save button per page.
Yes, maybe after v1 - even though it's nice to have more settings on the same page.
Can we update the table after the ajax request without refreshing the page?
Not currently..
It would be simple yet useful to have a function that sets a flag when something has been updated in the table, and then warn users that he might lose changes if he doesn't save and click away in another cell of focuses outside the table.
Maybe we could display a big button at the bottom left of the cell as well as on the right?