Molkobain
e646dc8a69
Code formatting
2021-01-22 11:39:49 +01:00
Molkobain
1bb6d62c17
PHPDoc and code conventions
2021-01-22 11:39:49 +01:00
acognet
5dcddf2317
N°3294 - Introduce counters in OQL menu entries
2021-01-21 17:24:44 +01:00
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
Molkobain
7c8019319a
UIBlock: Update PHPDoc, fix typo in $aJsTemplatesRelPath property/methods name and fix $aAdditionalCSSClasses initialization
2021-01-21 12:40:42 +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
Molkobain
cebc51e045
N°3649 - Activity panel: Remove entry form from the activity tab, only case log tabs will have one
2021-01-20 19:01:31 +01:00
Molkobain
16ca856996
N°3532 - Activity panel: Add support for readonly / hidden flags on caselogs
2021-01-20 19:01:31 +01:00
Molkobain
cb955ee84f
Remove unnecessary overloaded constants
2021-01-20 19:01:31 +01:00
Molkobain
6ac1cc4831
N°3567 - PHPDoc and coding conventions fixes
2021-01-20 19:01:30 +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
Molkobain
f4b9b0b313
N°3628 - Navigation menu: Add visual hint on toggler when silo applied
2021-01-18 15:41:08 +01:00
Molkobain
d57e368b03
N°3628 - Navigation menu: App. logo URL redirects to the home page by default, but is still customizable through 'app_icon_url'
2021-01-18 15:41:07 +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
Molkobain
04b4749510
N°1957 - Navigation menu: Show (dismissable) hint for the menu filter
2021-01-18 09:28:17 +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
Stephen Abello
137b4e55c4
N°3560 Allow to scroll vertically through tabs content. User can activate this feature in preference page
2021-01-15 11:03:08 +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
acognet
3791306be7
3540 - Migrate printable version of an object - management of the activities of an object
2021-01-06 09:40:30 +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
Molkobain
27eb3a8509
N°3518 - Start refactor of object details to match block / template design
2020-12-22 18:22:58 +01:00