experiments in a post-browser web
10
fork

Configure Feed

Select the types of activity you want to include in your feed.

ok addressing fixes done for now

+18 -27
+16 -4
README.md
··· 373 373 - [ ] unreg shortcuts on unload 374 374 375 375 Window features 376 - - [ ] add back in window features to window.open 376 + - [x] add back in window features to window.open 377 377 - [x] show/hide (keep alive) 378 378 - [x] transparent 379 379 - [ ] enable global window resize 380 - - [ ] add draggable as pref 380 + - [ ] add draggable as pref (draggable as default) 381 381 382 382 Features clean themselves up for lifecycle events 383 383 - [ ] load/unload peeks when enabled/disabled ··· 404 404 - [x] fix ESC not working right 405 405 - [x] fix ESC not working in web content 406 406 - [x] fix ESC not working right over lil-gui 407 + - [ ] ESC not working when a page doesn't load for any reason 407 408 408 409 Dev stuff 409 410 - [x] figure out single devtools window if possible ··· 418 419 - [ ] Slides: soundcloud, crypto prices, notepad, todo list 419 420 - [ ] Scripts: eth price, weather change 420 421 422 + Survival 423 + - [ ] Schema versioning 424 + - [ ] Export config to file 425 + - [ ] Import config from file 426 + 427 + Tests 428 + - [ ] stacked defaults file 429 + - [ ] import file 430 + - [ ] run app-specific test suites (in app sub dir) 431 + - [ ] run full test suite 432 + 421 433 ### v0.3 - extensibility / history 422 434 423 435 Backburner wishlist ··· 425 437 426 438 DX papercuts 427 439 - [ ] why crashing on reload main 428 - - [ ] devtools stealing focus 440 + - [ ] devtools stealing focus, put in backround 429 441 - [ ] unified floating devtools 430 442 431 443 Window features ··· 440 452 App dev 441 453 - [ ] app model - web? extension? P/IWA? other? 442 454 - [ ] shared libs, eg utils 443 - - [ ] language: call them feature or apps? other? 455 + - [ ] language: call them feature or apps? other? extensions? mods? 444 456 445 457 Focus vs not focused app mode 446 458 - [ ] openWindow option to not close on escape (perma windows w/ controls)
+1 -1
app/cmd/index.js
··· 10 10 11 11 const store = openStore(id, defaults, clear /* clear storage */); 12 12 13 - const address = 'peek://cmd/panel.html'; 13 + const address = 'peek://app/cmd/panel.html'; 14 14 15 15 const openInputWindow = prefs => { 16 16 const height = prefs.height || 50;
-2
app/cmd/panel.js
··· 10 10 const store = openStore(id, defaults, clear /* clear storage */); 11 11 const api = window.app; 12 12 13 - const address = 'peek://cmd/panel.html'; 14 - 15 13 let state = { 16 14 commands: [], // array of command names 17 15 matches: [], // array of commands matching the typed text
+1 -1
app/groups/index.js
··· 10 10 11 11 const store = openStore(id, defaults, clear /* clear storage */); 12 12 13 - const address = 'features/groups/home.html'; 13 + const address = 'peek://app/groups/home.html'; 14 14 15 15 const openGroupsWindow = () => { 16 16 const height = 600;
-19
index.js
··· 329 329 330 330 if (!isNode) { 331 331 relativePath = path.join(host, pathname); 332 - 333 - // if not core, prepend core path 334 - if (host != APP_CORE_PATH) { 335 - relativePath = path.join(APP_CORE_PATH, relativePath); 336 - } 337 - 338 - // Ugh, desparate attempt to handle `../` paths 339 - // FIXME: Complete and utter trash 340 - try { 341 - const stat = fs.statSync(relativePath) 342 - } 343 - catch(ex) { 344 - // file does not exist 345 - // but maybe it's in parent dir 346 - // b/c what the fuck is happening w/ custom 347 - // protocols and parent-relative path resolution?! 348 - const parts = relativePath.split(path.sep); 349 - relativePath = parts.toSpliced(1, 1).join(path.sep); 350 - } 351 332 } 352 333 353 334 const absolutePath = path.resolve(__dirname, relativePath);