87 Commits

Author SHA1 Message Date
Hayden Hargreaves
bebeb25492 (DB/FEAT): Implemented toggle favorite in the backend.
The frontend is half wired up, just need to update the button. I also
want to update the recipe methods to return the favorite status. This
will follow very similar to the way I updated the tags. Another method
which can be called to attach the favorite state.
2025-07-14 21:30:45 -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
4a94b1a08c (UI/FIX): Fixed the retarded formatting.
Templ's formatter sucks.
2025-07-13 21:37:51 -07:00
Hayden Hargreaves
d2835c636c (DB/FEAT): Began the implementation of the user engagement!
The database requirements have been added, as well as the service/repo
architecture. A few small functions have been created, but the system is
not complete by any means. More work is required to mark this task
complete.
2025-07-13 21:34:54 -07:00
db447b3a7d Merge pull request '(UI/STYLE): Implemented the first rendition of the profile page.' (#17) from feature/profile into master
Reviewed-on: #17
2025-07-13 20:00:01 -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
3b6ebd0dae (DB/UI): Created user list API and wired to UI.
The profile list will now properly display the users recipes! The
favorites list does not exist yet, since there is no backend support for
favoriting/saving recipes. So the list displays the same content as the
user recipe list. Same goes for the activity list, not yet implemented.
2025-07-13 14:01:05 -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
a7490a2667 Merge pull request '(DB/FEAT): Recipe tags have been implemented!' (#16) from feature/tags into master
Reviewed-on: #16
2025-07-12 13:38:52 -07:00
Hayden Hargreaves
ced9da5bf2 (DB/FEAT): Recipe tags have been implemented!
This is part of the step towards finishing the creation wizard, all that
is left is the image. However, that is a bigger problem since it
requires a file store and file server. But for now, tags are implemented
and working!
2025-07-12 12:50:26 -07:00
78e0fca302 Merge pull request '(UI): Created a 404 not found page!' (#13) from feature/not-found into master
Reviewed-on: #13
2025-07-11 18:21:36 -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
1b41478143 Merge pull request 'Search page work: Still not complete.' (#11) from feature/search into master
Reviewed-on: #11
2025-07-10 20:09:28 -07:00
Hayden Hargreaves
e38f4e8b51 (DOC): Updated technical specifications. 2025-07-10 20:01:01 -07:00
Hayden Hargreaves
3c5109c7d0 (DB/FEAT): Implemented full text search vector for database searching!
This is a HUGE upgrade and can mark the searching nearly complete! Other
than the scrolling and some other smaller UI things. The search appears
to be working.
2025-07-10 19:54:21 -07:00
Hayden Hargreaves
70536147b7 (UI/FEAT): The search page will now execute the search when loaded.
However, this only occurs when the page is loaded WITH filters. If
filters are not found in the cookies, such as when a blank page is
loaded, then a search will only execute on submit.
2025-07-10 17:51:23 -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
d950e75540 (FIX): Using cookies to store filter data.
This means that we can use the cookie data to load the filters when the
search page loads. The final step is making sure the search is complete
and the simple redirection. Which will come in the next commit!
2025-07-09 21:19:28 -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
6744a0144a Merge pull request '(FIX): Recipe creation will direct to the recipe view page!' (#10) from fix/redirect into master
Reviewed-on: #10
2025-07-06 17:36:05 -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
429540ddd5 Merge pull request '(FEAT/DOC): Wired the backend to the UI for the recipe page!' (#9) from feature/recipe-page into master
Reviewed-on: #9
2025-07-03 09:09:41 -07:00
a91e28c9bd Merge pull request '(UI): Implemented the recipe view page!' (#8) from feature/recipe-page into master
Reviewed-on: #8
2025-07-02 22:53:28 -07:00
Hayden Hargreaves
55c6a99bb1 (FEAT/DOC): Wired the backend to the UI for the recipe page!
The route will now display real, live data from the DB! Errors are not
handled very well, just returned as JSON for now. Need to implement an
error page for states when errors occur.

This commit also includes lots of documentation for the various
service/repository methods. I am trying to not let docs fall through the
cracks, but I am not perfect lol.
2025-07-02 22:53:15 -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
d183d9d38f Merge pull request '(FEAT): Wired backend to frontend for recipe creation.' (#7) from feature/recipes into master
Reviewed-on: #7
2025-07-01 20:04:17 -07:00
Hayden Hargreaves
ad9df20316 (FIX): Using components in the create form.
Going to move on from this for now. We need a page to view a recipe!
**C**reate is done, now we need **R**ead, **U**pdate and **D**elete.
2025-07-01 20:02:45 -07:00
Hayden Hargreaves
519b71f72d (DOCS): Updated tech specs 2025-07-01 19:49:35 -07:00
ea93bb7ab8 Merge pull request '(UI): Implemented much of the frontend recipe creation wizard.' (#5) from feature/recipes into master
Reviewed-on: #5
2025-06-30 22:30:25 -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
695183bc99 Merge pull request 'Merge backend changes required for UI state.' (#3) from feature/UI into master
Reviewed-on: #3
2025-06-25 21:14:11 -07:00
Hayden Hargreaves
068c47f49c (FIX): Fixed the Google domain bug. 2025-06-25 21:11:39 -07:00
Hayden Hargreaves
cf0e291dd9 (FEAT): Implemented a route constants domain file.
This file contains route constants so they can be changed dynamically.
However, they do not support changes to the router, those are still
manual.
2025-06-25 18:23:47 -07:00
adede05642 Merge pull request '(UI/STYLE): Created a simple UI for the profile page.' (#2) from feature/UI into master
Reviewed-on: #2
2025-06-25 18:04:27 -07:00
Hayden Hargreaves
693ac373a7 (FIX): Fixed the logout endpoint, just going to direct home. 2025-06-25 18:02:33 -07:00
Hayden Hargreaves
6572c31ed4 (FEAT): Profile page is wired to backend.
This required service and repo creation for the users. Logging out is
not yet supported, but that is next.
2025-06-24 23:04:29 -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
0a7baeedaa Merge pull request '(UI/STYLE): Finalized the home page UI implementation.' (#1) from feature/UI into master
Reviewed-on: #1
2025-06-24 17:01:36 -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
d0eae65722 (CI/CD): Docker works from WOPR when on the local network! 2025-06-23 20:03:13 -07:00
Hayden Hargreaves
a8cfc63848 (CI/CD): Attempting to dockerize for mobile development. 2025-06-23 19:45:40 -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