- Issue created by @lpeidro
- @lpeidro opened merge request.
- Status changed to Needs review
over 1 year ago 11:46am 19 July 2023 - 🇪🇸Spain lpeidro Madrid
New feature ready for testing.
In the description of the card you can find an short explanation about the new features:
- Drush commands to generate the reports about entity usage (paragraphs and nodes). It would be interesting to try to use de drush commands only reading the help of each command: "drush xray_audit:entity_use_count --help" and "drush xray_audit:entity_use_place --help" and to check that they are useful.
- The links in the report "Paragraphs count grouped by type ordered hierarchically". You can go to the page "admin/reports/xray-audit/queries_data/queries_data_paragraphs-paragraphs_count_by_hierarchy" and check that the links to de parents woek properly.
Thanks.
- Status changed to Needs work
over 1 year ago 9:23am 20 July 2023 - 🇪🇸Spain frouco
Hi @lpeidro,
great work!!!Only two corrections in the wording
- in /admin/reports/xray-audit/queries_data/queries_data_paragraphs-paragraphs_count_by_hierarchy change the link text from "Parents" to "See usage"
- in /en/admin/reports/xray-audit/queries_data/queries_data_paragraphs-paragraphs_use_place?parent=node&bundle=line_separator change the link text from "Link to node" to "Open page"
- 🇪🇸Spain lpeidro Madrid
Hello @fran
Thanks for your suggestion.
I modified the texts. You are right, the expressions "See usage" and "Open page" are much understable.
On the other, now, the report about usage places, now include published and unpublished entities. So for example, the published and unpublished node are shown where a certain paragraph is used.
But in the method that count the usage only the published entities are taking in count.
Ready for testing.
- Status changed to Needs review
over 1 year ago 11:32am 20 July 2023 - 709c61ab committed on 1.x
Issue #3375018: Fix bug, code was accidentally removed
- 709c61ab committed on 1.x
- b8e3037b committed on 1.x
Issue #3375018: Codding stanard fixes
- b8e3037b committed on 1.x
- f0233e84 committed on 1.x
Issue #3375018: Using service paragraph usage map to count paragraphs
- f0233e84 committed on 1.x
- faa047cd committed on 1.x
Issue #3375018: Service to mapping paragraph usage II
- faa047cd committed on 1.x
- f03b592b committed on 1.x
Issue #3375018: Service to mapping paragraph usage
- f03b592b committed on 1.x
- a57b0427 committed on 1.x
Issue #3375018: Service of paragraph usage map
- a57b0427 committed on 1.x
- 4bc11e55 committed on 1.x
Issue #3375018: Fix error in usage entities
- 4bc11e55 committed on 1.x
- 39d5f172 committed on 1.x
Issue #3375018: Added a drush command to return a simple count of...
- 39d5f172 committed on 1.x
- 8a68fdb0 committed on 1.x
Issue #3375018: Added limit only the query for usage places
- 8a68fdb0 committed on 1.x
- bc4f026a committed on 1.x
Issue #3375018: Added site name in the report of counts
- bc4f026a committed on 1.x
- 28dfc8ae committed on 1.x
Issue #3375018: Update drush help doc
- 28dfc8ae committed on 1.x
- 1cc868af committed on 1.x
Issue #3375018: Remove undeed include
- 1cc868af committed on 1.x
- fb28ec38 committed on 1.x
Issue #3375018: Extra check to avoid warning during the build of...
- fb28ec38 committed on 1.x
- 1efa0afb committed on 1.x
Issue #3375018: In report of usage place now show published and...
- 1efa0afb committed on 1.x
- b7e5f103 committed on 1.x
Issue #3375018: Added composer.json
- b7e5f103 committed on 1.x
- 6f1d6039 committed on 1.x
Issue #3375018: Added link to show list of parents in heritage report
- 6f1d6039 committed on 1.x
- b39d8512 committed on 1.x
Issue #3375018: Added new operation to Paragraph plugin to show...
- b39d8512 committed on 1.x
- d65a1fa8 committed on 1.x
Issue #3375018: Added new funcionality plugins, set operations that not...
- d65a1fa8 committed on 1.x
- 6a9db0e7 committed on 1.x
Issue #3375018: Update comments in drush commands
- 6a9db0e7 committed on 1.x
- f2562956 committed on 1.x
Issue #3375018: Include option in the service of node use to get all...
- f2562956 committed on 1.x
- 1458caea committed on 1.x
Issue #3375018: Include option in the service of paragraph use to get...
- 1458caea committed on 1.x
- efb7a173 committed on 1.x
Issue #3375018: Added service for node and Drush commands
- efb7a173 committed on 1.x
- d2c3197e committed on 1.x
Issue #3375018: Fix some codding standard issues
- d2c3197e committed on 1.x
- 29f109e6 committed on 1.x
Issue #3375018: Create basic services and service to get use of...
- 29f109e6 committed on 1.x
- 3976820c committed on 1.x
Issue #3375018: define todo in code
- 3976820c committed on 1.x
- a8e3e293 committed on 1.x
Issue #3375018-report-about-entity: Corrections in doc about drush...
- a8e3e293 committed on 1.x
- Status changed to Fixed
over 1 year ago 7:28am 3 August 2023 - 🇪🇸Spain lpeidro Madrid
We added a new Drupal service "xray_audit.paragraph_usage_map" that generate a graph structure data with the heritage of the paragraphs and usage count. This logic exclude the orphans entities.
This service is used in the drush command "xray_audit:paragraph_count" that returns the usage count of bundle paragraphs. It can be used to build "Paragraphs count grouped by type ordered hierarchically" and remove the temporal table from database.
I merge the MR and change status of the card.
Automatically closed - issue fixed for 2 weeks with no activity.