Thanks Tones,

Yes  tasks are not fixed , calls are.

What i really want from this is to push tasks around calls, with tasks 
being tiddlers tagged "tasks" ,and calls tiddlers tagged "calls".

The idea was
You create a new tiddler tagged "task", with a start date value in a start 
date field and end date,value in and end date field
You go to a list which has all tasks and call tiddlers <-------  i can do 
this one :)
You get some visual queue that there is a conflict 
You hit a button , and the entire week schedule for tasks (and not calls) 
is pushed with the duration of the newly inserted task
The schedule push for tasks will inevitably cause new conflicts with calls, 
which the script should resolve in the same above mentioned manner

I have one question 
" All you need to store is the 
time frame they each take and the order in which they are listed,"   where 
and how  would you store information ?to use later for checks/comparisons ? 
i am asking because i can only use tiddly wiki at the moment to display 
information only, but not store it :(

also one more question, i have no codding background, what kind of 
information i should be reading to improve my ability for writing code in 
tiddly wiki , or perhaps for achieving this specific task i am after 

and finally, just out of curiosity if you know , are there people in the 
forum that can do work on commission? 
On Wednesday, July 14, 2021 at 4:51:00 AM UTC+2 TW Tones wrote:

> Mohamad,
>
> Unfortunately with this kind of project the "devil is in the details". 
> What I suggest before proceeding is to really think about what you want 
> from this. For example if inserting an item pushes future items away then 
> they were not really (fixed) scheduled but placed in a queue which you are 
> happy to reorder. All you need to store is the time frame they each take 
> and the order in which they are listed, and you can re-generate your time 
> spaced list.
>
> I wanted to do something similar so if I delay start of one activity, or 
> take longer/shorter in one task, this change is reflected in updating my 
> schedule. 
>
>
>    - What I suggest is create items with a date and the estimated length 
>    of task and maintain an ordered list of these. Simply determine the start 
>    and end times dynamically. Basically the last end time plus the length of 
>    the current.
>    - Any given booking could have an enforced start time and/or end times 
>    set, and you will need to handle the impact of these.
>    - One tip, is the smartest part of your computer or mobile, the 
>    operating system, tiddlywiki etc.. is still you. If you make it easy for 
>    yourself, visual etc... you can implement quite sophisticated methods 
>    yourself even without automation, and any way you may want control of your 
>    destiny.
>    - By the way don't be too preciouses about the hours as they relate to 
>    a date, you can just manage a separate hour field on a day in question.
>
> I will see if I can give this some further thought
> Tones
> On Wednesday, 14 July 2021 at 11:16:06 UTC+10 [email protected] 
> wrote:
>
>> Hi,
>>
>> OK , i confess, i cant hack this , i don't think i have the necessary 
>> skill to do what i want..
>>
>> what i really want  is a  schedule where i can scooch over appointments 
>> to fit one in between existing ones , I think it would be a useful tool for 
>> anyone who hectic scheduled and is constantly required to reschedule 
>> appointments ,calls or tasks
>>
>> so if you think this is easy  , or if you are remotely interested that 
>> would be great, if not, i am still very grateful for your help either way:)
>>
>> My Idea was displaying a weeks schedule in  a list filter where every 
>> tiddler listed is a task with a start field value and end date field value, 
>> and tagged "task"... which i can do easily
>>
>> then in parallel. have another schedule . again , represented in a list 
>> filter , but every tiddler listed is a "Call"with with a start date field 
>> value and and end date field value  , and tagged call
>>
>> and the whole idea is to have some mechanism to work as follows
>>
>> 1-if a call is added in a non vacant slot , then push all tasks with a 
>> value equal to the duration of the call 
>> 2-if a new task is added in a non vacant slot,   then push all tasks with 
>> a value equal to the duration of the task 
>>
>> where 
>> vacant slot = a time space where a tiddler can only hold a start date and 
>> an end date value that are not overlapping with in other tiddlers tagged 
>> call or  task
>> non vacant slot= a time space where an existing tiddler already occupies 
>> Duration of a call or duration of a  task =  is the difference between 
>> the start and end date field values
>> Tasks = tiddlers tagged task
>> Calls =  tiddlers tagged Call
>>
>> and
>>
>> calls cannot over lap with other calls 
>> tasks cannot over lap with other tasks
>> Calls cannot over lap with tasks
>>
>> also this all assumes there is a start and end and for a working 
>> day/week  IE. 9 to 5  excluding sat and sunday
>>
>> is this generally speaking achievable in tiddly wiki ?
>>
>>
>>
>> On Tuesday, July 13, 2021 at 12:05:56 AM UTC+2 paulgilbert2000 wrote:
>>
>>> Thanks again :)
>>>
>>> On Monday, July 12, 2021 at 4:07:08 AM UTC+2 Eric Shulman wrote:
>>>
>>>> On Sunday, July 11, 2021 at 2:07:23 PM UTC-7 [email protected] 
>>>> wrote:
>>>>
>>>>> 1-can i have this macro work for 2 fields at the same time , so same 
>>>>> button pushes an hour for 2 fields
>>>>>
>>>>
>>>> Just replicate the code to adjust each field, like this:
>>>> <$button> add an hour
>>>> <$vars time={{!!field1}} offset="+01:00">
>>>> <$wikify name="newtime" text=<<adjust_time>>>
>>>> <$action-setfield field1=<<newtime>> />
>>>> </$wikify>
>>>> </$vars>
>>>> <$vars time={{!!field2}} offset="+01:00">
>>>> <$wikify name="newtime" text=<<adjust_time>>>
>>>> <$action-setfield field2=<<newtime>> />
>>>> </$wikify>
>>>> </$vars>
>>>> </$button>
>>>>  
>>>>
>>>>> 2- can this work for all fields tagged a particular tag , so for 
>>>>> example list all tiddlers matching a criteria , then one push of a button 
>>>>> adds an hour to all listed tidlers
>>>>>
>>>>
>>>> The code works with a field from the current tiddler, so if you put it 
>>>> within a $list widget that finds all the desired tiddlers, it will update 
>>>> all the tiddlers with one button push:
>>>> <$button> add an hour
>>>> <$list filter="[tag[sometag]]">
>>>>    <$vars time={{!!somefield}} offset="+01:00">
>>>>    <$wikify name="newtime" text=<<adjust_time>>>
>>>>    <$action-setfield somefield=<<newtime>> />
>>>>    </$wikify>
>>>>    </$vars>
>>>> </$list>
>>>> </$button>
>>>>
>>>> enjoy,
>>>> -e 
>>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/65715284-e11a-4f66-9293-6ab23efb9e61n%40googlegroups.com.

Reply via email to