flake8
-
reviewboard/extensions/tests/test_action_hooks.py (Diff revision 1) Show all issues
Review Request #12963 — Created April 20, 2023 and submitted
One thing extensions authors like to do on occasion is either hide or
replace built-in functionality. For example, some servers have disabled
the support menu or replaced the quick ship-it action with one that does
some custom behavior first. This change adds an official extension hook
to enable this without having to patch the code.
Summary | ID |
---|---|
082b53f6ee88ea92131a8f090728196a36124312 |
Commits: |
|
|||||||
---|---|---|---|---|---|---|---|---|
Diff: |
Revision 2 (+194) |
docs/manual/extending/extensions/hooks/action-hooks.rst (Diff revision 2) |
---|
I know this is pretty self explanatory but I think it'd still be good to say something like "Simply initialize the hook with a list of :py:attr:
~reviewboard.actions.base.BaseAction.action_id
s of the actions that you want to hide."
Commits: |
|
|||||||
---|---|---|---|---|---|---|---|---|
Diff: |
Revision 3 (+202) |