View Issue Details

IDProjectCategoryView StatusLast Update
667RackTablesdefaultpublic2018-11-14 14:51
Reportergrin Assigned Toinfrastation  
PrioritylowSeveritytrivialReproducibilityN/A
Status closedResolutionfixed 
Product Version0.20.1 
Target Version0.20.2Fixed in Version0.20.2 
Summary667: I am too lazy to search for keys :-) why not display them in the config section anyway?
DescriptionShow keys used for config (like default port creation etc.)
Additional InformationPatch attached.
TagsNo tags attached.
Attached Files
showkey.diff (970 bytes)   
diff -r 078113670d4c inc/interface.php
--- a/inc/interface.php	Thu Nov 15 09:18:27 2012 +0100
+++ b/inc/interface.php	Thu Nov 15 10:07:07 2012 +0100
@@ -3982,8 +3982,8 @@
 	$refcnt = getChapterRefc ($tgt_chapter_no, array_keys ($words));
 	$attrs = getChapterAttributes($tgt_chapter_no);
 	echo "<br><table class=cooltable border=0 cellpadding=5 cellspacing=0 align=center>\n";
-	echo "<tr><th colspan=3>${wc} record(s)</th></tr>\n";
-	echo "<tr><th>Origin</th><th>Refcnt</th><th>Word</th></tr>\n";
+	echo "<tr><th colspan=4>${wc} record(s)</th></tr>\n";
+	echo "<tr><th>Origin</th><th>Refcnt</th><th>Word</th><th>key</th></tr>\n";
 	$order = 'odd';
 	foreach ($words as $key => $value)
 	{
@@ -4017,7 +4017,7 @@
 			else
 				echo $refcnt[$key];
 		}
-		echo "</td><td><div title='key=${key}'>${value}</div></td></tr>\n";
+		echo "</td><td><div title='key=${key}'>${value}</div></td><td>${key}</td></tr>\n";
 		$order = $nextorder[$order];
 	}
 	echo "</table>\n<br>";
showkey.diff (970 bytes)   

Activities

infrastation

infrastation

2012-11-21 22:34

administrator   ~0000993

The key is already displayed on a mouse hover, would that do the job?
grin

grin

2012-11-22 16:53

reporter   ~0000997

Before I answer, two questions:

1) what do you think, is it possible to be unaware of the hover text if I have created the attached patch modifying the very same html line with the aforementioned text? :-)

2) could you please share how would you search for a given key if it is only in the mouseover? ;) [searching in the html source is cheating [and ugly]]
infrastation

infrastation

2012-11-24 14:55

administrator   ~0001011

OK, there's the use for the dict_key value (on both the View and Edit tabs), but then perhaps the hover hint should be removed?
grin

grin

2012-12-02 21:48

reporter   ~0001021

I was pondering on this but wasn't able to decide. I guess it's not much of a use this way, it could be freely removed.

Issue History

Date Modified Username Field Change
2012-11-15 10:08 grin New Issue
2012-11-15 10:08 grin File Added: showkey.diff
2012-11-15 10:14 grin Tag Attached: patch
2012-11-21 22:34 infrastation Note Added: 0000993
2012-11-22 16:53 grin Note Added: 0000997
2012-11-24 14:55 infrastation Note Added: 0001011
2012-11-24 14:55 infrastation Assigned To => infrastation
2012-11-24 14:55 infrastation Status new => assigned
2012-12-01 14:58 infrastation Status assigned => feedback
2012-12-02 21:48 grin Note Added: 0001021
2012-12-02 21:48 grin Status feedback => assigned
2012-12-15 15:43 infrastation Status assigned => closed
2012-12-15 15:43 infrastation Resolution open => fixed
2012-12-15 15:43 infrastation Fixed in Version => 0.20.2
2012-12-15 15:43 infrastation Target Version => 0.20.2
2018-11-14 14:51 infrastation Tag Detached: patch