Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge Site Layout Editor - Meeds-io/MIPs#175 #1048

Merged
merged 17 commits into from
Feb 6, 2025
Merged

Conversation

boubaker
Copy link
Member

@boubaker boubaker commented Feb 4, 2025

boubaker and others added 15 commits February 6, 2025 04:28
This change will allow to store a Portal Site of type Draft in order to
allow drafting the layout changes.
…eeds-io/MIPs#175 (#1037)

This change will allow to retrieve Draft Site content using WebUI
context.
…s#175

This change will allow to map properties from database for Page Body.
…#175 (#1040)

This change will define a new structure for Site Layout Definition by
preserving a **retro-compatibility** with previous site layout
definition to avoid breaking changes. In addition a new `XSD` has been
defined to guide developers to use the new structure in `portal.xml`
files.
…MEED-8281 - Meeds-io/MIPs#175 (#1041)

This change will allow to centralize the system apps and divs to be
served by `UIPortalApplication` rather than Addon Containers added
inside the `sharedlayout.xml` and `portal.xml` of standalone sites.
…/MIPs#175 (#1042)

This change will allow to render an application only without having to
render the whole `UIPortalApplication` each time a single application is
requested.
…eeds-io/MIPs#175

Prior to this change, the Topbar wasn't elevated when the site body is scrolled. This change ensures to apply the adequate Class Helper in order to make it elevated once the site body is scrolled.
…EED-8266 - Meeds-io/MIPs#175 (#1044)

Prior to this change, the Meta Site pages wasn't all time displaying the
Shared layout. This change ensures to display the shared layout for Meta
Site Pages even when site is made as not displayed.
…IPs#175

Due to recent changes, the WebUI Portlets has been deprecated and the WebUI general components has become stateless and relies from now on on a transient state stored in PortalRequestContext object only which is managed by Current HTTP Request only (linked to HTTPRequest Lifecycle, built on Request Start and destroyed just after). Thus, the WebUI components Tree can become statically built for all users independently from its ACL.
The static WebUI Tree Feature has to be enabled by default and can be disabled by feature flag portal.staticWebUIComponents. Its default value will be set to true for Meeds and set to false for other distributions until the WebUI Portlets Deprecation is considered in other packages based on Meeds Distribution.
… - Meeds-io/MIPs#175 (#1047)

Prior to this change, the CSS Classes of Margins in Site Layout Sections
was computed as it was an application Margin. This change will ensure to
differentiate Section Margins computing from Applications Margin
Computing.
…1056)

Prior to this change, the Portlets specific JS in HTTP Headers wasn't
included since the 'jsManager' Tag is built before building the Portlets
content. This change will ensure to build the Portlet Header Markup and
JS dependencies before retrieving the JS Content.
This change will delete rendering of JSManager Tag when a single Portlet Application is requested to be displayed.
…eeds-io/MIPs#175

Prior to this change, the 'body-end-container' addons container has been moved from sharedlayout and pages to be included inside the UIPortalApplication directly which leads to not include JS & CSS of referenced applications automatically. This change will statically include those resources to ensure that those resources are properly loaded in all pages.
Copy link

sonarqubecloud bot commented Feb 6, 2025

Quality Gate Failed Quality Gate failed

Failed conditions
16.8% Coverage on New Code (required ≥ 60%)

See analysis details on SonarQube Cloud

@boubaker boubaker merged commit 215b6fd into develop Feb 6, 2025
4 of 5 checks passed
@boubaker boubaker deleted the merge-mip-175 branch February 6, 2025 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Site Layout Editor
2 participants