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

chore(sdk): Create Astro Example for UVE #29665

Merged

Conversation

zJaaal
Copy link
Contributor

@zJaaal zJaaal commented Aug 20, 2024

Proposed changes

  1. Add new Astro project under examples folder
  2. Install necessary dependencies to make it work as the other examples (Tailwind and Vercel plugin)
  3. Add env file
  4. Install client and react SDKs
  5. Create React components to interop Astro with the React SDK
  6. Clean the project by creating types and centralizing logic
  7. Update readme file to add steps of how to set it up

Screenshot

Screen.Recording.2024-08-23.at.4.mp4

This PR fixes: #29393

@zJaaal zJaaal requested a review from fmontes September 4, 2024 13:10
@zJaaal zJaaal disabled auto-merge September 4, 2024 17:31
@zJaaal zJaaal marked this pull request as draft September 4, 2024 17:31
@zJaaal zJaaal marked this pull request as ready for review September 4, 2024 19:48
@zJaaal zJaaal added this pull request to the merge queue Sep 4, 2024
Merged via the queue into master with commit b658fea Sep 4, 2024
18 checks passed
@zJaaal zJaaal deleted the 29393-sdk-create-dotcms-example-for-javascript-framework-astro branch September 4, 2024 22:02
github-merge-queue bot pushed a commit that referenced this pull request Sep 4, 2024
…#29868)

## Proposed Changes
* Add extra logic to avoid access to `undefined` on NextJS and [Astro
Example](#29665)

### Note 

Angular does not have this problem, because Calendar Event is not
implemented in the Angular Example

## Screenshots 

### NextJS 

https://github.com/user-attachments/assets/73999bf0-a4a3-4f4a-98e3-272b94552797

### Astro 

https://github.com/user-attachments/assets/09881f0b-e322-41bf-8bf2-f0c49aac9a51

### Angular (No changes)


https://github.com/user-attachments/assets/2166c975-68a5-43ca-b701-28b7157f842e
dsolistorres pushed a commit that referenced this pull request Sep 18, 2024
# Proposed changes

1. Add new Astro project under `examples` folder
2. Install necessary dependencies to make it work as the other examples
(Tailwind and Vercel plugin)
3. Add env file
4. Install `client` and `react` SDKs
5. Create React components to interop Astro with the React SDK
6. Clean the project by creating types and centralizing logic
7. Update readme file to add steps of how to set it up

## Screenshot



https://github.com/user-attachments/assets/4d5f151e-169d-4bfa-b62d-b2447fe84f23

---------

Co-authored-by: Freddy Montes <751424+fmontes@users.noreply.github.com>
dsolistorres pushed a commit that referenced this pull request Sep 18, 2024
…#29868)

## Proposed Changes
* Add extra logic to avoid access to `undefined` on NextJS and [Astro
Example](#29665)

### Note 

Angular does not have this problem, because Calendar Event is not
implemented in the Angular Example

## Screenshots 

### NextJS 

https://github.com/user-attachments/assets/73999bf0-a4a3-4f4a-98e3-272b94552797

### Astro 

https://github.com/user-attachments/assets/09881f0b-e322-41bf-8bf2-f0c49aac9a51

### Angular (No changes)


https://github.com/user-attachments/assets/2166c975-68a5-43ca-b701-28b7157f842e
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.

SDK: Create dotCMS Example for JavaScript Framework Astro
6 participants