Skip to content
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

Adapt mobile code to ionic 7 #125

Merged
merged 2 commits into from
Jul 22, 2024
Merged

Adapt mobile code to ionic 7 #125

merged 2 commits into from
Jul 22, 2024

Conversation

dpalou
Copy link
Contributor

@dpalou dpalou commented Jul 22, 2024

In this PR I updated the HTML to use the new Ionic syntax for inputs. The old syntax still works in the 4.4 version of the app (ionic 7), but it will stop working in the 4.5 version (ionic 8) so some inputs could be wrongly aligned without these changes. To make it easier to review the code, in the first commit I duplicate the template (no changes done in the HTML) and then I apply the changes in a new commit.

I also removed the core-course-module-description component, it is deprecated and will be removed in a future version of the app.

I used to avoid duplicating the HTML of each item's label. This Angular component lets you define some HTML to be reused, and then I use it in 2 places of the template using *ngTemplateOutlet.

@davosmith davosmith merged commit a81b874 into davosmith:master Jul 22, 2024
0 of 4 checks passed
@davosmith
Copy link
Owner

That looks good to me - thanks for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants