Skip to content

Commit

Permalink
Create 1.0.0 beta version
Browse files Browse the repository at this point in the history
  • Loading branch information
rotten77 committed May 7, 2022
1 parent 8269abd commit 1a134b8
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 12 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
pwa/bootstrap/** linguist-vendored=true
*.cmd linguist-vendored=true
pwa/style.min.css linguist-generated=true
12 changes: 2 additions & 10 deletions pwa/sneepy.api.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,23 +83,15 @@ function addSnippet() {
return false;
}
let fileName = prompt("Enter file name");
let response = ""
if (fileName != null) {
response = pywebview.api.addSnippet(selectedFolder, fileName);
}
if(response!="") {
alert(response)
pywebview.api.addSnippet(selectedFolder, fileName);
}
}

function addFolder() {
let folderName = prompt("Enter folder name");
let response = ""
if (folderName != null) {
response = pywebview.api.addFolder(folderName);
}
if(response!="") {
alert(response)
pywebview.api.addFolder(folderName);
}
}

Expand Down
7 changes: 6 additions & 1 deletion sneepy.todo
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
Sneepy 1.1:
☐ Add variables to snippets (e.g. %VARIABLE%)
☐ Save window size (add <autosave> to configuration)
☐ Rename folder/files to safe name
☐ Rename folder/files to safe name
☐ Catch exceptions/errors
☐ snippet folder not exists or empty
☐ add folder, add/edit snippet
☐ configuration
☐ folder/file operation in generator
2 changes: 1 addition & 1 deletion sneepy/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

class Config:

VERSION = '0.9.0'
VERSION = '1.0.0 beta'

def __init__(self):
self.APP_ROOT = './'
Expand Down

0 comments on commit 1a134b8

Please sign in to comment.