efim
b8d0dc96fd
docs: readme for exercise 16
2023-09-27 06:59:43 +00:00
efim
faedb21808
fix: flake naming for countries page
2023-09-27 06:14:20 +00:00
efim
9bdf180f97
feat: loading data from api on start
2023-09-27 05:41:38 +00:00
efim
f383085910
feat: changing to new rest countries api
...
as returned by https://restcountries.com/v3.1/all
2023-09-27 05:29:15 +00:00
efim
2070bbebb0
feat: adding nix docker image recipe
2023-09-27 04:49:48 +00:00
efim
9edf7f0196
fix: sorting borders put big buttons to end
...
and most of the buttons look prettier
2023-09-27 04:16:58 +00:00
efim
d7d5ac63ac
feat: saving dark mode on page reload
...
main script is in index, country page template inserts it with
fragment by markup selector syntax:
https://www.thymeleaf.org/doc/tutorials/3.1/usingthymeleaf.html#appendix-c-markup-selector-syntax
and still has some code to work in standalone
2023-09-27 04:15:11 +00:00
efim
841543e984
fix: input clipping on small desktop size
2023-09-27 03:46:43 +00:00
efim
b1c128738f
feat: enabling jar build with nix
2023-09-26 16:03:51 +00:00
efim
51319b036b
feat: dark theme, font icons
...
courtesy of https://github.com/tailwindlabs/heroicons
2023-09-26 16:01:37 +00:00
efim
0f30e1fc41
feat: desktop styling of country page
2023-09-25 06:46:39 +00:00
efim
11d5d6254a
fix: swap beforeend to prevent nesting main
...
and url push from the server, because requesting cards now done on a
separate endpoint
2023-09-24 20:22:15 +00:00
efim
ae33d7e72a
feat: index page for desktop
2023-09-24 19:58:05 +00:00
efim
aca8599d6e
feat: infinite scroll
2023-09-24 14:36:26 +00:00
efim
43daef0455
fix: size errors in img and select
2023-09-24 14:03:50 +00:00
efim
ff296f84eb
feat: adding icons
...
courtesy https://www.svgrepo.com/
2023-09-24 13:58:54 +00:00
efim
ae2b3d1327
feat: single country page, borders
2023-09-24 13:37:39 +00:00
efim
433ff827b7
feat: dummy country page and redirects
...
from search and cards.
card content wrapped in an anchor doesn't look good,
and search only working with htmx (without graceful degradatino) also
doesn't look too good
but with 'hx-boost="true"' ordinary anchor in card also preserves
header, that's nice
2023-09-23 19:17:09 +00:00
efim
b776000cf0
feat: selection filtering table update
2023-09-23 18:22:09 +00:00
efim
c260d348d7
feat: filtering countries on GET index
2023-09-23 16:28:14 +00:00
efim
153f5ef9ce
feat: displaying country previews dynamically
2023-09-23 10:32:27 +00:00
efim
256df8d2aa
feat: dynamic region input
2023-09-23 10:06:32 +00:00
efim
d300d5c16b
feat: loading country data from resourse json
2023-09-23 09:31:04 +00:00
efim
73804a0ed4
feat: static mobile main page template
2023-09-23 08:31:40 +00:00
efim
4b2c6e4f62
feat: some header and control mockups
2023-09-23 06:54:48 +00:00
efim
7382680fc5
init: style guide for light theme
2023-09-23 05:55:07 +00:00
efim
cee8159c69
init: adding resource files
2023-09-23 04:17:48 +00:00
efim
6d5077159b
init: added mainargs for port and host
2023-09-23 04:09:58 +00:00
efim
d74df846f2
init: added tailwindcss
2023-09-23 03:53:08 +00:00
efim
7a8dba19ee
init: simple cask, initial template
2023-09-22 17:01:43 +00:00
efim
fe8b54346a
docs: adding license to deployable projects
2023-07-22 06:04:42 +00:00
efim
fbeced6eb2
doc(15): link and more gratitute
2023-07-16 15:54:57 +00:00
efim
e17b45d2ec
fix(15): sbt-derivation need new hach for new deps
2023-07-16 15:41:53 +00:00
efim
d7bcb418d4
docs(15): lessons learned
2023-07-16 15:34:33 +00:00
efim
77bcf87cd1
feat(15): phone validation htmx inline
...
making phone input as a fragment that accepts value and error
initial value from overall state, initial error empty string
some contitional classes and hidden error message
wowy,
endpoint that takes POST request, extracts value and resends the
rendered fragment. cool
2023-07-16 15:07:46 +00:00
efim
8c0318c4e2
fix(15): mobile 'months free' alignment
2023-07-16 07:03:56 +00:00
efim
080b47a9a6
feat(15): nix installation & image
2023-07-16 06:45:04 +00:00
efim
01ec722ea0
fix(15): selected plan was reset on mo\yr toggle
...
hx-put sends all form data, so full page state can be used to render the fragment
2023-07-16 05:10:37 +00:00
efim
e6f36dc0bd
feat(15): styling sidebar font
2023-07-16 05:10:25 +00:00
efim
27e19d4494
feat(15): styling step 5
2023-07-16 04:55:10 +00:00
efim
5d0f58edc1
feat(15): step 4 desktop styling
2023-07-16 04:21:04 +00:00
efim
0e7d53b582
feat(15): stylings of steps 1-3
...
and mobile styling of step 4
2023-07-15 20:19:54 +00:00
efim
96edd50450
feat(15): adding only required validation
2023-07-15 17:31:25 +00:00
efim
dd590e1530
feat(15): jump from step4 to step2
...
here hidden 'form-confirmed' input will result in 'submitted' attribute
of Step4 answer to be set,
but this field is explicitly excluded on the hx-post from the Back
and Change links, this seems OK, i guess!
2023-07-15 17:15:21 +00:00
efim
3133a9aa8c
feat(15): dynamicly redrawing plan type info yr/mo
2023-07-15 15:46:32 +00:00
efim
a52ab42c61
feat(15): steps summary as dynamic fragment
...
defined in step1, reused in other steps
2023-07-15 14:35:52 +00:00
efim
77e70c3536
fix(15): set skipped identical prices
...
so 150 + 10 + 20 + 20 was only 180
2023-07-15 13:49:51 +00:00
efim
4d9a7c3e12
feat(15): dynamic values in step 3 addon selection
2023-07-15 13:48:48 +00:00
efim
6d827365ac
feat(15): dynamic rendering of plan types
...
currently only on page revisit.
for dynamic - need to use htmx swapping, with separate endpoing getting
updates value from whole element being a fragment
2023-07-15 13:21:26 +00:00
efim
f9c32fd7dc
feat(15): putting state values into summary step
2023-07-15 12:55:22 +00:00