Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Glen Marchesani
    @fizzy33
    where the problem is now moved to the people that style the app to say "hey this thing that takes some time to get initialized needs to get styled properly before it gets intiialized"
    and in that case if we want we can always supply something in the case where there is no value. i.e. we can supply a default empty view which is MUCH MUCH easier to do since that is the UI person doing that at the point
    instead of what we find one layer affecting the other layer in unpredicted ways
    software isn't in a vacuum
    I am curious to see how this fork works out, happy to post it once I get it working fully
    with this fork we have discussed something where you can take an Rx and supply a default if the Rx is empty
    Glen Marchesani
    @fizzy33
    @OlivierBlanvillain so far it is pretty clean, I have it integrated with the main app
    300K+ lines of code
    and the majority of work was cleaning up cruft and hacks around having "empty" values hanging around the model
    Glen Marchesani
    @fizzy33
    the product will go through QA testing shortly
    Anton Kulaga
    @antonkulaga
    Is this library totally dead? I mean is anybody working on 2.13 & Scalajs 1.1x version?
    Olivier Blanvillain
    @OlivierBlanvillain
    @antonkulaga It's not dead, it's done ;)
    PR welcome for Scala.js 1.x
    Glen Marchesani
    @fizzy33
    lol
    I have a fork I use for my commercial applications
    2.12 and 2.13 and the various scala js versions
    and to be clear this project is far from done for me ;-)
    I have long standing commercial applications committed to it
    Ján Nosál
    @JanNosal
    @OlivierBlanvillain I can't find the info about this, I wonder, is server side rendering possible?
    Olivier Blanvillain
    @OlivierBlanvillain
    @JanNosal Not in the current state, alought looking at what other libraries are doing it might be theoritically possible...
    Anton Kulaga
    @antonkulaga
    @fizzy33 what is the link for the work, is it Scala 1.x compartible?
    Simon Morgan
    @simon-morgan
    I just saw OlivierBlanvillain/monadic-html#116 which is fantastic.
    @olafurpg thanks for getting this pr done - I've been eagerly watching for the move to Scala.js 1.x.
    @OlivierBlanvillain, firstly thanks for a this great Dom binding library - I use it every day! Secondly, is there any help I can provide to get this pr merged and released?
    Anton Kulaga
    @antonkulaga
    I am looking forward to this PR cause I am blocked in my move to 1.x because of it not being merged :(
    Anton Kulaga
    @antonkulaga
    I see it is merged. Cool! @OlivierBlanvillain will you publish it as well? I finally want to move to Scala 2.13
    Simon Morgan
    @simon-morgan
    @OlivierBlanvillain any chance you could publish? Many thanks!
    Raphael Bosshard
    @esarbe
    @OlivierBlanvillain @olafurpg Thanks a bunch! Very nice.
    Miuler
    @miuler:matrix.org
    [m]
    Hi
    Raphael Bosshard
    @esarbe
    I've been able to work around it for a while now by publishing locally. But I really would love to see monadic-html released for sjs1. Anything I can help with?
    Raphael Bosshard
    @esarbe
    Since I'm very unhappy with xml literals for building pages, I'm currently working on "monadic-scalatags"
    Raphael Bosshard
    @esarbe
    I've got a proof-of-concepts ready, although I'm quite uncertain how to deal with cancelables. For now I just throw all of them in a shared context.
    Simon Morgan
    @simon-morgan
    I've also been using a locally published version so that I can work on Scala.js 1.x - monadic-html is now the only library in my stack not on Scala.js 1.x but it just too good to abandon! I actually like using xml literals as it so easy to paste html snippets from Bootstrap directly into the code. But I can see that a scala-tags option would also be good. I am focussed on other things at present, but later this year I am keen to help this library get upgraded to Scala 3 as well - it is simply too useful to be left behind!!
    Raphael Bosshard
    @esarbe
    I've registered a sonatype account for another project. I could publish a 1.x version under another group identifier. :(
    Simon Morgan
    @simon-morgan
    @esarbe hopefully @OlivierBlanvillain will be in a position to publish shortly. @OlivierBlanvillain by all means reach out if you feel we can help out.
    Raphael Bosshard
    @esarbe
    Yes, please do so, @OlivierBlanvillain
    antonkulaga
    @antonkulaga:matrix.org
    [m]
    so which dependency should I use to switch to Scalajs 1.x?
    Raphael Bosshard
    @esarbe
    Unfortunately there currently is no release for Scalajs 1.x
    Raphael Bosshard
    @esarbe
    You can do what I'm currently doing and use local published artifacts.
    Rohan Sircar
    @rohan-sircar
    or you can use jitpack
    antonkulaga
    @antonkulaga:matrix.org
    [m]
    maybe you can publish it on bintray? It is way easier than maven
    I think now it is called jfrog
    antonkulaga
    @antonkulaga:matrix.org
    [m]
    antonkulaga
    @antonkulaga:matrix.org
    [m]
    has anybody tested it?
    Ólafur Páll Geirsson
    @olafurpg
    @antonkulaga:matrix.org there's now an official release with support for scala.js v1 https://mvnrepository.com/artifact/in.nvilla/monadic-html_sjs1_2.13/0.4.1
    @esarbe FYI, comment abve :point_up:
    Simon Morgan
    @simon-morgan

    great to see official release with support for scala-js v1 - thanks so much to those who worked on this!!

    This is a great library - small, fast, extremely useful and maintainable!! Regarding maintainability, a quick look into the code indicates to me that an update to scala 3 and cats 3 would not be that hard which is just another positive trait of this great library!! Thanks again!!

    Ólafur Páll Geirsson
    @olafurpg
    @simon-morgan the CI is configured to release on git tag push so future releases should be easier to get out
    @simon-morgan XML literals are removed in Scala 3 so that will need a new solution
    Simon Morgan
    @simon-morgan
    @olafurpg thanks for you post. Good to hear that future releases will be easier. I didn't know xml literals would be dropped! Looks like @esarbe 's idea for using scala-tags is on the right track. @esarbe do you have a link to your proof of concept?
    Simon Morgan
    @simon-morgan
    @esarbe I found it at https://github.com/esarbe/monadic-html/tree/scalatags - I hope to review it later today!