Skip to content

Commit

Permalink
added some changes
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasgauvin committed Jan 27, 2024
1 parent 81ad53a commit 2cf6d39
Show file tree
Hide file tree
Showing 53 changed files with 2,145 additions and 167 deletions.
713 changes: 712 additions & 1 deletion package-lock.json

Large diffs are not rendered by default.

7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"dev": "vite --host",
"build": "tsc && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview"
},
"dependencies": {
"@emotion/react": "^11.11.3",
"@emotion/styled": "^11.11.0",
"@radix-ui/react-context-menu": "^2.1.5",
"@remirror/pm": "^2.0.8",
"@remirror/react": "^2.0.35",
"@remirror/react-editors": "^1.0.40",
Expand All @@ -20,9 +21,11 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.21.2",
"remirror": "^2.0.38"
"remirror": "^2.0.38",
"use-debounce": "^10.0.0"
},
"devDependencies": {
"@tailwindcss/typography": "^0.5.10",
"@types/react": "^18.2.43",
"@types/react-dom": "^18.2.17",
"@typescript-eslint/eslint-plugin": "^6.14.0",
Expand Down
1 change: 1 addition & 0 deletions sample-markdown-folder copy/.obsidian/app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
3 changes: 3 additions & 0 deletions sample-markdown-folder copy/.obsidian/appearance.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"accentColor": ""
}
30 changes: 30 additions & 0 deletions sample-markdown-folder copy/.obsidian/core-plugins-migration.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"file-explorer": true,
"global-search": true,
"switcher": true,
"graph": true,
"backlink": true,
"canvas": true,
"outgoing-link": true,
"tag-pane": true,
"properties": false,
"page-preview": true,
"daily-notes": true,
"templates": true,
"note-composer": true,
"command-palette": true,
"slash-command": false,
"editor-status": true,
"bookmarks": true,
"markdown-importer": false,
"zk-prefixer": false,
"random-note": false,
"outline": true,
"word-count": true,
"slides": false,
"audio-recorder": false,
"workspaces": false,
"file-recovery": true,
"publish": false,
"sync": false
}
20 changes: 20 additions & 0 deletions sample-markdown-folder copy/.obsidian/core-plugins.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[
"file-explorer",
"global-search",
"switcher",
"graph",
"backlink",
"canvas",
"outgoing-link",
"tag-pane",
"page-preview",
"daily-notes",
"templates",
"note-composer",
"command-palette",
"editor-status",
"bookmarks",
"outline",
"word-count",
"file-recovery"
]
22 changes: 22 additions & 0 deletions sample-markdown-folder copy/.obsidian/graph.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"collapse-filter": true,
"search": "",
"showTags": false,
"showAttachments": false,
"hideUnresolved": false,
"showOrphans": true,
"collapse-color-groups": true,
"colorGroups": [],
"collapse-display": true,
"showArrow": false,
"textFadeMultiplier": 0,
"nodeSizeMultiplier": 1,
"lineSizeMultiplier": 1,
"collapse-forces": true,
"centerStrength": 0.518713248970312,
"repelStrength": 10,
"linkStrength": 1,
"linkDistance": 250,
"scale": 1,
"close": false
}
161 changes: 161 additions & 0 deletions sample-markdown-folder copy/.obsidian/workspace.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,161 @@
{
"main": {
"id": "8d4e0d7b1d235c77",
"type": "split",
"children": [
{
"id": "9e21d6ab2d48227d",
"type": "tabs",
"children": [
{
"id": "aa18295d66dc0f82",
"type": "leaf",
"state": {
"type": "markdown",
"state": {
"file": "folder/subfolder/test66.md",
"mode": "source",
"source": false
}
}
}
]
}
],
"direction": "vertical"
},
"left": {
"id": "998e02dba9179cfc",
"type": "split",
"children": [
{
"id": "4e6b8086a6104914",
"type": "tabs",
"children": [
{
"id": "ca0bafc2d5792509",
"type": "leaf",
"state": {
"type": "file-explorer",
"state": {
"sortOrder": "alphabetical"
}
}
},
{
"id": "e1705145d52813ef",
"type": "leaf",
"state": {
"type": "search",
"state": {
"query": "",
"matchingCase": false,
"explainSearch": false,
"collapseAll": false,
"extraContext": false,
"sortOrder": "alphabetical"
}
}
},
{
"id": "a92a326292eb8a13",
"type": "leaf",
"state": {
"type": "bookmarks",
"state": {}
}
}
]
}
],
"direction": "horizontal",
"width": 300
},
"right": {
"id": "5b0aafda22173b8b",
"type": "split",
"children": [
{
"id": "415a8742e586990c",
"type": "tabs",
"children": [
{
"id": "ecaa4a612c4324f0",
"type": "leaf",
"state": {
"type": "backlink",
"state": {
"file": "folder/subfolder/test66.md",
"collapseAll": false,
"extraContext": false,
"sortOrder": "alphabetical",
"showSearch": false,
"searchQuery": "",
"backlinkCollapsed": false,
"unlinkedCollapsed": true
}
}
},
{
"id": "24d734be5e8f0959",
"type": "leaf",
"state": {
"type": "outgoing-link",
"state": {
"file": "folder/subfolder/test66.md",
"linksCollapsed": false,
"unlinkedCollapsed": true
}
}
},
{
"id": "44acc73aabc3df82",
"type": "leaf",
"state": {
"type": "tag",
"state": {
"sortOrder": "frequency",
"useHierarchy": true
}
}
},
{
"id": "66ac4ddd7b6a46bd",
"type": "leaf",
"state": {
"type": "outline",
"state": {
"file": "folder/subfolder/test66.md"
}
}
}
]
}
],
"direction": "horizontal",
"width": 300,
"collapsed": true
},
"left-ribbon": {
"hiddenItems": {
"switcher:Open quick switcher": false,
"graph:Open graph view": false,
"canvas:Create new canvas": false,
"daily-notes:Open today's daily note": false,
"templates:Insert template": false,
"command-palette:Open command palette": false
}
},
"active": "aa18295d66dc0f82",
"lastOpenFiles": [
"folder/subfolder/test55.md",
"folder/subfolder/test66.md",
"This is a test o k...sdffdsafd .md",
"Todo list ✅.md",
"Untitled.canvas",
"Untitled 1.canvas",
"1200x627 - Glowing.png",
"2024-01-21.md",
"folder/hmm .. pretty cool✅.md"
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
this is a tesr this is a test this is a test sdfasdsadfads asdfsadf

thisi this is a test erterstrete dasf sdgfasdf this is a test sdfgsdfg sdafdfs asdfasdf
10 changes: 10 additions & 0 deletions sample-markdown-folder copy/Todo list ✅.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
* add support for images
interesteing

* add support for links

* add menu bar

* fix styling for bullet points, etc.

Ok so it's pretty basic, cool got it sdfasdf!![[1200x627 - Glowing.png]]
1 change: 1 addition & 0 deletions sample-markdown-folder copy/Untitled 1.canvas
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
1 change: 1 addition & 0 deletions sample-markdown-folder copy/Untitled.canvas
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
17 changes: 17 additions & 0 deletions sample-markdown-folder copy/folder/hmm .. pretty cool✅.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
hello this is a **test**

# This is a testasdfasdf

hello this is a **test**

# This is a testasdfasd sdafasdfasdfsad asdfasdfa sdfasdf asdf aasdf asdf asd asdf asdf asd asdf asdf asd asdf asdf asd asdf asdf asd asdf asdf asd sdf asd fsadfasdsad ffsddsfsad fasdfasd fassdfa sad fasd fsasdasdfasdfsadfasdfasdfsadfasdfasdff asdfsadfasdfsdfasdf

hello this is a **test**

# This is a testasdfasdf asdfsadfasdfsdfasdf

hello this is a **test**

# This is a testasdfasdf asdfsadfasdfsdfasdf

# asdfsadfasdfsdfasdf
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
hello this is a test

# test 5test
# test 4 asdfsadf
6 changes: 6 additions & 0 deletions sample-markdown-folder copy/folder/subfolder/test66.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
this is a test
[link](./test55)

[test]

[[test55]]
Empty file.
49 changes: 49 additions & 0 deletions sample-markdown-folder/Todo list ✅.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
* ✅ add support for images

* ✅ added ability for images reading

* ✅ added ability to insert images

* ✅ add support for delete files/folders

* ✅ add support for new files/folders

* ✅ add support for links

* ❌ add support to add links

* add menu bar

* ✅show only png, webp, jpeg, jpg, svg, md files

* prevent the upload of images that aren't in this list

* make it save when adding an image

* make it support adding (1) after an image if needed

* ✅ fix styling for bullet points, etc.

* add directory/project picker

* improve permissions / add ability for indexdb?

* add intro screen to select 'directory' with option to start new, or select an existing list of directories

* better support conflict in names

* support folder renames

* ✅ better handle folder open/tree structure after create file

* add refresh for files, either button or automatic

* have a create modal with the create and open existing

* ✅ when changing to page, it should not auto-focus

* ✅ add scroll to filetree

* ❌ styling for mobile

* local file system doesn't even work on mobile...
Empty file.
Loading

0 comments on commit 2cf6d39

Please sign in to comment.