Edgewall Software
Modify

Opened 18 years ago

Closed 15 years ago

Last modified 12 years ago

#2911 closed defect (fixed)

There should be a way to disable the help links

Reported by: clee@… Owned by: Christian Boos
Priority: low Milestone: 1.0
Component: general Version: 0.9.4
Severity: normal Keywords: help
Cc: Branch:
Release Notes:

New user preference for controlling the verbosity of the UI: Don't show the various help links.

API Changes:
Internal Changes:

Description

I would like to see some sort of a way to disable the little informational "Note:" text at the bottom of pages like the Roadmap and the Newticket pages.

Something as simple as a small circular button with an 'x' inside it that stored a cookie or something would be fine with me.

Attachments (0)

Change History (12)

comment:1 by Christian Boos, 18 years ago

Owner: changed from Jonas Borgström to Christian Boos
Priority: normallow
Severity: normalminor

| Something as simple as a small circular button with an 'x' inside it that stored a cookie or something would be fine with me.

I must lack coffee this morning, but I've no idea what you're talking about … :)

A more concrete implementation for this would be a global TracIni setting

[trac]
help_notes = off

and the templates could output the Note: block conditionally:

  • trac/web/main.py

     
    6868    hdf['trac'] = {
    6969        'version': __version__,
    7070        'time': format_datetime(),
    71         'time.gmt': http_date()
     71        'time.gmt': http_date(),
     72        'help_notes': env.config.getbool('trac', 'help_notes')
    7273    }
    7374    hdf['trac.href'] = {
    7475        'wiki': env.href.wiki(),
  • templates/roadmap.cs

     
    7777  </div><?cs
    7878 /if ?>
    7979
     80<?cs if:help_notes ?>
    8081 <div id="help">
    8182  <strong>Note:</strong> See <a href="<?cs
    8283    var:trac.href.wiki ?>/TracRoadmap">TracRoadmap</a> for help on using the roadmap.
    8384 </div>
     85<?cs /if ?>
    8486
    8587</div>
    8688<?cs include:"footer.cs"?>

comment:2 by Christopher Lenz, 18 years ago

Milestone: 0.12
Summary: There should be a way to disable the "Note:"sThere should be a way to disable the help links

This should be part of the “Better help/documentation system” item that's planned for 0.12. I'm not in favor of adding extra conditionals cruft to every controller and template for this.

comment:3 by clee@…, 18 years ago

So what I'm talking about is, currently, the 'Note:' text looks like this:

<strong>Note:</strong> This is an annoying note that you'll see every time you look at this page!

I would really like it if, for each 'Note', there was a small icon, maybe like the small circular 'X' icon in this image: http://www.maven.de/pics/dsl6k.png - clicking on the icon would set a cookie on your machine which would make that 'Note:' always hidden.

in reply to:  3 ; comment:4 by Christian Boos, 17 years ago

Keywords: help added

Replying to clee@c133.org:

So what I'm talking about is, currently, the 'Note:' text looks like this:

<strong>Note:</strong> This is an annoying note that you'll see every time you look at this page!

This could probably removed from the output by a filter, the same way we filtered out the access keys in 0.11.

in reply to:  4 comment:5 by osimons, 16 years ago

Replying to cboos:

This could probably removed from the output by a filter, the same way we filtered out the access keys in 0.11.

Like this in a site.html template:

<div py:match="div[@id='content']//div[@id='help']" py:attrs="select('@*')">
  <!-- All help notes are removed from this site... -->
</div>

With 0.11 and Genshi, I really see no need to add code to Trac to support the removal of these messages. I propose closing as wontfix.

comment:6 by osimons, 16 years ago

Owner: changed from Christian Boos to osimons

I do hope that snippet doesn't remove unexpected things - please use with care :-)

comment:7 by Christian Boos, 16 years ago

Milestone: 0.130.12

comment:8 by Christian Boos, 15 years ago

Milestone: 0.12
Resolution: wontfix
Status: newclosed

I never felt like the help links went into the way, and I still use them occasionally.

If this is nevertheless a problem for some people, the recipe in comment:5 should do.

comment:9 by Christian Boos, 12 years ago

Milestone: 1.0
Owner: changed from osimons to Christian Boos
Release Notes: modified (diff)
Severity: minornormal

Btw, this has been implemented for 1.0.

comment:10 by Christian Boos, 12 years ago

Resolution: wontfixfixed

In r11377.

comment:11 by Peter Suter, 12 years ago

comment:12 by Christian Boos, 12 years ago

Hm, yes, copy/pasto ;-)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christian Boos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christian Boos to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.