Commit Graph
154 Commits
Author SHA1 Message Date
Cédric Krier 63d8bb4c0f Manage keyboard navigation on tree view
A tabindex is added on all cells and the .one click handlers are replaced
by .on click and keypress to support return.

review18561002
2015-09-19 18:20:34 +02:00
Cédric Krier 79d57e4eb3 Use right values for Progressbar widgets
Use internal value as fraction/value and use the client value to display the
percentage.

issue4974
review17521002
2015-09-19 18:16:09 +02:00
Cédric Krier 29196ca17b Fix more button which still use jQuery UI 2015-09-13 11:33:14 +02:00
Cédric Krier 1400245d46 Keep row selected on dblclick 2015-09-13 11:26:22 +02:00
Nicolas Évrard acd9342eba Use typeahead signature and signal forgotten in changeset d4a27c6abb31 2015-09-04 17:14:22 +02:00
Cédric Krier 05b17ef61c Complete missing widget cases for Tree and remove default 2015-08-28 15:57:20 +02:00
Cédric Krier 7953c9b5b5 Add one2one widget for form and tree 2015-08-28 11:53:02 +02:00
Cédric Krier e7a35b912f Use readonly attribute instead of disabled on input
This allows the input to have the focus for accessibility.

review19401002
2015-08-28 11:27:44 +02:00
Cédric Krier a207cf9e62 Add progressbar widget for form and tree
review18521002
2015-08-28 10:58:38 +02:00
Cédric Krier 34053527e3 Re-enable text widget in list view 2015-08-23 14:04:15 +02:00
Cédric Krier 7cf2b35ef9 Missing class for column URL 2015-08-23 13:58:47 +02:00
Cédric Krier 7f3c67fced Add image widget for form
review15611002
2015-08-21 15:37:12 +02:00
Cédric Krier 7c1e7555e2 Add url, email, callto and sip widgets
review17381002
2015-08-14 17:46:22 +02:00
Cédric Krier b3bac3a4ed Add missing update_selection on ReferenceColumn 2015-07-31 22:26:09 +02:00
Nicolas Évrard 2c21368f2f Focus tree cells in editable trees when switching from one to another
review17361002
2015-07-28 13:25:01 +02:00
Cédric Krier ac66296cc2 Use a domain_parser for the current view and instanciate it on demand
issue4773
review22331002
2015-07-28 07:50:45 +02:00
Nicolas Évrard fe7287a675 Fix S-Tab handling in editable treeview 2015-07-26 16:23:12 +07:00
Nicolas Évrard 0e56184a99 Handle readonly states in editable treeview
review15571002
2015-07-26 11:55:48 +07:00
Cédric Krier 0bdab1d745 Add labelledby and label for
issue3180
review17351002
2015-07-17 21:55:14 +02:00
Cédric Krier 0392294aa5 Remove colors on widgets
- Bold label of required fields
- Explicit error message for invalid record

issue4861
review21301002
2015-07-16 22:36:11 +02:00
Cédric Krier c503c6d508 Better management of row selection and switch
Use dblclick to switch row instead of double selection.
Switch row on tree with none selection like the menu as dblclick doesn't work
on touchscreen.

review7191002
2015-05-30 09:45:25 +02:00
Nicolas Évrard 8a46006ebf Add chart view 2015-05-29 18:44:24 +02:00
Nicolas Évrard 4d475201e0 Add support for Esc key in editable tree 2015-05-29 17:08:28 +02:00
Cédric Krier 728d9e2096 Add i18n
review16321002
2015-05-29 10:44:10 +02:00
Cédric Krier 545505c9f3 Use uniqueId for pane in Notebook 2015-05-15 23:16:23 +02:00
Cédric Krier 9f4a88d18e Add pre_validate
review15381002
2015-05-15 13:00:41 +02:00
Cédric Krier ce5fe18115 Add check states on ButtonColumn 2015-05-07 19:25:06 +02:00
Cédric Krier e7419d5504 Remove non-accurate TODO for url/email/callto/sip 2015-05-07 17:00:39 +02:00
Cédric Krier 5a8d38a905 Add autocompletion
review17261002
2015-05-07 11:21:29 +02:00
Cédric Krier 9f04a84515 Test if row exists before using it in get_expanded_paths 2015-04-30 17:43:50 +02:00
Nicolas Évrard 0f813b0cf7 Add Search / Create actions to many2one autocompletion popup
review15341002
2015-04-30 17:38:56 +02:00
Cédric Krier 283847e74d Unify glyphicon usage 2015-04-30 16:43:53 +02:00
Cédric Krier a3686bf915 Make display returning promise
When closing a modified tab without saving, the tab must be remove after the
reload and display. This prevents exception to be raised by calling display on
form widget that are removed.
2015-04-30 15:55:28 +02:00
Cédric Krier 813079fb5a Don't store editable tree widget
The model of the tree can change in case of reload inside another widget.
2015-04-03 20:30:30 +02:00
Cédric Krier 98988eef75 No need to call twice getAttribute 2015-04-03 20:28:59 +02:00
Cédric Krier 81adc7d0db Compare also the record rows to reconstruct tree view
As the row keeps a link to the record, the records of the group could have been
replaced by new records with exactly the same length.
2015-04-03 19:01:01 +02:00
Cédric Krier 61a891d103 Keep displaying affix when editing tree
Instead of adding a new row inside the main cell, it adds it inside the affix
table.
2015-04-03 18:47:55 +02:00
Cédric Krier 34d7e5223f Add support for Affix widget and states 2015-04-03 14:41:39 +02:00
Cédric Krier 6f8ef31aa7 Don't skip exclude_field in create_columns
exclude_field is hidden by the display.
2015-04-03 13:29:24 +02:00
Cédric Krier a8c3da97da Use a common Dialog Object to build modal 2015-03-27 11:49:22 +01:00
Cédric Krier 03caf29438 Implement on_write
review14141002
2015-03-27 10:39:52 +01:00
Cédric Krier 4fb04e0e4c Add missing attributes to synchronise between model and views 2015-03-26 19:36:49 +01:00
Cédric Krier 1b4a8928f0 Fix remove after modal hide
modal hide is asynchronous and so removing the element before it has finished
to hide with fade, bootstrap will leave the backdrop.
2015-03-24 21:13:50 +01:00
Cédric Krier e5870d5b21 Ensure minimum height for table data when responsive
The table data doesn't always contain an empty visible div.
2015-03-21 02:21:55 +01:00
Cédric Krier 7603eaa7b9 Don't hard-code min-width on form input
The input is also used in editable tree which has the property overflow set to
hidden so if the cell is not large enough the widget is partialy hidden.
2015-03-20 19:14:04 +01:00
Cédric Krier ff2403623a Add missing editable tree widget for time and timedelta 2015-03-20 19:11:26 +01:00
Cédric Krier c313e53791 Inline Reference field inputs 2015-03-20 18:54:11 +01:00
Cédric Krier 7a2d0e8341 Make selection checkbox of treeview take the minimum width 2015-03-20 18:29:41 +01:00
Cédric Krier 0a2131ac92 Use keydown instead of keyup
When using keyup, the event is also triggered when focusing in the widget with
tab even if the key was not initially pressed on the input.
2015-03-20 17:47:25 +01:00
Cédric Krier 2a6f7bb501 Trigger activate only if Many2One is editable 2015-03-20 17:45:19 +01:00