You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
207 lines
2.6 KiB
207 lines
2.6 KiB
---
|
|
|
|
Alias: ["Dashboard"]
|
|
Date: 2021-11-20
|
|
DocType: "Note"
|
|
ChildrenType: ["Task", "Note"]
|
|
Hierarchy: "Root"
|
|
TimeStamp:
|
|
location:
|
|
CollapseMetaTable: Yes
|
|
|
|
---
|
|
|
|
Parent:: [[Life Admin]]
|
|
|
|
---
|
|
|
|
 
|
|
|
|
```button
|
|
name Create Note
|
|
type append template
|
|
action NewFile
|
|
id CreateNote
|
|
```
|
|
^button-DailytrackerNewTask
|
|
|
|
```button
|
|
name Save
|
|
type command
|
|
action Save current file
|
|
id Save
|
|
```
|
|
^button-DailytrackerSave
|
|
|
|
 
|
|
|
|
```jsx:
|
|
<center><Clock /></center>
|
|
```
|
|
|
|
 
|
|
|
|
```jsx:
|
|
import { Canvas, useFrame } from 'https://cdn.skypack.dev/@react-three/fiber'
|
|
|
|
function Box(props) {
|
|
|
|
const mesh = useRef()
|
|
|
|
const [hovered, setHover] = useState(false)
|
|
const [active, setActive] = useState(false)
|
|
|
|
useFrame((state, delta) => (mesh.current.rotation.x += 0.01))
|
|
|
|
return (
|
|
<mesh
|
|
{...props}
|
|
ref={mesh}
|
|
scale={active ? 1.5 : 1}
|
|
onClick={(event) => setActive(!active)}
|
|
onPointerOver={(event) => setHover(true)}
|
|
onPointerOut={(event) => setHover(false)}
|
|
>
|
|
<boxGeometry args={[1, 1, 1]} />
|
|
<meshStandardMaterial color={hovered ? 'hotpink' : 'orange'} />
|
|
</mesh>
|
|
)
|
|
}
|
|
<Canvas>
|
|
<ambientLight />
|
|
<pointLight position={[10, 10, 10]} />
|
|
<Box position={[-3.2, 0, 0]} />
|
|
<Box position={[-1.2, 0, 0]} />
|
|
<Box position={[1.2, 0, 0]} />
|
|
<Box position={[3.2, 0, 0]} />
|
|
</Canvas>
|
|
```
|
|
|
|
 
|
|
|
|
# Main dashboard
|
|
|
|
 
|
|
|
|
```ad-abstract
|
|
title: Summary
|
|
collapse: open
|
|
This space is the main dashboard of my vault.
|
|
==WIP==
|
|
- React stuff?
|
|
```
|
|
|
|
 
|
|
|
|
```toc
|
|
style: number
|
|
```
|
|
|
|
 
|
|
|
|
---
|
|
|
|
 
|
|
|
|
### Next 5 birthdays
|
|
|
|
 
|
|
|
|
```tasks
|
|
not done
|
|
path includes Family
|
|
description includes :birthday:
|
|
limit to 5 tasks
|
|
sort by due
|
|
hide backlink
|
|
hide task count
|
|
```
|
|
|
|
 
|
|
|
|
---
|
|
|
|
 
|
|
|
|
### Task management
|
|
|
|
 
|
|
|
|
#### Main Tasks
|
|
|
|
```dataviewjs
|
|
const {taskFunc} = customJS
|
|
taskFunc.getAllTasks({app, dv, luxon, that:this, theme: "LifeHacks"})
|
|
```
|
|
|
|
 
|
|
|
|
#### Next 5 recurring to-dos
|
|
|
|
```tasks
|
|
not done
|
|
is recurring
|
|
description does not include :birthday:
|
|
sort by due
|
|
limit to 5 tasks
|
|
hide backlinks
|
|
hide task count
|
|
```
|
|
|
|
 
|
|
|
|
#### Next 5 one-off to-dos
|
|
|
|
```tasks
|
|
not done
|
|
is not recurring
|
|
path does not include Templates
|
|
limit to 5 tasks
|
|
hide backlinks
|
|
hide task count
|
|
```
|
|
|
|
 
|
|
|
|
---
|
|
|
|
 
|
|
|
|
### Current reading
|
|
|
|
 
|
|
|
|
```dataview
|
|
Table without id "" as "Cover", file.link as "Title", Source.Author as "Author", Source.Published as "Publication Date", Source.Language as "Language"
|
|
where Source.Type = "Book"
|
|
where ReadingState = "In progress"
|
|
```
|
|
|
|
 
|
|
|
|
---
|
|
|
|
 
|
|
|
|
### 3 Recipe ideas to try
|
|
|
|
 
|
|
|
|
`dice: 3d#NotYetTested|link`
|
|
`dice: 3d#NotYetTested|link`
|
|
`dice: 3d#NotYetTested|link`
|
|
|
|
 
|
|
|
|
---
|
|
|
|
 
|
|
|
|
### Obsidian Activity
|
|
|
|
```ActivityHistory
|
|
/
|
|
```
|
|
|
|
 
|
|
  |