View Issue Details

IDProjectCategoryView StatusLast Update
0030268mantisbtuipublic2022-06-12 09:10
Reporterdregad Assigned Todregad  
PrioritynormalSeveritytweakReproducibilityalways
Status closedResolutionfixed 
Product Version2.26.0 
Summary0030268: Bugnote count column wraps on View Issues page when 10 or more
Description

The bugnotes count for Issues having 10 notes or more are displayed with 1 digit per line, instead of having them grouped together as a single number (see attached screenshot)

This is a regression introduced by 0027114

TagsNo tags attached.
Attached Files
image.png (55,670 bytes)   
image.png (55,670 bytes)   

Relationships

related to 0027114 closedcommunity Long unbreakable text does not auto wrap in bug details page 
related to 0030279 closeddregad Text Custom Field columns should be left-aligned 

Activities

dregad

dregad

2022-05-16 11:52

developer   ~0066585

The CSS rules introduced in 0027114 need to be more selective, and only target those fields susceptible to have long, unbreakable content (i.e. textarea fields).

Here, the [class*="bugnote"] selector incorrectly matches the bugnotes count column because its class is column-bugnotes-count.

dregad

dregad

2022-05-17 10:18

developer   ~0066588

Issue was incorrectly resolved due to pushing a work-in-progress branch to core repository, instead of my own fork, in preparation for a pull request.

dregad

dregad

2022-05-17 11:58

developer   ~0066590

PR https://github.com/mantisbt/mantisbt/pull/1813

dregad

dregad

2022-05-29 04:04

developer   ~0066656

Removing target version and not setting fixed in version, as this is tracked by 0027114 in changelog.

Related Changesets

MantisBT: i30278-remove-cftype-const 7a77360c

2022-05-16 12:03

dregad


Details Diff
Apply overflow-wrap more selectively

Issue 0027114 introduced a regression in the bugnotes count column's
display on View Issues page.

We now only target those fields susceptible to have long, unbreakable
content (i.e. textarea fields), by

- adding markup to Textarea custom fields (`cftype-textarea` class)
- using more precise CSS selectors for description, steps-to-reproduce,
additional-information and bugnotes, as well as Textarea custom fields
(using the new cftype-textarea class).

Fixes 0030268
Affected Issues
0027114, 0030268
mod - bug_view_inc.php Diff File
mod - core/custom_function_api.php Diff File
mod - css/ace-mantis.css Diff File