T
TyphonJSTyphonJS (Michael)

Setting up TRL / contributing to existing module (Item Piles)

Hi @Paith. I have started this forum post where we can continue to discuss setting up TRL and getting you on the path to potentially investigating / contributing to Item Piles. I'm going to include @Wasp as well who develops / maintains Item Piles. Lots to potentially discuss and I'm definitely keen to help. Check the pins in #welcome for an overview on TRL and various additional / demo resources that are available. Getting your developer setup via Node / NPM will be the first thing to make sure you have sorted.
P
Paith187d ago
I got it running locally instead of the module installer so I can play wiht it now
TM
TyphonJS (Michael)187d ago
Excellent. What is your developer background? What IDE are you using?
Personally I use WebStorm and think it's super strong when it comes to working w/ Foundry as it's very easy to setup linking the Foundry client source code for intellisense and debugging. This helps tremendously when being able to get introspection into how Foundry works and immediately be able to jump to the Foundry client code. You can also link the Item Piles source code and set break points in any module or system easily. Being new to the platform has many challenges. TRL / TyphonJS Runtime Library that I put out is something I've been working on full time since Oct '21, so there is a lot there as well. Each developer though will have varying levels of code quality and I haven't worked w/ Item Piles. It's super awesome, but you might come across some complex code in relation to Foundry for your first experience diving in... I CCed Wasp on this forum post, so perhaps you can mention what you are interested in investigating and he can point you to more info or perhaps an even better place to hold such a conversation.
W
Wasp187d ago
Yeah, Item Piles has slowly turned into bit of a spaghetti fest in regards to its custom stores, as I was, once again, learning as I went 😄 I've pointed Paith in the right directions in regards to how I handle system-specific implementations, and I think Paith's got a handle on it!
P
Paith187d ago
Long long time ago (10+ years) I went to school for webdesign and programming, learned VB, C#, C++, Java as well as the stuff needed for web design, but t hings have changed since then and its all muddled in this old mans brain now. Most of my html/js/css I do in visual studio code
TM
TyphonJS (Michael)187d ago
Lots of folks use VSCode as it's free, but it can be a challenge to set up effectively for Foundry development. I don't think there is any specific guide on best practices in this regard either. There has been a tremendous amount of change in the past 10 years re: web technologies. TRL / framework that I've put together is using the latest build resources (Vite) and Svelte (reactive library) plus a lot of other best in class libraries under the hood. The nice thing about TRL is that it brings all of these resources together in an organized manner and handles deep integration aspects w/ the Foundry platform for reactivity out of the box. Right on.. No worries of course; I just brought that up lightly as Item Piles could be difficult to examine as an introduction to Foundry itself and I believe you mentioned as much previously. 😄 In time I'm sure it'll get a refactor; probably best to see what Svelte 5 brings to the table first though. @Paith if you do start digging into things and like the Svelte / TRL approach in general check out the pin in #welcome for other resources to set up. It's also highly recommended to work through the Svelte interactive tutorial to get a better understanding of how it works: https://learn.svelte.dev/tutorial/welcome-to-svelte and checking out the demo repo essential-svelte-esm: https://github.com/typhonjs-fvtt-demo/essential-svelte-esm. Feel free to ask questions in #dev-lounge or make additional forum posts on specific topics that may have a longer discourse.
P
Paith187d ago
will do
Want results from more Discord servers?
Add your server
More Posts
Reactivty and prepareDerivedDataFrom @Wasp > So I'm using prepareDerivedData to, well, derive some data for my items; some of them aLocal Development w/ NPM LinkFrom @Gerark: > Hello! this is probably a base webdev question but I can't find a good reference forIssues Configuring TyphonJS in TSI'm receiving this message in my TS Files: `Cannot find module '#runtime/svelte/application' or its TRL / Svelte based game systemsThis post is a list of repos for game systems built with TRL / Svelte for Foundry. Please DM me if yList of TjsdocumentsLink to original response: https://discord.com/channels/737953117999726592/1067337319041998869/11562Is there a way to export the quest log?I'm trying to setup a world for the PF2E Beginner Box but right now I working in a beta testing worFabricate@MisterPotts. Just starting a forum post to keep track of the conversation. > Fabricate doesn't maSvelte 5 TJSDocument PrototypeGreets @FVTT ▹ Developer. As some of you might have seen there is a bit of paradigm shift that is Funky interaction with fokus managementTJS's Focus Management is creating fun issues for me again. focusKeep = true causes my drag and dropHow to get rid of funky Prosemirror overlapHi. I'm getting some overlap with Prosemirror (see image) any ideas how to avoid that? ``` "@tyFQL / TextEditor enrichment issueFrom @ooblekie: > can anyone give me a hand as to why the text keeps coming up as object promise inTJSDocument not working properly with Module Sub-Types (Data Models)In Foundry, modules can define a [Sub-Types](<https://foundryvtt.com/article/module-sub-types/>) usiTRL `0.1.2` - Fine Tuning releaseGreets @FVTT ▹ Developer! I have just released a fine tuning release that brings a few more featureEmbed a DropDown/MenuList made with SvelteHello again! 😄 I've been pondering creating a second module for Foundry and a few questions poppedSlide Animations for SvelteApplicationI'd like my window ( which is an EmptyApplicationShell ) to play a slide-in animation when open andBug: Multiple ProseMirror editors on same svelte component do not save properlySimple reproduction in a foundry world with at least one actor defined: ``` <svelte:options accessorSystem Works in Dev Mode but not after buildAfter updating to 0.1.1, I noticed something odd happening. The TITAN system now seems to work whenError building after updating to TRL 0.1.1Recently updated the TITAN system to TRL 0.1.1, but when I `npm run build` it errors out. Not sure w