30 Commits

Author SHA1 Message Date
Hayden Hargreaves
4614b4ef37 (UI): Implemented the UI for the recipe of the week. 2025-07-25 16:53:31 -07:00
Hayden Hargreaves
eec8ed00c3 (FEAT): Application has been dockerized.
The application can now be built, tailwind is built, AND templ
components are generated! Which means, we can no longer push the
tailwind generated CSS file OR the templ generated go files!

Plus, this is the first step towards deployment and CI/CD!
2025-07-21 20:14:03 -07:00
Hayden Hargreaves
21f958a4fb (FEAT): Completed the lists section on the home page.
This includes backend updates as well as frontend changes! The backend
also includes a new repository to get a list of jobs via their IDs,
which does respect order!

The list displays for users that are logged in and a small message when
the user is not logged in. The last piece is the recipe of the week
segment, which can be as simple as a DB cron-job. But that will require
stored procedures. Need to learn those next.

Though I want to deploy the application soon, so I need to begin working
on that.
2025-07-20 21:56:56 -07:00
Hayden Hargreaves
27d5b59cfc (UI/FIX): Displaying a heart next to favorites.
This effect is seen in the favorites page AND the search page! But of
course, only for users that are logged in.
2025-07-16 19:32:54 -07:00
Hayden Hargreaves
aacca77890 (FEAT): Created backend API to get users favorite recipes.
The UI is wired up and connected as well, for the profile page. Next
step is to create the favorites page.
2025-07-15 22:11:25 -07:00
Hayden Hargreaves
79bee1cde7 (FEAT): Updated recipe repo to include recipe favorite status.
This means we need to pass the user id into the various methods that
call it. But, since it is a pointer, we can use nil if we don't have a
user to check with (this is noted in the service).
2025-07-15 19:17:41 -07:00
Hayden Hargreaves
d29426290d (FEAT): Created engagement buttons, and wired most of them up!
The make button is pretty much done, just need to finish up by
rate limiting it. That will take place in the engagement repository.

Sharing works as well, just a UI change, there is no backend yet, maybe
there should be an engagement type for sharing recipes. But not totally
sure.

The viewing is also in a semi-working state. It does not create requests
for users that aren't signed in, which needs to come. With that update
there is a need to update HOW the requests come in, we don't need it
every time we load the page. Maybe just when we click to it, from
somewhere else?

Finally, the favoriting does not totally work. The entry into the
engagement table is complete, but the actual favorites table, favorite
creation, button toggling AND button rendering is not implemented yet.
2025-07-14 21:00:28 -07:00
Hayden Hargreaves
acbb07cb34 (UI): Small UI tweaks. 2025-07-14 18:07:58 -07:00
Hayden Hargreaves
9be423cea0 (UI): Finished up the profile implementation for now.
The other sections not working yet were marked as under construction.
There still needs to be a page for "see all..." for the recipes, but
that will be a task for another time.
2025-07-13 19:58:47 -07:00
Hayden Hargreaves
ae1f4f8e99 (UI/STYLE): Implemented the first rendition of the profile page.
Needs a backend wire job, but it looks pretty good. I can't really test
this page on a real mobile device either, since it requires the user to
be logged in and the testing doesn't work with google.
2025-07-12 14:22:23 -07:00
Hayden Hargreaves
737f56d3a0 (UI): Simple under construction page implemented.
This is a temporary measure, until the favorites and shopping list pages
are implemented.
2025-07-11 18:20:15 -07:00
Hayden Hargreaves
5540daf6b6 (UI): Created a 404 not found page!
This loads whenever a page that does not exist is loaded. I would also
like to add some "coming soon" dialog to the few pages that don't exist
yet. Before deploying to the server.
2025-07-10 20:52:35 -07:00
Hayden Hargreaves
9ac7356668 (DOC/FEAT): Updated doc comments and completed the search redirection!
The search is nearly complete for the initial implementation. Just need
to figure out what to do with the text search provided, make any
required UI changes, and eventual implement pagination via a "load more"
button.
2025-07-09 22:21:49 -07:00
Hayden Hargreaves
c0fc47c569 (UI): UI implementation of the search page. Somewhat wired up.
Missing some context storage and better passing of data to allow
between the home page to the search page. Need a way to store the search
results in state so they can be retrieved when the page is reloaded,
etc.
2025-07-07 21:36:13 -07:00
Hayden Hargreaves
7ad710f880 (FEAT): Search is returning recipes, next just need a UI and wire job.
Furthermore, not sure how we are going to handle the searching. Maybe a
full-text search index? For now, it has been ignored, but the filters
seem to be working properly.
2025-07-06 22:40:15 -07:00
Hayden Hargreaves
4034febdd4 (FIX): Recipe creation will direct to the recipe view page!
This commit also includes a fix for the difficulty display.
2025-07-06 17:34:46 -07:00
Hayden Hargreaves
35bf69d79c (UI): Implemented the recipe view page!
This can be accessed from `/v1/web/recipe/:id`! Static implementation,
not yet wired to the DB. Working on that next!
2025-07-02 21:21:10 -07:00
Hayden Hargreaves
c2cc8c8183 (FEAT): Wired backend to frontend for recipe creation.
Recipe creation is complete! Some minor issues include the
"eager-validation." It's better than nothing, but a bit harsh. Also, the
redirection and linking to a view page would be nice.

Furthermore, tags and images are not implemented yet. Will need that in
the future!
2025-06-30 22:30:11 -07:00
Hayden Hargreaves
b17c5774e9 (UI): Implemented much of the frontend recipe creation wizard.
Most everything is implemented, included a state handler and a pretty
simple (but workable) system for managing state in HTML. Nice and simple
for now.

There is still much work to be done, but the rest is simple backend
creation and error handling. And then input validation...a nightmare.
2025-06-29 22:30:20 -07:00
Hayden Hargreaves
a1f8fe60db (UI/STYLE): Created a simple UI for the profile page.
Backend requirements are needed now! That will be the next PR.
2025-06-24 22:25:21 -07:00
Hayden Hargreaves
ae11a889f6 (UI/STYLE): Finalized the home page UI implementation.
Everything the page needs is here! This can be merged into master! It's
time to move into the create page and recipe backend.
2025-06-23 22:18:24 -07:00
Hayden Hargreaves
ac00a321d5 (UI/STYLE): Added heart buttons.
Need to work on the search piece, its not amazing right now.
2025-06-23 20:18:58 -07:00
Hayden Hargreaves
427a44d2f6 (UI/STYLE): Finished the initial static home page.
Next, going to try to dockerize so I can see it on mobile!
2025-06-20 16:39:02 -07:00
Hayden Hargreaves
1cd0f76a1a (UI/STYLE): Initial implementation of recipe of the week. 2025-06-18 21:51:52 -07:00
Hayden Hargreaves
8c98eab62b (UI/STYLE): Update the search section to be contained by the pills.
This looks a bit better and will be a bit easier to use.
2025-06-18 19:16:26 -07:00
Hayden Hargreaves
d4a0b09b11 (UI/STYLE): Implemented the first pieces of the home page!
Looking much better, loving it way more, even though its light mode. It
seems to be a bit easier to design applications in light mode.
2025-06-17 22:40:47 -07:00
Hayden Hargreaves
4299b1bfa2 (UI/STYLE): Simple changes to the navbar, wanted to have sticky.
Also, removed the examples segment.
2025-06-17 21:53:03 -07:00
Hayden Hargreaves
5577d96b0d (STYLE/UI): Implemented the nav bar for mobile and desktop.
This includes creation of the basic pages.
2025-06-16 22:21:06 -07:00
Hayden Hargreaves
4a5bfc3f10 (UI/STYLE): Implemented the simple login page.
Now all that's left for the authentication workflow is session management.
2025-06-14 21:18:35 -07:00
Hayden Hargreaves
6fb4664478 (CHORE): Fixed tailwind css and directory renames. 2025-06-13 22:49:38 -07:00