te-online / timemanager

TimeManager App within Nextcloud to manage time tracking.
GNU Affero General Public License v3.0
98 stars 19 forks source link

Proposal: quick links in entries in Latest time entries #181

Open raph-topo opened 3 months ago

raph-topo commented 3 months ago

Where

Dashboard > Latest time entries

Context

https://github.com/te-online/timemanager/blob/05a8bc288b9a117a9ba7b29bd286fb0548d49b29/templates/partials/latest.php#L23-L47

Proposal

Wrap each of the following in an <a href="">[…]</a>: link <?php p($entry->client->getName()); ?> to that client's projects (/timemanager/projects?client=) link <?php p($entry->project->getName()); ?> to that project's tasks (/timemanager/tasks?project=) link <?php p($entry->task->getName()); ?> to that task's entries (/timemanager/times?task=) make clicking <div class="tm_item-excerpt">[…]</div> open the popup to edit the task (equivalent to Edit button in Time entries)

te-online commented 3 months ago

Yes, that is a great idea 😊

I have very limited time right now, would you mind opening a PR for (some of) these changes?

te-online commented 3 months ago

Duplicate of #171

raph-topo commented 3 months ago

I'd be very happy to help by a PR, but I don't know your code base & the frameworks used yet, to say if I'd be able to.