Pierre Goiffon
c693d03a77
N°3200 Add "Filter list" link on datatable count
2023-01-11 17:19:49 +01:00
Eric Espie
626ba7ee66
📝 PHPDoc reworked packages
2022-12-30 14:17:57 +01:00
Eric Espie
f3cea730af
Merge branch 'support/3.0' into develop
...
# Conflicts:
# application/applicationextension.inc.php
2022-12-29 14:40:26 +01:00
bdalsass
eda11e97e3
N°5074 - Linkset datatable actions row improvements
...
Linkset updates, feedbacks 09/12:
- Distinguish action label and tool tip message
- Change default action button label Ok => Confirm
- Use action label in place of default confirm button label
- Attach do not show again preference key to table instance
- Obsolescence flag for link selection (select all) issue correction
2022-12-20 10:10:25 +01:00
Molkobain
27cf8159d0
N°5388 - PHP 8.2: Fix dynamic properties
2022-12-14 19:55:08 +01:00
Molkobain
af804a9dc1
N°5655 - Enable bulk modify/delete on linksets
2022-12-12 23:44:31 +01:00
Benjamin Dalsass
9defedb862
N°5073 - Issue, row actions listeners lost on refresh
2022-12-07 15:31:19 +01:00
bdalsass
dbe7fae82e
Feature/modals - generic modal API ( #373 )
...
Default modal JS Implementation:
Add title option
Add buttons option
Change template cloning
Confirmation Modal:
Add implementation
Do not show again functionality
Web Page:
Add blocks array with twig loop insertion
2022-12-06 10:18:59 +01:00
Benjamin Dalsass
038e6d7f3f
datatable - row actions - allow returning null
2022-11-24 09:16:02 +01:00
bdalsass
bdb29fd99a
Issue/5074 - Routage, Block UI relations, Links row actions ( #369 )
...
* datatable row actions
Below is a sample of extra param to enable feature:
$aExtraParams['row_actions'] = [
[
'tooltip' => 'remove an element',
'icon_css_class' => 'fa-minus',
'js_row_action' => 'console.log("You clicked the remove button");',
'confirmation' => [
'message' => 'UI:ConfirmationMessage',
'message_row_data' => "name",
'remember_choice_pref_key' => 'remove_do_not_show_again',
],
],
[
'tooltip' => 'open in new tab',
'icon_css_class' => 'fa-external-link-square-alt',
'on_action_js' => 'window.open("http://localhost/itop-branchs/dev/pages/UI.php?operation=details&class=UserRequest&id= " + aData.id + "&c[menu]=UserRequest%3AOpenRequests");',
],
[
'tooltip' => 'other actions',
'icon_css_class' => 'fa-ellipsis-v',
'on_action_js' => 'console.log(event);',
],
];
* Contrôleur pour la suppression et le détachement de liens
* Block UI pour l'édition des relations
* Block UI pour la visualisation des relations
* Boutons d'actions pour la suppression et le détachement de liens
* Gestion dialogue de confirmation pour les row actions
2022-11-23 16:10:34 +01:00
bdalsass
5157f511fc
N°5073 - Implements line actions in a datatable ( #337 )
...
* datatable row actions
Below is a sample of extra param to enable feature:
$aExtraParams['row_actions'] = [
[
'tooltip' => 'add an element',
'icon_css_class' => 'fa-plus',
'css_class' => 'ibo-is-success',
'level' => 'secondary',
'on_action_js' => 'console.log(aData);',
],
[
'tooltip' => 'remove an element',
'icon_css_class' => 'fa-minus',
'css_class' => 'ibo-is-danger',
'level' => 'secondary',
'on_action_js' => 'console.log("You clicked the remove button");',
],
[
'tooltip' => 'open in new tab',
'icon_css_class' => 'fa-external-link-square-alt',
'on_action_js' => 'window.open("http://localhost/itop-branchs/dev/pages/UI.php?operation=details&class=UserRequest&id= " + aData.id + "&c[menu]=UserRequest%3AOpenRequests");',
],
[
'tooltip' => 'other actions',
'icon_css_class' => 'fa-ellipsis-v',
'on_action_js' => 'console.log(event);',
],
];
* datatable row actions (update)
* datatable row actions (update)
* datatable row actions (add template role)
* datatable row actions (align actions)
* datatable row actions (change template factory make to make standard)
* datatable row actions (use trait to handle row actions)
* datatable row actions (row actions templates)
* datatable row actions (row actions templates)
* datatable row actions (row actions templates)
* datatable row actions (extends to static and form)
* datatable row actions (extends to static and form)
* datatable row actions (code review S)
* datatable row actions (code review S)
* datatable row actions (code review S)
* Update js/dataTables.main.js
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Update js/dataTables.main.js
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Update sources/Application/UI/Base/Component/DataTable/StaticTable/StaticTable.php
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Update templates/base/components/datatable/row-actions/handler.js.twig
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* datatable row actions (code review M)
* Update js/dataTables.main.js
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Update js/dataTables.main.js
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Update js/dataTables.main.js
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Update sources/Application/UI/Base/Component/DataTable/StaticTable/StaticTable.php
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Update sources/Application/UI/Base/Component/DataTable/StaticTable/StaticTable.php
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Update sources/Application/UI/Base/Component/DataTable/StaticTable/StaticTable.php
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Update js/dataTables.main.js
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Update sources/Application/UI/Base/Component/DataTable/DataTableUIBlockFactory.php
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Update sources/Application/UI/Base/Component/DataTable/StaticTable/StaticTable.php
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Update application/utils.inc.php
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* datatable row actions (code review M2)
* datatable row actions (code review M3)
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
2022-09-26 08:20:28 +02:00
Molkobain
0c90b2f1aa
Fix code style
2022-07-28 11:52:28 +02:00
acognet
b45da1eaa5
N°4517 - PHP 8.1: Fix use of Serializable
2022-06-29 09:16:25 +02:00
Molkobain
3bec96abe1
Merge remote-tracking branch 'origin/support/3.0' into develop
...
# Conflicts:
# core/config.class.inc.php
# setup/itopdesignformat.class.inc.php
2022-01-27 16:09:22 +01:00
Pierre Goiffon
5f575d524a
N°4621 Fix naming inconsistencies in sources/*
2021-12-31 15:44:59 +01:00