< 192016-10-20⋎21 >

farmOS (farmos.org) is a free open source, web-based farm management system, built on Drupal.Set by mstenta on 2016-07-29 at 15:37
01:25*JustTB1 has joined
01:27*JustTB has quit (Ping timeout: 260 seconds)
01:56*JustTB1 has quit (Quit: Leaving.)
05:04*kadaan_ is now known as kadaan_
10:19*kadaan has quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
10:20*kadaan has joined
10:20*kadaan has quit (Client Quit)
10:21*kadaan has joined
10:21*JustTB has joined
10:21*kadaan has quit (Client Quit)
13:54*JustTB has quit (Quit: Leaving.)
14:24*kadaan has joined
15:24kadaan@mstenta Sorry. Really busy with work right now and prepping for a mini vacation. Will get back to this.
15:24kadaanBTW, I think we will need to revise how we do log actions.
15:25kadaanIt would be nice if we could conditionally enable/disable bulk action buttons based on whether a task is done or not.
15:25kadaanSo that when tasks are not done, you can punch-in/punch-out.
15:25kadaanBut once done, you cannot.
15:28mstentakadaan: hmm interesting idea
15:28mstentakadaan: how about this... (something else i want to do, which may solve this too)...
15:28mstenta(finding issue..)
15:29mstentawww.drupal.org/node/2513056
15:29mstentaright now the log action buttons are ONLY available from the list views
15:29mstentabut they should also be included on the individual log pages themselves
15:30kadaanThat would be good
15:30mstentamaybe we could also add a bit of conditional logic to the buttons when they are displayed in the log pages - to determine which buttons should be displayed or not
15:30kadaanTotally
15:30mstentaie: if they already punched in, only show the punch out button, and vice versa
15:30kadaanThat would be really helpful.
15:30mstentaand don't show those buttons at all in the listing views... just the simpler ones...
15:30kadaanOnly show "undone" if "done"
15:31mstentayes!
15:31kadaanI think having the punch-in and out on the list view would be nice.
15:31mstentait might be a headache to try to change the way that the Views Bulk Operation module works - it doesn't provide conditional logic
15:31mstentabut maybe we could figure out a way... or roll our own solution
15:31kadaanIs it possible to do it on the overdue tasks and todays tasks?
15:32kadaanBy making it a button in the grid.
15:32mstentaoh maybe
15:32mstentayea, so for that we would create a new "Views field handler"
15:32kadaanCuz that seems most natural.
15:32kadaanGo to the tasks that are not done view.
15:32mstentaessentially a php class that makes it possible to add the button as a field in the view
15:32mstentai like that a lot
15:32kadaanYup
15:32kadaanIf it worked on the phone, even better
15:32mstentalet's add that idea to the brainstorm issue
15:32mstentayea, it should work fine on the phone
15:33mstentai sort of see the punch in/out buttons working via javascript - so they don't actually cause the page to reload - they just send an ajax request to the server in the backend telling it that the user started the clock
15:33mstentain that way, they are different than the VBO actions anyway
15:33mstentaso maybe they don't even need to be actions
15:34mstentawe'll see as we get into it
15:35mstentai'll add a comment to the issue so we remember...
15:35kadaanNo page refresh would be great
15:37mstentaalright i need to go do some outside work
15:37mstentaall good brainstorms!
15:38mstentai'm getting more and more excited about this feature!
15:38mstentai want to start using it myself :-)
15:38mstentatalk to you later!
15:38kadaanLater!
17:19*kadaan is now known as kadaan
18:18*kadaan_ is now known as kadaan_
22:07*kadaan has quit (Quit: Textual IRC Client: www.textualapp.com)
22:57*JustTB has joined

< 192016-10-20⋏21 >