SmartBlocks icon indicating copy to clipboard operation
SmartBlocks copied to clipboard

Delta Commands and customizing their intervals

Open TfTHacker opened this issue 4 years ago • 3 comments

✂️ Copy of your #42SmartBlock from Roam

  • Delta Review Blocks
    
    • #42SmartBlock Delta ∆ - 1. Review Daily
      
      •  <%CONCAT:{,{,[,[%>∆]]:1+0}}
        
    • #42SmartBlock Delta ∆ - 2. Review every X days
      
      •  <%CONCAT:{,{,[,[%>∆]]:<%INPUT:How often do you want to review this? Type the number of days between review:%>+0}}
        
    • #42SmartBlock Delta ∆ - 3. Review every X days, increment by Y days after each review
      
      • <%SET:XDays,<%INPUT:Review this every X days%>%><%NOBLOCKOUTPUT%>
        
      • <%SET:YDays,<%INPUT:Review this every <%GET:XDays%> days and increment that by Y days after each review%>%><%NOBLOCKOUTPUT%>
        
      •  <%CONCAT:{,{,[,[%>∆]]:<%GET:XDays%>+<%GET:YDays%>}}
        
    • #42SmartBlock List all ∆’s (Deltas)
      
      • <%PAGE%>
        <%BLOCKMENTIONS:100,∆%>
        

📋 Describe the SmartBlock

SmartBlocks to make working with Delta Commands easier and to customize their intervals based on input

📷 Screenshot of your #42SmartBlock workflow/template from Roam

2021-01-07 12_28_06-Window

YouTube Video: https://youtube.com/embed/ZystsC1TOP4

TfTHacker avatar Jan 07 '21 11:01 TfTHacker

Would it be possible to produce a version of "List all Deltas" that are on Daily Notes pages prior to today and that have not been {{[[r/moved]]}}?

roytemple avatar Jan 08 '21 09:01 roytemple

@roytemple Here is a SmartBlock to generate the appropriate query using yesterdays date:

  • #42SmartBlock Overdue uncompleted Deltas
    
    • <%CONCAT:{%>{[[query]]: {and: <%CONCAT:[,%>[∆]] {NOT:query {between: [[January 1st, 2020]] <%DATE:yesterday%>]}}}}}
      

image

TfTHacker avatar Jan 10 '21 20:01 TfTHacker

Thanks so much. That's awesome.

roytemple avatar Jan 11 '21 01:01 roytemple