Skip to content

Commit

Permalink
Tinkering on React-based experiment
Browse files Browse the repository at this point in the history
jeantessier committed Oct 19, 2024
1 parent be110d1 commit 5e8cc52
Showing 4 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions data/Journal_2024-10-11.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Figured out how to log requests in Micronaut for my React-based experiment.
4 changes: 4 additions & 0 deletions data/Journal_2024-10-16.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
More tinkering with my React-based experiment. I fleshed out the =/extract=
page and created sub-components for parts of the page. I found
=react-hook-form= to try to handle the form to launch the extraction, but I am
struggling to make it work properly.
13 changes: 13 additions & 0 deletions data/Journal_2024-10-17.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
More tinkering with my React-based experiment. I added the =/load= page to
load a pre-extracted dependency graph instead of creating one from compiled
Java code. This got me to create a shared =<Stats>= component for both
pages.

I wired the forms to actually trigger the corresponding actions on the
Micronaut service. It even forces a refresh of the =<Stats>= component
with updated data from the service.

I tried adding =dotenv= so I could put the service URL in a =.env= file. After
getting it all setup, I found out Vite already includes =dotenv=, complete with
a =.env.local= file that is already being ignored by Git. So, I reverted my
=dotenv= work in favor of the "standard" one.
2 changes: 2 additions & 0 deletions data/Journal_2024-10-18.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Fixed the =update= checkbox on the =/extract= page. Also, added title and logo
in the browser tabs.

0 comments on commit 5e8cc52

Please sign in to comment.