Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 17:19
    sake92 commented #56
  • Dec 08 21:36

    sake92 on master

    Update README.md (compare)

  • Dec 02 08:35
    scala-steward opened #83
  • Nov 27 19:28
    sake92 closed #80
  • Nov 27 19:28
    sake92 commented #80
  • Nov 27 19:10

    sake92 on v0.5.0

    (compare)

  • Nov 27 19:01

    sake92 on master

    Disable coursier Update versions. Fix compile on… (compare)

  • Nov 27 18:33
    sake92 closed #79
  • Nov 27 18:33
    sake92 closed #78
  • Nov 27 18:33
    sake92 closed #77
  • Nov 27 18:33
    sake92 closed #76
  • Nov 27 18:33
    sake92 closed #73
  • Nov 27 18:33
    sake92 closed #72
  • Nov 27 18:33
    sake92 closed #70
  • Nov 27 18:33
    sake92 closed #66
  • Nov 27 14:40
    sake92 commented #80
  • Nov 27 14:22

    sake92 on master

    Drop Play 2.6 support Merge pull request #82 from sak… (compare)

  • Nov 27 14:22
    sake92 closed #82
  • Nov 27 14:21
    sake92 opened #82
  • Nov 27 14:21

    sake92 on drop-play-2.6

    Drop Play 2.6 support (compare)

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