]>
git.cworth.org Git - zombocom-ai/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Carl Worth [Wed, 7 Dec 2022 06:02:26 +0000 (22:02 -0800)]
And now read in saved comments at server start
So we should now have persistent messages across server restarts.
Carl Worth [Wed, 7 Dec 2022 05:39:24 +0000 (21:39 -0800)]
Write comments out to disk when the server exits
Which is half of what we need for fully persistent messages, (will
need to also load them at startup).
Carl Worth [Wed, 7 Dec 2022 05:21:29 +0000 (21:21 -0800)]
Add peristence of comments
The server saves every message it receives, and replays them to each
new client when it joins.
Note: The server is only holding messages in memory, so there's not
yet any persistence across server restarts.
Carl Worth [Wed, 7 Dec 2022 04:24:27 +0000 (20:24 -0800)]
Add the second half necessary for functional comments
The server emits the comment back to all clients and the client appends
to a <ul> item (through simple DOM manipulations).
Carl Worth [Wed, 7 Dec 2022 04:18:59 +0000 (20:18 -0800)]
Add a (half)-functional comment field
This sends the comment from the client to the server (but not back again).
The server process simply prints the comment out on its console.
Carl Worth [Wed, 7 Dec 2022 04:11:15 +0000 (20:11 -0800)]
Make a socket connection from client to server
Nothing useful yet, just a print on the server side to prove it's working.
Carl Worth [Wed, 7 Dec 2022 04:07:40 +0000 (20:07 -0800)]
Add socket.io as a dependency
This commit was made with:
npm install socket.io
Carl Worth [Wed, 7 Dec 2022 02:02:05 +0000 (18:02 -0800)]
Float the "safety prompt" button to the right.
Starting to get this form to look like what I want.
Carl Worth [Wed, 7 Dec 2022 01:52:33 +0000 (17:52 -0800)]
Allow the generate button to get its own styling
This needs to the be the equivalent of a "big red button" (even if not red).
Carl Worth [Wed, 7 Dec 2022 01:50:19 +0000 (17:50 -0800)]
Restrict code input field to 10 characters
It really shouldn't need to be longer than that.
Carl Worth [Wed, 7 Dec 2022 01:44:43 +0000 (17:44 -0800)]
Make the prompt a textarea to fit more text into it.
Helping to suggest that this can be a rather long input.
Carl Worth [Wed, 7 Dec 2022 01:28:20 +0000 (17:28 -0800)]
Make the "Safety Prompt" button actually do something.
Eventually it will be a bit more dynamic than this.
Carl Worth [Wed, 7 Dec 2022 01:21:55 +0000 (17:21 -0800)]
Move some padding from every p to a new "content" div
Trying to bring sanity to this mess styling.
Carl Worth [Wed, 7 Dec 2022 01:04:30 +0000 (17:04 -0800)]
Add some labels to the form fields
To make it a little more clear what is going on.
Carl Worth [Wed, 7 Dec 2022 01:00:07 +0000 (17:00 -0800)]
Fix the mute toggle
Which we broke by dropping its id in the previous commit.
Carl Worth [Wed, 7 Dec 2022 00:57:05 +0000 (16:57 -0800)]
Add a "volume" class to the volume button
Since we recently added other buttons that shouldbe styled differently.
Carl Worth [Wed, 7 Dec 2022 00:53:47 +0000 (16:53 -0800)]
Add a simple form to the main page
To allow for submitting a prompt to generate, (not that it does anything yet).
Carl Worth [Wed, 7 Dec 2022 00:45:52 +0000 (16:45 -0800)]
Rewrite primary path as /index.html
Since that's what we have Apache configured to look for.
Carl Worth [Wed, 7 Dec 2022 00:36:53 +0000 (16:36 -0800)]
Add a simple express server
And an HTML file for it to serve, (copied in from the zombocom-static
repository I made earlier today).
Carl Worth [Tue, 6 Dec 2022 23:38:31 +0000 (15:38 -0800)]
Add express4 as a dependency
The changes here were made by running:
npm install express@4
And then adding the package-locj.json file (containing frozen versions
of all dependencies) and also ignoring the node_modules directory.
Carl Worth [Tue, 6 Dec 2022 23:35:55 +0000 (15:35 -0800)]
Add initial packages.json
Just declaring a name, version, and description for this package.
Note: This is from following the tutorial at:
https://socket.io/get-started/chat