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

Feat/otter training #2551

Merged
merged 99 commits into from
Jan 9, 2025
Merged

Feat/otter training #2551

merged 99 commits into from
Jan 9, 2025

Conversation

cpaulve-1A
Copy link
Contributor

@cpaulve-1A cpaulve-1A commented Dec 4, 2024

Proposed change

Design a training solution integrated in the showcase based on webcontainers.
Implement the SDK training.

Related issues

- No issue associated -

sdo-1A and others added 30 commits October 2, 2024 11:53
## Proposed change

Creation of components that will be used in the Otter training (such as
a code editor, etc)

## Related issues

- 🐛 Fixes #(issue)
- 🚀 Feature #(issue)

<!-- Please make sure to follow the contributing guidelines on
https://github.com/amadeus-digital/Otter/blob/main/CONTRIBUTING.md -->
## Proposed change

Preparation for the training content

## Related issues

- 🐛 Fixes #(issue)
- 🚀 Feature #(issue)

<!-- Please make sure to follow the contributing guidelines on
https://github.com/amadeus-digital/Otter/blob/main/CONTRIBUTING.md -->
## Proposed change

Creation of training SDK
This PR is mainly to check the package files, the specifications are
likely to change when we update the content of the SDK training
exercises.

## Related issues

- 🐛 Fixes #(issue)
- 🚀 Feature #(issue)

<!-- Please make sure to follow the contributing guidelines on
https://github.com/amadeus-digital/Otter/blob/main/CONTRIBUTING.md -->
## Proposed change

Cross-origin isolation service worker in order to be able to deploy the
training on GitHub pages.
Source of this script:
https://github.com/gzuidhof/coi-serviceworker/tree/master

## Related issues

- 🐛 Fixes #(issue)
- 🚀 Feature #(issue)

<!-- Please make sure to follow the contributing guidelines on
https://github.com/amadeus-digital/Otter/blob/main/CONTRIBUTING.md -->
## Proposed change

Add an indicator on the terminal output to know that some work is in
progress

