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

Quickly Review possible problems with export and fix. #392

Open
2 tasks
JnBrymn opened this issue Jan 23, 2021 · 0 comments
Open
2 tasks

Quickly Review possible problems with export and fix. #392

JnBrymn opened this issue Jan 23, 2021 · 0 comments

Comments

@JnBrymn
Copy link
Collaborator

JnBrymn commented Jan 23, 2021

Rather that meticulously fixing all the problems before testing our "will it survive outside" hypothesis, we aim to fix the obvious things that might cause problems and then just find the problems live as they occur.

Here are some likely sources of problems:

  • The user's identity is stored in two places, the User model and the SocialProfile model. The intent is that the User should have a 1:1 mapping with a person in real life regardless of how many slack teams they are members of. The SocialProfile is expected to represent a person's slack membership (or MS Teams membership in the future). A single User may have many SocialProfiles. Typically we contact people through information in their SocialProfiles so it is important that we don't confuse a member's many social profiles.
  • get_slack_client takes a slack team and returns the slack client associated with that team. Right now we're creating one slack client and then passing it around everywhere. This will make it possible to send messages to the wrong slack team (which will probably just error out).

There are two goals for this issue:

  • If you find some simple fixes, then fix them and list them here.
  • If you find something complicated, then make an issue in this epic.
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

No branches or pull requests

1 participant