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

Cookies fix #159

Merged
merged 6 commits into from Apr 12, 2022
Merged

Cookies fix #159

merged 6 commits into from Apr 12, 2022

Conversation

OlegMoshkovich
Copy link
Member

  • fix get cookies
  • fix privacy slider

Copy link
Member

@pablo-mayrgundter pablo-mayrgundter left a comment

Choose a reason for hiding this comment

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

I think there was a new test to add too?

src/Components/AboutControl.jsx Show resolved Hide resolved
@OlegMoshkovich
Copy link
Member Author

I think there was a new test to add too?
yes, new privacy test is added.

@OlegMoshkovich
Copy link
Member Author

@pablo-mayrgundter PTAL!

@pablo-mayrgundter
Copy link
Member

pablo-mayrgundter commented Apr 4, 2022

Please include link to your demo in the description

@OlegMoshkovich
Copy link
Member Author

@pablo-mayrgundter PTAL.

Copy link
Member

@pablo-mayrgundter pablo-mayrgundter left a comment

Choose a reason for hiding this comment

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

Could you please add tests for each exported method and then all looks good

*/
export function isAnalyticsAllowed() {
return Functional.getCookieBoolean('isAnalyticsAllowed', false) // defaultValue
return Privacy.isPrivacySocialEnabled() // defaultValue
Copy link
Member

Choose a reason for hiding this comment

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

Remove comment

fix getCookie

fix is Analytics allowed

debuggin analytics - subtract isAllowed consitional

add the debug built

add privacy test

refactor privacy function out of the about control

space

clean up

refactor is analytics allowed method
@OlegMoshkovich
Copy link
Member Author

@pablo-mayrgundter
additional tests added to privacy
PTAL

@pablo-mayrgundter pablo-mayrgundter merged commit 309c0c7 into bldrs-ai:main Apr 12, 2022
@OlegMoshkovich OlegMoshkovich deleted the cookies-fix branch April 25, 2022 09:26
OlegMoshkovich added a commit to OlegMoshkovich/Share that referenced this pull request Apr 27, 2022
* fix privacy slider

fix getCookie

fix is Analytics allowed

debuggin analytics - subtract isAllowed consitional

add the debug built

add privacy test

refactor privacy function out of the about control

space

clean up

refactor is analytics allowed method

* new build

* add is privacy social and usage enabled

* additional test for privacy

* clean up

* new build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Completed
Development

Successfully merging this pull request may close these issues.

None yet

2 participants