View Issue Details

IDProjectCategoryView StatusLast Update
0008066mantisbtbugtrackerpublic2017-11-13 11:50
ReportermarcAssigned To 
PrioritynormalSeveritytweakReproducibilityalways
Status newResolutionopen 
Product Version1.0.7 
Target VersionFixed in Version 
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;
    ?>


    @@ -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

View 2 revisions

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

Issue History

Date Modified Username Field Change
2007-06-15 11:03 marc New Issue
2007-06-20 20:47 vboctor Note Added: 0014786
2007-06-21 05:04 marc Note Added: 0014793
2007-07-24 07:04 giallu Status new => assigned
2007-07-24 07:04 giallu Assigned To => giallu
2007-08-03 09:33 marc Note Added: 0015332
2007-08-03 09:36 marc Note Added: 0015333
2009-06-03 09:42 marc Note Added: 0022039
2010-02-10 09:01 marc Note Added: 0024366
2010-02-10 09:11 marc Note Edited: 0024366 View Revisions
2013-08-16 12:42 atrol Note Added: 0037884
2013-08-16 12:42 atrol Assigned To giallu =>
2013-08-16 12:42 atrol Status assigned => new
2017-05-21 15:03 atrol Relationship added has duplicate 0022911
2017-05-21 15:16 Knubbi Note Added: 0056926
2017-05-22 13:35 marc Note Added: 0056940
2017-05-23 08:22 dregad Note Added: 0056946
2017-11-13 11:50 atrol Note Added: 0058188