Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 21 06:19
    scala-steward opened #67
  • Sep 17 03:52
    scala-steward opened #66
  • Sep 16 16:41
    scala-steward opened #65
  • Sep 09 13:46

    sake92 on master

    Update sbt-ci-release to 1.3.1 Merge branch 'master' into upda… Merge pull request #63 from sca… (compare)

  • Sep 09 13:46
    sake92 closed #63
  • Sep 09 13:45
    sake92 synchronize #63
  • Sep 09 13:45

    sake92 on master

    Update sbt to 1.3.0 Merge pull request #64 from sca… (compare)

  • Sep 09 13:45
    sake92 closed #64
  • Sep 09 13:44

    sake92 on master

    Update scalafmt-core to 2.0.1 Merge pull request #62 from sca… (compare)

  • Sep 09 13:44
    sake92 closed #62
  • Sep 09 13:44

    sake92 on master

    Update sbt-scalafmt to 2.0.4 Merge pull request #61 from sca… (compare)

  • Sep 09 13:44
    sake92 closed #61
  • Sep 09 13:44
    sake92 closed #58
  • Sep 07 07:31
    scala-steward opened #64
  • Sep 07 07:30
    scala-steward opened #63
  • Aug 27 17:36
    scala-steward opened #62
  • Aug 27 17:36
    scala-steward opened #61
  • Aug 12 10:35

    sake92 on master

    Update scalatags version to com… Merge pull request #60 from ale… (compare)

  • Aug 12 10:35
    sake92 closed #60
  • Aug 11 19:37
    alexjbush edited #60
Sakib Hadžiavdić
@sake92
first time I see it, looks very interesting
although it is more like a dynamic thing, probably more suited for ScalaJS
DOM manipulation etc
Sakib Hadžiavdić
@sake92

An almost trivial but useful thing would be Fontawesome helpers
e.g. with a definition like: def syncAlt(mods: Seq[FaModifier] = Seq.empty, styles: Seq[StylePair] = Seq.empty)
Sakib Hadžiavdić
@sake92
FA.syncAlt(mods = Seq(FaSpin))
should render <i class="fas fa-sync-alt fa-spin"></i>
Sakib Hadžiavdić
@sake92

0.4.0 is released! :smiley:
featuring Play framework support
Peter Pan
@P3trur0
hi @sake92 could you please explain how it now works in detail the hepek-components part?
I had no chance in previous days to follow all the occurred changes of the source code, but today I am trying to fix some of the Bulma issues although I found it already changed
Sakib Hadžiavdić
@sake92
@P3trur0 yeah, sorry about that.. :D
I wanted to extract these "components" in a separate project
so it can be used in different contexts: Static site generator and Play framework
Play doesn't need some classes like StaticPage, blog support, automatic paths etc

I did some work on Bulma also, you probably saw that
Grid now works fine, forms need some more work :)
Also, started to extract these common classes like btnSuccess, btnDanger etc in Classes trait
Sakib Hadžiavdić
@sake92
Makes sense? xD
Peter Pan
@P3trur0
Yup, I see. So basically the stuff in hepek Is no more necessary? For example all the components written so far
Sakib Hadžiavdić
@sake92
Well, hepek (SSG) depends on components
Peter Pan
@P3trur0
Since now there are Form and Grid ones in hepek-components, right?
Sakib Hadžiavdić
@sake92
they're just moved in a subproject
Peter Pan
@P3trur0
Ok, clear 🙂
Sakib Hadžiavdić
@sake92
If someone needs "a bunch of scalatags helpers" he can use hepek-components
yup, great :smile:
Peter Pan
@P3trur0
But for example, assuming we'd like to use Bulma CardComponent, do we have to import the new bulmatextclasses?
Sakib Hadžiavdić
@sake92
I didn't have time to migrate all those components
"hepek-components" should contain universal components
that work with both Bootstrap and Bulma
If you manage to make that work, it would be great :slight_smile:
otherwise, we'll leave them as is
see GridComponents for example
Sakib Hadžiavdić
@sake92
We have an implementation for Bulma and for Bootstrap, and can easily switch from one to other
Peter Pan
@P3trur0
perfect then
so to wrap up my understanding: hepek-components is for common scaffolding, while all the custom part should goes under hepek module itself
Sakib Hadžiavdić
@sake92
Yes, kinda, use hepek for experimenting
Peter Pan
@P3trur0
ok :smile:
Sakib Hadžiavdić
@sake92
btw, i fixed that bug with repeating cls := ..
you can remove those enrichClass.. stuff
Peter Pan
@P3trur0
cool
Alex Bush
@alexjbush
Hey, I love this lib btw
Is there a reason why you are using a snapshot scalatags version from ba.sake instead of com.lihaoyi?
Sakib Hadžiavdić
@sake92
@alexjbush thanks, and welcome! :smiley:
there was a bug in scalatags, it merged repeated attributes
I guess we could update it to scalatags 0.7.0 now :)
Alex Bush
@alexjbush
Ah great :D