Each section below outlines details for each script that can be installed in Roam via roam/js.
---
in header row of attribute table (1st column)
To install, do the same thing you do for any roam/js script.
[[roam/js]]
[[roam/js]]
now.{{[[roam/js]]}}
Code Block
JavaScript
Code Block
var s = document.createElement("script");
s.type = "text/javascript";
s.src = "https://gitmurf.github.io/roam-javascript/attr-tables-filter.js";
document.getElementsByTagName("head")[0].appendChild(s);
Detailed Instructions
General Demo
Setting Default Filters
I am keeping track of new ideas here: Attribute Table Filters - Backlog of Ideas / Features · Issue #5 · GitMurf/roam-javascript
v0.5.0
v0.4.8
v0.4.7
v0.4.6
v0.4.5
v0.3
Run this SmartBlock on any block to schedule/send it to a Kanban Agenda on any Daily Notes Page.
Full MP4 Demo (apologize for the choppy video): https://user-images.githubusercontent.com/64155612/108444821-34741c80-7210-11eb-890d-2b65a892a128.mp4
FIRST you must add the Kanban Agenda CSS to a roam/css code block. Get it from here: https://github.com/abhayprasanna/abhayprasanna.github.io/tree/master/kanban%20agenda#css
Next, copy the raw JS code from here: https://raw.githubusercontent.com/GitMurf/roam-javascript/master/kanban-agenda/kanban-agenda-sb.js
Finally, paste that code into this smartblock "shell" where it says //paste code here...
:
#42SmartBlock Kanban Agenda
<%JA:
```javascript
//paste code here from https://raw.githubusercontent.com/GitMurf/roam-javascript/master/kanban-agenda/kanban-agenda-sb.js```
%>
Should end up looking something like this:
Copy and paste the following ANYWHERE into your Roam Graph and change the #42Setting settings accordingly.
SETTINGS FOR #[[[[Kanban]] Agenda]]
#42Setting use24HourTime false
OPTIONS:
true
false
Desc: true = 15:00 / false = ^^3 PM^^
^^Default:^^ false
#42Setting addLeadingZero false
OPTIONS:
true
false
Desc: true = 03 PM / false = ^^3 PM^^ (does NOT apply to 24 hr time)
^^Default:^^ false
On Click
of Daily Agenda title: add "Date" + "Next Event" + "Events Remaining Count"{{[[roam/js]]}}
```javascript
var kaoc = document.createElement("script");
kaoc.type = "text/javascript";
kaoc.src = "https://gitmurf.github.io/roam-javascript/kanban-agenda/kanban-agenda-on-click.js";
document.getElementsByTagName("head")[0].appendChild(kaoc);
{{[[roam/js]]}}
```javascript
var kact = document.createElement("script");
kact.type = "text/javascript";
kact.src = "https://gitmurf.github.io/roam-javascript/kanban-agenda/kanban-agenda-current-time.js";
document.getElementsByTagName("head")[0].appendChild(kact);
This project is licensed under the MIT license - see the LICENSE file for details