View Issue Details

IDProjectCategoryView StatusLast Update
0028172mantisbtcustomizationpublic2021-04-24 06:43
Reporterronemjay Assigned Todregad  
PrioritynormalSeverityminorReproducibilityN/A
Status acknowledgedResolutionopen 
Product Version2.24.3 
Summary0028172: Change timeline notifications to show by day
Description

I'd like to show timeline notifications by day. With weekly notifications my users find it really time consuming to track what is happening daily, especially during a busy week.
Is it possible?
Kind regards.

TagsNo tags attached.

Activities

ronemjay

ronemjay

2021-04-09 06:01

reporter   ~0065357

Is it possible through Mantis BT configuration or do I need to write a plugin?
Thanks.

dregad

dregad

2021-04-09 11:55

developer   ~0065359

Unfortunately, the timeline interval is currently hardcoded.

This is probably something that could be parameterized (I'm thinking user-preference here).

Until then, you can easily customize this https://github.com/mantisbt/mantisbt/blob/release-2.25.0/core/timeline_inc.php#L42

ronemjay

ronemjay

2021-04-12 14:52

reporter   ~0065371

Noted, thank you for the reply.
So, does the 7 imply 7 days?

dregad

dregad

2021-04-13 04:34

developer   ~0065373

does the 7 imply 7 days?

Yes.

But actually, changing that 7 is not enough - you also need to change it at lines 89 and 93 to make it work.

This should really be a constant and not a hardcoded value.

ronemjay

ronemjay

2021-04-23 02:00

reporter   ~0065424

Noted. Thanks!

ronemjay

ronemjay

2021-04-24 06:43

reporter   ~0065429

Hi,
I implemented the changes and they worked a treat. Thanks!