stable

Clone or download

Read-only

HTML entities should not be highlighted

Part of story #11095 Style Planning-v2 in BurningParrot How to test: Using a text card field in HTML format that contains tags such as <span> and/or HTML entities such as &nbsp; In both kanban or planning-v2: - Filtering on '>' should correctly highlight the > in the card field - Filtering on '()' should no longer highlight every letter - Filtering on '&' should no longer highlight the & in &nbsp; - Filtering on '3' should not highlight HTML entities such as &#x3C; - No functional change expected on card fields Change-Id: I51b34582af29a08d47afe70b8babf6d56aa0443f

Modified Files

Name
M plugins/agiledashboard/www/js/card-fields/card-fields-service.js +16 −19 Go to diff View file
M plugins/agiledashboard/www/js/card-fields/card-fields.tpl.html +5 −7 Go to diff View file
M plugins/agiledashboard/www/js/card-fields/card-text-field/card-text-field-directive.js +11 −18 Go to diff View file
M plugins/agiledashboard/www/js/card-fields/card-text-field/card-text-field.tpl.html +1 −1 Go to diff View file
M plugins/agiledashboard/www/js/card-fields/highlight-filter.js +27 −26 Go to diff View file
M plugins/agiledashboard/www/js/card-fields/highlight-filter.spec.js +53 −52 Go to diff View file
M plugins/agiledashboard/www/js/card-fields/index.js +2 −5 Go to diff View file
D plugins/agiledashboard/www/js/card-fields/strip-tags-filter.js +0 −11 Go to diff View file
M plugins/agiledashboard/www/js/card-fields/tuleap-card-link-directive.js +4 −19 Go to diff View file
M plugins/agiledashboard/www/js/card-fields/tuleap-simple-field-directive.js +5 −24 Go to diff View file
M plugins/agiledashboard/www/js/kanban/package-lock.json +6 −2 Go to diff View file
M plugins/agiledashboard/www/js/kanban/package.json +2 −0 Go to diff View file
M plugins/agiledashboard/www/js/kanban/src/app/in-properties-filter/in-properties-filter.js +15 −3 Go to diff View file
M plugins/agiledashboard/www/js/kanban/src/app/in-properties-filter/in-properties-filter.spec.js +46 −10 Go to diff View file
M plugins/agiledashboard/www/js/kanban/src/app/kanban-item/kanban-item.tpl.html +2 −2 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/package-lock.json +2 −4 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/package.json +2 −0 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item/backlog-item-details/backlog-item-details.tpl.html +2 −2 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/in-properties/in-properties-filter.js +16 −6 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/in-properties/in-properties-filter.spec.js +35 −8 Go to diff View file