Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Jan Dryk
    @uxsoft
    well its not not-broken
    Jan Dryk
    @uxsoft
    while on the spinner i also did buttonspinner btw
    Jan Dryk
    @uxsoft
    Josua Jäger
    @JaggerJo
    Wow, thats a lot :D
    Jan Dryk
    @uxsoft
    well... not really because I didn't bother with ControlCatalog
    But that can be done later
    Josua Jäger
    @JaggerJo
    Ok, there's on thing that needs to be changed. I commented on the PR
    Jan Dryk
    @uxsoft
    My bad. I do braindead ctrl+C ctrl+V programming on this one so I miss some sometimes
    i commited a fix
    Josua Jäger
    @JaggerJo
    ok, then I will merge it :D
    Jan Dryk
    @uxsoft
    I was thinking about the live previewer stuff and I'd like to run by you this idea:
    in the Main.fs you'd add a call like |> Program.enableLiveReload
    this would setup a filesystemwatcher over the project directory
    when there's a change it would call dotnet build and specify the output path somewhere else like /bin/LiveReload instead of /bin/Debug so the build doesn't fail because the app is running
    then it would Assembly.Load the new binary/binaries
    and replace the view function
    Jan Dryk
    @uxsoft
    but i havent ever done something like this and i've got no idea if it would work
    Josua Jäger
    @JaggerJo
    I thinks this should be (with some small changes) doable, and I don't even think its that complicated
    Jan Dryk
    @uxsoft
    Well that was the idea to not make it complicated
    Josua Jäger
    @JaggerJo
    Worked :)
    It's pretty simple how you described it
    ....
    Bindings for Popup are complicated
    Jan Dryk
    @uxsoft
    Really?
    Well im trying to build a poc of the live thing
    Josua Jäger
    @JaggerJo
    Yeah, there are a few things I think that would make it even simpler
    1. Make another app "Live Preview"
    2. App you want to preview implements method on Program "CreatePreview : unit -> Control)" that creates a ViewHostControl with the main view and maybe some demo data. (or the actual data)
    3. Do it as you said, but now you can just switch the loaded external binaries. Not the whole app
    Jan Dryk
    @uxsoft
    Why are bindings for popup so complicated?
    Ye maybe it’ll end up this way right now im exploring another option where you make view a mutable property which the program can replace
    Josua Jäger
    @JaggerJo
    Popup has a property called 'PlacementTarget' that needs a reference of a control
    Jan Dryk
    @uxsoft
    Hmm
    Josua Jäger
    @JaggerJo
    Yep
    Maybe we could derive from Popup and make it possible to specify the name of the target
    or check if it would be possible to have an attached popup property where the target is se automatically
    Josua Jäger
    @JaggerJo

    Ye maybe it’ll end up this way right now im exploring another option where you make view a mutable property which the program can replace

    Cant wait :) This would bring it to a new level

    Jan Dryk
    @uxsoft
    man now I understand why Fabulous didn't use Elmish but wrote their own loop
    that thing is not made to be extensible
    Josua Jäger
    @JaggerJo
    😬 ok, so we need our own implementation at least for the previewer ?
    Jan Dryk
    @uxsoft
    No idea yet
    Ill try to get it working in some poc fashion then i’d like to discuss how to integrate it i guess
    Josua Jäger
    @JaggerJo
    👍🏼
    Josua Jäger
    @JaggerJo
    I'm doing all the Shapes next. Popup is bound but has some problems. I think it would be the best thing to provide a flout control implementation instead of pushing users to popup as its a bit complicated
    btw. let me know if you need help with something while your working on the PoC
    Jan Dryk
    @uxsoft
    i have the two assemblies loaded, am currently struggling with getting the loaded one to the existing app
    casting throws an error
    Josua Jäger
    @JaggerJo
    Nice!
    I've done bindings for Shapes. Hope I will get all bindings done until next week.
    Josua Jäger
    @JaggerJo
    moved 'FuncUI' to a Organisation.