vault backup: 2024-04-15 11:54:03
This commit is contained in:
57
.obsidian/plugins/quickadd/data.json
vendored
57
.obsidian/plugins/quickadd/data.json
vendored
@@ -379,5 +379,60 @@
|
||||
}
|
||||
],
|
||||
"inputPrompt": "multi-line",
|
||||
"devMode": false
|
||||
"devMode": false,
|
||||
"templateFolderPath": "",
|
||||
"announceUpdates": true,
|
||||
"version": "0.14.0",
|
||||
"disableOnlineFeatures": true,
|
||||
"ai": {
|
||||
"defaultModel": "Ask me",
|
||||
"defaultSystemPrompt": "As an AI assistant within Obsidian, your primary goal is to help users manage their ideas and knowledge more effectively. Format your responses using Markdown syntax. Please use the [[Obsidian]] link format. You can write aliases for the links by writing [[Obsidian|the alias after the pipe symbol]]. To use mathematical notation, use LaTeX syntax. LaTeX syntax for larger equations should be on separate lines, surrounded with double dollar signs ($$). You can also inline math expressions by wrapping it in $ symbols. For example, use $$w_{ij}^{\text{new}}:=w_{ij}^{\text{current}}+etacdotdelta_jcdot x_{ij}$$ on a separate line, but you can write \"($eta$ = learning rate, $delta_j$ = error term, $x_{ij}$ = input)\" inline.",
|
||||
"promptTemplatesFolderPath": "",
|
||||
"showAssistant": true,
|
||||
"providers": [
|
||||
{
|
||||
"name": "OpenAI",
|
||||
"endpoint": "https://api.openai.com/v1",
|
||||
"apiKey": "",
|
||||
"models": [
|
||||
{
|
||||
"name": "gpt-3.5-turbo",
|
||||
"maxTokens": 4096
|
||||
},
|
||||
{
|
||||
"name": "gpt-3.5-turbo-16k",
|
||||
"maxTokens": 16384
|
||||
},
|
||||
{
|
||||
"name": "gpt-3.5-turbo-1106",
|
||||
"maxTokens": 16385
|
||||
},
|
||||
{
|
||||
"name": "gpt-4",
|
||||
"maxTokens": 8192
|
||||
},
|
||||
{
|
||||
"name": "gpt-4-32k",
|
||||
"maxTokens": 32768
|
||||
},
|
||||
{
|
||||
"name": "gpt-4-1106-preview",
|
||||
"maxTokens": 128000
|
||||
},
|
||||
{
|
||||
"name": "text-davinci-003",
|
||||
"maxTokens": 4096
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"migrations": {
|
||||
"migrateToMacroIDFromEmbeddedMacro": true,
|
||||
"useQuickAddTemplateFolder": true,
|
||||
"incrementFileNameSettingMoveToDefaultBehavior": true,
|
||||
"mutualExclusionInsertAfterAndWriteToBottomOfFile": true,
|
||||
"setVersionAfterUpdateModalRelease": false,
|
||||
"addDefaultAIProviders": false
|
||||
}
|
||||
}
|
33145
.obsidian/plugins/quickadd/main.js
vendored
33145
.obsidian/plugins/quickadd/main.js
vendored
File diff suppressed because one or more lines are too long
4
.obsidian/plugins/quickadd/manifest.json
vendored
4
.obsidian/plugins/quickadd/manifest.json
vendored
@@ -1,10 +1,12 @@
|
||||
{
|
||||
"id": "quickadd",
|
||||
"name": "QuickAdd",
|
||||
"version": "0.8.0",
|
||||
"version": "1.8.1",
|
||||
"minAppVersion": "0.13.19",
|
||||
"description": "Quickly add new pages or content to your vault.",
|
||||
"author": "Christian B. B. Houmann",
|
||||
"authorUrl": "https://bagerbach.com",
|
||||
"fundingUrl": "https://www.buymeacoffee.com/chhoumann",
|
||||
"helpUrl": "https://quickadd.obsidian.guide/docs/",
|
||||
"isDesktopOnly": false
|
||||
}
|
336
.obsidian/plugins/quickadd/styles.css
vendored
336
.obsidian/plugins/quickadd/styles.css
vendored
@@ -1,210 +1,238 @@
|
||||
/* src/styles.css */
|
||||
.configureMacroDiv {
|
||||
display: grid;
|
||||
grid-template-rows: 1fr;
|
||||
min-width: 12rem;
|
||||
display: grid;
|
||||
grid-template-rows: 1fr;
|
||||
min-width: 12rem;
|
||||
}
|
||||
|
||||
.configureMacroDivItem {
|
||||
display: flex;
|
||||
align-content: center;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 10px;
|
||||
display: flex;
|
||||
align-content: center;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.configureMacroDivItemButton {
|
||||
display: flex;
|
||||
align-content: center;
|
||||
justify-content: center;
|
||||
margin-bottom: 10px;
|
||||
display: flex;
|
||||
align-content: center;
|
||||
justify-content: center;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.macroContainer {
|
||||
display: grid;
|
||||
grid-template-rows: repeat(auto-fill, 120px);
|
||||
grid-gap: 40px;
|
||||
|
||||
overflow-y: auto;
|
||||
max-height: 30em;
|
||||
padding: 2em;
|
||||
display: grid;
|
||||
grid-template-rows: repeat(auto-fill, 120px);
|
||||
grid-gap: 40px;
|
||||
overflow-y: auto;
|
||||
max-height: 30em;
|
||||
padding: 2em;
|
||||
}
|
||||
|
||||
/* Mobile */
|
||||
@media screen and (max-width: 540px) {
|
||||
.macroContainer1 {
|
||||
grid-template-columns: repeat(1, 1fr);
|
||||
}
|
||||
|
||||
.macroContainer2 {
|
||||
grid-template-columns: repeat(1, 1fr);
|
||||
}
|
||||
|
||||
.macroContainer3 {
|
||||
grid-template-columns: repeat(1, 1fr);
|
||||
}
|
||||
|
||||
.wideInputPromptInputEl {
|
||||
width: 20rem;
|
||||
max-width: 100%;
|
||||
height: 3rem;
|
||||
}
|
||||
.macroContainer1 {
|
||||
grid-template-columns: repeat(1, 1fr);
|
||||
}
|
||||
.macroContainer2 {
|
||||
grid-template-columns: repeat(1, 1fr);
|
||||
}
|
||||
.macroContainer3 {
|
||||
grid-template-columns: repeat(1, 1fr);
|
||||
}
|
||||
.wideInputPromptInputEl {
|
||||
width: 20rem;
|
||||
max-width: 100%;
|
||||
height: 3rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* Tablet */
|
||||
@media screen and (max-width: 540px) and (max-width: 780px) {
|
||||
.macroContainer1 {
|
||||
grid-template-columns: repeat(1, 1fr);
|
||||
}
|
||||
|
||||
.macroContainer2 {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
}
|
||||
|
||||
.macroContainer3 {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
}
|
||||
|
||||
.wideInputPromptInputEl {
|
||||
width: 30rem;
|
||||
max-width: 100%;
|
||||
height: 20rem;
|
||||
}
|
||||
.macroContainer1 {
|
||||
grid-template-columns: repeat(1, 1fr);
|
||||
}
|
||||
.macroContainer2 {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
}
|
||||
.macroContainer3 {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
}
|
||||
.wideInputPromptInputEl {
|
||||
width: 30rem;
|
||||
max-width: 100%;
|
||||
height: 20rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* Everything else */
|
||||
@media screen and (min-width: 781px) {
|
||||
.macroContainer1 {
|
||||
grid-template-columns: repeat(1, 1fr);
|
||||
}
|
||||
|
||||
.macroContainer2 {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
}
|
||||
|
||||
.macroContainer3 {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
}
|
||||
|
||||
.wideInputPromptInputEl {
|
||||
width: 40rem;
|
||||
max-width: 100%;
|
||||
height: 20rem;
|
||||
}
|
||||
.macroContainer1 {
|
||||
grid-template-columns: repeat(1, 1fr);
|
||||
}
|
||||
.macroContainer2 {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
}
|
||||
.macroContainer3 {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
}
|
||||
.wideInputPromptInputEl {
|
||||
width: 40rem;
|
||||
max-width: 100%;
|
||||
height: 20rem;
|
||||
}
|
||||
}
|
||||
|
||||
.addMacroBarContainer {
|
||||
display: flex;
|
||||
align-content: center;
|
||||
justify-content: space-around;
|
||||
margin-top: 20px;
|
||||
display: flex;
|
||||
align-content: center;
|
||||
justify-content: space-around;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.captureToActiveFileContainer {
|
||||
display: flex;
|
||||
align-content: center;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 10px;
|
||||
display: flex;
|
||||
align-content: center;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.choiceNameHeader {
|
||||
text-align: center;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.choiceNameHeader:hover {
|
||||
cursor: pointer;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.folderInputContainer {
|
||||
display: flex;
|
||||
align-content: center;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 8px;
|
||||
gap: 4px;
|
||||
display: flex;
|
||||
align-content: center;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 8px;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.selectMacroDropdownContainer {
|
||||
display: flex;
|
||||
align-content: center;
|
||||
justify-content: center;
|
||||
display: flex;
|
||||
align-content: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.quickAddModal .modal {
|
||||
min-width: 35%;
|
||||
overflow-y: auto;
|
||||
max-height: 70%;
|
||||
min-width: 35%;
|
||||
overflow-y: auto;
|
||||
max-height: 70%;
|
||||
}
|
||||
|
||||
.checkboxRowContainer {
|
||||
display: grid;
|
||||
grid-template-rows: auto;
|
||||
align-content: center;
|
||||
margin: 30px 0px;
|
||||
display: grid;
|
||||
grid-template-rows: auto;
|
||||
align-content: center;
|
||||
gap: 5px;
|
||||
}
|
||||
|
||||
.checkboxRow {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-content: center;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-content: center;
|
||||
}
|
||||
|
||||
.checkboxRow .checkbox-container {
|
||||
flex-shrink: 0;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.checkboxRow span {
|
||||
font-size: 16px;
|
||||
word-break: break-all;
|
||||
font-size: 16px;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
.submitButtonContainer {
|
||||
display: flex;
|
||||
align-content: center;
|
||||
justify-content: center;
|
||||
display: flex;
|
||||
align-content: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.chooseFolderWhenCreatingNoteContainer {
|
||||
display: flex;
|
||||
align-content: center;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 10px;
|
||||
display: flex;
|
||||
align-content: center;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.chooseFolderFromSubfolderContainer {
|
||||
margin: 20px 0 0 0;
|
||||
}
|
||||
|
||||
.clickable:hover {
|
||||
cursor: pointer;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.quickAddCommandListItem {
|
||||
display: flex;
|
||||
flex: 1 1 auto;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
display: flex;
|
||||
flex: 1 1 auto;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.quickCommandContainer {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
align-content: center;
|
||||
margin-bottom: 1em;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
align-content: center;
|
||||
margin-bottom: 1em;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.yesNoPromptButtonContainer {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-around;
|
||||
margin-top: 2rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-around;
|
||||
margin-top: 2rem;
|
||||
}
|
||||
|
||||
.yesNoPromptParagraph {
|
||||
text-align: center;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.qaFileSuggestionItem {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.qaFileSuggestionItem .suggestion-main-text {
|
||||
font-weight: bold;
|
||||
font-weight: bold;
|
||||
}
|
||||
.qaFileSuggestionItem .suggestion-sub-text {
|
||||
font-style: italic;
|
||||
font-style: italic;
|
||||
}
|
||||
.choiceListItem {
|
||||
display: flex;
|
||||
font-size: 16px;
|
||||
align-items: center;
|
||||
margin: 12px 0 0 0;
|
||||
transition: 1000ms ease-in-out;
|
||||
}
|
||||
.choiceListItemName {
|
||||
flex: 1 0 0;
|
||||
}
|
||||
.choiceListItemName p {
|
||||
margin: 0;
|
||||
display: inline;
|
||||
}
|
||||
.quickadd-choice-suggestion p {
|
||||
margin: 0;
|
||||
}
|
||||
.macroDropdownContainer {
|
||||
display: flex;
|
||||
align-content: center;
|
||||
justify-content: center;
|
||||
margin-bottom: 10px;
|
||||
gap: 10px;
|
||||
}
|
||||
.macro-choice-buttonsContainer {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
}
|
||||
@media only screen and (max-width: 600px) {
|
||||
.macroDropdownContainer {
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
.macroDropdownContainer .macro-choice-buttonsContainer {
|
||||
gap: 20px;
|
||||
}
|
||||
}
|
||||
.quickadd-update-modal-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.quickadd-update-modal {
|
||||
min-width: 35%;
|
||||
max-height: 70%;
|
||||
}
|
||||
.quickadd-update-modal img {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
margin: 5px;
|
||||
}
|
||||
.quickadd-bmac-container {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
Reference in New Issue
Block a user