Commit Graph

7280 Commits

Author SHA1 Message Date
Stephen Abello
2db7611368 N°2847 Fix wrong variable use in popover menu scss 2020-08-04 13:54:18 +02:00
Stephen Abello
f4f846496b N°2847 Add Separator item to popover menu items 2020-08-04 13:49:51 +02:00
Molkobain
d6ab310d24 N°3233 - Fix unit test and autoloader due to folders renaming in /sources 2020-08-04 13:26:58 +02:00
Molkobain
bc4b36fda6 N°3233 - Remove "display_template" from object details page 2020-08-04 13:26:57 +02:00
Molkobain
c61a66ca69 N°3233 - Remove "display_template" from datamodel classes 2020-08-04 13:26:57 +02:00
Molkobain
bd0480b5c5 N°3233 - Remove "display_template" from the metamodel and compiler 2020-08-04 13:26:57 +02:00
Molkobain
c93c53488d N°3185 - Rename tag to "main_logo_compact" and complete XML migration methods 2020-08-04 13:26:57 +02:00
Molkobain
19b5290e80 N°3231 - Allow browser access to static resources files in the /lib folder 2020-08-04 13:26:57 +02:00
Molkobain
a15235d522 N°2847 - Global Search: Fix class images URL, rename internal variable 2020-08-04 13:26:57 +02:00
Stephen Abello
c7e95676d2 N°2847 Fix first and last section border radius for popover menu 2020-08-04 12:13:39 +02:00
Stephen Abello
4aeb3ed448 N°2847 Cleanup scss with helpers 2020-08-04 12:00:03 +02:00
Stephen Abello
4e7b68aa9a N°2847 Open user menu when clicking user picture or user welcome message 2020-08-04 11:53:44 +02:00
Stephen Abello
e22c36c503 N°2847 Add tooltip to user menu picture and rework these dictionary entries 2020-08-04 10:02:56 +02:00
Stephen Abello
7264defc35 N°2847 Add padding to user menu message caret 2020-08-04 10:02:13 +02:00
Stephen Abello
baa2fb2906 Rename a NavigationMenu method (see ed1f3aa950 (r41148365)) 2020-08-04 09:27:55 +02:00
Stephen Abello
1d954b80a8 Rename a dictionnary entry (see ed1f3aa950 (r41148310)) 2020-08-04 09:27:12 +02:00
Stephen Abello
1d13181135 Split a scss variable in two (see ed1f3aa950 (r41148286)) 2020-08-04 09:26:12 +02:00
Stephen Abello
ed1f3aa950 N°2847 Add bottom menu part :
* Notifications icon
* User icon
* Extended user data
Still todo:
* Initialize Newsroom and feed infos to template
* Initialize User popover menu
2020-08-03 17:07:21 +02:00
Molkobain
e2e62eca5e N°2847 - Rework iTopWebPage layout (WIP Part IX)
- Refactor some CSS classes to something more semantic and cross app (.ibo-<COMPONENT>--is-<STATE> => .ibo-<STATE>)
- AjaxWebPage: Deprecated AddToMenu method
2020-08-03 11:27:06 +02:00
Stephen Abello
a85c7e9f8f Add Popover menu and subitems such as URL and JS items. 2020-08-03 11:16:54 +02:00
Molkobain
ac2280df50 N°2847 - Breadcrumbs: Rollback try to hide first elements when too many elements 2020-08-03 09:26:02 +02:00
Molkobain
61d611c136 N°2847 - Rework iTopWebPage layout (WIP Part VIII)
- Navigation menu: Change scrollbar color to something more visible
- Navigation menu: Close drawer when filter focused and "Escape" key hit
- Top bar: Fix element's ID in its standard delivery
- Top bar: Fix drawers opening under the top bar but above the main content
- iTopWebPage: Add AddUiBlock() method to easily add a layout/component in the page
- iTopWebPage: Fix Header/Footer parts (formerly North/South Panels) and Banner part
- WebPage: Handle duplicate stylesheets (like it was already doing for JS scripts)
2020-08-02 21:35:33 +02:00
Molkobain
f59de920c1 PHPDoc & code cleanup 2020-08-02 21:18:23 +02:00
Molkobain
7b13078bf9 N°2847 - Rework iTopWebPage layout (WIP Part VII)
- Breadcrumbs: Hide first elements when not enough space to show them all
- iTopWebPage: Temporary fix for modals in order to enable // dev. on the linkedsets refactoring
2020-07-30 17:57:36 +02:00
Molkobain
3406ebf1fd Merge remote-tracking branch 'origin/develop' into feature/backoffice-full-moon-design 2020-07-30 15:23:06 +02:00
Molkobain
1f0211b45a N°2847 - Rework iTopWebPage layout (WIP Part VI)
- iTopWebPage: Restore "open search" feature
- iTopWebPage: Change all resources URL to absolute in order to benefit from the "duplicate removal" benefits
- iTopWebPage: Remove obsolete method IsMenuPaneVisible()
- Config: Add new parameters quick_create.enabled / global_search.enabled / breadcrumb.enabled
- utils: Add new GetAppRevisionNumber() method
- Introduce iUIBlock interface for UI layouts, components, ...
- Introduce BlockRenderer to properly render blocks
- Add "render_block" function to TwigHelper to render blocks directly from TWIG
- Refactor layouts and components into proper block classes to fit the new architecture
2020-07-30 15:22:17 +02:00
Molkobain
b207ae1bb3 PHPDoc & code cleanup 2020-07-30 15:22:16 +02:00
Molkobain
e788a44382 TwigHelper: Add file type constants for an easier use by the service consumers 2020-07-30 15:22:16 +02:00
Molkobain
71dbccd034 N°3216 - Refactor form files to be part of the autoloader 2020-07-30 15:22:16 +02:00
Molkobain
3df3619b7c N°3215 - Refactor renderer files to be part of the autoloader 2020-07-30 15:22:16 +02:00
Molkobain
a969d352ec N°2847 - Rework iTopWebPage layout (WIP Part V)
- iTopWebPage: Restore "open search" feature
2020-07-30 15:22:16 +02:00
Molkobain
59b6dd735e Add helpers to retrieve some of the current contact data in UserRights 2020-07-30 15:22:16 +02:00
Molkobain
1766d42350 Internal: Refactor some harcoded attribute codes into constants in UserRights 2020-07-30 15:22:16 +02:00
Molkobain
3b6654588a N°2847 - Change images paths and names to something more functional 2020-07-30 15:22:16 +02:00
Pierre Goiffon
b58a084de5 N°2334 n:n relations : same fields displayed in EDIT and VIEW modes
Before we were only showing lnk fields in VIEW, and lnk+remote in EDIT (excluding some fields, see below).
Now by default (as this is customizable in VIEW mode) we have the same !

