Uh oh!
There was an error while loading. Please reload this page.
feat(comments): Plug in comments into activity sidebar tab if available - #41491
Conversation
e02fbe1 to
0aa2c7eCompareUh oh!
There was an error while loading. Please reload this page.
nickvergessen
left a comment
There was a problem hiding this comment.
This breaks the comments API when used by other apps again, as pointed out in the previous PR
susnux
commented
Nov 15, 2023
Did you test this? This PR should only change the sidebar for the files app |
nickvergessen
commented
Nov 15, 2023
yes, something is hardcoding the object type to |
susnux
commented
Nov 15, 2023
OK I know whats going on here... Have I ever said I hate mixins? |
0aa2c7e to
858d3f7Comparesusnux
commented
Nov 15, 2023
Should be fixed now @nickvergessen DetailsI really do not like code that hides what happens, in this case the comment type was injected only in one of the entry points as as a Mixin (**!**) instead of declaring it a prop so you know that it is there are need to be set / can be set. |
Uh oh!
There was an error while loading. Please reload this page.
858d3f7 to
74f127dCompareartonge
commented
Nov 16, 2023
Rebased and fixed come's comment |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
… available Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
74f127d to
fa1e09bCompare@nickvergessen I tested with announcement center. Should be fine now. :) |
fa1e09b to
b032929Compare@nickvergessen resolved you comments should be fine now Edit
Oh we did this simultaneously :/ |
nickvergessen
commented
Nov 16, 2023
All hail to |
nickvergessen
commented
Nov 16, 2023
Now the hardcoded |
nickvergessen
commented
Nov 16, 2023
Only on posting, loading old comments works properly |
This comment was marked as resolved.
This comment was marked as resolved.
nickvergessen
commented
Nov 16, 2023
The first argument is the resource type!? |
Uh oh!
There was an error while loading. Please reload this page.
Also fix typos where `ressource` instead of `resource` was used. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
b032929 to
f94e6e2Comparef94e6e2 to
aed3bd6CompareSigned-off-by: Ferdinand Thiessen <opensource@fthiessen.de> Signed-off-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: Joas Schilling <coding@schilljs.com>
aed3bd6 to
6eb182aComparenickvergessen
commented
Nov 16, 2023
There were some mixing of the property name making it fallback to the default But now it works in files and announcements. |
susnux
commented
Nov 16, 2023
Cypress is unrelated (flaky user-creation test) |
Summary
This is a more stable approach than #41483, if activity is enabled we plug into their stream and provide the comments.
Screenshot
vokoscreenNG-2023-11-15_12-22-39.mp4
Checklist