@sapui5/sap.ushell 1.120.4 → 1.120.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/main/js/sap/ushell/.library +1 -1
- package/src/main/js/sap/ushell/Fiori20Adapter.js +1 -1
- package/src/main/js/sap/ushell/Fiori20AdapterTest.js +1 -1
- package/src/main/js/sap/ushell/NWBCInterface.js +1 -1
- package/src/main/js/sap/ushell/TechnicalParameters.js +1 -1
- package/src/main/js/sap/ushell/URLTemplateProcessor.js +1 -1
- package/src/main/js/sap/ushell/Ui5NativeServiceFactory.js +1 -1
- package/src/main/js/sap/ushell/Ui5ServiceFactory.js +1 -1
- package/src/main/js/sap/ushell/_ApplicationType/urlTemplateResolution.js +1 -1
- package/src/main/js/sap/ushell/_URLTemplateProcessor/DefinitionParameterSetBuilder.js +1 -1
- package/src/main/js/sap/ushell/_URLTemplateProcessor/DependencyGraph.js +1 -1
- package/src/main/js/sap/ushell/_URLTemplateProcessor/Functions.js +1 -1
- package/src/main/js/sap/ushell/_URLTemplateProcessor/Resolvers.js +1 -1
- package/src/main/js/sap/ushell/_URLTemplateProcessor/TemplateParameterParser.js +1 -1
- package/src/main/js/sap/ushell/_URLTemplateProcessor/utils.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/ClientSideTargetResolutionAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/CommonDataModelAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/ConfigurationDefaultsAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/ContainerAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/LaunchPageAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/PagesCommonDataModelAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/PersonalizationAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/PersonalizationV2Adapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/Ui5ComponentLoaderAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/modifyHome.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readCatalogs.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readHome.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/uri.transform.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/util/AppForInbound.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/util/cdmSiteUtils.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/AdapterBase.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/LaunchPageAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/StaticGroupsAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readApplications.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readCatalogs.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readHome.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readPages.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readUtils.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readVisualizations.js +1 -1
- package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cep/SearchCEPAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cflp/UserDefaultParameterPersistenceAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/AdapterContainer.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/AppStateAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/ClientSideTargetResolutionAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/ContainerAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/LaunchPageAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/PageBuildingAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/PagePersistenceAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/PersonalizationAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/PersonalizationV2Adapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/SearchAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/SearchCEPAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/SupportTicketAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/Ui5ComponentLoaderAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/UserDefaultParameterPersistenceAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/UserInfoAdapter.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/AppRuntime.js +69 -45
- package/src/main/js/sap/ushell/appRuntime/ui5/AppRuntimeContext.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/rtaAgent/i18n/i18n_en.properties +7 -0
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/rtaShell/i18n/i18n_en.properties +4 -0
- package/src/main/js/sap/ushell/appRuntime/ui5/services/AppLifeCycleAgent.js +23 -10
- package/src/main/js/sap/ushell/appRuntime/ui5/services/adapters/Ui5ComponentLoaderAdapter.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/_SchedulingAgent/logger.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/_SchedulingAgent/state.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/common/common.configure.ui5datetimeformat.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/sandbox2.js +1 -1
- package/src/main/js/sap/ushell/components/HomepageManager.js +25 -0
- package/src/main/js/sap/ushell/components/appfinder/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/applicationIntegration/AppLifeCycle.js +1 -1
- package/src/main/js/sap/ushell/components/applicationIntegration/application/Application.js +1 -1
- package/src/main/js/sap/ushell/components/applicationIntegration/application/BlueBoxHandler.js +1 -1
- package/src/main/js/sap/ushell/components/applicationIntegration/application/PostMessageAPI.js +23 -19
- package/src/main/js/sap/ushell/components/applicationIntegration/configuration/AppMeta.js +1 -1
- package/src/main/js/sap/ushell/components/applicationIntegration/elements/model.js +1 -1
- package/src/main/js/sap/ushell/components/applicationIntegration/relatedServices/RelatedServices.js +1 -1
- package/src/main/js/sap/ushell/components/applicationIntegration/relatedShellElements/RelatedShellElements.js +1 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/i18n/i18n_en.properties +34 -0
- package/src/main/js/sap/ushell/components/cepsearchresult/app/i18n/i18n_en.properties +11 -0
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_en.properties +111 -0
- package/src/main/js/sap/ushell/components/container/ApplicationContainer.js +1 -1
- package/src/main/js/sap/ushell/components/container/resources/resources_en.properties +9 -0
- package/src/main/js/sap/ushell/components/contentFinder/Component.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/controller/AppSearch.controller.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/controller/ContentFinderDialog.controller.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/controller/WidgetGallery.controller.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_en.properties +29 -0
- package/src/main/js/sap/ushell/components/factsheet/Component.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/ActionMode.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/DashboardContent.view.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/DashboardGroupsBox.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/DashboardUIActions.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/pages/ActionMode.js +1 -1
- package/src/main/js/sap/ushell/components/pages/Component.js +1 -1
- package/src/main/js/sap/ushell/components/pages/MyHomeImport.js +1 -1
- package/src/main/js/sap/ushell/components/pages/controller/PageRuntime.controller.js +1 -1
- package/src/main/js/sap/ushell/components/pages/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/runtimeSwitcher/controller/RuntimeSwitcher.controller.js +1 -1
- package/src/main/js/sap/ushell/components/runtimeSwitcher/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/MenuBar/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/controller/NavigationBarMenu.controller.js +1 -1
- package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/Notifications/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/ProductSwitch/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Search/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/FrequentActivityProvider.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/RecentSearchProvider.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchProvider.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchServiceProvider.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/UserActionsMenu/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/UserImage/Component.js +1 -1
- package/src/main/js/sap/ushell/components/visualizationOrganizer/Component.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/Component.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.accessibility.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.controller.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageHost.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPage.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageButton.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageCell.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumn.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnResizer.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRow.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_en.properties +76 -0
- package/src/main/js/sap/ushell/components/workPageRuntime/Component.js +1 -1
- package/src/main/js/sap/ushell/components/workPageRuntime/controller/WorkPageRuntime.controller.js +1 -1
- package/src/main/js/sap/ushell/components/workPageRuntime/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/workPageRuntime/services/NavigationResolver.js +1 -1
- package/src/main/js/sap/ushell/components/workPageRuntime/services/WorkPage.js +1 -1
- package/src/main/js/sap/ushell/designtime/ApplicationContainer.designtime.js +1 -1
- package/src/main/js/sap/ushell/library.js +1 -1
- package/src/main/js/sap/ushell/navigationMode.js +1 -1
- package/src/main/js/sap/ushell/performance/ShellAnalytics.js +1 -1
- package/src/main/js/sap/ushell/performance/StatisticalRecord.js +1 -1
- package/src/main/js/sap/ushell/plugins/appwarmup/Component.js +1 -1
- package/src/main/js/sap/ushell/plugins/rta/i18n/i18n_en.properties +10 -0
- package/src/main/js/sap/ushell/plugins/rta-personalize/i18n/i18n_en.properties +14 -0
- package/src/main/js/sap/ushell/renderer/Renderer.js +2 -2
- package/src/main/js/sap/ushell/renderer/Shell.controller.js +44 -37
- package/src/main/js/sap/ushell/renderer/resources/resources.properties +4 -6
- package/src/main/js/sap/ushell/renderer/resources/resources_en.properties +952 -19
- package/src/main/js/sap/ushell/renderer/search/searchComponent/manifest.json +1 -1
- package/src/main/js/sap/ushell/services/AppLifeCycle.js +1 -1
- package/src/main/js/sap/ushell/services/AppState.js +1 -1
- package/src/main/js/sap/ushell/services/Bookmark.js +1 -1
- package/src/main/js/sap/ushell/services/BookmarkV2.js +1 -1
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution.js +1 -1
- package/src/main/js/sap/ushell/services/CommonDataModel.js +1 -1
- package/src/main/js/sap/ushell/services/Configuration.js +1 -1
- package/src/main/js/sap/ushell/services/ConfigurationDefaults.js +1 -1
- package/src/main/js/sap/ushell/services/ContentExtensionAdapterFactory.js +1 -1
- package/src/main/js/sap/ushell/services/CrossApplicationNavigation.js +1 -1
- package/src/main/js/sap/ushell/services/DarkModeSupport.js +1 -1
- package/src/main/js/sap/ushell/services/Extension/FloatingContainer.js +1 -1
- package/src/main/js/sap/ushell/services/Extension/Footer.js +1 -1
- package/src/main/js/sap/ushell/services/Extension/Header.js +1 -1
- package/src/main/js/sap/ushell/services/Extension/Item.js +1 -1
- package/src/main/js/sap/ushell/services/Extension/SidePane.js +1 -1
- package/src/main/js/sap/ushell/services/Extension/ToolArea.js +1 -1
- package/src/main/js/sap/ushell/services/Extension.js +1 -1
- package/src/main/js/sap/ushell/services/LaunchPage.js +1 -1
- package/src/main/js/sap/ushell/services/Menu.js +1 -1
- package/src/main/js/sap/ushell/services/Message.js +1 -1
- package/src/main/js/sap/ushell/services/MessageBroker.js +1 -1
- package/src/main/js/sap/ushell/services/Navigation/utils.js +1 -1
- package/src/main/js/sap/ushell/services/Navigation.js +1 -1
- package/src/main/js/sap/ushell/services/NavigationDataProvider.js +1 -1
- package/src/main/js/sap/ushell/services/NotificationsV2.js +1 -1
- package/src/main/js/sap/ushell/services/PageBuilding.js +1 -1
- package/src/main/js/sap/ushell/services/PagePersistence.js +1 -1
- package/src/main/js/sap/ushell/services/PageReferencing.js +1 -1
- package/src/main/js/sap/ushell/services/Pages.js +1 -1
- package/src/main/js/sap/ushell/services/Personalization.js +1 -1
- package/src/main/js/sap/ushell/services/PersonalizationV2/ContextContainer.js +1 -1
- package/src/main/js/sap/ushell/services/PersonalizationV2/Personalizer.js +1 -1
- package/src/main/js/sap/ushell/services/PersonalizationV2/TransientPersonalizer.js +1 -1
- package/src/main/js/sap/ushell/services/PersonalizationV2/Variant.js +2 -2
- package/src/main/js/sap/ushell/services/PersonalizationV2/VariantSet.js +4 -4
- package/src/main/js/sap/ushell/services/PersonalizationV2/VariantSetAdapter.js +1 -1
- package/src/main/js/sap/ushell/services/PersonalizationV2/WindowAdapter.js +1 -1
- package/src/main/js/sap/ushell/services/PersonalizationV2/WindowAdapterContainer.js +2 -2
- package/src/main/js/sap/ushell/services/PersonalizationV2.js +1 -1
- package/src/main/js/sap/ushell/services/PluginManager.js +1 -1
- package/src/main/js/sap/ushell/services/ReferenceResolver.js +1 -1
- package/src/main/js/sap/ushell/services/Search.js +1 -1
- package/src/main/js/sap/ushell/services/SearchCEP.js +1 -1
- package/src/main/js/sap/ushell/services/SearchableContent.js +1 -1
- package/src/main/js/sap/ushell/services/SmartNavigation.js +1 -1
- package/src/main/js/sap/ushell/services/SpaceContent.js +1 -1
- package/src/main/js/sap/ushell/services/UITracer.js +1 -1
- package/src/main/js/sap/ushell/services/URLShortening.js +1 -1
- package/src/main/js/sap/ushell/services/URLTemplate.js +1 -1
- package/src/main/js/sap/ushell/services/Ui5ComponentLoader.js +1 -1
- package/src/main/js/sap/ushell/services/UserDefaultParameterPersistence.js +1 -1
- package/src/main/js/sap/ushell/services/UserDefaultParameters.js +1 -1
- package/src/main/js/sap/ushell/services/UserInfo.js +1 -1
- package/src/main/js/sap/ushell/services/UserRecents.js +66 -44
- package/src/main/js/sap/ushell/services/VisualizationDataProvider.js +1 -1
- package/src/main/js/sap/ushell/services/VisualizationInstantiation.js +1 -1
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/Formatter.js +1 -1
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/InboundIndex.js +1 -1
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/InboundProvider.js +1 -1
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/PrelaunchOperations.js +1 -1
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/Search.js +1 -1
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/StagedLogger.js +1 -1
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/SystemContext.js +1 -1
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/Utils.js +1 -1
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/VirtualInbounds.js +1 -1
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/XAppStateProcessing.js +1 -1
- package/src/main/js/sap/ushell/services/_CommonDataModel/SiteConverter.js +1 -1
- package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/ContentExtensionAdapterConfig.js +1 -1
- package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/FeaturedGroupConfig.js +1 -1
- package/src/main/js/sap/ushell/services/_CrossApplicationNavigation/utils.js +1 -1
- package/src/main/js/sap/ushell/services/_MessageBroker/MessageBrokerEngine.js +1 -1
- package/src/main/js/sap/ushell/services/_PageReferencing/PageReferencer.js +1 -1
- package/src/main/js/sap/ushell/services/_PluginManager/Extensions.js +1 -1
- package/src/main/js/sap/ushell/services/_PluginManager/HeaderExtensions.js +1 -1
- package/src/main/js/sap/ushell/services/_PluginManager/MenuExtensions.js +1 -1
- package/src/main/js/sap/ushell/services/_Ui5ComponentLoader/utils.js +1 -1
- package/src/main/js/sap/ushell/services/_UserRecents/RecentActivity.js +36 -23
- package/src/main/js/sap/ushell/services/_UserRecents/RecentAppsUsage.js +11 -11
- package/src/main/js/sap/ushell/services/_UserRecents/RecentsList.js +8 -8
- package/src/main/js/sap/ushell/services/_UserRecents/UserRecentsBase.js +40 -36
- package/src/main/js/sap/ushell/services/_VisualizationInstantiation/VizInstanceLink.js +1 -1
- package/src/main/js/sap/ushell/support/plugins/flpConfig/FlpConfigurationPlugin.js +1 -1
- package/src/main/js/sap/ushell/ui/ContentNodeSelector.js +3 -1
- package/src/main/js/sap/ushell/ui/QuickAccess.js +1 -0
- package/src/main/js/sap/ushell/ui/ShellHeader.js +4 -2
- package/src/main/js/sap/ushell/ui/cards/RecentActivitiesExtension.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/ExtendedChangeDetection.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/Page.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/Section.js +2 -2
- package/src/main/js/sap/ushell/ui/launchpad/section/CompactArea.js +1 -1
- package/src/main/js/sap/ushell/ui/shell/ShellAppTitle.js +1 -6
- package/src/main/js/sap/ushell/ui/shell/ShellHeadItem.js +1 -1
- package/src/main/js/sap/ushell/ui/shell/SysInfoBar.js +1 -1
- package/src/main/js/sap/ushell/ui/shell/ToolAreaItem.js +1 -1
- package/src/main/js/sap/ushell/ui/utils.js +1 -1
- package/src/main/js/sap/ushell/ui5service/ShellUIService.js +1 -1
- package/src/main/js/sap/ushell/ui5service/UserStatus.js +1 -1
- package/src/main/js/sap/ushell/utils/UrlShortening.js +1 -1
- package/src/test/js/sap/ushell/bootstrap/sandbox.js +1 -1
- package/ui5.yaml +24 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Copyright (c) 2009-2023 SAP SE, All Rights Reserved
|
|
2
2
|
|
|
3
3
|
sap.ui.define([
|
|
4
|
-
"
|
|
4
|
+
"sap/ushell/services/_UserRecents/UserRecentsBase",
|
|
5
5
|
"sap/base/Log",
|
|
6
6
|
"sap/base/util/extend",
|
|
7
7
|
"sap/ui/Device",
|
|
@@ -24,7 +24,7 @@ sap.ui.define([
|
|
|
24
24
|
* @class
|
|
25
25
|
* @private
|
|
26
26
|
*/
|
|
27
|
-
var RecentActivity = UserRecentsBase.extend("sap.ushell.services.RecentActivity", {
|
|
27
|
+
var RecentActivity = UserRecentsBase.extend("sap.ushell.services.UserRecents.RecentActivity", {
|
|
28
28
|
constructor: function (maxItems) {
|
|
29
29
|
UserRecentsBase.call(this, "RecentActivity", maxItems, RecentActivity._compareItems);
|
|
30
30
|
}
|
|
@@ -33,6 +33,14 @@ sap.ui.define([
|
|
|
33
33
|
RecentActivity.MAX_DAYS = 30; // Number of days to be considered "recent"
|
|
34
34
|
RecentActivity.ITEM_COUNT = 30; // Number of items to use for the item feed
|
|
35
35
|
|
|
36
|
+
const aGenericIntents = [
|
|
37
|
+
"#Shell-launchURL",
|
|
38
|
+
"#Shell-startGUI",
|
|
39
|
+
"#Shell-startIntent",
|
|
40
|
+
"#Shell-startURL",
|
|
41
|
+
"#Shell-startWDA"
|
|
42
|
+
];
|
|
43
|
+
|
|
36
44
|
/**
|
|
37
45
|
* @typedef UserRecentsItem
|
|
38
46
|
* @property {sap.ushell.AppType} appType
|
|
@@ -54,7 +62,12 @@ sap.ui.define([
|
|
|
54
62
|
if (a.appType !== AppType.APP) {
|
|
55
63
|
return a.url === b.url;
|
|
56
64
|
}
|
|
57
|
-
|
|
65
|
+
const bSameAppId = a.appId === b.appId;
|
|
66
|
+
if (bSameAppId && aGenericIntents.includes(a.appId)) {
|
|
67
|
+
// This is a special case for apps launched with the generic intents.
|
|
68
|
+
return a.title === b.title;
|
|
69
|
+
}
|
|
70
|
+
return bSameAppId;
|
|
58
71
|
} else if (a.appType === AppType.APP || b.appType === AppType.APP) {
|
|
59
72
|
return (a.appId === b.appId) && (a.url === b.url);
|
|
60
73
|
}
|
|
@@ -66,13 +79,13 @@ sap.ui.define([
|
|
|
66
79
|
var bFound;
|
|
67
80
|
if (RecentActivity._compareItems(oRecentEntry.oItem, oItem)) {
|
|
68
81
|
/*
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
82
|
+
* in case both items considered as equal (by _compareItems function),
|
|
83
|
+
* we will override the saved item only in case its type is not type 'Application'.
|
|
84
|
+
*
|
|
85
|
+
* As the shell always adds user recent entry after every app closed, it might be that a different
|
|
86
|
+
* App as 'OVP' for example will also use API to add its app as user-recent entry, and the information
|
|
87
|
+
* they provide regarding the item to save is with higher value then the information the shell constructs (icon title etc)
|
|
88
|
+
*/
|
|
76
89
|
if ((oItem.appType === oRecentEntry.oItem.appType) ||
|
|
77
90
|
(oItem.appType !== AppType.APP)) {
|
|
78
91
|
// override the item
|
|
@@ -93,7 +106,7 @@ sap.ui.define([
|
|
|
93
106
|
oRecentEntry.iCount += 1;
|
|
94
107
|
}
|
|
95
108
|
|
|
96
|
-
this.oRecentActivities.recentUsageArray.sort(UserRecentsBase.
|
|
109
|
+
this.oRecentActivities.recentUsageArray.sort(UserRecentsBase.itemSorter);
|
|
97
110
|
}
|
|
98
111
|
|
|
99
112
|
bFound = true;
|
|
@@ -131,7 +144,7 @@ sap.ui.define([
|
|
|
131
144
|
const currentDay = this.getDayFromDateObj(new Date());
|
|
132
145
|
|
|
133
146
|
return new Promise((resolve, reject) => {
|
|
134
|
-
this.
|
|
147
|
+
this.load()
|
|
135
148
|
.then((aLoadedRecents) => {
|
|
136
149
|
this.oRecentActivities = this.getRecentActivitiesFromLoadedData(aLoadedRecents);
|
|
137
150
|
// If the current day is different than the recent one -
|
|
@@ -146,7 +159,7 @@ sap.ui.define([
|
|
|
146
159
|
this._insertNew(oItem, iTimestampNow, sIcon);
|
|
147
160
|
}
|
|
148
161
|
|
|
149
|
-
this.
|
|
162
|
+
this.save(this.oRecentActivities)
|
|
150
163
|
.then(() => {
|
|
151
164
|
EventHub.emit("newUserRecentsItem", this.oRecentActivities);
|
|
152
165
|
resolve();
|
|
@@ -173,7 +186,7 @@ sap.ui.define([
|
|
|
173
186
|
|
|
174
187
|
RecentActivity.prototype.clearAllActivities = function () {
|
|
175
188
|
return new Promise((resolve, reject) => {
|
|
176
|
-
this.
|
|
189
|
+
this.save([])
|
|
177
190
|
.then(() => {
|
|
178
191
|
EventHub.emit("userRecentsCleared", Date.now());
|
|
179
192
|
resolve();
|
|
@@ -184,7 +197,7 @@ sap.ui.define([
|
|
|
184
197
|
});
|
|
185
198
|
};
|
|
186
199
|
|
|
187
|
-
|
|
200
|
+
/**
|
|
188
201
|
* getRecentItems return last RecentActivity.ITEM_COUNT activities for current device.
|
|
189
202
|
* - Check if for the current device we have unresolved entries.
|
|
190
203
|
* - resolve the unresolved entries and set the attribute according to the current device.
|
|
@@ -209,7 +222,7 @@ sap.ui.define([
|
|
|
209
222
|
}
|
|
210
223
|
|
|
211
224
|
return new Promise((resolve, reject) => {
|
|
212
|
-
this.
|
|
225
|
+
this.load()
|
|
213
226
|
.then((aLoadedRecents) => {
|
|
214
227
|
this.oRecentActivities = this.getRecentActivitiesFromLoadedData(aLoadedRecents);
|
|
215
228
|
// If the current day is different than the recent one -
|
|
@@ -267,7 +280,7 @@ sap.ui.define([
|
|
|
267
280
|
}
|
|
268
281
|
if (aIntentsToResolve.length <= 0) {
|
|
269
282
|
// persist it.
|
|
270
|
-
this.
|
|
283
|
+
this.save(this.oRecentActivities)
|
|
271
284
|
.then(() => {
|
|
272
285
|
const aItems = this._getRecentItemsForDevice(sCurrentDevice, this.oRecentActivities, maxNumOfActivities);
|
|
273
286
|
resolve(aItems);
|
|
@@ -279,11 +292,11 @@ sap.ui.define([
|
|
|
279
292
|
}
|
|
280
293
|
|
|
281
294
|
if (aIntentsToResolve.length > 0) {
|
|
282
|
-
sap.ushell.Container.getServiceAsync("
|
|
283
|
-
.then(
|
|
295
|
+
sap.ushell.Container.getServiceAsync("Navigation")
|
|
296
|
+
.then(NavigationService => {
|
|
284
297
|
//resolve intent support for current device.
|
|
285
|
-
|
|
286
|
-
.
|
|
298
|
+
NavigationService.isNavigationSupported(aIntentsToResolve)
|
|
299
|
+
.then(aResolved => {
|
|
287
300
|
//save resolutions in aLoadedRecents
|
|
288
301
|
bIsResolved = false;
|
|
289
302
|
for (activityIndex = 0; activityIndex < this.oRecentActivities.recentUsageArray.length && !bIsResolved; activityIndex++) {
|
|
@@ -305,7 +318,7 @@ sap.ui.define([
|
|
|
305
318
|
}
|
|
306
319
|
|
|
307
320
|
// persist it.
|
|
308
|
-
this.
|
|
321
|
+
this.save(this.oRecentActivities)
|
|
309
322
|
.then(() => {
|
|
310
323
|
const aItems = this._getRecentItemsForDevice(sCurrentDevice, this.oRecentActivities, maxNumOfActivities);
|
|
311
324
|
resolve(aItems);
|
|
@@ -321,7 +334,7 @@ sap.ui.define([
|
|
|
321
334
|
} else if ((aIntentsToResolve.length <= 0) && (aURL.length <= 0)) {
|
|
322
335
|
if (bNewDayAdded) {
|
|
323
336
|
// If a new day was added, persist it.
|
|
324
|
-
this.
|
|
337
|
+
this.save(this.oRecentActivities)
|
|
325
338
|
.then(() => {
|
|
326
339
|
const aItems = this._getRecentItemsForDevice(sCurrentDevice, this.oRecentActivities, maxNumOfActivities);
|
|
327
340
|
resolve(aItems);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Copyright (c) 2009-2023 SAP SE, All Rights Reserved
|
|
2
2
|
sap.ui.define([
|
|
3
|
-
"
|
|
3
|
+
"sap/ushell/services/_UserRecents/UserRecentsBase",
|
|
4
4
|
"sap/base/Log",
|
|
5
5
|
"sap/ushell/utils"
|
|
6
6
|
], function (UserRecentsBase, Log, utils) {
|
|
@@ -12,7 +12,7 @@ sap.ui.define([
|
|
|
12
12
|
* @class
|
|
13
13
|
* @private
|
|
14
14
|
*/
|
|
15
|
-
var RecentAppsUsage = UserRecentsBase.extend("sap.ushell.services.RecentAppsUsage", {
|
|
15
|
+
var RecentAppsUsage = UserRecentsBase.extend("sap.ushell.services.UserRecents.RecentAppsUsage", {
|
|
16
16
|
constructor: function () {
|
|
17
17
|
UserRecentsBase.call(this, "AppsUsage");
|
|
18
18
|
}
|
|
@@ -39,8 +39,8 @@ sap.ui.define([
|
|
|
39
39
|
bDataLoadedTriggered = true;
|
|
40
40
|
|
|
41
41
|
// Load data
|
|
42
|
-
this.
|
|
43
|
-
.then(data => {
|
|
42
|
+
this.load()
|
|
43
|
+
.then(async (data) => {
|
|
44
44
|
// Initialize structure from the loaded data, or define new
|
|
45
45
|
this.oAppsUsageData = data || {
|
|
46
46
|
recentDay: null,
|
|
@@ -48,7 +48,7 @@ sap.ui.define([
|
|
|
48
48
|
};
|
|
49
49
|
|
|
50
50
|
// Update usage
|
|
51
|
-
this.calculateInitialUsage(sCurrentDay);
|
|
51
|
+
await this.calculateInitialUsage(sCurrentDay);
|
|
52
52
|
resolve(this.oAppsUsageData);
|
|
53
53
|
})
|
|
54
54
|
.catch(() => {
|
|
@@ -63,7 +63,7 @@ sap.ui.define([
|
|
|
63
63
|
* @private
|
|
64
64
|
* @param {string} currentDay The current day in the format YYYY/mm/dd.
|
|
65
65
|
*/
|
|
66
|
-
RecentAppsUsage.prototype.calculateInitialUsage = function (currentDay) {
|
|
66
|
+
RecentAppsUsage.prototype.calculateInitialUsage = async function (currentDay) {
|
|
67
67
|
// If the current day is different than the recent one -
|
|
68
68
|
// add a new entry (for the current day's usage) to each hash usage array
|
|
69
69
|
if (currentDay !== this.oAppsUsageData.recentDay) {
|
|
@@ -73,11 +73,11 @@ sap.ui.define([
|
|
|
73
73
|
// Remove hash entries that weren't touched lately
|
|
74
74
|
// postpone to not delay main flow
|
|
75
75
|
setTimeout(function () {
|
|
76
|
-
|
|
76
|
+
this.cleanUnusedHashes();
|
|
77
77
|
}.bind(this), 3000);
|
|
78
78
|
|
|
79
79
|
// Save the data after the "new day" routine
|
|
80
|
-
this.saveAppsUsage(this.oAppsUsageData);
|
|
80
|
+
await this.saveAppsUsage(this.oAppsUsageData);
|
|
81
81
|
}
|
|
82
82
|
};
|
|
83
83
|
|
|
@@ -110,7 +110,7 @@ sap.ui.define([
|
|
|
110
110
|
aAppUsageArray[aAppUsageArray.length - 1] += 1;
|
|
111
111
|
}
|
|
112
112
|
this.oAppsUsageData.recentAppsUsageMap[hash] = aAppUsageArray;
|
|
113
|
-
this.saveAppsUsage(this.oAppsUsageData);
|
|
113
|
+
return this.saveAppsUsage(this.oAppsUsageData);
|
|
114
114
|
})
|
|
115
115
|
.catch(() => {
|
|
116
116
|
Log.error("Ushell-lib ; addAppUsage ; Initialization falied!");
|
|
@@ -118,7 +118,7 @@ sap.ui.define([
|
|
|
118
118
|
};
|
|
119
119
|
|
|
120
120
|
/**
|
|
121
|
-
*
|
|
121
|
+
* Summarizes and returns the usage per hash and the minimum and maximum values
|
|
122
122
|
*/
|
|
123
123
|
RecentAppsUsage.prototype.getAppsUsage = function () {
|
|
124
124
|
return new Promise((resolve, reject) => {
|
|
@@ -193,7 +193,7 @@ sap.ui.define([
|
|
|
193
193
|
};
|
|
194
194
|
|
|
195
195
|
RecentAppsUsage.prototype.saveAppsUsage = function (obj) {
|
|
196
|
-
return this.
|
|
196
|
+
return this.save(obj)
|
|
197
197
|
.catch(() => {
|
|
198
198
|
Log.error("Ushell-lib ; saveAppsUsage ; Save action failed");
|
|
199
199
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Copyright (c) 2009-2023 SAP SE, All Rights Reserved
|
|
2
2
|
sap.ui.define([
|
|
3
|
-
"
|
|
3
|
+
"sap/ushell/services/_UserRecents/UserRecentsBase"
|
|
4
4
|
], function (UserRecentsBase) {
|
|
5
5
|
"use strict";
|
|
6
6
|
|
|
@@ -8,7 +8,7 @@ sap.ui.define([
|
|
|
8
8
|
* @class
|
|
9
9
|
* @private
|
|
10
10
|
*/
|
|
11
|
-
var RecentsList = UserRecentsBase.extend("sap.ushell.services.RecentsList");
|
|
11
|
+
var RecentsList = UserRecentsBase.extend("sap.ushell.services.UserRecents.RecentsList");
|
|
12
12
|
|
|
13
13
|
RecentsList.prototype._updateIfAlreadyIn = function (oItem, iTimestampNow) {
|
|
14
14
|
return this.aRecents.some(function (oRecentEntry) {
|
|
@@ -35,7 +35,7 @@ sap.ui.define([
|
|
|
35
35
|
};
|
|
36
36
|
|
|
37
37
|
if (this.aRecents.length === this.iMaxItems) {
|
|
38
|
-
this.aRecents.sort(UserRecentsBase.
|
|
38
|
+
this.aRecents.sort(UserRecentsBase.itemSorter);
|
|
39
39
|
this.aRecents.pop();
|
|
40
40
|
}
|
|
41
41
|
|
|
@@ -43,7 +43,7 @@ sap.ui.define([
|
|
|
43
43
|
};
|
|
44
44
|
|
|
45
45
|
RecentsList.prototype.clearAllActivities = function () {
|
|
46
|
-
return this.
|
|
46
|
+
return this.save([]);
|
|
47
47
|
};
|
|
48
48
|
|
|
49
49
|
RecentsList.prototype.newItem = function (oItem) {
|
|
@@ -51,7 +51,7 @@ sap.ui.define([
|
|
|
51
51
|
const iTimestampNow = Date.now();
|
|
52
52
|
let bAlreadyIn;
|
|
53
53
|
|
|
54
|
-
this.
|
|
54
|
+
this.load()
|
|
55
55
|
.then(aLoadedRecents => {
|
|
56
56
|
this.aRecents = aLoadedRecents || [];
|
|
57
57
|
|
|
@@ -60,7 +60,7 @@ sap.ui.define([
|
|
|
60
60
|
this._insertNew(oItem, iTimestampNow);
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
this.
|
|
63
|
+
this.save(this.aRecents)
|
|
64
64
|
.then(() => {
|
|
65
65
|
resolve();
|
|
66
66
|
})
|
|
@@ -74,10 +74,10 @@ sap.ui.define([
|
|
|
74
74
|
|
|
75
75
|
RecentsList.prototype.getRecentItems = function () {
|
|
76
76
|
return new Promise((resolve, reject) => {
|
|
77
|
-
this.
|
|
77
|
+
this.load()
|
|
78
78
|
.then(aLoadedRecents => {
|
|
79
79
|
aLoadedRecents = aLoadedRecents || [];
|
|
80
|
-
aLoadedRecents.sort(UserRecentsBase.
|
|
80
|
+
aLoadedRecents.sort(UserRecentsBase.itemSorter);
|
|
81
81
|
this.aRecents = aLoadedRecents.slice(0, this.iMaxItems);
|
|
82
82
|
resolve(this.aRecents.map(oRecentEntry => oRecentEntry.oItem
|
|
83
83
|
));
|
|
@@ -1,59 +1,63 @@
|
|
|
1
1
|
// Copyright (c) 2009-2023 SAP SE, All Rights Reserved
|
|
2
2
|
sap.ui.define([
|
|
3
3
|
"sap/ui/base/Object",
|
|
4
|
-
"sap/base/Log"
|
|
5
|
-
|
|
4
|
+
"sap/base/Log",
|
|
5
|
+
"sap/ushell/Container"
|
|
6
|
+
], function (
|
|
7
|
+
BaseObject,
|
|
8
|
+
Log,
|
|
9
|
+
Container
|
|
10
|
+
) {
|
|
6
11
|
"use strict";
|
|
7
|
-
|
|
8
|
-
var PERSONALIZATION_CONTAINER = "sap.ushell.services.UserRecents";
|
|
9
|
-
|
|
10
12
|
/**
|
|
11
|
-
*
|
|
13
|
+
* @alias sap.ushell.services.UserRecents.UserRecentsBase
|
|
12
14
|
* @class
|
|
15
|
+
* @classdesc Base class for all helper classes.
|
|
16
|
+
*
|
|
17
|
+
* @extends sap.ui.base.Object
|
|
18
|
+
*
|
|
13
19
|
* @private
|
|
14
20
|
*/
|
|
15
|
-
|
|
21
|
+
const UserRecentsBase = BaseObject.extend("sap.ushell.services.UserRecents.UserRecentsBase", {
|
|
16
22
|
constructor: function (personalizationItemName, maxItems, compareItems) {
|
|
17
23
|
this.aRecents = [];
|
|
18
24
|
this.iMaxItems = maxItems;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
.then(
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
25
|
+
this.sPersonalizationItemName = personalizationItemName;
|
|
26
|
+
if (!UserRecentsBase.prototype.oContainerPromise) {
|
|
27
|
+
UserRecentsBase.prototype.oContainerPromise = Container.getServiceAsync("PersonalizationV2").then(async (PersonalizationV2) => {
|
|
28
|
+
const sContainerKey = "sap.ushell.services.UserRecents";
|
|
29
|
+
const oScope = {};
|
|
30
|
+
const oContainer = await PersonalizationV2.getContainer(sContainerKey, oScope);
|
|
31
|
+
await oContainer.load();
|
|
32
|
+
return oContainer;
|
|
26
33
|
});
|
|
27
|
-
|
|
34
|
+
}
|
|
28
35
|
this._compareItems = compareItems;
|
|
29
36
|
}
|
|
30
37
|
});
|
|
31
38
|
|
|
32
|
-
UserRecentsBase.prototype.
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
.
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
return Promise.reject(error);
|
|
41
|
-
});
|
|
39
|
+
UserRecentsBase.prototype.load = async function () {
|
|
40
|
+
try {
|
|
41
|
+
const oContainer = await UserRecentsBase.prototype.oContainerPromise;
|
|
42
|
+
return oContainer.getItemValue(this.sPersonalizationItemName);
|
|
43
|
+
} catch (error) {
|
|
44
|
+
Log.error("Personalization service does not work:", error);
|
|
45
|
+
return Promise.reject(error);
|
|
46
|
+
}
|
|
42
47
|
};
|
|
43
48
|
|
|
44
|
-
UserRecentsBase.prototype.
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
});
|
|
49
|
+
UserRecentsBase.prototype.save = async function (aList) {
|
|
50
|
+
try {
|
|
51
|
+
const oContainer = await UserRecentsBase.prototype.oContainerPromise;
|
|
52
|
+
oContainer.setItemValue(this.sPersonalizationItemName, aList);
|
|
53
|
+
await oContainer.save();
|
|
54
|
+
} catch (error) {
|
|
55
|
+
Log.error("Personalization service does not work:", error);
|
|
56
|
+
return Promise.reject(error);
|
|
57
|
+
}
|
|
54
58
|
};
|
|
55
59
|
|
|
56
|
-
UserRecentsBase.
|
|
60
|
+
UserRecentsBase.itemSorter = function (oItem1, oItem2) {
|
|
57
61
|
return oItem2.iTimestamp - oItem1.iTimestamp;
|
|
58
62
|
};
|
|
59
63
|
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* Fiori launchpad in a tree table separated by IconTabFilters for the first level properties of the configuration object.
|
|
10
10
|
* Also it provides a search for last level properties.
|
|
11
11
|
*
|
|
12
|
-
* @version 1.120.
|
|
12
|
+
* @version 1.120.6
|
|
13
13
|
*/
|
|
14
14
|
sap.ui.define([
|
|
15
15
|
"sap/ui/core/Core",
|
|
@@ -181,7 +181,9 @@ sap.ui.define([
|
|
|
181
181
|
return aNodes;
|
|
182
182
|
}
|
|
183
183
|
oContentNode.children = this._filterPersonalizableContentNodes(oContentNode.children);
|
|
184
|
-
if (oContentNode.type === ContentNodeType.HomepageGroup
|
|
184
|
+
if (oContentNode.type === ContentNodeType.HomepageGroup
|
|
185
|
+
|| (oContentNode.type === ContentNodeType.Space && oContentNode.children.length)
|
|
186
|
+
|| (oContentNode.type === ContentNodeType.Page && oContentNode.isContainer)) {
|
|
185
187
|
aNodes.push(oContentNode);
|
|
186
188
|
}
|
|
187
189
|
return aNodes;
|
|
@@ -382,8 +382,10 @@ sap.ui.define([
|
|
|
382
382
|
|
|
383
383
|
var oNavMenu = Core.byId(oAppTitle.getNavigationMenu());
|
|
384
384
|
var bNavMenu = oNavMenu && oNavMenu.getItems() && oNavMenu.getItems().length > 0;
|
|
385
|
-
if (
|
|
386
|
-
sNewTooltip = resources.i18n.getText("
|
|
385
|
+
if (bNavMenu) {
|
|
386
|
+
sNewTooltip = resources.i18n.getText("shellNavMenu_openMenuTooltip_navigationMenu");
|
|
387
|
+
} else if (bAllMyAppsMenu) {
|
|
388
|
+
sNewTooltip = resources.i18n.getText("shellNavMenu_openMenuTooltip_allMyApps");
|
|
387
389
|
} else {
|
|
388
390
|
var bTruncated = oSpanElement.offsetWidth < oSpanElement.scrollWidth;
|
|
389
391
|
sNewTooltip = bTruncated ? oAppTitle.getText() : null;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* @fileOverview Provides control sap.ushell.ui.launchpad.Section
|
|
5
5
|
*
|
|
6
|
-
* @version 1.120.
|
|
6
|
+
* @version 1.120.6
|
|
7
7
|
*/
|
|
8
8
|
sap.ui.define([
|
|
9
9
|
"sap/base/Log",
|
|
@@ -160,7 +160,7 @@ sap.ui.define([
|
|
|
160
160
|
* @extends sap.ui.core.XMLComposite
|
|
161
161
|
*
|
|
162
162
|
* @author SAP SE
|
|
163
|
-
* @version 1.120.
|
|
163
|
+
* @version 1.120.6
|
|
164
164
|
*
|
|
165
165
|
* @private
|
|
166
166
|
* @alias sap.ushell.ui.launchpad.Section
|
|
@@ -95,7 +95,6 @@ sap.ui.define([
|
|
|
95
95
|
// Calculate visibility of the ShellAppTitle control and the state of the ShallNavMenu/AllMyAps UIs
|
|
96
96
|
var bShellAppTitleIsVisible = oControl._getControlVisibilityAndState();
|
|
97
97
|
var sText = oControl.getText();
|
|
98
|
-
var oModel = oControl.getModel();
|
|
99
98
|
|
|
100
99
|
// This invisible title element is purley for accessibility reasons.
|
|
101
100
|
// It is placed outside of the main control elements,
|
|
@@ -127,11 +126,7 @@ sap.ui.define([
|
|
|
127
126
|
if (bShellAppTitleIsVisible) {
|
|
128
127
|
oRm.attr("role", "button");
|
|
129
128
|
oRm.attr("aria-haspopup", "dialog");
|
|
130
|
-
|
|
131
|
-
oRm.attr("aria-label", ushellResources.i18n.getText("ShowAllMyApps_AriaLabel", [sText]));
|
|
132
|
-
} else {
|
|
133
|
-
oRm.attr("aria-label", ushellResources.i18n.getText("ShellNavigationMenu_AriaLabel", [sText]));
|
|
134
|
-
}
|
|
129
|
+
oRm.attr("aria-label", sText);
|
|
135
130
|
}
|
|
136
131
|
oRm.openEnd(); // div - tag
|
|
137
132
|
|