Commit Graph

55 Commits

Author SHA1 Message Date
efim 550841e882 fix: display correct button on unauthed room page 2023-11-23 06:14:54 +00:00
efim f7def011f5 fix: make single person visitor 2023-11-23 04:33:27 +00:00
efim 3d466953d2 fix: mark & active brick type 2023-11-23 04:15:11 +00:00
efim fad258a537 fix: person bricks should center name
otherwise bricks are at the left and -50% translateY puts them
off-center, while centering long name
2023-11-22 06:14:58 +00:00
efim f4c331983c fix: allow arrow to draw full circle 2023-11-22 05:39:50 +00:00
efim 077537a1e3 fix: having mark and same raised gesture
previously didn't check everyone, and person with mark and gesture is
last in the circle
2023-11-22 05:03:14 +00:00
efim 017cf465da feat: dynamic arrow drawing 2023-11-21 19:21:36 +00:00
efim 183df0959c feat: function to get room next speaker index 2023-11-21 18:57:03 +00:00
efim a10e3433a4 fix: test compilation 2023-11-21 18:07:41 +00:00
efim 793eb16881 feat: initial circle arrow svg 2023-11-21 17:25:27 +00:00
efim b13a43aa71 fix: spread out low person count
for 2 people tan is huge, so radius becomes ~0, hardcode for radius
~image size

and in css --r add part of image for 'offces from center'
2023-11-19 06:47:43 +00:00
efim af53bda10e feat: display room with current person in bottom 2023-11-19 05:57:30 +00:00
efim e4c56506be refactor: data structs for template + method
enclosing rooms.Room into roomTableData, with methods to be used in
tempalte to get other template related derived data structures
2023-11-19 05:41:03 +00:00
efim 8b23103e8e feat: rotated table display 2023-11-19 05:07:34 +00:00
efim 495443e12a fix: logout inserting html into page 2023-11-18 14:06:44 +00:00
efim d87c102d95 feat: create|login on room path 2023-11-18 13:41:54 +00:00
efim c8f28bf0de feat: login form or room info on index page 2023-11-18 12:18:56 +00:00
efim 0e804b21e5 refactor: login section to reuse in unauthed pages 2023-11-18 08:34:45 +00:00
efim c9e1bf65fa feat: passwords hashing 2023-11-18 07:41:52 +00:00
efim 8bb1509786 feat: go to room on create/login 2023-11-18 04:07:13 +00:00
efim cdd31e186a fix: rendering index page after login 2023-11-18 03:47:58 +00:00
efim 942091c5d8 fix: table template preview page template 2023-11-17 03:58:20 +00:00
efim 04ab19fadf feat: participant bricks in room added 2023-11-17 03:37:06 +00:00
efim 384afa0e00 feat: template for all room participants 2023-11-16 06:22:09 +00:00
efim f8db7c14c8 refactor: store all known as map for access 2023-11-16 05:45:57 +00:00
efim 9f4fe20979 feat: tepmlate for all person bricks
and separate page for temporary template viewing
2023-11-16 03:56:22 +00:00
efim 4764300d08 feat: initial brick templates 2023-11-15 06:55:12 +00:00
efim 83e81ec011 feat: logout route and button 2023-11-14 05:14:40 +00:00
efim 1297fcf35d refactor: common base template for pages
will allow to add common header and stuff
2023-11-13 05:25:02 +00:00
efim b1f2e896b9 feat: release hand endpoint & button 2023-11-12 18:37:26 +00:00
efim b90fcc3f20 feat: stream room updates SSE endpoint
via subscription to redis with enriched channel
2023-11-12 18:08:17 +00:00
efim 34d610a8c8 feat: raising hand endpoint 2023-11-12 08:35:00 +00:00
efim 16df084928 feat: saving person pass across logout/rejoin 2023-11-11 09:22:40 +00:00
efim 517fda2512 feat: tests and bugfix for 'lower hand' 2023-11-11 08:05:28 +00:00
efim 89982d5c39 feat: initial test for release hand 2023-11-09 06:48:30 +00:00
efim 480d007e6c feat: impl release hand & next speaker selection 2023-11-09 06:23:38 +00:00
efim aa048efbd3 feat: update go to 1.21.3 2023-11-06 05:15:02 +00:00
efim 4dbbfcd6f2 refactor: support request cancellation in SSE
that's my first use of select on channels, yay
2023-11-05 15:46:07 +00:00
efim bb89b8ccf5 feat: SSE bs into room 2023-11-05 15:00:36 +00:00
efim 648d3dff80 refactor: index page route separated 2023-11-05 05:00:01 +00:00
efim 83c634c2b9 feat: disabling auth submit on empty names
https://htmx.org/attributes/hx-validate/
for 'non form submittions' to trigger validation

custom check, because 'required' marks fields red immediately
and this js does only on attempted submittion,
not sure i want it, but seems better right now.
also - such a good argument for hyperscript
2023-11-05 04:14:36 +00:00
efim 3a6fe28981 feat: join room, rooms.Update transactional 2023-11-04 13:07:28 +00:00
efim b19dd2863b refactor: putting handler function higher 2023-11-04 07:36:07 +00:00
efim f8eb11c53e feat: create-room handler, with middleware 2023-11-04 05:52:20 +00:00
efim 850b6c693b feat: create room endpoint
not really sets the cookie, but returns the rendered index on success
2023-10-30 05:19:43 +00:00
efim 201b3760da feat: toggling Create/Join room button 2023-10-30 03:49:48 +00:00
efim bd99eaa54d feat: room manager and pushed to login page route 2023-10-29 15:18:27 +00:00
efim 1c62f80064 feat: room model, encode json, sample redis write 2023-10-29 14:49:19 +00:00
efim 0591a28f8a feat: adding redis to save sessions 2023-10-29 11:44:28 +00:00
efim bde58a0eab feat: initial login page
with separate file for future util endpoints,
also dummy sessions inteface
2023-10-29 08:26:35 +00:00