Commit Graph

167 Commits

Author SHA1 Message Date
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
efim e23afdab6f feat(11): adding reverse proxy to module 2023-06-27 15:53:28 +00:00
efim e618397eb8 fix(11): relative paths to resources 2023-06-27 14:37:43 +00:00
efim f37fc0da11 fix(11): adding missing systemd options
Configure unit start rate limiting. Units which are started more than startLimitBurst times within an interval time interval are not permitted to start any more.
https://search.nixos.org/options?channel=unstable&from=0&size=50&sort=relevance&type=packages&query=startLimit
2023-06-27 13:49:20 +00:00
efim 73bd2eba84 feat(11): initial module with a service 2023-06-27 13:19:23 +00:00
efim e7594ef2eb feat: nix build enabled 2023-06-26 20:52:44 +00:00
efim ef63cd474f feat: adding assebly
run with
 java -jar ./target/scala-3.3.0/priceGrid-assembly-0.0.1.jar
build with
assebly command in sbt
2023-06-26 18:50:36 +00:00
efim 44340882ab feat: moving to sbt for building
it will be able to build into nix with sbt-derivation
oh well
2023-06-26 18:42:42 +00:00
efim dbe2cd47da feat: accepting port and host
using lihaoyi mainargs, yay
and running .main on custom cask.Main

had a problem with run arguments "port" and "host" having same name as
inner attributes of cask.Main and i guess infinite recursion when i
tried to reference outer args, the more you know
2023-06-26 16:43:05 +00:00