Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
1c4d67c
пусто
kornerr Dec 7, 2025
bd8583d
ver-android
kornerr Dec 7, 2025
f1e5fd0
rm idea
kornerr Dec 7, 2025
f75e241
ignore idea files
kornerr Dec 7, 2025
6e2e804
make and draft
kornerr Dec 7, 2025
083a5d7
add bash step
kornerr Dec 8, 2025
bc16a70
copy src
kornerr Dec 8, 2025
8bdbb2c
copy entities
kornerr Dec 8, 2025
49c93e2
display hw
kornerr Dec 8, 2025
0220d92
add webkit dep
kornerr Dec 8, 2025
d134372
load kornerr ru
kornerr Dec 8, 2025
d4a311b
place web view along card
kornerr Dec 9, 2025
7490aae
fit web view
kornerr Dec 9, 2025
8e0963e
open and wnd
kornerr Dec 10, 2025
823f6cb
load url by should
kornerr Dec 10, 2025
f302a50
tmp disable tmux browser tab s
kornerr Dec 10, 2025
60f840e
load dbg
kornerr Dec 11, 2025
b4c2dcf
disable caching
kornerr Dec 11, 2025
a27b173
return jstmux
kornerr Dec 15, 2025
0568935
use accordion
kornerr Dec 16, 2025
5f7d4fc
use table
kornerr Dec 16, 2025
2726bc7
sort tables in reverse
kornerr Dec 16, 2025
16b9517
create options stub
kornerr Dec 17, 2025
3df3bb5
appFileIdToName
kornerr Dec 17, 2025
de9c0dc
hide file options menu
kornerr Dec 18, 2025
085b362
copy dialog
kornerr Dec 18, 2025
3fb0732
show copy dialog on menu item
kornerr Dec 18, 2025
1ef8fa5
set default file name
kornerr Dec 19, 2025
ce0eaa0
set input too
kornerr Dec 19, 2025
597b73d
read file for copying
kornerr Dec 19, 2025
f257620
read file for copying
kornerr Dec 19, 2025
dfbd804
reload files
kornerr Dec 19, 2025
f927839
report coping success
kornerr Dec 19, 2025
87b9fe8
display rename dialog
kornerr Dec 20, 2025
3f75e29
half way through renaming
kornerr Dec 21, 2025
d72d93e
ask for deletion confirmation
kornerr Dec 21, 2025
815bd23
ask for deletion confirmation
kornerr Dec 21, 2025
d8a316f
beter color
kornerr Dec 21, 2025
612c9e2
request delete
kornerr Dec 21, 2025
26e9319
report failure of deletion
kornerr Dec 22, 2025
c6aee22
rename
kornerr Dec 22, 2025
323d4ac
disable accordion anim
kornerr Dec 23, 2025
7b192c8
report empty cfg
kornerr Dec 23, 2025
1260967
somewhat hide save
kornerr Dec 23, 2025
63c7f5b
not yet
kornerr Dec 24, 2025
5f30f8a
anim
kornerr Dec 24, 2025
fa8cf8c
rm anim
kornerr Dec 24, 2025
04e0266
display ext btn
kornerr Dec 25, 2025
b0c9b8b
open in an external
kornerr Dec 25, 2025
fca0471
fix render replace
kornerr Dec 25, 2025
d72b384
create changelog
kornerr Dec 27, 2025
71bf255
bump ver
kornerr Dec 27, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
build
dist
.DS_Store
.gradle
build
.idea
local.properties
yarn.lock
dist
13 changes: 13 additions & 0 deletions CHANELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@

# [0.9.0](https://github.com/OGStudio/pskov2/pull/7)
#### 2025-12-27

| № | Platform | What has been done | Why |
| --- | --- | --- | --- |
| 1 | Android | Create draft Android version that loads debug page | Research WebView to understand how it feels like, its limitations, and UX |
| 2 | Browser | Display files with accordion and tables | Simplify navigation and search for files |
| 3 | | Implement copying, renaming, and deleting files | Remove the need to use CLI to create new pages |
| 4 | | Add `External` button to open rendered page in a separate browser tab | See how the page looks like in real life outside PSKOV |
| 5 | | Report missing or empty `pskov.cfg` | Helps you notice you specified the wrong path to a project |
| 6 | Node.js | Handle `POST /delete` | Let Browser part delete files |

36 changes: 36 additions & 0 deletions cld/entities.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,30 +11,56 @@ AppContext:
cfg: [String: String]
converterInput: String
converterOutput: String
copyFileId: [Int]
deleteFile: String
deleteFileId: [Int]
deleteFileOrigin: String
didClickEditorTab: Bool
didClickExternalButton: Bool
didClickFilesCopyOK: Bool
didClickFilesDeleteOK: Bool
didClickFilesRenameOK: Bool
didClickFilesTab: Bool
didClickRenderTab: Bool
didClickSaveBtn: Bool
didCopyFile: Bool
didCopyRenamedFile: Bool
didDeleteFile: Bool
didLaunch: Bool
didRenameFile: Bool
didResize: Bool
didSaveEditedFiles: Bool
didSaveFile: Bool
didSaveRenderedFile: Bool
editedContents: String
editedFileContents: [String: String]
editorContents: String
externalURL: String
filesCopyDefaultName: String
filesDeleteName: String
filesRenameName: String
header: [String]
hideFileOptions: [Int]
inputDirFiles: [Int: [FSFile]]
inputDirs: [String]
inputFilesCopy: String
inputFilesRename: String
inputMDFiles: [Int: [String]]
installEditor: Bool
installMDConverter: Bool
isCfgValid: Bool
isExternalButtonVisible: Bool
isFilesCopyDialogVisible: Bool
isFilesDeleteDialogVisible: Bool
isFilesRenameDialogVisible: Bool
itemTemplates: [Int: String]
listInputDirId: Int
page: Page
projectPath: String
readFile: String
readFileContents: String
readFileOrigin: String
renameFileId: [Int]
renderedFile: String
renderPage: String
request: NetRequest
Expand Down Expand Up @@ -80,6 +106,14 @@ Page:
slug: String
title: String

PlayContext:
type: context
fields:
didLaunch: Bool
didResetWebView: Bool
isPlaygroundVisible: Bool
url: String

SrvContext:
prefix-kotlin: @JsExport
type: context
Expand All @@ -88,6 +122,8 @@ SrvContext:
browserDir: String
defaultBrowserDir: String
defaultHTTPPort: Int
deleteFile: String
didDeleteFile: Bool
didLaunch: Bool
didWriteFile: Bool
dirFiles: [FSFile]
Expand Down
2 changes: 2 additions & 0 deletions kmp/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Use Compose for Android
android.useAndroidX=true
# Be verbose in console
org.gradle.console=verbose
# Cache whatever is built
Expand Down
Loading