Skip to content

feat: guest user create#8677

Draft
csiyang wants to merge 25 commits intomainfrom
siyangcao/nes-1272-create-guest-user
Draft

feat: guest user create#8677
csiyang wants to merge 25 commits intomainfrom
siyangcao/nes-1272-create-guest-user

Conversation

@csiyang
Copy link
Contributor

@csiyang csiyang commented Feb 3, 2026

No description provided.

mikeallisonJS and others added 8 commits February 3, 2026 20:24
…hema references

- Removed the User type in favor of AuthenticatedUser across multiple schemas.
- Updated GraphQL queries and mutations to reflect the new type.
- Adjusted resolver implementations to return AuthenticatedUser instead of User.
- Introduced AnonymousUser type for handling unauthenticated users.
- Ensured backward compatibility by updating union types and references in generated files.
@csiyang csiyang self-assigned this Feb 3, 2026
@linear
Copy link

linear bot commented Feb 3, 2026

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 3, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • 🔍 Trigger a full review
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch siyangcao/nes-1272-create-guest-user

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 3, 2026

Fails
🚫 Please request a reviewer for this PR.

Generated by 🚫 dangerJS against cdeaf6e

@nx-cloud
Copy link

nx-cloud bot commented Feb 3, 2026

View your CI Pipeline Execution ↗ for commit cdeaf6e

Command Status Duration Result
nx run-many --target=vercel-alias --projects=jo... ✅ Succeeded 2s View ↗
nx run-many --target=upload-sourcemaps --projec... ✅ Succeeded 13s View ↗
nx run-many --target=deploy --projects=journeys... ✅ Succeeded 2m 56s View ↗
nx run-many --target=vercel-alias --projects=re... ✅ Succeeded 2s View ↗
nx run-many --target=upload-sourcemaps --projec... ✅ Succeeded 8s View ↗
nx run-many --target=vercel-alias --projects=watch ✅ Succeeded 2s View ↗
nx run-many --target=upload-sourcemaps --projec... ✅ Succeeded 7s View ↗
nx run-many --target=deploy --projects=resources ✅ Succeeded 2m 3s View ↗
Additional runs (13) ✅ Succeeded ... View ↗

☁️ Nx Cloud last updated this comment at 2026-02-03 22:52:36 UTC

@github-actions github-actions bot requested a deployment to Preview - journeys-admin February 3, 2026 22:08 Pending
@github-actions github-actions bot temporarily deployed to Preview - videos-admin February 3, 2026 22:21 Inactive
@github-actions github-actions bot temporarily deployed to Preview - resources February 3, 2026 22:21 Inactive
@github-actions github-actions bot temporarily deployed to Preview - journeys-admin February 3, 2026 22:21 Inactive
@github-actions github-actions bot temporarily deployed to Preview - journeys February 3, 2026 22:21 Inactive
@github-actions
Copy link
Contributor

github-actions bot commented Feb 3, 2026

The latest updates on your projects.

Name Status Preview Updated (UTC)
resources ✅ Ready resources preview Wed Feb 4 11:50:11 NZDT 2026

@github-actions
Copy link
Contributor

github-actions bot commented Feb 3, 2026

The latest updates on your projects.

Name Status Preview Updated (UTC)
journeys-admin ✅ Ready journeys-admin preview Wed Feb 4 11:52:03 NZDT 2026

@github-actions github-actions bot requested a deployment to Preview - resources February 3, 2026 22:42 Pending
@github-actions github-actions bot requested a deployment to Preview - videos-admin February 3, 2026 22:42 Pending
@github-actions github-actions bot requested a deployment to Preview - watch-modern February 3, 2026 22:42 Pending
@github-actions github-actions bot requested a deployment to Preview - journeys-admin February 3, 2026 22:42 Pending
@github-actions github-actions bot temporarily deployed to Preview - resources February 3, 2026 22:46 Inactive
@github-actions github-actions bot temporarily deployed to Preview - journeys February 3, 2026 22:46 Inactive
@github-actions github-actions bot temporarily deployed to Preview - videos-admin February 3, 2026 22:46 Inactive
@github-actions github-actions bot temporarily deployed to Preview - watch-modern February 3, 2026 22:46 Inactive
@github-actions github-actions bot temporarily deployed to Preview - journeys-admin February 3, 2026 22:46 Inactive
csiyang and others added 12 commits February 4, 2026 03:12
…d schema references

- Introduced AnonymousUser type to handle unauthenticated users across multiple schemas.
- Updated User type to be a union of AuthenticatedUser and AnonymousUser.
- Adjusted resolver implementations and references in user-related schemas to accommodate the new structure.
- Ensured compatibility with existing queries and mutations by updating relevant types.
… are processed

- Modified various components to check for AuthenticatedUser type before accessing user properties.
- Updated user-related logic in JourneyVisitorsPage, AccessDialog, and Team components to enhance type safety.
- Ensured consistent handling of user data across the application by filtering out non-authenticated users.
- Changed instances of User type to AuthenticatedUser in JourneyAppearance, JourneyCardMenu, TeamOnboarding, UserTeamInviteForm, and useUserTeamsAndInvitesLazyQuery tests.
- Ensured consistency in user type handling across multiple test files.
…d schema references

- Changed the User type in UserTeam to reference the new User union, which includes both AuthenticatedUser and AnonymousUser.
- Introduced AnonymousUser type in multiple schemas to handle unauthenticated users.
- Updated generated TypeScript files to reflect the changes in the GraphQL schema.
- Ensured consistency across the application by updating user-related logic to accommodate the new structure.
…t components

- Updated user type checks in AccessDialog and Host components to use optional chaining for safer access to user properties.
- Ensured consistent handling of AuthenticatedUser type across components to prevent potential runtime errors.
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