[MGNLUI-7682] Script to check UI elements and count how many of them are used Created: 09/Dec/22  Updated: 03/Jan/23  Resolved: 02/Jan/23

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Spike Priority: Neutral
Reporter: Dominik Maslanka Assignee: Quach Hao Thien
Resolution: Done Votes: 0
Labels: None
Σ Remaining Estimate: Not Specified Remaining Estimate: Not Specified
Σ Time Spent: 1d 5.5h Time Spent: 1d 5.5h
Σ Original Estimate: Not Specified Original Estimate: Not Specified

Attachments: HTML File CountUIElements script     HTML File UI elements elements     Text File demo.sorted.txt     Text File nightly.sorted.txt    
Sub-Tasks:
Key
Summary
Type
Status
Assignee
MGNLUI-7683 Implementation Sub-task Completed Quach Hao Thien  
MGNLUI-7684 Review Sub-task Completed Dominik Maslanka  
Template:
Date of First Response:
Epic Link: Design System research
Sprint: Nucleus 26
Story Points: 3
Team: Nucleus
Work Started:

 Description   

As product Manager, I would like to know what fields are used in our system, and I would like to count them so that I can find the total number of units involved it gives me a picture of which of elements are most used and which are rare & customized.  

 

Criteria for investigation & expected output:

  • A simple list with elements e.g.: text-field: 1453 
  • To check on Demo/Nightly environment 

 

Also: 

  • While building Script - Try to distinguish UI elements like fields, dialogs, breadcrumbs, actions, apps, subapps so we can build clear hierahical structure e.g.:

App > subbApp > Dialog > text-linkField 

Goal: prioritise UI-elements so we can have a picture of which ones are most used. 



 Comments   
Comment by Roman Kovařík [ 13/Dec/22 ]

Discovery:

  • get the list of fields occurrences from app and dialog definitions via e.g. a groovy script or a extended def. app (but keep in mind the timebox)
Generated at Mon Feb 12 09:48:23 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.