-
Notifications
You must be signed in to change notification settings - Fork 18
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
docs: add open edx event guide #80
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! A nice start to kick this off.
Hi there @robrap! Thanks for the feedback. I'll be addressing your comments on Monday. Sorry for the delay! |
FYI @felipemontoya |
Thanks for the pull request, @mariajgrimaldi! As a core committer in this repo, you can merge this once the pull request is approved per the core committer reviewer requirements and according to the agreement with your edX Champion. |
@mariajgrimaldi: Someone recently thoughts some new events defined in this library would be on the event bus. I haven't quite gotten to the bottom of the confusion, but when I went to send a link to some docs, I realized that this doc never landed. I wonder how quickly we could land this, even if we'd want to improve it in the future. Thanks. |
@robrap: hello! Thanks for the reminder, sorry I didn't push this forward. A lot of stuff got in the way. Our maintainer team including myself will allocate some time between this week and next to complete this work, at least until its first version. |
Hello @mariajgrimaldi. No apologies necessary. I look forward to helping land something. |
@mariajgrimaldi: Another bit we could add is a reminder to document the event in the service where it is produced, using edx-platform as an example: https://github.com/openedx/edx-platform/blob/f01ef48190c7c4ee6d9e06af4abe21e25fe16dff/docs/guides/hooks/events.rst#index-of-events. Related:
|
d907e07
to
96fb034
Compare
96fb034
to
92aeaa8
Compare
I'm finally setting aside some time to do this! Thank you so much for your patience. |
Consider it done!
I added a how-to called Adding a new event to the event bus, what I think we could do is add an extra step to How to add an Open edX Event to a service saying Add event to the event to the event bus if supported and linking it to the how-to. Also, we could modify that index with a column saying "sent over the event bus" that says yes or no. What do you think? |
3f3a7d8
to
9c5f6fe
Compare
@robrap: I started addressing your comments! Thank you! I'll let you know when this is ready for review again |
@robrap: thank you so much! I think I addressed all your comments. Let me know what you think |
I'll be fixing the failing tests later 😅 |
Thank you for all the work. I’m not sure if I’ll get to review before the end of the conference or not. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks again @mariajgrimaldi.
docs/how-tos/using-events.rst
Outdated
|
||
In case you are listening to an event in the edx-platform repo, you can directly | ||
use the django syntax since the apps.py method will not be available without the | ||
plugin. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Thanks. @ormsbee can let us know if he'd like this to be even stronger, but either way, that doesn't need to block this PR.
@robrap: again, thank you so much for the help! and the patience 😅 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great. We can always iterate as-needed. Thanks so much for all the great work!
Not sure if you need to kick off tests again to see if openedx/cla
check will work?
40e43ab
to
2aa0e05
Compare
@mariajgrimaldi 🎉 Your pull request was merged! Please take a moment to answer a two question survey so we can improve your experience in the future. |
Description:
This PR adds a how-to for new event creation. Its main purpose is to serve as a guide for new contributions to the library.
Dependencies:
None
Installation instructions:
Just documentation.
Testing instructions:
Just documentation.
Reviewers:
Merge checklist:
Post merge:
finished.
Author concerns:
What else should we add?