devmode extension brainstorm

CCalego3/9/2022
want to know what sort of benefits this has over the current 'just console log it'
Cccjmk3/9/2022
hmm i don't know if its the same but I did the chrome extension demo 🤓 ... just that hahah
CCalego3/9/2022
List all World Documents, kind of souped up version of "print to console" could be useful A flag editor/document editor which manually updates things?
Cccjmk3/9/2022
I mentioned hooks as a half joke but it would be nice. very level-0 shit, a toggle to log hooks or not
CCalego3/9/2022
yeah but devmode already does that
Cccjmk3/9/2022
yeah but it could replace it 😛
CCalego3/9/2022
agreed, it would have a place in this
Cccjmk3/9/2022
localization shit ? I don't know how accessible it might be
CCalego3/9/2022
debug tools has access to like the profiler and shit I think wonder how a 'custom foundry profiler' might look i know react devtools has stuff like that
Cccjmk3/9/2022
but been able to see maybe the tree of translations could be handy, for like when you are translating a module/system onto another module, so you could double check where each localized text is coming from oh yeah this uses a manifest too, it looks rather similar too, seems to be using service workers on a similar fashion but registering different parts of the API
Cccjmk3/9/2022
Chrome Developers
Getting started - Chrome Developers
Step-by-step instructions on how to create a Chrome Extension.
DTDaniel Thorp3/11/2022
DF Flag Editor already exists btw
Cccjmk3/11/2022
sure, but I mean, it's totally a module/system dev tool, we could work on integrating it into this devmode or do something similar while im all in for smaller.. more.. emm.. modular? modules in general usage terms, as one game might not require what other does, or one system from another, or even users might prefer other module for doing this or that thingy, the fvtt development space does feel like the right spot to amalgamate these modules into more comprehensive tools.
CCalego3/11/2022
more interested from the perspective of "a chrome extension might work even if the foundry UI fails to initialize"
Cccjmk3/11/2022
didn't even consider that point, also love it
DTDaniel Thorp3/11/2022
How often will the UI fail to that degree, but still load module scripts? It's never happened to me that the UI is broken and scripts still load
Cccjmk3/11/2022
I think the goal is that this will not be a module, so it would not go through the same flow
CCalego3/11/2022
^ as a chrome extension it wouldn't be a module at all yeah
DTDaniel Thorp3/11/2022
Ah 🤔
Cccjmk3/11/2022
@arcanist this would be implemented using something similar to the PWA thingy you did, uses a similar manifest and shit
DTDaniel Thorp3/11/2022
Oh, yeah. You realize that means that users must manually copy the service worker into their Data folder since modules can't download JavaScript there I originally tried putting the service worker in the module folder, but that doesn't work because it's scoped to sub-directories
Cccjmk3/11/2022
hmm
DTDaniel Thorp3/11/2022
Does it require a service worker?
Cccjmk3/11/2022
as far as I understand (with like a five minute investment of time two days ago) yes

Looking for more? Join the community!

Want results from more Discord servers?
Add your server
Recommended Posts
Saving Functions as module settings@wasp I remember you asked about saving functions as settings (which quickly turned into stringifyinnew consumable typesTried adding localization strings for some new consumable types, but keep getting this ("`DND5E.Consspell-compendium-5e alpha1Overriding onDropItem & onSortItemYou'd override them in your sheet class.getter & setter wrapper for settingsI'm trying to use a getter & setter pair as an interface for `game.settings.get` and `game.settings.scrollable tab contentsIt is possible, and you're firmly in the css and DOM structure side of development with this line ofJr devI'm cleaning out my bookmarks and accidentally came back to this article. Potentially useful startinHTCPackage: `hero-creation-tool`System Specific CSSI'm not 100% about this, but it is worth watching out that your solution doesn't actually end up beiadvancement-wipCommander register apitalking about permissions, im working on the registering api for the Commander, and I wanted to ask Azgaars Blurry MapHey all. I'm taking a look at my importer for Azgaar's Fantasy Map Generator and wondering how I canccjmk overlaybut for what I wanted I think I *needed* to append it there so that I can overlay the whole screencliits very very early alpha demoMonarch APIAlright, adventurous ones: I have a Beta version of Monarch with the new components API! Manifest: compacted chat cardsModules create problems to solve problems... Today's problem: "When I roll an attack, it eats the whdragdrop shenneneginsRight now, a user can drag a spell onto their character sheet. I store that in a 'spell' array and leffect mini modulesI've gotten to the point where I'm confident in releasing a slurry of tiny no-config Active Effect rdamage application hooksNew 5e Hook ideas, gimme yer thoughts: `Hooks.call('Actor5e.preDamageApplied')` args: `damageAmounthook conventionsRegarding hooks, is the convention that _all_ `pre...` hooks are executed on the machine that initia