View Issue Details

IDProjectCategoryView StatusLast Update
0008066mantisbtbugtrackerpublic2021-03-07 18:28
Reportermarc Assigned Tocommunity  
PrioritynormalSeveritytweakReproducibilityalways
Status closedResolutionfixed 
Product Version1.0.7 
Target Version2.25.0Fixed in Version2.25.0 
Summary0008066: clickable summaries in view issues page
Description

I would really like to be able to click on the summary of the issue I'm interested in, and not move the mouse to the left and click on the issue number.

I have attached a patch which does this on the view_all_bug_page. It still has to be done on other pages, like my_view.

Additional Information

--- mantis-1.0.7/core/columns_api.php 2005-08-10 21:59:13.000000000 +0200
+++ mantis-1.0.7_mine/core/columns_api.php 2007-06-13 11:25:31.000000000 +0200
@@ -569,7 +569,9 @@

            $t_summary = string_attribute( $p_row['summary'] );
  • echo '<td class="left">', $t_summary;
  • echo '<td class="left">';
  • echo '<a class="summary" href="', string_get_bug_view_url($p_row['id'], null), '">';
  • echo $t_summary;
    if ( VS_PRIVATE == $p_row['view_state'] ) {
    printf( ' <img src="%s" alt="(%s)" title="%s" />'
    , $t_icon_path . 'protected.gif'
    @@ -577,6 +579,7 @@
    , lang_get( 'private' )
    );
    }
  • echo '</a>';
    echo '</td>';
    }
    ?>
    \ No newline at end of file
TagsNo tags attached.

Relationships

has duplicate 0022911 closedatrol Make text in all columns clickable in "view_all_bug_page.php" 

Activities

vboctor

vboctor

2007-06-20 20:47

manager   ~0014786

I wouldn't mind this change if we do the following:

  1. Define a class which can be used for invisible hyper-linking. This means that we don't show the underline, the visited, etc. Only the Finger cursor.

  2. Associate this class with the hyper-linked summary.

I just think that the underlining, visited, etc will be distracting and will make the summaries less readable. I don't mind have a hover effect though.

marc

marc

2007-06-21 05:04

reporter   ~0014793

Yeah, I also found that very distracting.

I added this to the default.css:
a.summary { color: black; text-decoration: none; }

marc

marc

2007-08-03 09:33

reporter   ~0015332

and for the hover effect:
a.summary { color: black; text-decoration: none; }
a.summary:hover { color: blue; text-decoration: underline; }

marc

marc

2007-08-03 09:36

reporter   ~0015333

and the identical patch for the My View page:
--- mantis-1.0.7/core/my_view_inc.php 2005-08-07 15:42:04.000000000 +0200
+++ mantis-1.0.7_mine/core/my_view_inc.php 2007-07-25 16:25:04.000000000 +0200
@@ -251,6 +251,7 @@
<td class="left" valign="top" width="100%">
<span class="small">
<?php

  • echo '<a class="summary" href="', string_get_bug_view_url($v_id, null), '">';
    echo $t_summary;
    ?>
    <br />
    @@ -269,6 +270,7 @@
    } else {
    echo ' - ' . $t_last_updated;
    }
  • echo '</a>';
    ?>
    </span>
    </td>
marc

marc

2009-06-03 09:42

reporter   ~0022039

ping :)

marc

marc

2010-02-10 09:01

reporter   ~0024366

Last edited: 2010-02-10 09:11

This is a really small but very useful change, but open for more than 2 years now. Would it be possible that this makes it into 1.2 final?

atrol

atrol

2013-08-16 12:42

developer   ~0037884

Removed assignment. giallu will not contribute to this issue in near future.

Knubbi

Knubbi

2017-05-21 15:16

reporter   ~0056926

+1 for summary linking to issue.

The ID column could be removed to declutter "view_all_bug_page.php".

marc

marc

2017-05-22 13:35

reporter   ~0056940

Wow, 10 years old next month... I wonder if I should get it a Playstation or an XBox for its birthday? :)

Funnily enough, the "My View" already has clickable summaries...

dregad

dregad

2017-05-23 08:22

developer   ~0056946

I wonder if I should get it a Playstation or an XBox for its birthday?

@marc Please ship it to my home address, thank you :-D

Joke aside, I think it would be a useful enhancement, so if you're willing to do the legwork and provide a pull request against the master branch, I'm sure there's a pretty good chance to have this merged in time to celebrate its 10th birthday.

atrol

atrol

2017-11-13 11:50

developer   ~0058188

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

dregad

dregad

2021-02-10 12:49

developer   ~0065095

@marc just a few months short if it's 14th birthday ;-)

marc

marc

2021-02-10 14:22

reporter   ~0065096

Oh my! Does it have a boy/girlfriend yet? Tell it to be home at 10pm latest! :-)

Related Changesets

MantisBT: master 63b72786

2021-02-10 12:39:47

fuyun


Committer: community Details Diff
Clickable summaries in view issues page

Fixes 0008066, PR https://github.com/mantisbt/mantisbt/pull/1235
Affected Issues
0008066
mod - core/columns_api.php Diff File