Closed (fixed)
Project:
Cloud
Version:
6.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Issue tags:
Reporter:
Created:
29 Sep 2023 at 03:44 UTC
Updated:
7 Nov 2023 at 17:54 UTC
Jump to comment: Most recent
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
ryo yamashita commented@yas
Please review it. Thanks.
Comment #4
ryo yamashita commented@yas
I pushed a new patch to fix by GPT. Thanks.
Comment #5
yas@ryo-yamashita
Thank you for the patch. Can you please check the following coding standards warning? Thanks
Comment #6
ryo yamashita commented@yas
I rebased this patch and push a new commit for coding standard. Thanks.
Comment #7
yas@ryo-yamashita
Now that you look you want to add updateResourceList() in each
ApiControllerclass. In that case, I think we can refactor your patch by introducing CloudContentEntityTrait::updateResourceList() so that we can avoid copy & paste codes. We can consider the other similar methods for such as CloudConfig, LaunchTemplate and Project.Thanks!
Comment #8
ryo yamashita commented@yas
I pushed a new patch. Thanks.
Comment #9
yas@ryo-yamashita
Thank you for the update. I posted my comments. Also, please check my previous comment at #3390522-7: Refactor display status messages to refresh entities list (drupal/cloud_dashboard) and the coding standard errors at https://git.drupalcode.org/project/cloud/-/jobs/138444
Thanks
Comment #10
ryo yamashita commented@yas
Based on your comments, I pushed a patch to fix it. Thanks.
Comment #11
yas@ryo-yamashita
Thank you for the update.
@baldwinlouie
Can you please review the patch? Thanks!
Comment #12
ryo yamashita commentedComment #13
baldwinlouie commented@yas, @ryo-yamashita, Thank you for the patch. I left my comments. @yas, This comment is more a discussion point: https://git.drupalcode.org/project/cloud/-/merge_requests/2039#note_214926
Comment #14
yasChanging to Needs work
Comment #15
ryo yamashita commentedComment #16
yas@ryo-yamashita
Thank you for the update. I posted my comments. Thanks!
Comment #17
ryo yamashita commentedComment #18
yas@ryo-yamashita
Thank you for the update. Can you please check my following comments, too?
Thanks
Comment #19
ryo yamashita commented@yas
I commented to those comments. Thanks.
Comment #20
ryo yamashita commented@yas
Since there were unnecessary REST APIs that were not accessed by the SPA, I removed them from the YAML file. Thanks.
Comment #21
ryo yamashita commentedComment #22
yas@ryo-yamashita
Thank you for the update. Now It looks good to me but we need some fixes due to the issues in the original code. I posted my comments. Can you please take a look at the ones? Thanks!
Comment #23
baldwinlouie commented@yas @ryo-yamashita, I've posted my comments.
Please check this comment in particular: https://git.drupalcode.org/project/cloud/-/merge_requests/2039#note_218812 . I was trying to think of ways to avoid adding the new
*/Rest/*PluginManagerclasses.Let me know your thoughts on what I was thinking.
Comment #24
ryo yamashita commentedComment #25
yas@ryo-yamashita
Thank you for the update. I posted my minor comments.
The patch looks good to me and makes sense to me more especially in @baldwinlouie's comment at https://git.drupalcode.org/project/cloud/-/merge_requests/2039#note_218812.
@baldwinlouie
What do you think?
Comment #26
baldwinlouie commented@ryo-yamashita Thank you for the patch. It's a great refactoring patch. I'm ok with the patch now. I had two small messages that haven't been resolved yet.
https://git.drupalcode.org/project/cloud/-/merge_requests/2039#note_218808
https://git.drupalcode.org/project/cloud/-/merge_requests/2039#note_218809
Let me know your thoughts on these.
Comment #27
ryo yamashita commentedComment #28
yas@ryo-yamashita
Thank you for your comment. I posted my response. Thanks!
Comment #29
ryo yamashita commented@yas
I added comments for your post. Thanks.
Comment #30
baldwinlouie commented@ryo-yamashita, Thank you for the hard work on this patch. It looks good to me now!
Comment #31
yas@baldwinlouie
Thank you for your review.
@ryo-yamashita
Thank you for all your efforts. The patch looks good to us now. I'll merge the patch to
5.xand6.x, and close this issue as Fixed. Thanks!Comment #34
yas