Skip to content

fix: adjust Recipe Details into a single FeedView #1639

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kazo0
Copy link
Contributor

@kazo0 kazo0 commented May 20, 2025

No description provided.

@kazo0 kazo0 force-pushed the dev/sb/recipe-feed branch from 94ff164 to aebdc6f Compare May 20, 2025 21:13
Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://green-wave-0d2d8e10f-1639.eastus2.2.azurestaticapps.net

3 similar comments
Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://green-wave-0d2d8e10f-1639.eastus2.2.azurestaticapps.net

Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://green-wave-0d2d8e10f-1639.eastus2.2.azurestaticapps.net

Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://green-wave-0d2d8e10f-1639.eastus2.2.azurestaticapps.net

@unodevops
Copy link

⚠️⚠️ The build 166429 has failed on Uno Chefs - CI.

Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://green-wave-0d2d8e10f-1639.eastus2.2.azurestaticapps.net

Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://green-wave-0d2d8e10f-1639.eastus2.2.azurestaticapps.net

@kazo0 kazo0 force-pushed the dev/sb/recipe-feed branch from 4d9804b to b600526 Compare May 22, 2025 20:54
@kazo0 kazo0 enabled auto-merge (squash) May 22, 2025 20:54
Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://green-wave-0d2d8e10f-1639.eastus2.2.azurestaticapps.net

1 similar comment
Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://green-wave-0d2d8e10f-1639.eastus2.2.azurestaticapps.net

public async ValueTask Dislike(Review review, CancellationToken ct) =>
await _recipeService.DislikeReview(review, ct);
public async ValueTask Favorite(RecipeInfo recipeDetails, CancellationToken ct)
=> await _recipeService.Favorite(recipeDetails.Recipe, ct);
Copy link
Contributor

Choose a reason for hiding this comment

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

Should the heart icon change when the favorite button is clicked? The breakpoint is hit but the icon only changes if I leave the page and navigate back to it

chefs-favorite

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes the heart icon should switch upon every click to empty/full. I see we remove the IsFavorited state from the model in this PR, to replace it by using info we already have Recipe.IsFavorite (maybe just a converter problem?).

I remember we had similar issues in the past when making this feature. There might have been a reason we had to create that state, there might be some useful info in the comments on this PR #1195.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah, I probably missed a message to be observed in order to update the recipe feed, will fix

@kazo0 kazo0 disabled auto-merge May 23, 2025 15:28
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.

5 participants