Commit Graph

112 Commits

Author SHA1 Message Date
efim 076dc76ca4 feat(15): submitting form data on step back 2023-07-15 12:05:04 +00:00
efim 5f260455cb feat(15): displaying existing answers in form step 2023-07-15 04:36:28 +00:00
efim bf33858e41 feat(15): route to get previous form step 2023-07-15 03:50:51 +00:00
efim 6ed489835f feat(15): start form, save state, decode steps 2023-07-14 20:49:00 +00:00
efim febc77032b feat(15): steps submit form and set next 2023-07-14 20:17:15 +00:00
efim 65bfe3077f feat(15): receiving form submission from step 1 2023-07-14 18:29:25 +00:00
efim f8f1580fc7 feat(15): making fragments, loading based on step 2023-07-14 05:03:18 +00:00
efim aca7ae8ecf feat(15): index placeholder for the form
to be htmx'ed into getting appropriate step for the session
2023-07-13 19:31:53 +00:00
efim 03aa9f8b94 feat(15): associating session with root page 2023-07-13 18:31:30 +00:00
efim 2d514e9258 feat(15): initial styling step 5 2023-07-13 06:15:53 +00:00
efim 3c51273cc3 feat(15): initial step 4 styling 2023-07-11 17:55:26 +00:00
efim 68bd81ec3c feat(15): initial styling of step 3 2023-07-11 17:24:32 +00:00
efim ef7193530b feat(15): initial step 2 desktop styling 2023-07-11 16:36:28 +00:00
efim 35df226d25 feat(15): initial static step 2 styling
toggle with help from
https://tailwind-elements.com/docs/standard/forms/switch/
multi select via label

styling with "peer" modifier
2023-07-11 06:41:44 +00:00
efim 967864e72d feat(15): desktop styling step 1 2023-07-09 19:19:40 +00:00
efim 7b2060c5d0 feat(15): styling of mobile step 1 2023-07-09 18:22:14 +00:00
efim 8b62506f00 feat(15): initial styling footer-controls section 2023-07-09 18:04:43 +00:00
efim d8e25ff95d feat(15): initial mobile step 1 styling 2023-07-09 15:28:47 +00:00
efim 808ba96049 init(15): registering fonts with tailwind 2023-07-09 15:25:27 +00:00
efim 05c4044ef3 init(15): adding exercise resources 2023-07-09 15:05:07 +00:00
efim e9fcba7ad6 init(15): adding tailwind, yay 2023-07-08 18:41:46 +00:00
efim a2418a810c init(15): server returns dummy index from template 2023-07-08 18:27:21 +00:00
efim c27cb67c2a init(15): sbt project with mainargs 2023-07-08 17:06:32 +00:00
efim 084035fdcb docs(14): lessons learned in rock-paper-scissors 2023-07-07 05:01:41 +00:00
efim e4a18da5c2 docs(13): lessons learned fragments in thymeleaf 2023-07-06 06:16:55 +00:00
efim d73c39500b docs(12): lessons learned and docker deploy 2023-07-05 06:47:10 +00:00
efim 5dced77b4d docs(11): readme with lessons learned 2023-07-04 06:40:24 +00:00
efim 88e1d04e0d feat(11): docker image for price grid app 2023-07-04 05:19:57 +00:00
efim 572b63c82d feat(root): attempt to create combined project
right now struggling with making page relative links,
so that images would get pulled from "subproj/public" path
2023-07-03 07:34:41 +00:00
efim f6d8a1de8d feat(14): nix derivation to build docker image 2023-07-03 06:23:46 +00:00
efim 80af2e0fd0 feat(14): nix installation module for rps 2023-07-02 12:51:45 +00:00
efim 9ddd9d3943 fix(14): halo should be around winning hand 2023-07-02 12:31:18 +00:00
efim 59cab44920 feat(14): header desktop styling 2023-07-02 12:07:13 +00:00
efim a7dbfffa8e feat(14): styling of desktop rules modal 2023-07-02 11:50:47 +00:00
efim b67b3cdc89 feat(14): adding initial rules modal overlay 2023-07-02 11:41:31 +00:00
efim 372fb5a6ad feat(14): end of game animation
couldn't make circles grow from the center, they still had shared top
point.
the templates are certainly not quite plesant to look at, with 2 states
being showed into same big template.

i suppose that animations for both hands in the showdow, and for single
hand in showdown would be better stored in separate files.

and maybe appended by the htmx replacements, but i'm feeling rushed
2023-07-02 10:11:10 +00:00
efim 0c8a9b91e0 fix(14): winning logic for rock 2023-07-02 07:22:37 +00:00
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