Molkobain
fa0ea7ed77
N°3207 - Global search: Add possibility to open history items in a new tab
2021-01-21 15:52:36 +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
Pierre Goiffon
f723862def
Pull up additionalCSSClasses from Button & UiContentBlock to UiBlock
...
This will allow to use this everywhere !
Before this commit we had :
UiContentBlock
aCSSClasses
GetCssClasses
SetCssClasses // reset + add, existing callers
AddCSSClasses
Button
$aAdditionalCSSClasses
GetAdditionalCSSClass
AddCSSClasses
Now we have :
UiBlock
aAdditionalCSSClasses
AddCSSClasses
SetCSSClasses
GetAdditionalCSSClass
Note that there were also some methods in PopoverMenuItem :
PopoverMenuItem
SetCssClasses
AddCssClass
GetCssClasses
As they are indirection to methods in the $oPopupMenuItem attribute, I added to them the "MenuItem" prefix :
SetMenuItemCssClasses
AddMenuItemCssClass
GetMenuItemCssClasses
Didn't find any use to change.
2021-01-21 10:49:31 +01:00
Eric
959cecf891
N°3567 - Migrate backoffice pages to new UIBlock system : App. upgrade (Fix default values and typos)
2021-01-20 15:01:27 +01:00
Molkobain
d54e156ec2
N°3207 - Global search: Keep input open and focus at the end of the query when running a search
2021-01-20 11:04:17 +01:00
Eric
54c5c8c016
Merge remote-tracking branch 'origin/develop' into feature/MVCTwigTags3.0
2021-01-20 10:43:12 +01:00
Molkobain
b4caa97e69
Replace utils::HtmlEntities() with utils::EscapeHtml() in the global search and quick create blocks
2021-01-20 09:57:23 +01:00
Eric
01c4dff035
Add UIBlocks to twig (Changed classes name)
2021-01-19 17:23:09 +01:00
Eric
648cfd9af4
Add UIBlocks to twig (Generalize IsHidden parameter)
2021-01-18 13:59:29 +01:00
Eric
5fe8ca178e
Add UIBlocks to twig (CollapsibleSection, FieldBadge, Panel)
2021-01-18 13:59:28 +01:00
Eric
63eb0f1530
Add UIBlocks to twig (Spinner)
2021-01-18 13:59:28 +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
2aae6cd744
Add UIBlocks to twig (Use sub-blocks for alerts and fields)
2021-01-18 12:03:33 +01:00
Eric
d8316a090a
Add UIBlocks to twig (DataTable, Form, Input)
2021-01-18 12:03:32 +01:00
Eric
bffb7b5eab
Add UIBlocks to twig (new blocks)
2021-01-18 12:03:32 +01:00
Eric
77808ecd41
Add UIBlocks to twig (WIP)
2021-01-18 12:03:31 +01:00
Pierre Goiffon
2f10f24317
Rename \Combodo\iTop\Application\UI\Base\Component\Html\HtmlFactory::MakeP to MakeParagraph
2021-01-15 13:50:47 +01:00
Pierre Goiffon
442e9598f8
N°3537 run_query : fix query suggestion button
...
Was throwing plain old HTML
Now use standard button component, and a new HtmlFactory to avoid calling \WebPage::GetP
Also change "use this query" behavior : now also submits the form directly
And : added a TODO 3.0.0 for the "query examples" buttons (will be done later)
2021-01-15 09:30:39 +01:00
Pierre Goiffon
a41229b223
N°3537 run_query : fix cannot set query arguments values
2021-01-14 17:37:38 +01:00
Pierre Goiffon
f1b972dde8
AbstractInput : add missing abstract keyword
2021-01-14 17:04:47 +01:00
Pierre Goiffon
9a5e86caea
N°3617 User pref keys : add prefix and normalize naming
...
4 keys existing :
* notification help message => UI-Collapsible__notifications__home
* run_query "more info" section => UI-Collapsible__run_query__more-info
* RenderAllUiBlocks test page alert and section examples => UI-Collapsible__RenderAllUiBlocks__alert and UI-Collapsible__RenderAllUiBlocks__section
2021-01-14 10:08:15 +01:00
Molkobain
8df2f96dfe
N°3627 - Fix "global search" results page URL not containing the query
2021-01-13 21:20:41 +01:00
Molkobain
0f72a35f48
N°3625 - Remove n:n classes from the "quick create" autocomplete
2021-01-13 21:00:20 +01:00
Molkobain
0a4db9bd50
N°3621 - Add config. parameter to disable "global search" history
2021-01-13 10:53:11 +01:00
Molkobain
9fccb6dd3f
N°2847 - Global search: Fix wrong history results parameter (was using the one from "quick create")
2021-01-13 10:47:03 +01:00
Molkobain
9221899525
N°3620 - Add confg. parameter to disable "quick create" history
2021-01-13 10:40:51 +01:00
Pierre Goiffon
790a675d90
N°3617 collapsible components state saving : use user pref instead of localStorage
...
No migration from existing localStorage keys (introduced in 2.5.0 with N°1030) as the console UI has dramatically change in 3.0.0 : will be useful to show all the collapsible sections content once again !
Note that an iTop instance identifier was used in the localStorage key, it is no longer needed as we're getting the user pref directly from the current instance.
Thanks @Molkobain for the help !
2021-01-13 09:33:44 +01:00
Eric
503817e572
N°2737 - Migrate WebPage::table() to UIBlocks
2021-01-12 16:17:33 +01:00
acognet
ccb6bb943c
N°2737 - Migrate table to DataTables plugin to be iso with the end-users portal - fix actions doesn't work after class change
2021-01-12 10:34:24 +01:00
Eric
d4aeb4b157
N°2677 - Add style definition for classes
2021-01-06 14:06:46 +01:00
acognet
f10d3893f4
N°2737 - Migrate table to DataTables plugin to be iso with the end-users portal - fix change in "configure this list"
2021-01-06 11:30:08 +01:00
Eric
2dea5447b4
N°2677 - Add style definition for enums (Default values)
2021-01-05 11:07:18 +01:00
Eric
f1ad55c86c
N°2677 - Add style definition for enums
2020-12-31 11:25:00 +01:00
Pierre Goiffon
2c0d001721
N°3564 Alert and CollapsibleSectionState can now be saved
2020-12-24 11:48:30 +01:00
Molkobain
06a829ce35
N°2847 - Alert: Rework $bIsOpenedByDefault property integration
2020-12-22 18:22:59 +01:00
Molkobain
fc3f096823
N°2847 - Alert: Add properties to set if closable or collapsible
2020-12-22 18:22:59 +01:00
Pierre Goiffon
5e22c442ce
N°3537 new CollapsibleSection component for run_query
2020-12-22 17:18:13 +01:00
Pierre Goiffon
4ebe3d2b2f
Fix null returned by Field::IsHidden
2020-12-21 15:23:46 +01:00
acognet
3876fb9d62
N°3540 - Migrate printable version of an object
2020-12-18 11:41:31 +01:00
Pierre Goiffon
c8dbf88c03
♻️ new FieldFactory
...
Idea is to remove the aParams parameter from the Field object
And also allow to pass subblocks for the input value instead of only raw HTML
2020-12-18 11:32:13 +01:00
Pierre Goiffon
85e9073228
N°3537 run_query : use Field instead of InputWithLabel
2020-12-16 17:45:13 +01:00
Pierre Goiffon
a20fd2278f
N°3537 Code review
...
Thanks @Molkobain !
2020-12-16 08:06:53 +01:00
Pierre Goiffon
cb4fb15b0a
Alert : remove return type
2020-12-16 07:56:13 +01:00
Pierre Goiffon
4bb59548d0
N°3537 run_query : replace main form by components
2020-12-15 17:09:39 +01:00
Pierre Goiffon
3d27e59269
Alert component : allow to be closed by default
2020-12-15 17:08:54 +01:00
Eric
c451293370
N°3123 - ExtraParams check
2020-12-15 12:14:10 +01:00
Eric
9df80b9f79
N°3123 - Fix table counts on search results
2020-12-14 18:31:32 +01:00
Eric
c106caf924
N°3123 - Fix dashlets GroupBy and Object List
2020-12-14 16:37:23 +01:00
Eric
70beeb726a
N°3123 - Fix "view_link" parameter for shortcuts preferences
2020-12-14 09:54:01 +01:00
acognet
43a2b5cda6
N°3123 : Fix create shortcuts and set preferences
2020-12-11 19:23:35 +01:00