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

task/WG-139: add uuid for guest users #118

Merged
merged 1 commit into from
Nov 6, 2023

Conversation

nathanfranklin
Copy link
Contributor

Overview:

Add uuid for guest users:

  • create uuid for guest user in local storage
  • add that uuid to header of requests to geoapi

Related Jira tickets:

Testing Steps:

TACC-Cloud/geoapi#155 has testing steps but they don't apply here as we don't have a public map/gallery view yet for taggit.

So this PR really just added guest ID which can be used whenever we do implement a public/gallery view for taggit

Store in local storage and add to requests headers
Copy link
Contributor

@taoteg taoteg left a comment

Choose a reason for hiding this comment

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

This appears to be a nearly redundant PR to this one: TACC-Cloud/hazmapper#166

Not sure what order these need to be applied.
Could these be combined into a single PR?

@nathanfranklin
Copy link
Contributor Author

This appears to be a nearly redundant PR to this one: TACC-Cloud/hazmapper#166

@taoteg , yeah 100% a line for line copy of the changes in hazmapper. they are both client code so take the same approach. we could make a shared library for the two to try to limit the duplication of code but would rather ignore that for now as Hazmapper is moving to React and Taggit (for the time being) is staying in angular.

Copy link
Contributor

@taoteg taoteg left a comment

Choose a reason for hiding this comment

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

Grokking the reused hazmapper code now. LGTM!

@nathanfranklin nathanfranklin merged commit aee1c7e into master Nov 6, 2023
1 check passed
@nathanfranklin nathanfranklin deleted the task/WG-139-add-uuid-for-guest-users branch November 6, 2023 18:39
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