-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature: view pages #71
Open
GamerGirlandCo
wants to merge
42
commits into
master
Choose a base branch
from
feat/view-pages
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
3470cd5
add ability to create views for queries that are treated like any oth…
GamerGirlandCo be5b447
rename `datacore-view-page` -> `view-page`
GamerGirlandCo 04be842
use SHOUTING_CASE for constants
GamerGirlandCo 54c279e
changes
GamerGirlandCo 670cc20
fix mapping of fetched values
GamerGirlandCo 280e15b
make select element wider
GamerGirlandCo f7fc2aa
make select field styles more "generalized" (not limited to editable …
GamerGirlandCo fb062fa
fix selectable input not being wide enough
GamerGirlandCo d63c645
remove `jsRenderer` child only if it's not null
GamerGirlandCo 815105a
use the currently selected file as the default value in the view conf…
GamerGirlandCo 83442f7
update `currentFile` on selection change
GamerGirlandCo c30b580
Refactor and simplify a bit of logic
blacksmithgu 1035eaa
add `.docusaurus` to .gitignore
GamerGirlandCo b092c66
add yarn command to generate the typedocs
GamerGirlandCo 15e9de8
add yarnrc
GamerGirlandCo 10840fc
add yarnrc
GamerGirlandCo b75aa6e
remove duplicate file
GamerGirlandCo 0d1c651
Revert "add yarnrc"
GamerGirlandCo e68b3ae
re-add yarnrc
GamerGirlandCo 8d583e4
unignore the index file at docs/root/api
GamerGirlandCo 0667ea7
add github workflow for generating the documentation
GamerGirlandCo 93174e1
remove duplicate gitignore lines
GamerGirlandCo 228e52a
tick off the "view pages" roadmap item
GamerGirlandCo 87081e3
add pages plugin to config to allow for non-api docs to be included i…
GamerGirlandCo 9294584
remove old docs artifacts
GamerGirlandCo dcc3572
fix errors
GamerGirlandCo 4471edc
add testing stuff to gitignore
GamerGirlandCo 92b776e
fix type errors with `ItemView.getState()`
GamerGirlandCo ce231a6
remove a couple unrelated changes from branch
GamerGirlandCo 19d5f31
use a proper codemirror editor instead of a plain textarea for better…
GamerGirlandCo 7ab1093
delete unused import and console.log
GamerGirlandCo 1a002f2
add vim bindings if user already has vim mode enabled in obsidian
GamerGirlandCo 60cbda4
add popover previews when links are hovered in datacorejs views
GamerGirlandCo 0760302
make sure the "Escape" key doesn't switch tabs when using vim keybind…
GamerGirlandCo 26d6656
remove redundant parentElement references in `registerDomEvent`
GamerGirlandCo 89893e4
fix ternary in `CurrentFileSelector` making the select element displa…
GamerGirlandCo dca39ae
simplify language mode selection, fix some styles
GamerGirlandCo f469cac
more styling
GamerGirlandCo cad17ba
even more styling
GamerGirlandCo 3f698c5
implement autocomplete via addon plugin
GamerGirlandCo 722245a
remove useeffect cleanup
GamerGirlandCo 10d28c5
fix bug caused by having vim mode disabled
GamerGirlandCo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,8 @@ | |
"author": "Michael Brenan", | ||
"license": "MIT", | ||
"devDependencies": { | ||
"@codemirror/language": "https://github.com/lishid/cm-language", | ||
"@codemirror/autocomplete": "^6.18.2", | ||
"@codemirror/language": "^6.10.3", | ||
"@codemirror/state": "^6.0.1", | ||
"@codemirror/view": "^6.0.1", | ||
"@types/jest": "^27.0.1", | ||
|
@@ -42,10 +43,13 @@ | |
"typescript": "^5.4.2" | ||
}, | ||
"dependencies": { | ||
"@codemirror/lang-javascript": "^6.2.2", | ||
"@datastructures-js/queue": "^4.2.3", | ||
"@fortawesome/fontawesome-svg-core": "^6.4.0", | ||
"@fortawesome/free-solid-svg-icons": "^6.4.0", | ||
"@fortawesome/react-fontawesome": "^0.2.0", | ||
"@replit/codemirror-vim": "^6.2.1", | ||
"codemirror": "^6.0.1", | ||
"emoji-regex": "^10.2.1", | ||
"flatqueue": "^2.0.3", | ||
"localforage": "1.10.0", | ||
|
@@ -56,5 +60,6 @@ | |
"sorted-btree": "^1.8.1", | ||
"sucrase": "3.35.0", | ||
"yaml": "^2.3.3" | ||
} | ||
}, | ||
"packageManager": "[email protected]+sha1.4ba7fc5c6e704fce2066ecbfb0b0d8976fe62447" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
.dc-cm-editor .cm-gutters { | ||
flex: 0 0 auto; | ||
background-color: transparent; | ||
color: var(--text-faint) !important; | ||
border-right: none !important; | ||
margin-inline-end: var(--file-folding-offset); | ||
font-size: var(--font-ui-smaller); | ||
z-index: 1; | ||
font-variant: tabular-nums; | ||
} | ||
.cm-typeName { | ||
color: var(--headers); | ||
} | ||
.dc-cm-editor { | ||
padding: 1em; | ||
border-radius: 0.5em; | ||
border: 1px solid var(--h5-color); | ||
} | ||
.cm-tooltip.cm-tooltip-autocomplete { | ||
background: var(--embed-bg); | ||
} | ||
.dc-cm-editor img.cm-widgetBuffer[aria-hidden="true"] { | ||
display: none; | ||
} |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@GamerGirlandCo - did you mean to leave this here? It's a VERY specific version of yarn so I just wanted to be sure. :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, this is to ensure other package managers can't accidentally be used
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense.