View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0035645 | mantisbt | ui | public | 2025-03-20 12:26 | 2025-08-21 19:20 |
Reporter | raspopov | Assigned To | community | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 2.27.1 | ||||
Target Version | 2.28.0 | Fixed in Version | 2.28.0 | ||
Summary | 0035645: Some widgets are not collapsible | ||||
Description | The "Time Tracking" ( I broke the second and third options myself at: MantisBT master 10971ed1 | ||||
Tags | No tags attached. | ||||
PR: https://github.com/mantisbt/mantisbt/pull/2129 For now, we'll have to leave the HTML error - duplicate values of `id' tag attributes. I haven't found out why it happens this way. I think we can carefully rename the widget id's, but temporarily their old names will be present in the database. |
|
I've found three different ways MantisBT collapses UI elements:
That shocked me. I've added edits to this PR to include loading widgets and sidebar status from cookies. So anonymous users can use it. |
|
That's the kind of silliness you sometimes get when working on a 25 years old code base ;-) It's great that you are able to analyze these things in depth and improve them. Thank you ! |
|
I think we should put all the code that prints widgets from all the files in one place as functions like For example news widgets ( |
|
Sounds like a good idea, makes sense. |
|
MantisBT: master 10971ed1 2025-02-26 10:56 Committer: dregad Details Diff |
Fix Nu Html Checker issues Fix various Nu Html Checker issues in dropzone (print_api.php): - Error: Element img is missing required attribute src. - Error: An img element must have an alt attribute, except under certain conditions. In bug_view_inc.php: - Error: Element tbody not allowed as child of element table in this context. - Error: Duplicate ID history. In bug_update_page.php and bugnote_view_inc.php: - Error: The width attribute on the td element is obsolete. - Warning: A table row was 0 columns wide, which is less than the column count established by the first row (6). - Error: Element option without attribute label must not be empty. - Error: Duplicate ID bugnotes. In print_all_bug_page.php: - Error: Stray end tag td. - Error: Row 2 of a row group established by a tbody element has no cells beginning on it. - Warning: A table row was 10 columns wide and exceeded the column count established by the first row (5). In print_all_bug_page_word.php: - Error: The width attribute on the td element is obsolete. - Error: Row 2 of a row group established by a tbody element has no cells beginning on it. |
Affected Issues 0035644, 0035645 |
|
mod - bug_update_page.php | Diff File | ||
mod - bug_view_inc.php | Diff File | ||
mod - bugnote_view_inc.php | Diff File | ||
mod - core/print_api.php | Diff File | ||
mod - print_all_bug_page.php | Diff File | ||
mod - print_all_bug_page_word.php | Diff File | ||
MantisBT: master 21428f7e 2025-03-21 19:07 Committer: community Details Diff |
Fix collapsible widgets One new fix and two regression fixes in 10971ed15a2f8476130c996f54dda6dc068828f9. Fix restoring collapse state from cookies. Fixes 0035645, PR https://github.com/mantisbt/mantisbt/pull/2129 |
Affected Issues 0035645 |
|
mod - bug_view_inc.php | Diff File | ||
mod - bugnote_stats_inc.php | Diff File | ||
mod - bugnote_view_inc.php | Diff File | ||
mod - js/common.js | Diff File |