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

[Feature] Enable contributing over api #1716

Open
wants to merge 42 commits into
base: main
Choose a base branch
from

Conversation

mattwr18
Copy link
Contributor

@mattwr18 mattwr18 commented Oct 13, 2023

Closes #1715

TODOs

  • Add endpoint for fetching 1v1 ChatMessage
  • Add endpoint for posting AI responses
  • Handle attached images, e.g. alt text

- to account for a contributor never having received a message
- when the tests fail it skips the following steps, duh
- By always allowing Setting to receive api_token and returning a valid
  token. The tests were passing locally since I had a token in my env
whereas the runner did not have one. Calling secure_compare with nil as
a param throws an error NoMethodError (undefined method `bytesize' for nil:NilClass)
- first names have been validated on the front end only, but these are
  easy to get around. We give the feature to personalize messages be
inserting the contributor's first name, assuming they always exist, yet
we do not have any backend validations to ensure this.
- provide better UI/UX both for contributors who might type their name
 in all lowercase when filling out the onboarding form and later
received messages with their first name and also to users of the front
end
- allow setting the external channel for displaying in the 100eyes UI
  over api
- it is used for user management, so new users are not able to reset
  their passwords if it is not configured.
- whether a channel is available for onboarding should be determined by whehter it is
  configured or not, to start. An admin should be able to make the
channel unavailable, but it should not be available if it is not
configured
- move more ApiJsonResponses
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.

[Feature] Enable contributing over api
1 participant