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

Action "types" and other fields. #37

Open
ryanmdoyle opened this issue Jul 26, 2019 · 0 comments
Open

Action "types" and other fields. #37

ryanmdoyle opened this issue Jul 26, 2019 · 0 comments
Labels
question Further information is requested

Comments

@ryanmdoyle
Copy link
Contributor

ryanmdoyle commented Jul 26, 2019

With #36 We can now post a new "action" from the front-end.

We still have some issues that need to be discussed along with Actions.
[ ] Who controls visibility?
[ ] What types of "actions" should we have?

Currently, we are posting new actions to the "/events" route. I have hard-coded in the "action_type_id" as 1, assuming that the only actions we currently have are these "events." Presumably, later on, we would have other actions, like "announcements" and those would have another action_type_id.

We also have visibility and the user_id hard-coded as "true" and 1, respectively. I wan;t able to figure out in less than a few minutes what fields were required on the db end, so I just make the front-end query contain all the fields that the backend seemed to have.

I assume this is a longer-term issue, but eventually, we will need to have a list of different actions. I see that is in the data visual of the db but not sure what is there at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant