]> git.cworth.org Git - zombocom-ai/log
zombocom-ai
17 months agoMake a socket connection from client to server
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.

17 months agoAdd socket.io as a dependency
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

17 months agoFloat the "safety prompt" button to the right.
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.

17 months agoAllow the generate button to get its own styling
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).

17 months agoRestrict code input field to 10 characters
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.

17 months agoMake the prompt a textarea to fit more text into it.
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.

17 months agoMake the "Safety Prompt" button actually do something.
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.

17 months agoMove some padding from every p to a new "content" div
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.

17 months agoAdd some labels to the form fields
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.

17 months agoFix the mute toggle
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.

17 months agoAdd a "volume" class to the volume button
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.

17 months agoAdd a simple form to the main page
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).

17 months agoRewrite primary path as /index.html
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.

17 months agoAdd a simple express server
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).

17 months agoAdd express4 as a dependency
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.

17 months agoAdd initial packages.json
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