Rules to choose fields are moved from \UILinksWidget::__construct to :
  * \MetaModel::GetZListAttDefsFilteredForIndirectRemoteClass
  * \MetaModel::GetZListAttDefsFilteredForIndirectLinkClass
2020-07-30 11:40:54 +02:00
Pierre Goiffon
5d686d733f 🔧 Disable useless inspections 2020-07-30 11:33:57 +02:00
Pierre Goiffon
ea92973e9b 📝 PHPDoc for DisplayBlock 2020-07-29 12:23:15 +02:00
Pierre Goiffon
14505fc5e6 🔧 Change SlowArrayOperationsInLoopInspection from error to warning 2020-07-29 12:22:52 +02:00
Pierre Goiffon
90b60f90ae Update files version to 2.8.0 2020-07-28 11:40:16 +02:00
Pierre Goiffon
a26c2cbcdb 📝 Add phpdoc on DBObjectSearch method 2020-07-28 11:35:30 +02:00
Pierre Goiffon
cc708f6ccc 🙈 Add temp ignore rules 2020-07-28 11:03:59 +02:00
Molkobain
d4694b271f N°2847 - Rework iTopWebPage layout (WIP Part IV)
- iTopWebPage: Clean up some commented sections
- iTopWebPage: Marked some new methods as @internal
- iTopWebPage: Restore page content to allow // developments
- Quick create: Add quick object creation box to the top bar
- Global search: Improve cinematic with other widgets
- Components / Layouts: Move JS parts to iTopWebPage, will be put in dedicated PHP helpers later
2020-07-27 15:09:35 +02:00
Molkobain
d56f6e684a N°2847 - Add Bulma SCSS lib. 2020-07-27 15:09:35 +02:00
Molkobain
8999108fe3 Clean unwanted committed changes 2020-07-27 15:09:35 +02:00
Molkobain
929eccc88d Protect directory listing of /mode_modules 2020-07-27 15:09:34 +02:00
Molkobain
75812ca151 N°2847 - Rework iTopWebPage layout (WIP Part III)
- iTopWebPage: Fix top bar actions drawers opening under the advanced search widget
2020-07-27 15:09:34 +02:00
Molkobain
ec238569c4 Add method to get allowed classes for specific action (read/modify/...) and categories (bizmodel, ...) 2020-07-27 15:09:34 +02:00
Molkobain
b6117b157c PHPDoc & code cleanup 2020-07-27 15:09:34 +02:00
Molkobain
b3dcfea8dc N°3207 - Global search: Introduce new widget 2020-07-27 15:09:34 +02:00
Molkobain
00dc1d3f3b PHPDoc & code cleanup 2020-07-27 15:09:34 +02:00