From 588663172f1d2aaa96e6bf6a6aaa4968cb3e6d6a Mon Sep 17 00:00:00 2001 From: Janik Date: Mon, 27 May 2024 16:31:52 +0200 Subject: [PATCH 1/5] Update ex0/readme.md --- ex0/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ex0/readme.md b/ex0/readme.md index 882991a..c06268c 100644 --- a/ex0/readme.md +++ b/ex0/readme.md @@ -57,7 +57,7 @@ Finally, we will serve the project using ui5. ui5 serve ``` -This command will start a development server for our project. You can access the development server at https://localhost:8080 and check out the running application! 🚀 +This command will start a development server for our project. You can access the development server at http://localhost:8080/index.html and check out the running application! 🚀 ![Exercise 0 Result](ex0.png) From b4716b60599405b93b9291696c7382fb7261f0e2 Mon Sep 17 00:00:00 2001 From: Janik Date: Mon, 27 May 2024 16:37:18 +0200 Subject: [PATCH 2/5] Update ex1/readme.md --- ex1/readme.md | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/ex1/readme.md b/ex1/readme.md index 507f1ec..1b591b1 100644 --- a/ex1/readme.md +++ b/ex1/readme.md @@ -90,6 +90,7 @@ This XML view defines the user interface for a screen in our UI5 application. Th Below is the code we can add to the content aggregation of the DynamicPage in the XML view. It includes a table with columns for name, height, range, first ascent, countries, and parent mountain, along with the data bindings. The corresponding model is automatically generated based on our sample data via the `manifest.json`. ###### view/Mountains.view.xml ```xml + + name: 'mdc/tutorial/delegate/JSONTableDelegate', + payload: { + bindingPath: 'mountains>/mountains' + } + }"> - + - + - + - + - + - + + ``` > â„šī¸ Pay attention to how the controls are specified. All the MDCs included in the XML view will initially appear on the screen without any additional personalization. While this may seem superfluous when also providing the control creation method in the delegate, it allows us to establish a default without any hassle. Alternatively, we could opt to not provide any controls here and add them later through personalization. From 139c291ddbb62ae26e3d96cd854042a200859a19 Mon Sep 17 00:00:00 2001 From: Janik Date: Mon, 27 May 2024 16:48:57 +0200 Subject: [PATCH 3/5] Update ex2/readme.md --- ex2/readme.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ex2/readme.md b/ex2/readme.md index dbdb09c..09eb87b 100644 --- a/ex2/readme.md +++ b/ex2/readme.md @@ -44,6 +44,7 @@ export default JSONFilterBarDelegate To add a FilterBar to the XML view, we can use the [`sap.ui.mdc.FilterBar`](https://sdk.openui5.org/api/sap.ui.mdc.FilterBar) control. Setting the previously created delegate makes sure, that the FilterBar can deal with the specific JSON data we are facing. Place the FilterBar inside of the DynamicPageHeader. ###### view/Mountains.view.xml ```xml + @@ -65,6 +66,7 @@ To add a FilterBar to the XML view, we can use the [`sap.ui.mdc.FilterBar`](http + ``` >âš ī¸ Like columns in the MDC table, the filter items are used for UI adaptation functionalities. Hence, do not change them, manually or dynamically, or use bindings to prevent undesired effects. From 3b7b6e30d82306882d37fa057901e30748f8873b Mon Sep 17 00:00:00 2001 From: lucamueller01 Date: Tue, 28 May 2024 09:48:16 +0200 Subject: [PATCH 4/5] fix: add gitignore files --- ex0/.gitignore | 1 + ex1/.gitignore | 1 + ex2/.gitignore | 1 + ex3/.gitignore | 1 + ex4/.gitignore | 1 + ex5/.gitignore | 1 + 6 files changed, 6 insertions(+) create mode 100644 ex0/.gitignore create mode 100644 ex1/.gitignore create mode 100644 ex2/.gitignore create mode 100644 ex3/.gitignore create mode 100644 ex4/.gitignore create mode 100644 ex5/.gitignore diff --git a/ex0/.gitignore b/ex0/.gitignore new file mode 100644 index 0000000..096746c --- /dev/null +++ b/ex0/.gitignore @@ -0,0 +1 @@ +/node_modules/ \ No newline at end of file diff --git a/ex1/.gitignore b/ex1/.gitignore new file mode 100644 index 0000000..096746c --- /dev/null +++ b/ex1/.gitignore @@ -0,0 +1 @@ +/node_modules/ \ No newline at end of file diff --git a/ex2/.gitignore b/ex2/.gitignore new file mode 100644 index 0000000..096746c --- /dev/null +++ b/ex2/.gitignore @@ -0,0 +1 @@ +/node_modules/ \ No newline at end of file diff --git a/ex3/.gitignore b/ex3/.gitignore new file mode 100644 index 0000000..096746c --- /dev/null +++ b/ex3/.gitignore @@ -0,0 +1 @@ +/node_modules/ \ No newline at end of file diff --git a/ex4/.gitignore b/ex4/.gitignore new file mode 100644 index 0000000..096746c --- /dev/null +++ b/ex4/.gitignore @@ -0,0 +1 @@ +/node_modules/ \ No newline at end of file diff --git a/ex5/.gitignore b/ex5/.gitignore new file mode 100644 index 0000000..096746c --- /dev/null +++ b/ex5/.gitignore @@ -0,0 +1 @@ +/node_modules/ \ No newline at end of file From 2f85e967b333a63c1be82425e313b3888d415acc Mon Sep 17 00:00:00 2001 From: lucamueller01 Date: Tue, 28 May 2024 10:14:33 +0200 Subject: [PATCH 5/5] fix: npm start instead of ui5 serve --- ex0/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ex0/readme.md b/ex0/readme.md index c06268c..478e331 100644 --- a/ex0/readme.md +++ b/ex0/readme.md @@ -54,7 +54,7 @@ Finally, we will serve the project using ui5. - In the terminal or command prompt at our project's root directory, run the following command: ```bash -ui5 serve +npm start ``` This command will start a development server for our project. You can access the development server at http://localhost:8080/index.html and check out the running application! 🚀