-
Notifications
You must be signed in to change notification settings - Fork 181
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
feat(fe2): scope comment mentions to parent project collaborators #3635
Conversation
fabis94
commented
Dec 5, 2024
- various related fixes
📸 Preview service has generated an image. |
""" | ||
Look up server users | ||
""" | ||
users(input: UsersRetrievalInput!): UserSearchResultCollection! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The param list for userSearch
was already too long and I expect it to grow in the future. Plus, why would we want to allow (non-admin)users to search for archived users?
📸 Preview service has generated an image. |
@@ -151,7 +151,7 @@ function buildEmailTemplateParams( | |||
objectId, | |||
commitId | |||
}) | |||
const url = new URL(commentRoute, getBaseUrl()).toString() | |||
const url = new URL(commentRoute, getFrontendOrigin()).toString() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mention email cta links were busted locally (only where FE and BE origin differs afaik)
), | ||
knex.raw(`(array_agg("user_emails"."verified"))[1] as verified`) | ||
knex.raw(`(array_agg(??))[1] as "verified"`, [UserEmails.col.verified]), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@alemagio it was this way before already, but i'm wondering if this logic is valid - surely we should look for the first verified email, instead of just the first email that exists? otherwise we risk marking the user as unverified, when one of their emails is verified
📸 Preview service has generated an image. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FE looks good :)
📸 Preview service has generated an image. |