Modify

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#8281 closed defect (fixed)

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

Reported by: Ryan J Ollos Owned by: Ryan J Ollos
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 Ryan J Ollos 6 years ago.
ListSavedQueries.png (30.8 KB) - added by Ryan J Ollos 6 years ago.
PreviousWeekQuery.png (16.1 KB) - added by Ryan J Ollos 6 years ago.

Download all attachments as: .zip

Change History (10)

Changed 6 years ago by Ryan J Ollos

Attachment: SaveQuery.png added

Changed 6 years ago by Ryan J Ollos

Attachment: ListSavedQueries.png added

Changed 6 years ago by Ryan J Ollos

Attachment: PreviousWeekQuery.png added

comment:1 Changed 6 years ago by Ryan J Ollos

Priority: normalhigh

comment:2 Changed 6 years ago by Ryan J Ollos

Status: newassigned

comment:3 Changed 6 years ago by Ryan J Ollos

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 6 years ago by Ryan J Ollos

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

comment:5 Changed 6 years ago by Ryan J Ollos

(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 6 years ago by Ryan J Ollos

Resolution: fixed
Status: assignedclosed

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

comment:7 Changed 6 years ago by Ryan J Ollos

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

Modify Ticket

Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.