SignalR in v14
w
Question: Will SignalR still be part of the core in v14 or does my package need to set it up?
Maybe @Sven Geusens you might know about this?
s
I know we are looking to use it in the future for real time updates and such, but don't know the current status of the setup right now. Lemme grab the laptop and have a quick poke 😉
k
you need the npm package, but i think the c# libraries are still in the core. https://github.com/KevinJump/uSync/tree/v14/dev/uSync.Backoffice.Management.Client/assets/src/signalr
s
The mighty Kevin to the resque once again #h5yr!
Can confirm the hub logic was moved to the managmentApi and is (currently) planned for the preview functionality, so should be safe to count on it not being removed any time soon.
w
Thanks Kevin nice way to wrap the js hub as a context
k
yeah - it turned out much neater than i hoped, (i think i will prob make it more generic when it then is needed in uSync.Complete)
w
Registering a hub in c# still the same just namespace changes?
k
yes, i think so. we register a root via an umbraco pipeline.
i think i need to clean that up a bit, because of old/new piplinefilter methods (both still work)
s
🤔 old pipeline filters, time to do another round of cleanup 😁
w
Thanks both. Just had a quick skim through your branch Kevin seems your far along 💪
Knowing you a beta release to coincide with beta tomorrow 😛
k
yeah - uSync is 'beta' ready 🙂
couple of rough edges to tidy tommorow
w
Haha thought as much !!
k
I don't think dropping an old usync folder in and importing will work for the beta though. but working on it.
w
Now you done the bulk. Is there anything you would share or type up as more notes in dev.to posts?
s
Quite a lot of datatype cleanups happened and a few more minor ones incomming. Keep an eye on the DB migrations (and possible dashboard auto cleanup stuff)
k
yes - i might do a bit more on train tommorow, I have an idea for a 'simple' server communication setup (e.g not element, context, repo, store, source, resource 🙂
w
Yeh I simplified mine for now. Just too much for my needs right now
k
yes - main hurdle to a beta uSync has been the moving datatypes 😉 - some minor conversions can get a -> b , but we have usync.Migrations to do grid -> block grid, and my ideal. is a button, that detects old uSync folder and says "shall we convert this for you" ... but not for beta
Also, Mainteance manger (not done by me!) has some nice simpler update code in it for properties on a page. so that will probibly need to be written up to. https://github.com/henryjump/Our.Umbraco.MaintenanceMode/tree/v14/dev/MaintenanceManager.Client/assets/src
w
Henry Jump?! Your twin bro who also loves to code?
k
Son... growing the business.
s
😄
4 Views