Skip to content

Conversation

@ChrisChinchilla
Copy link
Contributor

I have read the CONTRIBUTING.md file.

YES

What kind of change does this PR introduce?

Docs update.

What is the current behavior?

closes ##32652

What is the new behavior?

Tutorial and example code now works with Angular 20.

Chris Chinchilla and others added 3 commits July 15, 2025 12:33
Signed-off-by: Chris Chinchilla <christopher.ward@supabase.io>
@vercel
Copy link

vercel bot commented Jul 22, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
design-system ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 23, 2025 3:44pm
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 23, 2025 3:44pm
studio-self-hosted ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 23, 2025 3:44pm
studio-staging ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 23, 2025 3:44pm
ui-library ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 23, 2025 3:44pm
zone-www-dot-com ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 23, 2025 3:44pm
2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
cms ⬜️ Ignored (Inspect) Jul 23, 2025 3:44pm
studio ⬜️ Ignored (Inspect) Jul 23, 2025 3:44pm

@supabase
Copy link

supabase bot commented Jul 22, 2025

This pull request has been ignored for the connected project xguihxuzqibwxjnimxev because there are no changes detected in supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

You can pull the database schema down to your local project by running the `db pull` command. Read the [local development docs](/docs/guides/cli/local-development#link-your-project) for detailed instructions.

</Admonition>
{/* TODO: discuss */}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are certain places where it feels like other content should be part of the admonition, but maybe there's a reason they aren't.

For example, here, as you scroll down, it looks like the code has nothing to do with the admonition.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmmm yeah I agree, maybe we should take the admonition out if it's not necessary for this tutorial?

You can use the [Angular CLI](https://angular.io/cli) to initialize
an app called `supabase-angular`:

```bash
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tried to make the command have a s few user questions as possible.

</$CodeTabs>

Optionally, update [src/styles.css](https://raw.githubusercontent.com/supabase/supabase/master/examples/user-management/angular-user-management/src/styles.css) to style the app.
Optionally, update `src/styles.css` [with the following styles](https://raw.githubusercontent.com/supabase/supabase/master/examples/user-management/angular-user-management/src/styles.css) to style the app.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I found that with the original, it was fairly easy to end up with no CSS and miss this step.

Copy link
Contributor

@mandarini mandarini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor comments here and there. Otherwise, looks good to me! :D Should we add that this is for Angular 20+?

@ChrisChinchilla
Copy link
Contributor Author

@mandarini

Minor comments here and there. Otherwise, looks good to me! :D Should we add that this is for Angular 20+?

The original issue cited 19, but that was a while ago. Are there any changes here specifically for 20? And how old/adopted is 20?

Copy link
Contributor

@charislam charislam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Thanks for figuring this one out 🔥 Switching out the code samples is my only recommendation, otherwise it's good to merge!

You can pull the database schema down to your local project by running the `db pull` command. Read the [local development docs](/docs/guides/cli/local-development#link-your-project) for detailed instructions.

</Admonition>
{/* TODO: discuss */}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmmm yeah I agree, maybe we should take the admonition out if it's not necessary for this tutorial?

<$CodeTabs>

```ts name=src/app/auth/auth.component.ts
```ts name=src/app/auth/auth.ts
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should take the opportunity to convert all these to embedded code samples. This will make testing way easier in the future

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@charislam Yes! 💯 I made a note about this myself :) A broader task maybe

@ChrisChinchilla
Copy link
Contributor Author

ChrisChinchilla commented Jul 25, 2025

@charislam Do you mean change the example code? To embeddables? There’s a lot of docs that could so with that, so I wonder if it's better a separate task(s)… 🤔

@ChrisChinchilla ChrisChinchilla merged commit 0e2bd38 into master Jul 28, 2025
17 checks passed
@ChrisChinchilla ChrisChinchilla deleted the chrischinch/angular branch July 28, 2025 14:27
PLyn pushed a commit that referenced this pull request Aug 25, 2025
* Add Chris Ward to humans

Signed-off-by: Chris Chinchilla <christopher.ward@supabase.io>

* Update Angular tutorial for Angular 20

* Update Angular doc

* Revert "Add Chris Ward to humans"

This reverts commit c45ea9d.

* Update tsconfig

* Add note about CLI defaults

* Prettier fix

---------

Signed-off-by: Chris Chinchilla <christopher.ward@supabase.io>
Co-authored-by: Chris Chinchilla <christopher.ward@supabase.io>
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.

3 participants