Commit Graph

226 Commits

Author SHA1 Message Date
Patrick Yates 8322876d8e
Add link to toggle column scrolling in board view 2020-10-04 13:57:34 -07:00
Rafael de Camargo d1b4b26c04 Fix clearing of all javascript storage 2020-06-26 20:21:25 -07:00
Psy-Q 21f563fdd5
Prevent last swimlane to be hidden if there is only one
Fixes #4376
2020-05-06 21:46:01 -07:00
Franky Van Liedekerke 17b764e862
Execute tooltip listeners only once when the DOM is ready 2020-05-03 12:12:29 -07:00
Slade e65045f934 Move "data-js-lang" attribute to HTML "lang" attribute 2019-11-19 20:15:15 -08:00
Slade a089a77ce9 Fix date picker datetime parsing when using pre-defined localized versions of am/pm
Add list of allowed am and pm names to override locale am/pm because PHP DateTime cannot interpret them.
2019-11-16 17:19:38 -08:00
Slade 84a4cad9e0 Close open menu when clicking again on the button 2019-11-16 16:57:53 -08:00
Slade Price 5e6a9a89de Fix issue 3916: width of filter bar in mobile. 2019-11-15 18:28:44 -08:00
Miodrag Tokić eccfff451a Limit assignee drop-down selector scope
On the task details page "Add a sub-task" pop-up modal contains
drop-down (the SELECT HTML element) with "form-user_id" as the `name`
and the `id` attribute value. This element is in conflict with another,
hidden INPUT element with the same `name` and the `id` value. This
causes an issue where clicking the "Me" (Assignee) link / shortcut (A)
element doesn't select your name in the Assignee SELECT element.

Avoiding conflict by changing the SELECT element `id` value is not
possible as the SELECT element is generated using `FormHelper::select()`
function which uses the same value for attribute `name` and `id`.

Given the assignee shortcut feature is used only in two places: edit
task and edit sub-task dialog, the simplest solution is to select the
closest SELECT element to the link / shortcut (A) element or limit the
scope to the currently opened dialog.

This fix uses the latter approach by limiting the scope of targeted
selector.
2018-12-20 13:57:43 +01:00
Julian Maurice 14d1411300 Fix task drag and drop slowdown when a column is hidden
It looks like jQuery UI has some difficulties when a column with a lot
of tasks is hidden.
Adding ':visible' to the connectWith properties of sortable() seems to
fix the problem

Fixes #4011
2018-09-28 19:18:18 -07:00
Frédéric Guillot 5996a8abcf Rewrite tooltips code without jQuery 2018-04-20 15:18:30 -07:00
Frederic Guillot 44aa24bab1 Add user backend provider system 2017-11-09 15:09:54 -08:00
Frederic Guillot 6b9b9d2d1c Add autocomplete dropdown on comment subject and email fields 2017-06-03 17:51:20 -04:00
ON-jz e8c83c97d7 Added new javascript events for dropdown and modal
- dropdown.clicked
- dropdown.afterRender
- dropdown.beforeDestroy
- modal.open
- modal.afterRender
- modal.beforeDestroy
2017-05-18 21:47:44 -04:00
Frederic Guillot 5cc4889473 Move Gantt charts to external plugin 2017-04-01 17:04:18 -04:00
Frederic Guillot d915c2a96b Improve subtask toggle 2017-03-19 16:45:32 -04:00
Frederic Guillot a7db17b0b2 Move isVisible() method 2017-03-11 17:45:13 -05:00
Frederic Guillot f3deb6492a Add toggle button to show/hide subtasks in task list view 2017-02-26 19:30:02 -05:00
Frederic Guillot f1fcaedbd2 Avoid potential XSS in Gantt chart 2017-02-23 20:33:44 -05:00
Konstantin Vorobyev de6f9452a1 Even more simple: hide columns first, then resize task lists 2017-02-23 21:57:43 +09:00
Konstantin Vorobyev 8b8ccf4a60 Properly resize task list height on column toggle #3069 2017-02-23 21:47:25 +09:00
Frederic Guillot 8bf054a480 Open comments in board view with a modal dialog instead of tooltip 2017-02-11 17:22:10 -05:00
Mark Szymanski d337aa42bd Use old menas for element selection 2017-01-16 20:27:57 -06:00
Mark Szymanski 5af514ff7e Workaround for task editing in board view (fixes #2949) 2017-01-16 20:25:03 -06:00
Frederic Guillot 3833c12ccc Refactoring/rewrite of modal boxes handling 2017-01-02 17:01:27 -05:00
Frederic Guillot ff79ec72c1 Remove dependency on Mousetrap 2016-12-30 20:14:36 -05:00
Frederic Guillot ffb3926178 Replace Chosen jQuery plugin by custom UI component 2016-12-11 15:46:54 -05:00
Frederic Guillot 90c9e86461 Rewrite session check component in vanilla js 2016-12-10 13:05:35 -05:00
Frederic Guillot c0049ed7e6 Rewrite project creation component in vanilla js 2016-12-10 11:36:22 -05:00
Frederic Guillot 67d01951f5 Rewrite component to change user/group role 2016-12-09 20:35:40 -05:00
Frederic Guillot 6135920a79
Replace notifications Javascript code by CSS 2016-12-01 20:02:48 -05:00
Frederic Guillot d8b0423d15
Add suggest menu for user mentions in text editor 2016-11-27 15:44:45 -05:00
Frederic Guillot 04ff67e26b
Rewrite task move position component and remove Vuejs 2016-11-26 16:00:52 -05:00
Frederic Guillot e64faae69a
Add jshint 2016-11-25 18:51:22 -05:00
Frederic Guillot f73d369dd0
Rewrite accordion widget in vanilla Javascript 2016-11-25 18:26:10 -05:00
Frederic Guillot b9ab163344
Move chart task time column to components 2016-11-21 23:16:18 -05:00
Frederic Guillot 25272afa9b
Remove Vuejs rendering on body tag 2016-11-21 23:04:27 -05:00
Frederic Guillot 8976f4d15c
Use components to render charts 2016-11-21 22:50:57 -05:00
Frederic Guillot 5188ed8cfe
Rewrite markdown editor in vanilla Javascript 2016-11-21 21:53:30 -05:00
Frederic Guillot e2a867166b
Convert calendar to VueJS component
Update to FullCalendar 3.1.0 as well.
2016-11-15 21:24:25 -05:00
Frederic Guillot ebb6b2827d
Replace SimpleMDE with custom Markdown editor 2016-11-13 22:51:59 -05:00
Frederic Guillot 6225469b91
Add button to close inline popups 2016-11-12 14:15:26 -05:00
Frederic Guillot 3f7840c4db
Add the possibility to create external tasks 2016-11-05 22:26:58 -04:00
Frederic Guillot 1466afb771
Do not close the popover when clicking on the background 2016-10-08 09:56:10 -04:00
Frederic Guillot c84df535b6
Improve column restrictions 2016-09-11 18:32:47 -04:00
Frederic Guillot a0227cad69
Define only what is allowed for column restrictions 2016-09-10 23:12:38 -04:00
Frederic Guillot 75470c7242
Apply column restrictions to the board 2016-09-08 22:33:16 -04:00
Frederic Guillot 21f8cebe85
Add new Vue.js component to handle submit and cancel buttons 2016-09-04 20:03:24 -04:00
Frederic Guillot daa076eea7
Convert time comparison chart to Vue.js component 2016-09-03 21:20:54 -04:00
Frederic Guillot ef8ddb59c9
Convert user distribution chart to Vue.js component 2016-09-03 20:45:30 -04:00