Molkobain
3598da8808
N°3526 - Clean up pass on UIBlocks
...
- Move UIBlock::ENUM_BLOCK_FILES_TYPE_XXX to iUIBlock
- Add PHPDoc
- Remove Object return type hint on overloadable methods
- Add scalar return type hint
- Add type hint on parameters
2021-11-14 22:33:48 +01:00
Molkobain
a9b30e160f
N°3526 - Clean up pass on UIBlockFactories
...
- Add PHPDoc
- Remove (Object) return type hint on overloadable methods
2021-11-14 22:33:48 +01:00
Molkobain
21545da062
Rename Panel / Alert / Button color constants for something more accurate
...
Done now before their as used too widely. We are most likely to allow dev. to use custom colors soon, so we want to avoid confusing / renaming then. (iTop extensions have been verified, none had to be migrated)
2021-09-26 01:26:42 +02:00
acognet
2e346a7e80
N°4184 - Alert UI block is collapsible only if there is a title
2021-09-07 10:45:37 +02:00
Eric
e46480032e
PHP doc
2021-05-28 18:04:11 +02:00
Eric
d594f28ed9
N°3573 - Migrate backoffice pages to new UIBlock system : System Information
2021-04-09 09:55:58 +02:00
Molkobain
c3140c2db3
Copyright year bump
2021-03-12 18:48:46 +01:00
acognet
6879cd762c
N°2598 - When refreshing a list, loosing page and order - improvement of code
2021-02-16 15:05:06 +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
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
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
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
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
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
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
cb4fb15b0a
Alert : remove return type
2020-12-16 07:56:13 +01:00
Pierre Goiffon
3d27e59269
Alert component : allow to be closed by default
2020-12-15 17:08:54 +01:00
Eric
2575fd6f4d
N°3123 - Refactor default constants
2020-12-02 13:22:43 +01:00
Eric
15aa9e508c
N°3123 - Refactor Directories
2020-12-02 13:18:01 +01:00