-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Add action for anonymous user #22321
Conversation
@Santhosh-Sellavel Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
@Santhosh-Sellavel I think we don't need to update the test steps for other pages that use |
@dukenv0307 I think you don't understand. We don't need to make sure that the action can be performed by the anonymous user or not. And handle it where we can allow it. Here is another similar duplicate issue. It does not use the Do you get it? cc: @PauloGasparSv |
@Santhosh-Sellavel Thank you for your explanation. I got it for now. So we should discuss to decide whether we want to allow it or not for now, right? Correct me if I missed something. |
Yes please investigate give us a list of such actions. We can decide and proceed |
Also if you run into any similar issues please tag and ask them to hold for this. |
@Santhosh-Sellavel Here is the list of actions that an anonymous user can perform. Please help to check again if I miss some actions.
|
Anywhere else a related check is used? @dukenv0307 |
Thanks @dukenv0307
cc: @PauloGasparSv Let me know what is allowed and what is not, thanks! |
The actions in FAB also use the check, but I think we don't need to take care of this because it must sign in to create action. |
Cool just list all places we do the check so we don't miss anything, and let's wait for @PauloGasparSv and proceed with changes, thanks! |
@Santhosh-Sellavel Updated it here. |
@PauloGasparSv Please review this when you got a chance so we can moveforward, thanks! |
Sure thing, I have to focus on a couple of other issues first so I may only have time to review this on Monday though |
Thks so much for this @dukenv0307 (and @Santhosh-Sellavel too) I'll try to review the list today and maybe tag some people that first worked on the anonymous user logic to review this too. Btw, sorry for the delay but now we have some conflicts here. Can you please resolve them when you get the chance @dukenv0307? |
@PauloGasparSv I just updated, please help to review |
@PauloGasparSv That makes sense to me. For now, I think we can fix this issue and fix it #22307 too. |
@Santhosh-Sellavel We have another issue about anonymous action here #22638. |
Thks so much for catching those, I think @Santhosh-Sellavel already commented in one of them so I'll do the same for #22638 Can you add a fix for those 2 here? (I don't think we fixed them already right?) @Santhosh-Sellavel bump on this for fixing the original issue + #22638 and #22307 this time since these are the reported issues so far. |
I will add the fix for this soon. |
@PauloGasparSv I updated the fix for #22638 and #22307. I will complete the test steps and screenshots for this tomorrow. |
@Santhosh-Sellavel I updated the test steps and screenshots for other issues completely. Please help me to continue reviewing the PR when you have a chance. |
@PauloGasparSv @dukenv0307 Can we also include the option to copy the URL from the share code page as it makes more sense? |
Screen.Recording.2023-07-13.at.12.42.51.AM.mov |
Yesss! I thought this was fixed already since it was mentioned here btw : ) |
@Santhosh-Sellavel Do you think we should accept the option to download the QR on native? |
@Santhosh-Sellavel I updated, please help to check again. |
Reviewer Checklist
Screenshots/VideosWebScreen.Recording.2023-07-14.at.6.11.11.PM.movMobile Web - Chrome & Mobile Web - SafariScreen.Recording.2023-07-14.at.6.13.39.PM.movDesktopScreen.Recording.2023-07-14.at.6.20.29.PM.moviOS & AndroidScreen.Recording.2023-07-14.at.6.11.48.PM.mov |
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.
LGTM, thanks @dukenv0307!
All yours @PauloGasparSv!
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.
LGTM!
Web
Web.mov
Mobile Web - Safari
mweb.ios.mov
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by https://github.com/PauloGasparSv in version: 1.3.42-0 🚀
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 1.3.42-26 🚀
|
@@ -130,6 +133,7 @@ export default [ | |||
getDescription: () => {}, | |||
}, | |||
{ | |||
isAnonymousAction: false, |
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.
In this issue, we decided to allow anonymous user to copy url and email.
Details
We accept some actions for anonymous user
Fixed Issues
$ #21977
PROPOSAL: #21977 (comment)
Tests
Offline tests
Same as above
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Web
Screencast.from.12-07-2023.10.31.49.webm
Mobile Web - Chrome
Record_2023-07-12-11-10-46.mp4
Mobile Web - Safari
safari.mp4
Desktop
desktop.2.mp4
iOS
ios.2.mp4
Android
21977.mp4