Modify

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#8281 closed defect (fixed)

Add contextual navigation links and improve the layout of the Hours page

Reported by: rjollos Owned by: rjollos
Priority: high Component: TracHoursPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

As in #8262:

  • The Cross-project hours page (/hours/multiproject) should have a Back to Hours link in the contextual navigation.
  • The User hours page (/hours/user) should have a Back to Hours link in the contextual navigation. The Query Hours link at the bottom of the page should be removed since it provides the same functionality as the contextual navigation link.
  • The List Saved Queries page (/hours/query/list) should have a Back to Hours link in the contextual navigation.

Also:

  • The link List Saved Queries on the Hours page should be moved to the contextual navigation and named Saved Queries.

  • On the Hours and User Hours pages, the queries for the most recent week should be preceded by a line break.

  • The Save Query button should be moved below the table of query results, to agree with the layout of the query page.

Attachments (3)

SaveQuery.png (30.4 KB) - added by rjollos 4 years ago.
ListSavedQueries.png (30.8 KB) - added by rjollos 4 years ago.
PreviousWeekQuery.png (16.1 KB) - added by rjollos 4 years ago.

Download all attachments as: .zip

Change History (10)

Changed 4 years ago by rjollos

Changed 4 years ago by rjollos

Changed 4 years ago by rjollos

comment:1 Changed 4 years ago by rjollos

  • Priority changed from normal to high

comment:2 Changed 4 years ago by rjollos

  • Status changed from new to assigned

comment:3 Changed 4 years ago by rjollos

Progress (not checked-in yet):

  • Decided against putting Back to Hours links on the various pages because the use can just click on the mainnav Hours entry. I might reconsider this later since my Hours navigation link is in a menu (Project > Hours), as enabled by the MenusPlugin.
  • The Hours page now have links for Cross-Project Hours, Hours by User and Saved Queries, as well as Prev Week / Next Navigation for setting the dates (not fully functional yet).
  • Prev / Next Week Navigation will also be added to the Cross-Project Hours, Hours by User pages.
  • The Save Query button on the Hours page was moved, but needs to be better positioned and is broken in Trac 0.12.

Additional work:

  • The template layouts need to be improved, as was done for the Hours page in #8262, particularly the Saved Queries page.

Note to self: Version numbers have not been bumped in last several check-ins. Bump version numbers on completion of this ticket.

comment:4 Changed 4 years ago by rjollos

Also: maintainer needs to be changed in setup.py on the branches (merge from trunk).

comment:5 Changed 4 years ago by rjollos

(In [9707]) Refs #8281:

  • Hours page: Added previous / next contextual navigation links for navigating weeks.
  • Hours page: Moved links to 'Cross-Project Hours', 'Hours by User' and 'Saved Queries' to the contextual navigation.
  • Hours page: Made position of 'Save query' button consistent with the 'Custom Query' page.

comment:6 Changed 4 years ago by rjollos

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [9737]) Merged [9707] from trunk to branches/0.11 and branches/0.12. Fixes #8281.

comment:7 Changed 4 years ago by rjollos

(In [9738]) Should have been part of [9737]. Refs #8281.

Add Comment

Modify Ticket

Action
as closed The owner will remain rjollos.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.