enonic / app-admin-home Goto Github PK
View Code? Open in Web Editor NEWHome application for Enonic XP admin
License: GNU General Public License v3.0
Home application for Enonic XP admin
License: GNU General Public License v3.0
Some texts in the home screen are not localized according to the browser language.
Looks like the language detection is not correct for the app resources, but it is correct for the admin tool list in the menu
I have a admin app in which I add the launcher so it looks professional.
Many of the admin app pages are react apps which contain a form with inputs.
After loading the page you click a input field and is going to start typing into that field.
However suddenly focus dissappears because the launcher panel has stolen it.
I believe this is the cause:
The following keys are missing in 'phrases_pl.properties':
launcher.js:9
.**spec.js
files ).Implement new tests for XP-tour dialog
@alansemenov commented on Tue Mar 20 2018
tourDisabled = false
in com.enonic.xp.admin.ui.cfg
and it's not commented outOn the Home dashboard the Welcome Tour dialog is supposed to automatically pop-up and the background is blurred as when the dialog is active, but the dialog itself is not visible. Happens only the first time, if you manually delete the browser cookie then the dialog will pop-up fine.
Update modules imports and class names, according to the lib-admin-ui
refactoring.
See also enonic/app-contentstudio#36
.less
definitions, that were copied from the lib-admin-ui
with enonic-admin-artifacts
package dependency;package.son
with the new version of packages from enonic-npm-modules;gradle npmInstallForce
.It has been decided that the 3 apps that will be installed in the last stage of the Welcome Tour, is:
Currently, the UI tests are "attached" to the project in a separate folder called testing
, and in many ways, the UI tests live their own life there. We need to bring things more close together, so if possible, the testAdminHomeApp
and the testAdminHomeAppLocally
tasks, should be moved to the root build.gradle
file, and the code in testing
might be better off as a module in the code, instead of a sub-project.
Do research to find the best solution.
At the end, alert @jsi and ask him to change the build configuration in Concourse, so the tests run on commits, and not on schedule.
The following keys are missing in 'phrases_es.properties':
We are now using HTML imports to embed contents of the Launcher Panel. Since it's now deprecated, we should use a different approach. The most straightforward way is to simply use fetch api.
@edloidas commented on Tue Sep 11 2018
maven-publish
plugin and publish
command, instead of maven
and uploadArchives
.TIMEOUT
exception, when resolving dependencies.Update code to use the latest version of the lib-admin-ui
, that was updated to the ES6.
Only one exception: In this project, the Welcome Tour must not be turned off in system properties.
Element.setHtml
and Element.fromString
methods.The following keys are missing in 'phrases_fr.properties':
Click on next and navigate to 4th step
>Error 500: For input string: "0-RC3"</h1></main></body></html>] [code = 500] at com.enonic.xp.admin.impl.market.MarketDataHttpProvider.throwExceptionAttachBody(MarketDataHttpProvider.java:90) at com.enonic.xp.admin.impl.market.MarketDataHttpProvider.parseResponse(MarketDataHttpProvider.java:76) at com.enonic.xp.admin.impl.market.MarketDataHttpProvider.doRequest(MarketDataHttpProvider.java:58) at com.enonic.xp.admin.impl.market.MarketDataHttpProvider.search(MarketDataHttpProvider.java:45) at com.enonic.xp.admin.impl.market.MarketServiceImpl.get(MarketServiceImpl.java:19) at com.enonic.xp.admin.impl.rest.resource.application.ApplicationResource.getMarketApplications(ApplicationResource.java:434)
In order to put our product in the Google Cloud, our licenses must be easily accessible for all users. Here is a design approved by @sigdestad
So the idea is to replace the three links at the bottom of the current About Box with on line that says "Licensing v" Where the v is some kind of arrow down. When you click on it, the About box expands to show the License information as shown in the screenshot. This should be a long text with scrollbar on the right. The first two lines should be as shown in the screenshot:
After these two texts, all the licenses should be listed, followed by the actual license text. The list of licenses and the license text may be found in the xp and lib-admin-ui projects:
In order to avoid doubly updating the information in these files, the best solution would parse the files, either live or at build time, and include the info in a way shown in the screenshot, where the blue text that states the actual license, just links to the license text below, while the link opens up a new tab to the source code where the actual license is stated.
Note that the "NOTICE.txt" files may be changed around to make them easier to parse. They can be changed to XML, JSON or some other format that allows them to be parsed more easily by the new code.
The following keys are missing in 'phrases_no.properties':
We have added a dropdown with our licenses on the About box and need to test this:
In xptour.js we remove "-SNAPSHOT" from version number when fetching apps from the Market in XP tour dialog. So it doesn't work for "-RC1", "-A1" etc.
Send version as it is, we'll preprocess version number in the common lib.
@Bellfalasch commented on Thu Feb 22 2018
6.14 B2
The about XP-box will show the wrong version number for XP, probably because the Home Screen now is a tool of it's own that starts versioning on 1.0.0. However that is very confusing for the user.
adminLib.getPhrases()
and return the object with localisation resourcesmain.js
remove the call to adminLib.getPhrases()
and remove messages
property from the controller.main.js
generate service URL and pass it to the templatemain.html
remove messages
from the CONFIG object and add service URL insteadmain.ts
change the call to api.util.i18nInit
and pass service URL from the CONFIG
object@alansemenov commented on Thu Feb 22 2018
Standard Id Provider needs absolute URL to the Home app to redirect after logout.
The following keys are missing in 'phrases_pt.properties':
Refactor code to use TypeScript and support lib-admin-ui
definitions for easier refactoring in the future.
Not the first time this regression happens.
The logout redirect URL must be absolute (launcher.js:35)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.