Skip to content

Conversation

@williamchong
Copy link
Member

No description provided.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request removes all cookie-related logic from the embed functionality in response to modern browsers blocking third-party cookies in embedded contexts.

Changes:

  • Removed tiny-cookie dependency from both src and functions packages
  • Removed cookie detection utilities and authentication logic that relied on cookie support
  • Simplified embed authentication flow to always use popup-based login instead of conditional logic

Reviewed changes

Copilot reviewed 7 out of 9 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/util/client.js Removed cookie storage API access detection functions
src/util/api/api.js Removed cookie support parameter from API call to get user status
src/pages/in/embed/_id/button.vue Simplified doLogin to always use popup, removed unused imports
src/package.json Removed tiny-cookie dependency
src/package-lock.json Removed tiny-cookie package resolution
src/mixins/embed.js Removed cookie support detection logic, data properties, and API parameters
src/mixins/embed-button.js Removed head() function using cookie state, updated mounted to fetch only total count
functions/package.json Removed tiny-cookie dependency
functions/package-lock.json Removed tiny-cookie package resolution
Files not reviewed (2)
  • functions/package-lock.json: Language not supported
  • src/package-lock.json: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@williamchong williamchong merged commit fbd2783 into likecoin:master Jan 15, 2026
10 of 11 checks passed
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.

2 participants