From 3bf82cace7a5b0977e31f73fa9159eb9702c727a Mon Sep 17 00:00:00 2001 From: Marcello Urbani Date: Tue, 14 Jun 2022 13:34:34 +0100 Subject: [PATCH 1/4] gitignore --- .gitignore | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 40b878d..08da59f 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -node_modules/ \ No newline at end of file +node_modules/ +.ssh \ No newline at end of file From 95166c4df81c7608dd48847a5daabb5abc17664e Mon Sep 17 00:00:00 2001 From: Marcello Urbani Date: Sun, 26 Jun 2022 07:06:30 +0000 Subject: [PATCH 2/4] pass tests --- webapp/Component-preload.js | 0 webapp/i18n/i18n.properties | 2 ++ webapp/i18n/i18n_en.properties | 2 ++ webapp/i18n/i18n_en_GB.properties | 2 ++ webapp/index.html | 29 ++++++++++------------------- webapp/manifest.json | 15 +++++++++++++-- webapp/view/Main.view.xml | 8 ++++++++ 7 files changed, 37 insertions(+), 21 deletions(-) create mode 100644 webapp/Component-preload.js create mode 100644 webapp/i18n/i18n_en.properties create mode 100644 webapp/i18n/i18n_en_GB.properties create mode 100644 webapp/view/Main.view.xml diff --git a/webapp/Component-preload.js b/webapp/Component-preload.js new file mode 100644 index 0000000..e69de29 diff --git a/webapp/i18n/i18n.properties b/webapp/i18n/i18n.properties index e69de29..1514bd1 100644 --- a/webapp/i18n/i18n.properties +++ b/webapp/i18n/i18n.properties @@ -0,0 +1,2 @@ +appTitle=ui5-challenge +appDescription=UI5 challenge app \ No newline at end of file diff --git a/webapp/i18n/i18n_en.properties b/webapp/i18n/i18n_en.properties new file mode 100644 index 0000000..1514bd1 --- /dev/null +++ b/webapp/i18n/i18n_en.properties @@ -0,0 +1,2 @@ +appTitle=ui5-challenge +appDescription=UI5 challenge app \ No newline at end of file diff --git a/webapp/i18n/i18n_en_GB.properties b/webapp/i18n/i18n_en_GB.properties new file mode 100644 index 0000000..1514bd1 --- /dev/null +++ b/webapp/i18n/i18n_en_GB.properties @@ -0,0 +1,2 @@ +appTitle=ui5-challenge +appDescription=UI5 challenge app \ No newline at end of file diff --git a/webapp/index.html b/webapp/index.html index 01c1bb6..d3222cd 100644 --- a/webapp/index.html +++ b/webapp/index.html @@ -1,28 +1,19 @@ + - title + ui5-challenge - + }' data-sap-ui-oninit="module:sap/ui/core/ComponentSupport" data-sap-ui-compatVersion="edge" + data-sap-ui-async="true" data-sap-ui-frameOptions="trusted"> + -
+
+ \ No newline at end of file diff --git a/webapp/manifest.json b/webapp/manifest.json index 9880154..120c03a 100644 --- a/webapp/manifest.json +++ b/webapp/manifest.json @@ -47,8 +47,19 @@ "controlId": "app", "clearControlAggregation": false }, - "routes": [], - "targets": {} + "routes": [ + { + "name": "default", + "pattern": "", + "target": "Main" + } + ], + "targets": { + "Main": { + "viewId": "Main", + "viewName": "Main" + } + } }, "rootView": { "viewName": "ui5.challenge.view.App", diff --git a/webapp/view/Main.view.xml b/webapp/view/Main.view.xml new file mode 100644 index 0000000..2f78c1b --- /dev/null +++ b/webapp/view/Main.view.xml @@ -0,0 +1,8 @@ + +