- Issue created by @Ryo Yamashita
- last update
over 1 year ago 367 pass - @ryo-yamashita opened merge request.
- Status changed to Needs review
over 1 year ago 6:32am 28 August 2023 - Status changed to Needs work
over 1 year ago 7:10am 28 August 2023 - 🇺🇸United States yas California 🇺🇸
@ryo-yamashita
Thank you for fixing the issue. I posted my comment. Thanks
- Open on Drupal.org →Core: 10.0.7 + Environment: PHP 8.2 & MySQL 8last update
over 1 year ago Not currently mergeable. - last update
over 1 year ago 367 pass - Status changed to Needs review
over 1 year ago 9:01am 28 August 2023 - 🇯🇵Japan Ryo Yamashita
@yas
To prevent hard-coding of logic, I cut out the possible processing for each type of entity as constant data. This allows for easy addition of functionality. Thanks.
- Status changed to Needs work
over 1 year ago 9:38am 28 August 2023 - 🇺🇸United States yas California 🇺🇸
@ryo-yamashita
Thank for the update with the refactoring. I like the refactoring. I think
menu_operations.ts
can be separated tomenu_operations.ts
andmenu_operations.json
like the existingmenu_template.ts
andmenu_template.json
.Or the JSON file can be the one used for both
menu_template.ts
andmenu_operations.ts
.What do you think?
- 🇯🇵Japan Ryo Yamashita
@yas
menu_template.json has a history of being automatically generated from an existing YAML file.
Therefore, it is possible to integrate the information in this file with menu_template.ts.
However, until the possibility of significant additions to menu_template.json arises, I don't see the need to refactor it yet. It is assumed that this issue can be closed as is. Thanks.
Note: If the contents of the data part of menu_operation.ts is separated into JSON, we will not be able to benefit from type inference when adding to the data part in the future. Therefore, there seems to be no particular advantage to creating menu_operation.json.
- last update
over 1 year ago 367 pass - last update
over 1 year ago 367 pass - Status changed to Needs review
over 1 year ago 3:11am 30 August 2023 - 🇯🇵Japan Ryo Yamashita
@yas
To improve the readability of menu_operations.ts, the type definitions have been moved to the model directory. This makes menu_operations.ts easier to write. Thanks.
- Status changed to Needs work
over 1 year ago 4:26am 30 August 2023 - 🇺🇸United States yas California 🇺🇸
@ryo-yamashita
Thank you for the update. I like the refactoring. Please rebase the patch. Thanks
- last update
over 1 year ago 367 pass - Status changed to Needs review
over 1 year ago 8:05am 30 August 2023 - Status changed to RTBC
over 1 year ago 9:16am 30 August 2023 - 🇺🇸United States yas California 🇺🇸
@ryo-yamashita
Thank you for the update. I'll merge the patch to
5.x
and6.x
, and close this issue as Fixed. - last update
over 1 year ago 367 pass -
yas →
committed c66b4e55 on 6.x authored by
Ryo Yamashita →
Issue #3383641 by Ryo Yamashita, yas: Refactor action button labels of...
-
yas →
committed c66b4e55 on 6.x authored by
Ryo Yamashita →
-
yas →
committed 0ca8e801 on 5.x authored by
Ryo Yamashita →
Issue #3383641 by Ryo Yamashita, yas: Refactor action button labels of...
-
yas →
committed 0ca8e801 on 5.x authored by
Ryo Yamashita →
- Status changed to Fixed
over 1 year ago 9:19am 30 August 2023 Automatically closed - issue fixed for 2 weeks with no activity.