| [21:25:07] | * JustTB1 has joined #farmos |
| [21:27:20] | * JustTB has quit (Ping timeout: 260 seconds) |
| [21:56:18] | * JustTB1 has quit (Quit: Leaving.) |
| [01:04:27] | * kadaan_ is now known as kadaan |
| [06:19:24] | * kadaan has quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| [06:20:31] | * kadaan has joined #farmos |
| [06:20:57] | * kadaan has quit (Client Quit) |
| [06:21:24] | * kadaan has joined #farmos |
| [06:21:42] | * JustTB has joined #farmos |
| [06:21:45] | * kadaan has quit (Client Quit) |
| [09:54:04] | * JustTB has quit (Quit: Leaving.) |
| [10:24:44] | * kadaan has joined #farmos |
| [11:24:02] | <kadaan> | @mstenta Sorry. Really busy with work right now and prepping for a mini vacation. Will get back to this. |
| [11:24:24] | <kadaan> | BTW, I think we will need to revise how we do log actions. |
| [11:25:08] | <kadaan> | It would be nice if we could conditionally enable/disable bulk action buttons based on whether a task is done or not. |
| [11:25:33] | <kadaan> | So that when tasks are not done, you can punch-in/punch-out. |
| [11:25:42] | <kadaan> | But once done, you cannot. |
| [11:28:23] | <mstenta> | kadaan: hmm interesting idea |
| [11:28:42] | <mstenta> | kadaan: how about this... (something else i want to do, which may solve this too)... |
| [11:28:48] | <mstenta> | (finding issue..) |
| [11:29:10] | <mstenta> | https://www.drupal.org/node/2513056 |
| [11:29:23] | <mstenta> | right now the log action buttons are ONLY available from the list views |
| [11:29:38] | <mstenta> | but they should also be included on the individual log pages themselves |
| [11:30:14] | <kadaan> | That would be good |
| [11:30:17] | <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 |
| [11:30:31] | <kadaan> | Totally |
| [11:30:31] | <mstenta> | ie: if they already punched in, only show the punch out button, and vice versa |
| [11:30:41] | <kadaan> | That would be really helpful. |
| [11:30:53] | <mstenta> | and don't show those buttons at all in the listing views... just the simpler ones... |
| [11:30:58] | <kadaan> | Only show "undone" if "done" |
| [11:31:05] | <mstenta> | yes! |
| [11:31:21] | <kadaan> | I think having the punch-in and out on the list view would be nice. |
| [11:31:32] | <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 |
| [11:31:45] | <mstenta> | but maybe we could figure out a way... or roll our own solution |
| [11:31:50] | <kadaan> | Is it possible to do it on the overdue tasks and todays tasks? |
| [11:32:02] | <kadaan> | By making it a button in the grid. |
| [11:32:08] | <mstenta> | oh maybe |
| [11:32:17] | <mstenta> | yea, so for that we would create a new "Views field handler" |
| [11:32:20] | <kadaan> | Cuz that seems most natural. |
| [11:32:31] | <kadaan> | Go to the tasks that are not done view. |
| [11:32:32] | <mstenta> | essentially a php class that makes it possible to add the button as a field in the view |
| [11:32:37] | <mstenta> | i like that a lot |
| [11:32:39] | <kadaan> | Yup |
| [11:32:51] | <kadaan> | If it worked on the phone, even better |
| [11:32:52] | <mstenta> | let's add that idea to the brainstorm issue |
| [11:32:59] | <mstenta> | yea, it should work fine on the phone |
| [11:33:35] | <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 |
| [11:33:46] | <mstenta> | in that way, they are different than the VBO actions anyway |
| [11:33:54] | <mstenta> | so maybe they don't even need to be actions |
| [11:34:02] | <mstenta> | we'll see as we get into it |
| [11:35:14] | <mstenta> | i'll add a comment to the issue so we remember... |
| [11:35:57] | <kadaan> | No page refresh would be great |
| [11:37:49] | <mstenta> | alright i need to go do some outside work |
| [11:37:59] | <mstenta> | all good brainstorms! |
| [11:38:13] | <mstenta> | i'm getting more and more excited about this feature! |
| [11:38:19] | <mstenta> | i want to start using it myself :-) |
| [11:38:28] | <mstenta> | talk to you later! |
| [11:38:56] | <kadaan> | Later! |
| [13:19:06] | * kadaan is now known as kadaan_ |
| [14:18:49] | * kadaan_ is now known as kadaan |
| [18:07:01] | * kadaan has quit (Quit: Textual IRC Client: www.textualapp.com) |
| [18:57:16] | * JustTB has joined #farmos |