| 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:24 | kadaan | @mstenta Sorry. Really busy with work right now and prepping for a mini vacation. Will get back to this. |
| 15:24 | kadaan | BTW, I think we will need to revise how we do log actions. |
| 15:25 | kadaan | It would be nice if we could conditionally enable/disable bulk action buttons based on whether a task is done or not. |
| 15:25 | kadaan | So that when tasks are not done, you can punch-in/punch-out. |
| 15:25 | kadaan | But once done, you cannot. |
| 15:28 | mstenta | kadaan: hmm interesting idea |
| 15:28 | mstenta | kadaan: how about this... (something else i want to do, which may solve this too)... |
| 15:28 | mstenta | (finding issue..) |
| 15:29 | mstenta | www.drupal.org/node/2513056 |
| 15:29 | mstenta | right now the log action buttons are ONLY available from the list views |
| 15:29 | mstenta | but they should also be included on the individual log pages themselves |
| 15:30 | kadaan | That would be good |
| 15:30 | mstenta | maybe 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:30 | kadaan | Totally |
| 15:30 | mstenta | ie: if they already punched in, only show the punch out button, and vice versa |
| 15:30 | kadaan | That would be really helpful. |
| 15:30 | mstenta | and don't show those buttons at all in the listing views... just the simpler ones... |
| 15:30 | kadaan | Only show "undone" if "done" |
| 15:31 | mstenta | yes! |
| 15:31 | kadaan | I think having the punch-in and out on the list view would be nice. |
| 15:31 | mstenta | it might be a headache to try to change the way that the Views Bulk Operation module works - it doesn't provide conditional logic |
| 15:31 | mstenta | but maybe we could figure out a way... or roll our own solution |
| 15:31 | kadaan | Is it possible to do it on the overdue tasks and todays tasks? |
| 15:32 | kadaan | By making it a button in the grid. |
| 15:32 | mstenta | oh maybe |
| 15:32 | mstenta | yea, so for that we would create a new "Views field handler" |
| 15:32 | kadaan | Cuz that seems most natural. |
| 15:32 | kadaan | Go to the tasks that are not done view. |
| 15:32 | mstenta | essentially a php class that makes it possible to add the button as a field in the view |
| 15:32 | mstenta | i like that a lot |
| 15:32 | kadaan | Yup |
| 15:32 | kadaan | If it worked on the phone, even better |
| 15:32 | mstenta | let's add that idea to the brainstorm issue |
| 15:32 | mstenta | yea, it should work fine on the phone |
| 15:33 | mstenta | i 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:33 | mstenta | in that way, they are different than the VBO actions anyway |
| 15:33 | mstenta | so maybe they don't even need to be actions |
| 15:34 | mstenta | we'll see as we get into it |
| 15:35 | mstenta | i'll add a comment to the issue so we remember... |
| 15:35 | kadaan | No page refresh would be great |
| 15:37 | mstenta | alright i need to go do some outside work |
| 15:37 | mstenta | all good brainstorms! |
| 15:38 | mstenta | i'm getting more and more excited about this feature! |
| 15:38 | mstenta | i want to start using it myself :-) |
| 15:38 | mstenta | talk to you later! |
| 15:38 | kadaan | Later! |
| 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 |