Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
SoRobby committed Jul 24, 2023
1 parent 119a524 commit dddd9b0
Show file tree
Hide file tree
Showing 14 changed files with 240 additions and 86 deletions.
3 changes: 2 additions & 1 deletion Vault/.obsidian/appearance.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"enabledCssSnippets": [
"Custom style",
"Multi columns",
"tailwind"
"tailwind",
"Pinned Pages"
],
"baseFontSize": 16
}
3 changes: 3 additions & 0 deletions Vault/.obsidian/snippets/Pinned Pages.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.pinned-pages .markdown-preview-sizer .inline-title {
display:none;
}
32 changes: 0 additions & 32 deletions Vault/.obsidian/snippets/navbar.css

This file was deleted.

71 changes: 33 additions & 38 deletions Vault/.obsidian/workspace.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,16 @@
"type": "split",
"children": [
{
"id": "60812d65863c82df",
"type": "tabs",
"children": [
{
"id": "da68bb9d59308ad3",
"type": "leaf",
"state": {
"type": "markdown",
"state": {
"file": "Dashboard.md",
"mode": "preview",
"source": false
}
}
"id": "f43c07561a509078",
"type": "leaf",
"state": {
"type": "markdown",
"state": {
"file": "Dashboard.md",
"mode": "preview",
"source": false
}
]
}
}
],
"direction": "vertical"
Expand Down Expand Up @@ -151,14 +145,33 @@
"omnisearch:Omnisearch": false
}
},
"active": "da68bb9d59308ad3",
"active": "f43c07561a509078",
"lastOpenFiles": [
"README.md",
"Notes/Notes Dashboard.md",
"Dashboard.md",
"Element Structure and Formats.md",
"_data_/pinned/Tasks.md",
"_data_/pinned/Sidebar Navigation.md",
"Projects/Projects.md",
"Projects/Top Secret Project/Home.md",
"_data_/pinned/Untitled",
"_data_/media/banners/banner-personal-01.jpg",
"_data_/media/banners/cosmic-dawn-initiative.png",
"_data_/media/banners/cosmic-dawn-initiative.png",
"_data_/media/banners/banner-personal-02.jpg",
"_data_/media/banners/banner-proprietary-01.jpg",
"_data_/media/banners/banner-proprietary-02.jpg",
"Inbox.md",
"Projects/Top Secret Project/Tasks.md",
"Projects/Top Secret Project/References.md",
"Projects/Top Secret Project/Notes/All Notes.md",
"Projects/Top Secret Project/Meetings/All Meetings.md",
"Projects/Top Secret Project/Notes",
"Projects/Top Secret Project/Meetings",
"Projects/Top Secret Project",
"README.md",
"_data_/media/dashboard-preview.png",
"_data_/media/255020736-42c6f878-46e3-4602-9224-5d92918bef07.png",
"Element Structure and Formats.md",
"Dashboard.md",
"_data_/templates/development/get_page_title.md",
"_data_/templates/development/Index Space.md",
"_data_/templates/development/Dashboard list page.md",
Expand All @@ -168,35 +181,17 @@
"_data_/templates/dataview/Insert navigation bar.md",
"_data_/templates/dataview/List installed plugins.md",
"Test.md",
"Projects/Projects.md",
"Projects/Testerz/Home.md",
"Projects/Testerz/Tasks.md",
"Projects/Testerz/References.md",
"Projects/Testerz/Notes/All Notes.md",
"Projects/Testerz/Meetings/All Meetings.md",
"Projects/Testerz/Notes",
"Projects/Testerz/Meetings",
"Projects/Testerz",
"_data_/templates/project/Project setup.md",
"Projects/test/Home.md",
"Projects/test/Tasks.md",
"Projects/test/References.md",
"Projects/test/Notes/All Notes.md",
"Projects/test/Meetings/All Meetings.md",
"Projects/test/Notes",
"Projects/test/Meetings",
"Projects/test",
"Projects/Old Project/Notes",
"Projects/Old Project/Meetings",
"Projects/Old Project",
"Projects/Test/Notes",
"_data_/media/profile-picture-placeholder.jpg",
"_data_/media/example-image-02.png",
"_data_/media/example-image-01.png",
"_data_/media/Pasted image 20230712213115.png",
"_data_/media/Pasted image 20230712213413.png",
"_data_/media/blank-profile-picture.webp",
"_data_/media/banners/banner-inbox.jpg",
"_data_/media/banners/banner-spaces.jpg"
"_data_/media/example-image-02.png"
]
}
26 changes: 14 additions & 12 deletions Vault/Dashboard.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,10 @@
---
banner: "![[banner-dashboard.jpg]]"
date_created: 2023-07-05
date_modified: 2023-07-19
description: Section for other folders.
document_type: dashboard
include_in_navbar: true
navbar_name: Dashboard
tags: dashboard
---
```dataviewjs
const {Navbar} = customJS;
await Navbar.createNavbar(app, dv);
```
**[[Dashboard|Dashboard]]** | [[Concept Board/Concept Board|Concept Board]] | [[Journal/Journal Dashboard|Journal]] | [[Learning/Learning Dashboard|Learning]] | [[Notes/Notes Dashboard|Notes]] | [[Personal/Personal Dashboard|Personal]] | [[Projects/Projects|Projects]] | [[Resources/Resources Dashboard|Resources]] | [[Spaces/Spaces Dashboard|Spaces]]
# Dashboard
>[!multi-column]
>>[!blank-container]
Expand Down Expand Up @@ -41,9 +34,18 @@ await Navbar.createNavbar(app, dv);
>>[!blank-container]
>>### 🚀 Upcoming Launches
>>```dataviewjs
>>const {UpcomingRocketLaunches} = customJS;
>>let element = this.container.createEl('div', {cls: ["tailwind"]});
>>await UpcomingRocketLaunches.getUpcomingRocketLaunches(element);
>>function construct_elements(data) {
>>for(let i=0; i<data.length; i++){
>> let missions = [];
>> for(let j=0; j<data[i].missions.length; j++){missions.push(data[i].missions[j].name)}
>> dv.el("div",
>> `<div class="tailwind"><div class='block py-2'><div class="text-xl font-bold text-gray-800">${data[i].name}<small class="float-right text-gray-600 font-semibold text-sm pl-2">${data[i].date_str}</small></div> <div class="text-sm font-semibold text-gray-600">Vehicle: ${data[i].vehicle.name}</div> <div class="text-sm font-semibold text-gray-600">Missions: ${missions}</div> <div class="text-sm text-gray-600"> ${data[i].launch_description} </div> </div> </div>
>> `
>> )
>>}
>>}
>>let response = await fetch('https://fdo.rocketlaunch.live/json/launches/next/5')
>>response.json().then(j => construct_elements(j.result))
>>```
>
>>[!blank-container]
Expand Down Expand Up @@ -97,7 +99,7 @@ const {News} = customJS;
let element = this.container.createEl('div', {cls: ["tailwind"]});
let newsCategory = 'stocks';
let articleCount = '6';
let apiKey = 'a0f6f4cac40ace9b1049508dda594414';
let apiKey = 'e40a3e9b49a4248f96e15459daa4a434';
await News.listNews(element, newsCategory, articleCount, apiKey);
```
---
Expand Down
6 changes: 3 additions & 3 deletions Vault/Element Structure and Formats.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ Paragraph text

**Task List**
- [x] Task 1 ✅ 2023-07-14
- [ ] Task 2
- [ ] Nested task 2.1
- [x] Task 2 ✅ 2023-07-23
- [x] Nested task 2.1 ✅ 2023-07-23
- [x] Nested task 2.2 ✅ 2023-07-14
- [ ] Task 3
- [x] Task 3 ✅ 2023-07-23

---
## Tags
Expand Down
67 changes: 67 additions & 0 deletions Vault/Projects/Top Secret Project/Home.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
---
date_created: 2023-07-23
date_modified: 2023-07-23
document_type: project-dashboard
is_active: true
project: Top Secret Project
tags: dashboard project top-secret-project
banner: "![[cosmic-dawn-initiative.png]]"
---
**[[Projects/Top Secret Project/Home|Home]]** | [[Projects/Top Secret Project/Meetings/All Meetings|Meetings]] | [[Projects/Top Secret Project/Notes/All Notes|Notes]] | [[Projects/Top Secret Project/References|References]]
# Top Secret Project
**Description**:: Cosmic Dawn Initiative is a top-secret NASA project deploying AI-guided spacecraft to study the universe's earliest moments and fundamental cosmic mysteries.
**Link**: *add link (if relevant)*


## Tasks
*[[Projects/Top Secret Project/Tasks|+ Add a task]]*
```dataviewjs
dv.taskList(dv.pages('"Projects/Top Secret Project"').file.tasks .where(t => !t.completed))
```

## Meetings
```button
name + Add meeting
type note(Projects/Top Secret Project/Meetings/untitled meeting) template
action project/Project meeting
templater true
class tailwind-button-white
```
```dataviewjs
for(let group of dv.pages('"Projects/Top Secret Project/Meetings" and !#meetings').limit(10).groupBy(p => p.meeting)) {
dv.table(["Name", "Description", "Date created"],
group.rows
.sort(k => k.file.ctime, 'desc')
.map(k => [
k.file.link,
k['description'],
k.file.ctime.year+"-"+k.file.ctime.month+"-"+k.file.ctime.day
]))}
```
*Only showing the last 10 meetings*
*[[Projects/Top Secret Project/Meetings/All Meetings|View all meetings →]]*

## Notes
```button
name + Add note
type note(Projects/Top Secret Project/Notes/untitled note) template
action project/Project note
templater true
class tailwind-button-white
```
```dataviewjs
for(let group of dv.pages('"Projects/Top Secret Project/Notes" and !#dashboard and !#notes').limit(10).groupBy(p => p.note)) {
dv.table(["Name", "Description", "Date created"],
group.rows
.sort(k => k.file.ctime, 'desc')
.map(k => [
k.file.link,
k['description'],
k.file.ctime.year+"-"+k.file.ctime.month+"-"+k.file.ctime.day
]))}
```
*Only showing the last 10 notes*
*[[Projects/Top Secret Project/Notes/All Notes|View all notes →]]*

---
**[[Projects/Top Secret Project/Home|Home]]** | [[Projects/Top Secret Project/Meetings/All Meetings|Meetings]] | [[Projects/Top Secret Project/Notes/All Notes|Notes]] | [[Projects/Top Secret Project/References|References]]
32 changes: 32 additions & 0 deletions Vault/Projects/Top Secret Project/Meetings/All Meetings.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
date_created: 2023-07-23
date_modified: 2023-07-23
document_type: meetings
project: Top Secret Project
description: List of project meetings.
tags: top-secret-project meetings
---
[[Projects/Top Secret Project/Home|Home]] | **[[Projects/Top Secret Project/Meetings/All Meetings|Meetings]]** | [[Projects/Top Secret Project/Notes/All Notes|Notes]] | [[Projects/Top Secret Project/References|References]]
# Meetings
**Create meeting**
```button
name + Add meeting
type note(Projects/Top Secret Project/Meetings/untitled meeting) template
action project/Project meeting
templater true
class tailwind-button-white
```
```dataviewjs
for (let group of dv.pages('"Projects/Top Secret Project/Meetings" and !#meetings').groupBy(p => p.meeting)) {
dv.table(["Name", "Description", "Date created"],
group.rows
.sort(k => k.file.ctime, 'desc')
.map(k => [
k.file.link,
k['description'],
k.file.ctime.year+"-"+k.file.ctime.month+"-"+k.file.ctime.day
]))}
```

---
[[Projects/Top Secret Project/Home|Home]] | **[[Projects/Top Secret Project/Meetings/All Meetings|Meetings]]** | [[Projects/Top Secret Project/Notes/All Notes|Notes]] | [[Projects/Top Secret Project/References|References]]
44 changes: 44 additions & 0 deletions Vault/Projects/Top Secret Project/Notes/All Notes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
---
date_created: 2023-07-23
date_modified: 2023-07-23
document_type: notes
project: Top Secret Project
description: List of project notes.
tags: top-secret-project notes
---
[[Projects/Top Secret Project/Home|Home]] | [[Projects/Top Secret Project/Meetings/All Meetings|Meetings]] | **[[Projects/Top Secret Project/Notes/All Notes|Notes]]** | [[Projects/Top Secret Project/References|References]]
# Notes
**Create new note**
```button
name + Add note
type note(Projects/Top Secret Project/Notes/untitled note) template
action project/Project note
templater true
class tailwind-button-white
```
**Flat view**
```dataviewjs
for (let group of dv.pages('"Projects/Top Secret Project/Notes" and !#dashboard and !#notes').groupBy(p => p.note)) {
dv.table(["Name", "Description", "Date created"],
group.rows
.sort(k => k.file.ctime, 'desc')
.map(k => [
k.file.link,
k['description'],
k.file.ctime.year+"-"+k.file.ctime.month+"-"+k.file.ctime.day
]))}
```


**Hierarchical view**
```dataviewjs
for (let group of dv.pages('"Projects/Top Secret Project/Notes" and !#dashboard and !#notes').groupBy(p => p.file.folder)) {
let headerLevel = group.key.split("/").length;
dv.header(headerLevel, `${group.key.replace(group.key.split("/")[0], "").slice(1).replaceAll("/", " / ")}`);
dv.table(["Name", "Description", "Date created"],
group.rows.map(k => [k.file.link, k['description'], k.file.ctime.year+"-"+k.file.ctime.month+"-"+k.file.ctime.day]))
}
```

---
[[Projects/Top Secret Project/Home|Home]] | [[Projects/Top Secret Project/Meetings/All Meetings|Meetings]] | **[[Projects/Top Secret Project/Notes/All Notes|Notes]]** | [[Projects/Top Secret Project/References|References]]
14 changes: 14 additions & 0 deletions Vault/Projects/Top Secret Project/References.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
date_created: 2023-07-23
date_modified: 2023-07-23
document_type: references
project: Top Secret Project
description: List of project references and resources.
tags: top-secret-project references
---
[[Projects/Top Secret Project/Home|Home]] | [[Projects/Top Secret Project/Meetings/All Meetings|Meetings]] | [[Projects/Top Secret Project/Notes/All Notes|Notes]] | **[[Projects/Top Secret Project/References|References]]**
# References
*Add project related references and resources*

---
[[Projects/Top Secret Project/Home|Home]] | [[Projects/Top Secret Project/Meetings/All Meetings|Meetings]] | [[Projects/Top Secret Project/Notes/All Notes|Notes]] | **[[Projects/Top Secret Project/References|References]]**
Loading

0 comments on commit dddd9b0

Please sign in to comment.