-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
feat(comments): Plug in comments into activity sidebar tab if available #41491
Conversation
e02fbe1
to
0aa2c7e
Compare
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.
This breaks the comments API when used by other apps again, as pointed out in the previous PR
Did you test this? This PR should only change the sidebar for the files app |
yes, something is hardcoding the object type to |
OK I know whats going on here... Have I ever said I hate mixins? |
0aa2c7e
to
858d3f7
Compare
Should be fixed now @nickvergessen
I 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.
|
858d3f7
to
74f127d
Compare
Rebased and fixed come's comment |
… available Signed-off-by: Ferdinand Thiessen <[email protected]>
74f127d
to
fa1e09b
Compare
@nickvergessen I tested with announcement center. Should be fine now. :) |
fa1e09b
to
b032929
Compare
@nickvergessen resolved you comments should be fine now Edit
Oh we did this simultaneously :/ |
All hail to |
Now the hardcoded |
Only on posting, loading old comments works properly |
This comment was marked as resolved.
This comment was marked as resolved.
The first argument is the resource type!? |
Also fix typos where `ressource` instead of `resource` was used. Signed-off-by: Ferdinand Thiessen <[email protected]>
b032929
to
f94e6e2
Compare
f94e6e2
to
aed3bd6
Compare
Signed-off-by: Ferdinand Thiessen <[email protected]> Signed-off-by: Louis Chemineau <[email protected]>
Signed-off-by: Joas Schilling <[email protected]>
aed3bd6
to
6eb182a
Compare
There were some mixing of the property name making it fallback to the default But now it works in files and announcements. |
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