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

fix(ui): delete avatar #978

Merged
merged 7 commits into from
Sep 19, 2024
Merged

fix(ui): delete avatar #978

merged 7 commits into from
Sep 19, 2024

Conversation

andrewrisse
Copy link
Contributor

Description

When removing an avatar from an assistant, the sveltekit backend was not actually deleting the avatar image from Supabase storage.

BREAKING CHANGES

CHANGES

Corrects the file path and adds a Row Level Security policy that allows users to delete their own avatars.

The 0.7.2 migration that was modified was edited because there was a duplicate policy.

Checklist before merging

@andrewrisse andrewrisse added the bug Something isn't working label Sep 3, 2024
@andrewrisse andrewrisse self-assigned this Sep 3, 2024
Copy link

netlify bot commented Sep 3, 2024

Deploy Preview for leapfrogai-docs ready!

Name Link
🔨 Latest commit 537e62c
🔍 Latest deploy log https://app.netlify.com/sites/leapfrogai-docs/deploys/66eb1a368886640008795aa5
😎 Deploy Preview https://deploy-preview-978--leapfrogai-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 35 (🟢 up 12 from production)
Accessibility: 98 (no change from production)
Best Practices: 100 (no change from production)
SEO: 92 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

@andrewrisse andrewrisse marked this pull request as ready for review September 4, 2024 22:12
@andrewrisse andrewrisse requested a review from a team as a code owner September 4, 2024 22:12
justinthelaw
justinthelaw previously approved these changes Sep 4, 2024
Copy link
Member

@YrrepNoj YrrepNoj left a comment

Choose a reason for hiding this comment

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

One general question and one change request 🫶

@andrewrisse
Copy link
Contributor Author

@YrrepNoj , Gato has the migration in this PR: #985
tagged as v0.11.1, should I update this PR to match?

jalling97
jalling97 previously approved these changes Sep 6, 2024
@andrewrisse andrewrisse merged commit 3ddb98c into main Sep 19, 2024
20 checks passed
@andrewrisse andrewrisse deleted the fix-delete-avatar branch September 19, 2024 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants