Commit Graph

94 Commits

Author SHA1 Message Date
Stephen Abello
157c031236 N°4296 Correctly unescape dashboard title tooltip when switching dashboard 2021-09-29 10:15:57 +02:00
Stephen Abello
198c9ed479 N°4296 When switching dashboard, update dashboard title tooltip with new value 2021-09-22 14:03:57 +02:00
Molkobain
fea3c719af Top bar: Force page title to stay on 1 line 2021-09-01 14:56:21 +02:00
Molkobain
f84bc9fbbc N°4063 - Fix dashboard attribute's actions menu's dropdown being hidden behind dashlets 2021-06-29 14:37:53 +02:00
Molkobain
82e67f27f7 Dashboard: Rename class to better match conventions 2021-03-30 09:36:20 +02:00
Molkobain
65ed5b3fce Popover menu: Refactor to remove the necessity of coupling JS and PHP code to instantiate it correctly 2021-03-22 18:53:15 +01:00
Eric
574d089c20 N°3536 - Dashboard: Add title, toggler and menu to AttributeDashboard 2021-03-22 16:46:45 +01:00
Stephen Abello
8471bdeffe N°3542 Separate JS buttons from URL buttons 2021-03-18 15:39:19 +01:00
Eric
de5efe19b2 N°3536 - Dashboard: Finish integration of in the TopBar (rollback old css) 2021-03-18 10:42:45 +01:00
Eric
0da945ee29 N°3536 - Dashboard: Finish integration of in the TopBar 2021-03-16 18:28:18 +01:00
Molkobain
0d020bb706 Fix dashboard editor SCSS classes 2021-03-15 20:08:22 +01:00
Molkobain
5e5277f38e N°3534 - Dashboard: Add missing HTML meta data 2021-03-15 20:08:22 +01:00
Molkobain
370c08cd68 N°3657 - Replace calls to deprecate jQuery methods (".click(callback)" to ".on('click', callback)") 2021-03-15 09:29:09 +01:00
Molkobain
f1613c62a4 N°3657 - Replace calls to deprecate jQuery methods (".bind" and ".unbind") 2021-03-15 09:28:06 +01:00
acognet
5f217d75bb N°3746 - Migrate modal to new UIBlock system 2021-03-05 17:43:45 +01:00
Eric
da4cf8b661 N°3739 - Change dashboard menu entries (Fix dashboard edition) 2021-02-26 09:33:56 +01:00
Eric
39f30a059b N°3739 - Change dashboard menu entries 2021-02-25 16:29:25 +01:00
Molkobain
083f50a5d4 Fix typo 2021-02-22 13:53:41 +01:00
Molkobain
9bbec47976 Move tooltips JS helpers to dedicated class "CombodoGlobalToolbox => CombodoTooltip" 2021-02-22 13:02:52 +01:00
acognet
dbe747ea23 N°2598 - When refreshing a list, loosing page and order - change of dashboard refresh mecanism 2021-02-15 16:55:03 +01:00
Eric
3c60e4f765 Add Toolbar factory, Use new factory entry for cancel buttons, better check of twig errors, fix fatal error page 2021-02-09 14:43:46 +01:00
Stephen Abello
9ebf0ce1e5 N°3535 Migrate dashboard editor modal to new design 2021-01-29 17:04:00 +01:00
Molkobain
1514cd83ab UIBlock: Change $aAdditionalCSSClasses methods to match app. conventions (parameters should be arrays, not space separated string)
Note: This had to be fixed on all calls to this, hence the number of modifications.
2021-01-21 12:59:30 +01:00
Eric
21740123f4 Add UIBlocks to twig (generic parser and node)
# Conflicts:
#	pages/run_query.php
#	test/VisualTest/Backoffice/RenderAllUiBlocks.php
2021-01-18 12:09:07 +01:00
Eric
15aa9e508c N°3123 - Refactor Directories 2020-12-02 13:18:01 +01:00
acognet
f718b26b7b N°2847 - Tranform old itop datatable to jquery DataTable 2020-11-04 13:36:20 +01:00
Eric
bd606ca3f9 N°2847 - Move dashboard title and menu to the top bar 2020-10-28 15:43:42 +01:00
Molkobain
00212e8127 N°2847 - Dashboard: Start rework for demo 2020-10-09 00:04:13 +02:00
acognet
cc6ab8a7b7 N°3184 - Upgrade JQuery UI (iTop 2.8) 2020-09-01 09:06:14 +02:00
acognet
e0bf262343 N°2534 - dashboard: bug with autorefresh that deactivates filtering on organizations 2020-08-18 10:19:00 +02:00
acognet
f90105c107 N°2534 - dashboard: bug with autorefresh that deactivates filtering on organizations 2020-08-12 14:18:05 +02:00
acognet
e226222c2a N°3102 - widget regression: OQL syntax error now crash the page instead of displaying an error in place of the widget 2020-06-17 11:11:48 +02:00
Molkobain
4f7676c42d N°2735 - Rollback previous "fixes" to keep the simple ID policy in the Designer and a unique ID generation at runtime 2020-03-16 12:17:09 +01:00
Molkobain
ceddafaebe N°2735 - Rename parameter for better consistency 2020-03-16 12:17:09 +01:00
Molkobain
dd300e075c N°2735 - Fix dashlet edition in the Designer (property form ID was not matching dashlet's) 2020-03-12 16:46:03 +01:00
Molkobain
1371eee826 N°2735 - Continue rework of the dashlet id generation: Dashlet could not be added in the Designer 2020-02-27 11:54:20 +01:00
Molkobain
e2a3e0e74f N°2735 - Continue rework of the dashlet id generation:
- Move generation from DashboardLayout to Dashboard
- Migrate dashlet user preference in RuntimeDashboard only (and not in DesignTimeDashboard)
2020-02-26 16:29:32 +01:00
Molkobain
401f82062a N°2735 - Make sure to always have the dashboard (sanitized) id for dashlets rendering 2020-02-26 12:10:18 +01:00
Molkobain
5a01a76f80 N°2735 - Add new sanitize filter ('element_identifier') for dashboard identifier 2020-02-26 12:10:18 +01:00
Pierre Goiffon
dfc894f6fd N°2735 Fix cannot edit new dashlet properties regression
Was introduced by cf83bc73
2020-02-25 11:17:52 +01:00
Pierre Goiffon
cf83bc7364 N°2634 / N°2735 Fix dashlets identifiers : was causing prb on widget init, prefs save
Dashlet id now includes :
* "CUSTOM-" if dashlet is contained in a custom dashboard, nothing elsewhere
* the ID of the dashboard
  - for menus : menu id escaped for HTML
  - for AttributeDashboard : <class>__<field>
* the row / cell / dashlet idx

Examples :
CUSTOM-UserRequestOverview_IDrow1-col0-0
Organization__overview_IDrow1-col0-12
2020-02-14 15:59:09 +01:00
Pierre Goiffon
824d8398a3 N°2634 / N°2735 Allow saving list prefs for all DashletObjectList
The id generated for the dashlets in the markup is the one used in the saved appUserPreferences. As no control is done during compilation nor in the Designer editor, we could have duplicates.
The first fix (081ba68a) was adding a generated suffix, but for default dashlet this was generated each time so the id was different on every page load ! For custom dashlets as their definition was saved in a XML file it was ok.
This new fix adds a prefix containing row and col id, so every time the id is the same. No duplicates should be found in the same cell.
2020-02-12 14:07:57 +01:00
Stephen Abello
611e828d1a N°2314 Introduce custom themes for iTop's console 2019-12-12 15:46:03 +01:00
Molkobain
52d3d8cfe7 Internal: PHPDoc, warnings suppression and typos 2019-12-11 20:54:45 +01:00
Molkobain
081ba68af4 N°2634 - Fix non editable dashlets in dashboards 2019-12-11 20:54:45 +01:00
Eric
c6759220b9 🎨 clean warnings and add KPI in ajax.render.php 2019-12-06 15:42:03 +01:00
Molkobain
276427e3df PHPDoc 2018-10-23 15:43:31 +02:00
Eric
db4b8b2f43 N°1408 - Dashboard selector 2018-10-15 16:37:18 +02:00
Eric
c17f7caa29 N°1408 - Dashboard selector 2018-10-15 16:37:18 +02:00
Eric
f3f70d6296 N°1408 - Dashboard Printer friendly page + user edit rights 2018-10-15 16:37:18 +02:00