![image](https://github.com/user-attachments/assets/5ec89ad1-859c-4db1-81c4-70998457d2e4)

Working example: https://fpaul-1a.github.io/otter/#/sdk-training#4

## Related issues

- 🐛 Fixes #(issue)
- 🚀 Feature #(issue)

<!-- Please make sure to follow the contributing guidelines on
https://github.com/amadeus-digital/Otter/blob/main/CONTRIBUTING.md -->
## Proposed change

Otter SDK Training - SDK with Dates - Generation step and How to use
step

NOTE: the app.component files are those that are added to the
webcontainer (these are converted to a JSON format and then added to the
webcontainer for the exercises)



Generation step:

![image](https://github.com/user-attachments/assets/e74aa0ab-aa9d-4846-af76-928ef1298b33)

![image](https://github.com/user-attachments/assets/d1cf75c4-a17d-431c-a8a8-6122532e6513)
Show solution:

![image](https://github.com/user-attachments/assets/ee6a6f93-62cf-4cf0-9ae2-aee5b317043b)

How to use:

![image](https://github.com/user-attachments/assets/93401778-b55a-4533-96d0-5c4d353a11d1)

![image](https://github.com/user-attachments/assets/37a60396-af3e-4e61-92b8-21f18caa0f9f)
Show solution:

![image](https://github.com/user-attachments/assets/c6bdbf47-3a90-45a8-b96e-8e4eaa17f21d)

## Related issues

- 🐛 Fixes #(issue)
- 🚀 Feature #(issue)

<!-- Please make sure to follow the contributing guidelines on
https://github.com/amadeus-digital/Otter/blob/main/CONTRIBUTING.md -->
… on screen (#2433)

## Proposed change

https://fpaul-1a.github.io/otter/#/sdk-training#0
https://fpaul-1a.github.io/otter/#/sdk-training#4


![image](https://github.com/user-attachments/assets/fadd94bd-6558-426e-8dc8-687c3233a8de)


## Related issues

<!--
Please make sure to follow the [contribution
guidelines](https://github.com/amadeus-digital/Otter/blob/main/CONTRIBUTING.md)
-->

*- No issue associated -*

<!-- * 🐛 Fix #issue -->
<!-- * 🐛 Fix resolves #issue -->
<!-- * 🚀 Feature #issue -->
<!-- * 🚀 Feature resolves #issue -->
<!-- * :octocat: Pull Request #issue -->
## Proposed change

Instead of writing the trainings instructions in HTML, we can use
markdown.
With this, we can easily enable the code highlighting.

Example:
https://fpaul-1a.github.io/otter/#/sdk-training#2
Generated from
https://github.com/fpaul-1A/otter/blob/main/apps/showcase/src/assets/trainings/sdk/steps/typescript-sdk/instructions.md


![image](https://github.com/user-attachments/assets/de3c26cc-5f32-4a18-9c1b-4d4257b51f00)


## Related issues

<!--
Please make sure to follow the [contribution
guidelines](https://github.com/amadeus-digital/Otter/blob/main/CONTRIBUTING.md)
-->

*- No issue associated -*

<!-- * 🐛 Fix #issue -->
<!-- * 🐛 Fix resolves #issue -->
<!-- * 🚀 Feature #issue -->
<!-- * 🚀 Feature resolves #issue -->
<!-- * :octocat: Pull Request #issue -->
## Proposed change

<!--
Please include a summary of the changes and the related issue.
Please also include relevant motivation and context.
-->

## Related issues

<!--
Please make sure to follow the [contribution
guidelines](https://github.com/amadeus-digital/Otter/blob/main/CONTRIBUTING.md)
-->

*- No issue associated -*

<!-- * 🐛 Fix #issue -->
<!-- * 🐛 Fix resolves #issue -->
<!-- * 🚀 Feature #issue -->
<!-- * 🚀 Feature resolves #issue -->
<!-- * :octocat: Pull Request #issue -->
## Proposed change

https://fpaul-1a.github.io/otter/#/sdk-training#9

## Related issues

<!--
Please make sure to follow the [contribution
guidelines](https://github.com/amadeus-digital/Otter/blob/main/CONTRIBUTING.md)
-->

*- No issue associated -*

<!-- * 🐛 Fix #issue -->
<!-- * 🐛 Fix resolves #issue -->
<!-- * 🚀 Feature #issue -->
<!-- * 🚀 Feature resolves #issue -->
<!-- * :octocat: Pull Request #issue -->
## Proposed change

<!--
Please include a summary of the changes and the related issue.
Please also include relevant motivation and context.
-->

## Related issues

<!--
Please make sure to follow the [contribution
guidelines](https://github.com/amadeus-digital/Otter/blob/main/CONTRIBUTING.md)
-->

*- No issue associated -*

<!-- * 🐛 Fix #issue -->
<!-- * 🐛 Fix resolves #issue -->
<!-- * 🚀 Feature #issue -->
<!-- * 🚀 Feature resolves #issue -->
<!-- * :octocat: Pull Request #issue -->
## Proposed change

<!--
Please include a summary of the changes and the related issue.
Please also include relevant motivation and context.
-->

## Related issues

<!--
Please make sure to follow the [contribution
guidelines](https://github.com/amadeus-digital/Otter/blob/main/CONTRIBUTING.md)
-->

*- No issue associated -*

<!-- * 🐛 Fix #issue -->
<!-- * 🐛 Fix resolves #issue -->
<!-- * 🚀 Feature #issue -->
<!-- * 🚀 Feature resolves #issue -->
<!-- * :octocat: Pull Request #issue -->
## Proposed change

<!--
Please include a summary of the changes and the related issue.
Please also include relevant motivation and context.
-->

## Related issues

<!--
Please make sure to follow the [contribution
guidelines](https://github.com/amadeus-digital/Otter/blob/main/CONTRIBUTING.md)
-->

*- No issue associated -*

<!-- * 🐛 Fix #issue -->
<!-- * 🐛 Fix resolves #issue -->
<!-- * 🚀 Feature #issue -->
<!-- * 🚀 Feature resolves #issue -->
<!-- * :octocat: Pull Request #issue -->
## Proposed change

<!--
Please include a summary of the changes and the related issue.
Please also include relevant motivation and context.
-->

## Related issues

<!--
Please make sure to follow the [contribution
guidelines](https://github.com/amadeus-digital/Otter/blob/main/CONTRIBUTING.md)
-->

*- No issue associated -*

<!-- * 🐛 Fix #issue -->
<!-- * 🐛 Fix resolves #issue -->
<!-- * 🚀 Feature #issue -->
<!-- * 🚀 Feature resolves #issue -->
<!-- * :octocat: Pull Request #issue -->
## Proposed change

Otter SDK Training - Introduction step

## Related issues

- 🐛 Fixes #(issue)
- 🚀 Feature #(issue)

<!-- Please make sure to follow the contributing guidelines on
https://github.com/amadeus-digital/Otter/blob/main/CONTRIBUTING.md -->
Copy link

nx-cloud bot commented Dec 19, 2024

View your CI Pipeline Execution ↗ for commit 8b1f644.

Command Status Duration Result
nx run-many --target=build --projects=eslint-pl... ✅ Succeeded <1s View ↗

☁️ Nx Cloud last updated this comment at 2025-01-09 10:34:19 UTC

cpaulve-1A and others added 5 commits December 20, 2024 14:35
## Proposed change

<!--
Please include a summary of the changes and the related issue.
Please also include relevant motivation and context.
-->

## Related issues

<!--
Please make sure to follow the [contribution
guidelines](https://github.com/amadeus-digital/Otter/blob/main/CONTRIBUTING.md)
-->

*- No issue associated -*

<!-- * 🐛 Fix #issue -->
<!-- * 🐛 Fix resolves #issue -->
<!-- * 🚀 Feature #issue -->
<!-- * 🚀 Feature resolves #issue -->
<!-- * :octocat: Pull Request #issue -->
## Proposed change
### Conflicting files
.vscode/settings.json
.yarnrc.yml
package.json
packages/@ama-sdk/schematics/package.json
packages/@o3r/core/package.json
packages/@o3r/eslint-config-otter/package.json
yarn.lock 

## Related issues

*- No issue associated -*

<!-- * 🐛 Fix #issue -->
<!-- * 🐛 Fix resolves #issue -->
<!-- * 🚀 Feature #issue -->
<!-- * 🚀 Feature resolves #issue -->
<!-- * :octocat: Pull Request #issue -->
@github-actions github-actions bot added the bug Something isn't working label Jan 6, 2025
cpaulve-1A and others added 4 commits January 8, 2025 16:49
## Proposed change

<!--
Please include a summary of the changes and the related issue.
Please also include relevant motivation and context.
-->

## Related issues

<!--
Please make sure to follow the [contribution
guidelines](https://github.com/amadeus-digital/Otter/blob/main/CONTRIBUTING.md)
-->

*- No issue associated -*

<!-- * 🐛 Fix #issue -->
<!-- * 🐛 Fix resolves #issue -->
<!-- * 🚀 Feature #issue -->
<!-- * 🚀 Feature resolves #issue -->
<!-- * :octocat: Pull Request #issue -->
If enabled, show terminal but deactivate code edition for exercise solutions

Set input as signal on training step
## Proposed change

If enabled, show terminal but deactivate code edition for exercise
solutions

Set input as signal on training step

## Related issues

<!--
Please make sure to follow the [contribution
guidelines](https://github.com/amadeus-digital/Otter/blob/main/CONTRIBUTING.md)
-->

*- No issue associated -*

<!-- * 🐛 Fix #issue -->
<!-- * 🐛 Fix resolves #issue -->
<!-- * 🚀 Feature #issue -->
<!-- * 🚀 Feature resolves #issue -->
<!-- * :octocat: Pull Request #issue -->
@cpaulve-1A cpaulve-1A removed the bug Something isn't working label Jan 9, 2025
@github-actions github-actions bot added the bug Something isn't working label Jan 9, 2025
@cpaulve-1A cpaulve-1A removed the bug Something isn't working label Jan 9, 2025
@cpaulve-1A cpaulve-1A added this pull request to the merge queue Jan 9, 2025
Merged via the queue into main with commit d45970e Jan 9, 2025
35 of 37 checks passed
@cpaulve-1A cpaulve-1A deleted the feat/otter-training branch January 9, 2025 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants