experiments in a post-browser web
10
fork

Configure Feed

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

Merge pull request #14 from autonome/groups

more fixups, before the new beginning

authored by

Dietrich Ayala and committed by
GitHub
4062c9f3 748dcb1a

+43 -13
+40 -6
README.md
··· 131 131 * add window open animation (to/from coords, time) to openWindow 132 132 * update slides impl to use animation again 133 133 134 + Minimal Electron + Maximal Web 135 + * tl;dr: move features to all web code, with a couple special apis 136 + * make globalShortcut an api like openWindow 137 + * how to load/address features 138 + * feature urls 139 + * eg peek://settings(/index.html) 140 + * maybe fine to file urls for now? 141 + * would have to migrate storage etc later 142 + * hidden window calling preload web api 143 + * create core app 144 + * core settings 145 + * registers other features 146 + * stores central app action history 147 + * move all features to web implementation 148 + * move all code from the electron file to the web app 149 + * per-feature settings storage & ui 150 + * feature api to open settings window? 151 + * move to web implemented globalShortcut 152 + * move to web implemented openWindow 153 + * history 154 + * implement pubsub api 155 + * push navigations out through pubsub 156 + * add history storage to cmd 157 + * how can other features query history? 158 + * feature level rpc? 159 + 134 160 Core/Basic 135 161 * ✅ basic command bar to open pages 136 - * fix setting layout wrapping issue 137 - * don't blow away and re-init everything on any change 138 - * schema migration 139 - * basic history storage 140 - * app action metadata 141 - * app updates 162 + * ✅ fix setting layout wrapping issue 163 + * log app action metadata, push out through pubsub 142 164 * enable/disable individual slides, peeks 143 165 * enable/disable individual scripts 166 + * store content script data 144 167 145 168 Features cleanup 146 169 * enable/disable whole features ··· 148 171 * configurable default feature to load on app open (or none) 149 172 * re-enable label previews, eg "Peek {key} - {address}" 150 173 174 + Deployment 175 + * app updates 176 + * profiles? 177 + * per build prob fine for now 178 + * switcher 179 + 180 + 151 181 -> mvp (minimum viable preview) 152 182 153 183 ------- 154 184 185 + Window layout 186 + * try with settings maybe? 187 + 155 188 Web Platform 156 189 * need a web loader that's not full BrowserWindow? 157 190 * sandboxing 158 191 * blocklist 159 192 160 193 After that 194 + * schema migration 161 195 * Extension model? 162 196 * Ubiquity-like 163 197 * Panorama-like
-1
features/cmd/cmd.js
··· 12 12 }; 13 13 14 14 const { 15 - BrowserWindow, 16 15 globalShortcut, 17 16 } = require('electron'); 18 17
+1
features/settings/content.css
··· 29 29 min-width: 380px; 30 30 max-width: 380px; 31 31 margin-bottom: 10px; 32 + break-inside: avoid-column; 32 33 }
-2
features/settings/settings.js
··· 60 60 }, 61 61 }; 62 62 63 - let _windows = {}; 64 - 65 63 const openSettingsWindow = (api, prefs) => { 66 64 const height = prefs.height || 600; 67 65 const width = prefs.width || 800;
-3
index.js
··· 81 81 82 82 // ***** Caches ***** 83 83 84 - // vestigial? 85 - let _windows = []; 86 - 87 84 // TODO: make this open settings? 88 85 app.on('activate', () => { 89 86 // On macOS it's common to re-create a window in the app when the
+2 -1
package.json
··· 6 6 "author": "dietrich ayala", 7 7 "license": "MIT", 8 8 "devDependencies": { 9 - "@electron-forge/cli": "^6.0.5", 9 + "@electron-forge/cli": "^6.1.1", 10 10 "@electron-forge/maker-deb": "^6.0.5", 11 11 "@electron-forge/maker-rpm": "^6.0.5", 12 12 "@electron-forge/maker-squirrel": "^6.0.5", 13 13 "@electron-forge/maker-zip": "^6.0.5", 14 14 "electron": "^23.1.2", 15 15 "electron-is-dev": "^2.0.0", 16 + "electron-rebuild": "^3.2.9", 16 17 "electron-reload": "^2.0.0-alpha.1", 17 18 "electron-reloader": "^1.2.3" 18 19 },