-
-
Notifications
You must be signed in to change notification settings - Fork 135
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
!!!FEATURE: Reform foundation and boot process of the UI #3682
Commits on Jan 22, 2024
-
TASK: Load head scripts using
<script defer/>
This way, the UI does not need to listen to `DOMContentLoaded` in order to discover the `#appContainer` element. This allows a lot of the UI boot process to become synchronous.
Configuration menu - View commit details
-
Copy full SHA for 72bd767 - Browse repository at this point
Copy the full SHA 72bd767View commit details -
TASK: Refactor the UI boot process
Functionally, it stays the same, but the boot process is no longer a Redux Saga. It is instead an asynchronous function that runs when the `DOMContentLoaded` event was fired. Also, the various boot-related sub-processes (initializing plugins, loading translations, etc...) have been wrapped in dedicated functions.
Configuration menu - View commit details
-
Copy full SHA for 966fe6a - Browse repository at this point
Copy the full SHA 966fe6aView commit details -
TASK: Remove
discover
function from utility-helpers packageAs it is no longer needed.
Configuration menu - View commit details
-
Copy full SHA for a7992e2 - Browse repository at this point
Copy the full SHA a7992e2View commit details -
TASK: Remove
delay
function from utility-helpers packageAs it is no longer needed.
Configuration menu - View commit details
-
Copy full SHA for a0e45c2 - Browse repository at this point
Copy the full SHA a0e45c2View commit details -
TASK: JSON.parse the initial data for the boot process...
...rather than inlineing it. `JSON.parse` is somewhat more efficient, because for JSON only a subset of ECMAScript has to be parsed.
Configuration menu - View commit details
-
Copy full SHA for fc566d9 - Browse repository at this point
Copy the full SHA fc566d9View commit details -
TASK: Refactor fatal initlization error handling
The error message has been adjusted to the look of the global ErrorBoundary, re-using its stylesheet.
Configuration menu - View commit details
-
Copy full SHA for 6c8ad06 - Browse repository at this point
Copy the full SHA 6c8ad06View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ecf5e6 - Browse repository at this point
Copy the full SHA 6ecf5e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for a2ec91b - Browse repository at this point
Copy the full SHA a2ec91bView commit details -
TASK: Remove
data-first-tab
attribute from #appContainerThis attributes has no references throughout the entire code base. It appears to be a leftover from some abandoned feature-work.
Configuration menu - View commit details
-
Copy full SHA for df20bf0 - Browse repository at this point
Copy the full SHA df20bf0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a71ee6 - Browse repository at this point
Copy the full SHA 7a71ee6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e2a69c - Browse repository at this point
Copy the full SHA 0e2a69cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 05ce39d - Browse repository at this point
Copy the full SHA 05ce39dView commit details -
Configuration menu - View commit details
-
Copy full SHA for d515da3 - Browse repository at this point
Copy the full SHA d515da3View commit details -
FEATURE: Introduce
Neos.Neos.Ui:Application
prototypeThe `Neos.Neos.Ui:Application` prototype is designed to: 1. Functionally replace the `Backend/Index.html` Fluid template 2. Act as a basis for future multi-application support As of this commit, the API of the `Neos.Neos.Ui:Application` is not final.
Configuration menu - View commit details
-
Copy full SHA for 2525214 - Browse repository at this point
Copy the full SHA 2525214View commit details -
Configuration menu - View commit details
-
Copy full SHA for e0590e6 - Browse repository at this point
Copy the full SHA e0590e6View commit details -
TASK: Remove the
Backend/Index.html
Fluid template...as it is no longer needed.
Configuration menu - View commit details
-
Copy full SHA for 6286533 - Browse repository at this point
Copy the full SHA 6286533View commit details -
Configuration menu - View commit details
-
Copy full SHA for 61559f3 - Browse repository at this point
Copy the full SHA 61559f3View commit details -
TASK: Refactor controller to not use static fusion path
The fusion path is now dynamically determined by controller / action This enables additional actions with separate templates for that controller.
Configuration menu - View commit details
-
Copy full SHA for 8875c24 - Browse repository at this point
Copy the full SHA 8875c24View commit details -
!!!FEATURE: Introduce
ApplicationView
to replace Fusion for bootstr……apping the UI The `ApplicationView` builds the foundational HTML document (via string concatenation) for bootstrapping the Neos UI. Formerly, Fusion was used to retrieve and render the initial data for the UI. This task has been delegated to a set of dedicated classes, namely: - `ConfigurationProvider` - retrieves the `nodeTree` and `structureTree` segments from `Neos.Neos.userInterface.navigateComponent` settings, `allowedTargetWorkspaces` from the ContentRepository's `WorkspaceService` as well as the `nodeTypeSchema` and `translations` endpoints. - `RoutesProviderInterface` - retrieves all other routes/endpoints required for communication with the Neos server application - `FrontendConfigurationProvider` - reads and preprocesses the `Neos.Neos.Ui.frontendConfiguration` settings that are mostly used by third-party plugins to share data between server and client - `NodeTypeGroupsAndRolesProviderInterface` - retrieves information about node type roles and node type groups. Roles are a dedicated UI-concept that is meant to distinguish between document, content and collection nodes. Groups refer the grouping of node types in the creation dialog. - `MenuProvider` - retrieves all data needed to render the main burger menu located in the top left corner of the UI. - `InitialStateProvider` - reads and preprocesses the `Neos.Neos.Ui.initialState` settings that are used to hydrate the UI's redux store The responsibilities of these classes is entirely derived from their former Fusion counterparts. All of them have been marked `@internal` to allow for later removal. Nonetheless, it remains possible to implement their accompanying interfaces and replace their implementations via `Objects.yaml`. This enables rare edge cases and unplanned extensibility. The splash screen, formerly a Fluid template, is now hard-coded into the `ApplicationView` class, which renders the `Neos.Neos.Ui.splashScreen` setting obsolete. It has therefore been removed.
Configuration menu - View commit details
-
Copy full SHA for 85259f7 - Browse repository at this point
Copy the full SHA 85259f7View commit details -
TASK: Remove all backend-related Fusion code
With the new `ApplicationView` this code is no longer in use anywhere.
Configuration menu - View commit details
-
Copy full SHA for 218a42c - Browse repository at this point
Copy the full SHA 218a42cView commit details -
TASK: Remove
@neos/neos-ui/System/BOOT
redux action + dispatchThis action used to be fired before all asynchronous operations at the beginning of the boot process. Since there's not a single subscriber within the UI code base that listens to that action, it has now been removed.
Configuration menu - View commit details
-
Copy full SHA for e092605 - Browse repository at this point
Copy the full SHA e092605View commit details -
TASK: Prevent duplication of
defer
attribute on<script/>
-includesThis also removes handling of the legacy first level 'defer' setting in the `Neos.Neos.Ui.resources` settings. If it is set, it will be ignored.
Configuration menu - View commit details
-
Copy full SHA for 4325fb0 - Browse repository at this point
Copy the full SHA 4325fb0View commit details
Commits on Jan 23, 2024
-
TASK:
terminateDueToFatalInitializationError
throw directly if no d……om is initialized yet
Configuration menu - View commit details
-
Copy full SHA for ae1e7ba - Browse repository at this point
Copy the full SHA ae1e7baView commit details -
BUGFIX: Avoid rendering unwanted variables in the view by scoping eve…
…rything into `initialData` Previously this feature neos/flow-development-collection@b944521 would cause also the rendering of the neos ui `settings`
Configuration menu - View commit details
-
Copy full SHA for 4918ae2 - Browse repository at this point
Copy the full SHA 4918ae2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 148e851 - Browse repository at this point
Copy the full SHA 148e851View commit details
Commits on Jan 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d36a006 - Browse repository at this point
Copy the full SHA d36a006View commit details
Commits on Feb 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ba8cf91 - Browse repository at this point
Copy the full SHA ba8cf91View commit details