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

passing access token as param to announcement query if available #2868

Merged
merged 1 commit into from
Apr 29, 2024

Conversation

noumantahir
Copy link
Collaborator

What does this PR?

Passes accessToken as code in params to get announcements request, if user is logged out app will not send access token.

I believe this holds more value in comparison to exclusively checking proposal votes for announcement locally, this approach can serve as a base for sending custom announcements for particular user later on as well.

Let me know if I should still handle proposal votes checking for showing or not showing announcement locally

Screenshots/Video

With Access Token
Screenshot 2024-04-29 at 18 33 52

Without Access Token
Screenshot 2024-04-29 at 18 51 46

Copy link
Member

@feruzm feruzm left a comment

Choose a reason for hiding this comment

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

lgtm

@feruzm feruzm merged commit 60607ca into development Apr 29, 2024
@feruzm feruzm deleted the nt/announcement-token branch April 29, 2024 17:33
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.

None yet

2 participants