Flyspray - The bug killer!

  • Status Assigned
  • Percent Complete
    0%
  • Task Type Feature Request
  • Category Backend/Core
  • Assigned To
    peterdd
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version 1.0 devel (github master)
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Flyspray - The bug killer!
Opened by Jugaru Gabi - 08.12.2017
Last edited by peterdd - 14.12.2017

FS#2451 - Mod: blank Category - user must chose before pressing Add this task button

Hello Peter,

I am interested in making the following mod:

When posting a new task, category should be blank by default, in order for the user that opens a new task to select that specific category.
If he doesn’t select any task, when pressing Add this task button, FlySpray should display an error message saying that the Category hasn’t been specified.

Do you think this mod can be made with the current version?
If so, do you mind if you help me a bit with the things that need to be modified?

Thanks!

Project Manager
peterdd commented on 14.12.2017 00:37

I think this can be done with 2 small changes:

category_id allowed and validity checks in includes/modify.inc.php (only newtask form request)
or class.backend.php (for every: newtask, multipletasks, (API, ..))

This is Flyspray core developers part and it should be done for 1.0-rc7, regardless of this feature request. (I played a bit around and I consider that as bug.)

and a template change:

yoursubtheme/templates/newtask.tpl (optional for your case: changing the resulting html for the category select a little bit), for instances by using a sub theme newtask.tpl or if everybody think it is better than it is currently it can be changed in the default CleanFS/templates/newtask.tpl too.)

Jugaru Gabi commented on 14.12.2017 15:56

Do you think Devs will implement this fix in the rc7?
Because I find it a bit difficult to change these settings all by myself. :)

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing