Skip to content

Merge #34

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

Open
wants to merge 184 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
Show all changes
184 commits
Select commit Hold shift + click to select a range
8c6a050
Refactorization init
alyhxn Jun 7, 2024
9a881c3
Added dynamic contributors
alyhxn Jun 9, 2024
bbc43c6
Bundled
alyhxn Jun 9, 2024
b3178fa
More dynamo in contributors
alyhxn Jun 9, 2024
e6b29c3
Added dynamic support for supporters
alyhxn Jun 10, 2024
a251788
Mobile version for supporters and contributors
alyhxn Jun 12, 2024
da81142
Shadow encapsulation of whole project
alyhxn Jun 14, 2024
89db0bb
more encapsulation
alyhxn Jun 14, 2024
cc48706
Added theme widget and communication structure
alyhxn Jun 16, 2024
ce31c58
Index.js cleanup
alyhxn Jun 19, 2024
b5513c1
Added theme loading and saving
alyhxn Jun 20, 2024
4c4fac0
Theme list to tree, ID for everything, enabled jumping to section
alyhxn Jun 22, 2024
caf8107
First stage of communication and theme_widget
alyhxn Jun 24, 2024
465e196
Fixed minor bugs"
alyhxn Jun 24, 2024
f822684
More bugs fixed
alyhxn Jun 24, 2024
e226831
More bugs fixed
alyhxn Jun 24, 2024
2a4d6c7
Enabled instance styling
alyhxn Jun 28, 2024
d80026b
naming system, highlight, import, export
alyhxn Jul 10, 2024
f65b6ce
Bundled
alyhxn Jul 10, 2024
3babcd7
Added meaningful names and divided theme_widget
alyhxn Jul 17, 2024
01574de
bundled
alyhxn Jul 17, 2024
a8dd48a
Added close button, tab position handle, combined theme input and dro…
alyhxn Jul 19, 2024
785c64d
Completed search bar, highlight
alyhxn Jul 26, 2024
db28cba
Completed search bar, highlight
alyhxn Jul 26, 2024
9578b73
Added multiple save pref
alyhxn Jul 26, 2024
5a56616
Second phase of theme_widget, added functionality for all components
alyhxn Jul 27, 2024
399855d
Bundled
alyhxn Jul 27, 2024
5d2487e
Added and integrated localdb
alyhxn Jul 29, 2024
eb80fd5
Added opacity slider and graph_explorer
alyhxn Jul 31, 2024
ffe49c9
UI adjustments, Theme addition to graph, CSS files naming changed
alyhxn Aug 4, 2024
6969c0f
Bundled
alyhxn Aug 4, 2024
dff1e76
refactored minor bugs
alyhxn Aug 4, 2024
d659fab
Added and integrated io module, added inputs to the graph
alyhxn Aug 6, 2024
efcc112
divided defaults data, enabled input click , changed instance click
alyhxn Aug 10, 2024
b0557a7
minor bug fixed
alyhxn Aug 10, 2024
fec16ff
.
alyhxn Aug 10, 2024
17d536a
Added security,symbol to STATE.js
alyhxn Aug 12, 2024
2325bbc
Enabled dynamic add operation for content, added file extensions
alyhxn Aug 13, 2024
1c7edd9
Added json entry and removed uniq/shared
alyhxn Aug 16, 2024
ff2ee9d
simplified graph structure, added changeable emojis
alyhxn Aug 19, 2024
3774b9e
Bundled
alyhxn Aug 19, 2024
378832b
Minor format adjustments
alyhxn Aug 19, 2024
da38989
Minor style adjustment
alyhxn Aug 19, 2024
c887024
Fixed link bugs, added data folder in graph, removed link, added docs
alyhxn Aug 22, 2024
7161362
Minor bug fixed
alyhxn Aug 22, 2024
69a609b
Minor bug fixed
alyhxn Aug 22, 2024
15f124b
Added new graph structure
alyhxn Aug 28, 2024
4bcc340
Small bug fixed
alyhxn Aug 28, 2024
ba3bf90
Added multiple levels of defaults
alyhxn Aug 29, 2024
8dce35c
Updated slot list and divided supporters
alyhxn Sep 2, 2024
d7b1279
Bundled
alyhxn Sep 2, 2024
f04f8f5
Added new design, bold selection, duplicate hightlighting and cycle d…
alyhxn Sep 6, 2024
697a188
Updated Graph , fixed bugs, refactored and modulorized
alyhxn Sep 11, 2024
c0b1bc9
Bundled
alyhxn Sep 11, 2024
b7525e0
More bug fixed
alyhxn Sep 11, 2024
f9799be
..
alyhxn Sep 11, 2024
7e64573
More bugs fixed
alyhxn Sep 11, 2024
9be6c37
Bug visibile in worklog fixed
alyhxn Sep 12, 2024
595f545
.
alyhxn Sep 12, 2024
24c976d
Added complete fallback state system
alyhxn Sep 14, 2024
3eabf07
Added STATE.md and some updates to STATE.js
alyhxn Sep 19, 2024
3e114ce
Added STATE.md and some updates to STATE.js
alyhxn Sep 19, 2024
4c91556
Bundled
alyhxn Sep 19, 2024
d9f20e2
bug fix
alyhxn Sep 19, 2024
ecd2b07
Update snapshot.json and added project version
alyhxn Sep 28, 2024
217574c
Update documentation and compatibilty with recent changes
alyhxn Oct 4, 2024
08bdd1c
modulename now taken from __filename
alyhxn Oct 9, 2024
728a1e8
Bundled
alyhxn Oct 10, 2024
84601c8
Fixed small bug
alyhxn Oct 10, 2024
d328f53
added source code and state display
alyhxn Oct 11, 2024
38155e1
small bug fixed
alyhxn Oct 11, 2024
7f64ead
updated fallback and added parser
alyhxn Oct 17, 2024
0abcb7d
Bundled
alyhxn Oct 17, 2024
b3460ef
.
alyhxn Oct 17, 2024
808dc65
minor bug fixed
alyhxn Oct 17, 2024
ae7de3e
small bug fixed
alyhxn Oct 17, 2024
4bc409f
Version update
alyhxn Oct 17, 2024
af3deac
Updates to fallback data structure
alyhxn Oct 22, 2024
dabc6e4
version update
alyhxn Oct 22, 2024
67ab403
added level-1 override and doc for fallbacks
alyhxn Oct 23, 2024
6c8cd20
Minor bug fixed
alyhxn Oct 23, 2024
5da8c42
Added multi-level override
alyhxn Oct 28, 2024
19fac6b
version update
alyhxn Oct 28, 2024
58e54f5
Clean STATE.js
alyhxn Oct 30, 2024
d3f0053
version update
alyhxn Oct 30, 2024
64ba869
Unified module and instance fallbacks
alyhxn Nov 2, 2024
d6607cd
minor bug fixed
alyhxn Nov 3, 2024
4d68fa6
minor bug fixed
alyhxn Nov 3, 2024
15697bd
Added compact graph, changed colors, 153 prefix, import and export sn…
alyhxn Nov 7, 2024
dec9857
minor bug fixed
alyhxn Nov 7, 2024
fc4de61
Fixed graph_explorer and convert fallback DS to tree
alyhxn Nov 13, 2024
2b59dd8
Bundle
alyhxn Nov 13, 2024
3606010
Worked on feedbacks, added example modules
alyhxn Nov 25, 2024
29e64dd
Updated the example and merged data,path
alyhxn Nov 30, 2024
0df6c9a
Deep fallback and foo
alyhxn Dec 10, 2024
cb43069
added foo.nav feature
alyhxn Dec 19, 2024
614e1a1
added example 2 and cleaned state.js
alyhxn Dec 26, 2024
47e80b0
Updated example2 STATE and fallback structure
alyhxn Dec 29, 2024
2124510
Added validation, refactored STATE.js and removed db.find
alyhxn Jan 3, 2025
ec594f6
Refactored STATE.js
alyhxn Jan 20, 2025
f387eb2
Removed side effects in state
alyhxn Jan 25, 2025
0fda933
Deep override for modules and new notation
alyhxn Jan 26, 2025
1d3abc9
Update example2 and added TODOs
alyhxn Jan 30, 2025
f733664
More updates to example2
alyhxn Jan 31, 2025
35310b1
Minor changes
alyhxn Jan 31, 2025
7e3d66a
Updated docs
alyhxn Jan 31, 2025
d2bda32
Added dataset mapping
alyhxn Feb 8, 2025
05338ed
Update version
alyhxn Feb 8, 2025
c58c0c7
Updated docs
alyhxn Feb 14, 2025
daf826e
Updated datasets and added api
alyhxn Feb 15, 2025
1ab53b6
example3
ddroid Feb 16, 2025
9c36d3a
Updated state-usage.md
alyhxn Feb 16, 2025
beec5fd
Dataset listing now only to admin
alyhxn Feb 17, 2025
e0f3006
Merge pull request #3 from ddroid/main
alyhxn Feb 17, 2025
411c0b2
Added comments for issues in example3
alyhxn Feb 18, 2025
c63196f
fixed the issues but still getting error
ddroid Feb 19, 2025
bf08a97
error
ddroid Feb 19, 2025
744d529
pushed
ddroid Feb 19, 2025
bb03164
finally fixed the error
ddroid Feb 19, 2025
2e48f57
bundled
ddroid Feb 20, 2025
d5d6476
Added registration and switching of datasets
alyhxn Feb 20, 2025
aed790b
temp examples
ddroid Feb 23, 2025
6fc3b26
removed temp and added fallbacks from example 4
ddroid Feb 24, 2025
e0c95f2
rem $
ddroid Feb 24, 2025
8f29fb3
rem $ and bundled
ddroid Feb 24, 2025
dc4b535
added 0:{} to text as instance
ddroid Feb 24, 2025
ba6e6c0
Update dataset api
alyhxn Feb 24, 2025
b57e1e8
Added the new $ prop for module overrides
alyhxn Feb 25, 2025
2a9ac94
Refined Example 3 and updated the state module with latest
ddroid Feb 26, 2025
7ea7ed7
bundled & improved
ddroid Feb 27, 2025
7b8601d
data.api
ddroid Feb 28, 2025
a6f792e
added newbie-guide in docs
ddroid Feb 28, 2025
b91ba97
Merged
alyhxn Feb 28, 2025
8d77a85
Merge branch 'main' of https://github.com/ddroid/playproject into ddr…
alyhxn Feb 28, 2025
30d2ed4
Merge branch 'ddroid-main'
alyhxn Feb 28, 2025
6c4a0f1
Merge branch 'main' of https://github.com/alyhxn/playproject
alyhxn Feb 28, 2025
975b5b6
Added unregister, data.api override, usage docs
alyhxn Mar 3, 2025
d1fb085
just formatted
ddroid Mar 5, 2025
ef9b226
temp testing
ddroid Mar 8, 2025
08e9928
bundled
ddroid Mar 8, 2025
7674c7e
done with temp
ddroid Mar 10, 2025
c37de92
bundled
ddroid Mar 10, 2025
4b525aa
Added error logging, made examples identical, worked on feedback
alyhxn Mar 10, 2025
95f361e
restored
ddroid Mar 16, 2025
bd562e6
Error logs to match imports
alyhxn Mar 18, 2025
8d85cce
Resolved / conflict issue in modulepath
alyhxn Mar 26, 2025
6dd5b8e
Fixed non-state leaf node bug
alyhxn Mar 28, 2025
43730b3
Bundled
alyhxn Apr 2, 2025
afcc642
Fixed fetch error
alyhxn Apr 2, 2025
e498df7
test
alyhxn Apr 2, 2025
39ce042
test
alyhxn Apr 2, 2025
d3cb358
test
alyhxn Apr 2, 2025
0aada2f
test
alyhxn Apr 2, 2025
931c517
test
alyhxn Apr 2, 2025
206be8e
test
alyhxn Apr 2, 2025
fdf1b5b
test
alyhxn Apr 2, 2025
a9b971e
Resolved issue 1-5 in playproject issue#37 2025.04.02
alyhxn Apr 6, 2025
acfa6d9
Added doc links to error logs
alyhxn Apr 6, 2025
0267258
updated to ali repo
ddroid Apr 10, 2025
6102f05
testing and updated the code
ddroid Apr 10, 2025
ffeca71
fixed the mistake
ddroid Apr 10, 2025
a763ed2
bundled
ddroid Apr 10, 2025
cce7405
changed to modules
ddroid Apr 11, 2025
6746b3a
Merge pull request #5 from ddroid/main
alyhxn Apr 16, 2025
f1c27dc
Added 3 error logs and db clearing on file change
alyhxn Apr 16, 2025
c8d12a6
Added override io initiator and required mapping
alyhxn Apr 21, 2025
3f67dd1
Mapping now required, separate fallback of instance types
alyhxn Apr 27, 2025
0daa9f2
added init
alyhxn May 5, 2025
ac4a7af
Modified init
alyhxn May 5, 2025
e6e7725
Modified init
alyhxn May 5, 2025
8e40053
Added old IO module
alyhxn May 7, 2025
9092ae0
minor change
alyhxn May 7, 2025
684ed13
Update temp.md
alyhxn May 8, 2025
8ab622b
Updated temp.md
alyhxn May 9, 2025
2951155
Merge branch 'main' of https://github.com/alyhxn/playproject
alyhxn May 9, 2025
10dcda7
IO integration and net prop addition
alyhxn May 11, 2025
8a333e5
Added pid encoder
alyhxn May 12, 2025
6909cf5
STATE update
alyhxn May 13, 2025
7cc0986
STATE update
alyhxn May 13, 2025
126c7c0
Input addresss error resolved
alyhxn May 17, 2025
1974437
Test
alyhxn May 17, 2025
29728f0
Test
alyhxn May 17, 2025
fcc7a6a
Modulepath localization in override
alyhxn May 18, 2025
a31832a
Implemented net proposal
alyhxn May 19, 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: 6 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"extends": "standardx",
"rules": {
"camelcase": "off"
}
}
3 changes: 0 additions & 3 deletions .vscode/settings.json

