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

Stk 3 - Add favourite store + handle heart click #3049

Open
wants to merge 1 commit into
base: no-more-photo-page
Choose a base branch
from

Conversation

ildyria
Copy link
Member

@ildyria ildyria commented Mar 1, 2025

  • photoClick is renamed photoSelect
  • The photo Thumbs elements that were router-link had to be renamed and replaced with <a> with @click handler.
    The reason is that the heart favourite click would bubble up and open the link no matter what.

Copy link

codecov bot commented Mar 1, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.46%. Comparing base (2459c9c) to head (a151bd3).

Additional details and impacted files
🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@ildyria ildyria force-pushed the favourite-client-side branch from 8cff504 to 1ac4375 Compare March 1, 2025 19:53
@ildyria ildyria changed the base branch from master to no-more-photo-page March 1, 2025 19:54
@ildyria ildyria changed the title 🚧 Add favourite store + handle heart click Add favourite store + handle heart click Mar 3, 2025
@ildyria ildyria marked this pull request as ready for review March 3, 2025 20:12
@ildyria ildyria requested a review from a team as a code owner March 3, 2025 20:12
@ildyria ildyria added the Review: easy Easy review expected: probably just need a quick to go through. label Mar 4, 2025
@ildyria ildyria changed the title Add favourite store + handle heart click Stk 3 - Add favourite store + handle heart click Mar 5, 2025
@@ -118,8 +119,17 @@ const emits = defineEmits<{
help: [];
}>();

// 'UPLOAD_PHOTO' => 'Upload Photo',
Copy link
Contributor

Choose a reason for hiding this comment

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

Do you need the commentary here?

Copy link
Contributor

Choose a reason for hiding this comment

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

image

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed 7ad3073

import Button from "primevue/button";
import Toolbar from "primevue/toolbar";
import { ref } from "vue";
import { computed } from "vue";
Copy link
Contributor

@tinohager tinohager Mar 10, 2025

Choose a reason for hiding this comment

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

ref, computed, onMounted can set in the same import

Copy link
Member Author

@ildyria ildyria Mar 10, 2025

Choose a reason for hiding this comment

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

Fixed 7ad3073

@ildyria ildyria force-pushed the no-more-photo-page branch from 293bbba to abaacc6 Compare March 10, 2025 11:58
@ildyria ildyria force-pushed the favourite-client-side branch from 7ad3073 to 24f33b1 Compare March 10, 2025 11:59
@ildyria ildyria force-pushed the no-more-photo-page branch from abaacc6 to 2459c9c Compare March 11, 2025 12:56
@ildyria ildyria force-pushed the favourite-client-side branch from 24f33b1 to a151bd3 Compare March 11, 2025 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Review: easy Easy review expected: probably just need a quick to go through.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants