Commit Graph

125 Commits

Author SHA1 Message Date
efim 18d91b742e fix(14): prettier animation 2023-07-02 07:22:28 +00:00
efim 69dc59a1ed feat(14): animated countdown to house choice 2023-07-02 07:17:28 +00:00
efim 73ccfba393 feat(14): update and persist scores 2023-07-02 06:58:33 +00:00
efim 4a5a13f6d4 fix(14): styling and text of message 2023-07-02 06:26:28 +00:00
efim 697985a480 feat(14): appearing message, new game request 2023-07-02 06:15:11 +00:00
efim 4e1f4f4a8e feat(14): setting up result message with data
i think i should be able to make it appear with delay just with css
(and that would also mean that my initial delayed call to get house
choice is also not necessary, but oh well, this is still nice practice)
2023-07-02 06:01:00 +00:00
efim 02a5f41800 refactor: make choices object, move out style
this should allow to write 'isBeating' function over choices.
and maybe move to enums
2023-07-02 05:26:23 +00:00
efim 54af09d356 feat(14): easy htmx automatic timed request 2023-07-01 20:07:53 +00:00
efim de3d4781f0 feat(14): manual request of house choice
hodgepodge of 2 fragments which are put into house choice depending on
the state.

the alignment is done in a very not nice way.
2023-07-01 20:00:19 +00:00
efim 66013ae1c6 feat(14): template in showdown-table, show choice 2023-07-01 14:20:52 +00:00
efim 69a464a767 feat(14): controls generated from fragment
with their own ids and htmx requests to submit the vote
2023-07-01 13:40:48 +00:00
efim 560ce6896a feat(14): controls models for fragment rendering 2023-07-01 13:06:36 +00:00
efim 91c53429e0 feat(14): initial static section change
paper control switches "controls" to "showdown" - the fragment of
results page. yay
2023-07-01 13:05:55 +00:00
efim 726cadec19 feat(14): final static main stylig 2023-07-01 08:10:16 +00:00
efim 9fc2e959fa feat(14): initial static styling of showdown 2023-07-01 07:25:20 +00:00
efim bed0387575 feat(14): styled static selection screen 2023-07-01 06:09:06 +00:00
efim de431a4bc0 feat(14): styled 3 controls, with css vars
for size, colors, position, this should be what i need i hope
2023-07-01 05:38:59 +00:00
efim 364d8a737a feat: initial styling of control 2023-07-01 04:58:37 +00:00
efim 6aa5c25a5e feat(14): adding exercise resources and guide 2023-06-30 18:20:39 +00:00
efim 1c8bc38f29 feat(14): enabling tailwindcss
the command to generate
"tailwindcss -i ./src/input.css -o ./src/main/resources/public/output.css --watch"
and this should be same during dev and in install script,
but. we'll be committing the output.css, let's try that
2023-06-30 17:03:21 +00:00
efim 83c75ad3a9 feat(14): enabling public resource serving
this time with "staticResources" for files in 'main/resources' which
should be copied and put onto classpath by the scala compilation, yay
2023-06-30 16:40:40 +00:00
efim ec5cac0680 feat(11): enabled cask server with simple template 2023-06-30 14:06:15 +00:00
efim 770b4f6e87 init(14): scala project def with main args 2023-06-30 13:47:20 +00:00
efim b6ba1dfcd0 feat: installing htmx and toggling card size 2023-06-30 11:58:54 +00:00
efim 3e00aa5f3d feat(13): rest route get single testimonial card
not ideal, that i need separate file, even though i can use the fragment
from the main file.

and having th:eac in same place as th:fragment means rendering that
fragment and passing element over which i'm iterating doesn't help if
collection is empty
2023-06-30 03:44:41 +00:00
efim c9195759a8 feat(13): dynamic grid desktop layout 2023-06-29 19:30:12 +00:00
efim 36b91cd5d1 feat(13): desktop grid styling 2023-06-29 19:09:30 +00:00
efim 4248d1b047 feat(13): encoding data on server 2023-06-29 18:18:33 +00:00
efim 657d7c7407 feat: repeating dynamic testimonial section 2023-06-29 16:59:55 +00:00
efim 951d364380 feat: styling statically all other testimonials 2023-06-29 16:13:05 +00:00
efim 71be19c677 feat: styled first testimony as static page
bg - relative from 'output.css'
image - relative from templates/index.html

ideally i'll figure out how to lay out things, so that relative paths
would be same as paths during deploy
2023-06-29 15:54:47 +00:00
efim ec8c8bb678 feat: setting up mess of thymeleaf.
had problems with th:fragment, getting errors
Caused by: ognl.OgnlException: source is null for getProperty(null, "text")

now will try to style the page as if it's static page, and then add
thymeleaf things
2023-06-29 15:23:47 +00:00
efim 7fac41488c feat: project to play with simpler fragments
my problem was - thinking that th:fragment is not rendered
but it is, and i get null poniter error, because argument is not there

the object under name used in fragment should already be available, for
example take out of th:each
2023-06-29 15:20:59 +00:00
efim 2dff41f428 feat(13): style guide into config 2023-06-29 12:13:18 +00:00
efim d181064165 feat(13): setting up tailwindcss 2023-06-29 11:35:03 +00:00
efim df09abd9a4 feat(13) adding exercise resources 2023-06-29 11:32:14 +00:00
efim d35bf9735c feat(13): starting simple web server 2023-06-28 15:35:34 +00:00
efim 28f2cf281a init(13): new sbt project, main args 2023-06-28 15:24:03 +00:00
efim 2f1804a9fd feat(12): nix installation of exercise 2023-06-28 12:51:03 +00:00
efim abf0c7262d docs: saving some things about dev process 2023-06-28 12:28:59 +00:00
efim 520dd6de9c feat(12): moving order summary into template file 2023-06-28 12:16:52 +00:00
efim 1d7647bcdf feat(12): active states styled 2023-06-28 12:10:25 +00:00
efim 6cd6c8cc3e feat(12): desktop styling 2023-06-28 12:04:22 +00:00
efim 0816b79c26 feat(12): styling mobile 2023-06-28 11:53:11 +00:00
efim 578c5d7d05 feat(12): adding style guide to config 2023-06-28 08:55:01 +00:00
efim b8c5a0f19b feat(12): tailwindcss init 2023-06-28 08:43:28 +00:00
efim 3e395b5034 feat(12): adding assets of the exercise 2023-06-28 08:35:31 +00:00
efim 77dca6b951 feat(12): plugin to restart dev server in sbt 2023-06-28 08:29:38 +00:00
efim 509c45b357 feat(12): adding thymeleaf lib and template resp 2023-06-28 07:18:00 +00:00
efim d0f8cd771e init(12): new sbt project: static price component 2023-06-28 06:11:07 +00:00