This file was deleted.

71 changes: 71 additions & 0 deletions bin/tree.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
#!/usr/bin/env node

const fs = require('fs').promises
const path = require('path')

const default_ignore_patterns = [
'/node_modules',
'.git'
]

function should_ignore (file_path, ignore_patterns) {
const normalized_path = file_path.replace(/\\/g, '/')

for (const pattern of ignore_patterns) {
if (pattern.startsWith('/')) {
const pattern_without_slash = pattern.slice(1)
if (normalized_path === pattern_without_slash || normalized_path.startsWith(`${pattern_without_slash}/`)) {
return true
}
continue
}
const regex_pattern = pattern
.replace(/[.+^${}()|[\]\\]/g, '\\$&')
.replace(/\*/g, '.*')

const regex = new RegExp(`^${regex_pattern}$|${regex_pattern}/|/${regex_pattern}$`)
if (regex.test(normalized_path)) {
return true
}
}
return false
}

async function walk_directory (dir, ignore_patterns) {
const files = []
const root_dir = process.cwd()

async function walk (current_path, relative_path = '') {
const entries = await fs.readdir(current_path, { withFileTypes: true })

for (const entry of entries) {
const full_path = path.join(current_path, entry.name)
const rel_path = path.join(relative_path, entry.name)
const normalized_path = rel_path.replace(/\\/g, '/')

if (should_ignore(normalized_path, ignore_patterns)) {
continue
}
if (entry.isDirectory()) {
await walk(full_path, rel_path)
} else {
files.push(normalized_path)
}
}
}

await walk(dir)
return files
}

async function main () {
const files = await walk_directory(process.cwd(), default_ignore_patterns)
files.sort()
await fs.writeFile(
path.join(process.cwd(), 'index.json'),
JSON.stringify(files, null, 2)
)
console.log('Successfully generated index.json')
}

main()
Loading