From e3c379d069ffa9661561d25cdbf2f5894a2f8ee8 Mon Sep 17 00:00:00 2001 From: Adam Mathes Date: Sat, 14 Feb 2026 08:58:38 -0800 Subject: Refactor: project structure, implement dependency injection, and align v2 UI with v1 --- frontend/coverage/src/App.css.html | 128 +++--- frontend/coverage/src/App.tsx.html | 128 +++--- frontend/coverage/src/components/FeedItem.css.html | 133 +++--- frontend/coverage/src/components/FeedItem.tsx.html | 133 +++--- .../coverage/src/components/FeedItems.css.html | 133 +++--- .../coverage/src/components/FeedItems.tsx.html | 133 +++--- frontend/coverage/src/components/FeedList.css.html | 133 +++--- frontend/coverage/src/components/FeedList.tsx.html | 133 +++--- frontend/coverage/src/components/Login.css.html | 133 +++--- frontend/coverage/src/components/Login.tsx.html | 133 +++--- frontend/coverage/src/components/Settings.css.html | 133 +++--- frontend/coverage/src/components/Settings.tsx.html | 133 +++--- frontend/coverage/src/components/index.html | 504 ++++++++++++--------- frontend/coverage/src/index.html | 236 +++++----- 14 files changed, 1172 insertions(+), 1154 deletions(-) (limited to 'frontend/coverage/src') diff --git a/frontend/coverage/src/App.css.html b/frontend/coverage/src/App.css.html index 213109e..a5aa753 100644 --- a/frontend/coverage/src/App.css.html +++ b/frontend/coverage/src/App.css.html @@ -1,68 +1,61 @@ - - - + Code coverage report for src/App.css - - - - -
-
+ + + +
+

All files / src App.css

-
- -
- 0% - Statements - 0/0 -
- - -
- 0% - Branches - 0/0 -
- - -
- 0% - Functions - 0/0 -
- - -
- 0% - Lines - 0/0 -
- - +
+
+ 0% + Statements + 0/0 +
+ +
+ 0% + Branches + 0/0 +
+ +
+ 0% + Functions + 0/0 +
+ +
+ 0% + Lines + 0/0 +

- Press n or j to go to the next uncovered block, b, p or k for the previous block. + Press n or j to go to the next uncovered block, b, + p or k for the previous block.

-
-
-

+      
+      
+
1 2 3 @@ -374,21 +367,22 @@ body { border-color: rgba(255, 255, 255, 0.5); }
-
-
- - - - - - +
+ +
+ + + + + + + - \ No newline at end of file diff --git a/frontend/coverage/src/App.tsx.html b/frontend/coverage/src/App.tsx.html index 0d5195d..ed02366 100644 --- a/frontend/coverage/src/App.tsx.html +++ b/frontend/coverage/src/App.tsx.html @@ -1,68 +1,61 @@ - - - + Code coverage report for src/App.tsx - - - - -
-
+ + + +
+

All files / src App.tsx

-
- -
- 78.94% - Statements - 15/19 -
- - -
- 66.66% - Branches - 4/6 -
- - -
- 77.77% - Functions - 7/9 -
- - -
- 78.94% - Lines - 15/19 -
- - +
+
+ 78.94% + Statements + 15/19 +
+ +
+ 66.66% + Branches + 4/6 +
+ +
+ 77.77% + Functions + 7/9 +
+ +
+ 78.94% + Lines + 15/19 +

- Press n or j to go to the next uncovered block, b, p or k for the previous block. + Press n or j to go to the next uncovered block, b, + p or k for the previous block.

-
-
-

+      
+      
+
1 2 3 @@ -335,21 +328,22 @@ function App() { export default App;  
-
-
- - - - - - +
+ +
+ + + + + + + - \ No newline at end of file diff --git a/frontend/coverage/src/components/FeedItem.css.html b/frontend/coverage/src/components/FeedItem.css.html index dd239a3..f6fe1a3 100644 --- a/frontend/coverage/src/components/FeedItem.css.html +++ b/frontend/coverage/src/components/FeedItem.css.html @@ -1,68 +1,64 @@ - - - + Code coverage report for src/components/FeedItem.css - - - - -
-
-

All files / src/components FeedItem.css

-
- -
- 0% - Statements - 0/0 -
- - -
- 0% - Branches - 0/0 -
- - -
- 0% - Functions - 0/0 -
- - -
- 0% - Lines - 0/0 -
- - + + + +
+
+

+ All files / + src/components FeedItem.css +

+
+
+ 0% + Statements + 0/0 +
+ +
+ 0% + Branches + 0/0 +
+ +
+ 0% + Functions + 0/0 +
+ +
+ 0% + Lines + 0/0 +

- Press n or j to go to the next uncovered block, b, p or k for the previous block. + Press n or j to go to the next uncovered block, b, + p or k for the previous block.

-
-
-

+      
+      
+
1 2 3 @@ -413,21 +409,22 @@ margin-left: 0; }
-
-
- - - - - - +
+ +
+ + + + + + + - \ No newline at end of file diff --git a/frontend/coverage/src/components/FeedItem.tsx.html b/frontend/coverage/src/components/FeedItem.tsx.html index f6b08e5..5512b78 100644 --- a/frontend/coverage/src/components/FeedItem.tsx.html +++ b/frontend/coverage/src/components/FeedItem.tsx.html @@ -1,68 +1,64 @@ - - - + Code coverage report for src/components/FeedItem.tsx - - - - -
-
-

All files / src/components FeedItem.tsx

-
- -
- 78.94% - Statements - 15/19 -
- - -
- 88.88% - Branches - 16/18 -
- - -
- 85.71% - Functions - 6/7 -
- - -
- 78.94% - Lines - 15/19 -
- - + + + +
+
+

+ All files / + src/components FeedItem.tsx +

+
+
+ 78.94% + Statements + 15/19 +
+ +
+ 88.88% + Branches + 16/18 +
+ +
+ 85.71% + Functions + 6/7 +
+ +
+ 78.94% + Lines + 15/19 +

- Press n or j to go to the next uncovered block, b, p or k for the previous block. + Press n or j to go to the next uncovered block, b, + p or k for the previous block.

-
-
-

+      
+      
+
1 2 3 @@ -317,21 +313,22 @@ export default function FeedItem({ item: initialItem }: FeedItemProps) { }  
-
-
- - - - - - +
+ +
+ + + + + + + - \ No newline at end of file diff --git a/frontend/coverage/src/components/FeedItems.css.html b/frontend/coverage/src/components/FeedItems.css.html index b5d2c41..0b1c77d 100644 --- a/frontend/coverage/src/components/FeedItems.css.html +++ b/frontend/coverage/src/components/FeedItems.css.html @@ -1,68 +1,64 @@ - - - + Code coverage report for src/components/FeedItems.css - - - - -
-
-

All files / src/components FeedItems.css

-
- -
- 0% - Statements - 0/0 -
- - -
- 0% - Branches - 0/0 -
- - -
- 0% - Functions - 0/0 -
- - -
- 0% - Lines - 0/0 -
- - + + + +
+
+

+ All files / + src/components FeedItems.css +

+
+
+ 0% + Statements + 0/0 +
+ +
+ 0% + Branches + 0/0 +
+ +
+ 0% + Functions + 0/0 +
+ +
+ 0% + Lines + 0/0 +

- Press n or j to go to the next uncovered block, b, p or k for the previous block. + Press n or j to go to the next uncovered block, b, + p or k for the previous block.

-
-
-

+      
+      
+
1 2 3 @@ -155,21 +151,22 @@ min-height: 50px; }
-
-
- - - - - - +
+ +
+ + + + + + + - \ No newline at end of file diff --git a/frontend/coverage/src/components/FeedItems.tsx.html b/frontend/coverage/src/components/FeedItems.tsx.html index e0f73cf..e57acf9 100644 --- a/frontend/coverage/src/components/FeedItems.tsx.html +++ b/frontend/coverage/src/components/FeedItems.tsx.html @@ -1,68 +1,64 @@ - - - + Code coverage report for src/components/FeedItems.tsx - - - - -
-
-

All files / src/components FeedItems.tsx

-
- -
- 89.34% - Statements - 109/122 -
- - -
- 77.21% - Branches - 61/79 -
- - -
- 86.2% - Functions - 25/29 -
- - -
- 89.09% - Lines - 98/110 -
- - + + + +
+
+

+ All files / + src/components FeedItems.tsx +

+
+
+ 89.34% + Statements + 109/122 +
+ +
+ 77.21% + Branches + 61/79 +
+ +
+ 86.2% + Functions + 25/29 +
+ +
+ 89.09% + Lines + 98/110 +

- Press n or j to go to the next uncovered block, b, p or k for the previous block. + Press n or j to go to the next uncovered block, b, + p or k for the previous block.

-
-
-

+      
+      
+
1 2 3 @@ -734,21 +730,22 @@ export default function FeedItems() { }  
-
-
- - - - - - +
+ +
+ + + + + + + - \ No newline at end of file diff --git a/frontend/coverage/src/components/FeedList.css.html b/frontend/coverage/src/components/FeedList.css.html index ffaa1a9..fe60b9d 100644 --- a/frontend/coverage/src/components/FeedList.css.html +++ b/frontend/coverage/src/components/FeedList.css.html @@ -1,68 +1,64 @@ - - - + Code coverage report for src/components/FeedList.css - - - - -
-
-

All files / src/components FeedList.css

-
- -
- 0% - Statements - 0/0 -
- - -
- 0% - Branches - 0/0 -
- - -
- 0% - Functions - 0/0 -
- - -
- 0% - Lines - 0/0 -
- - + + + +
+
+

+ All files / + src/components FeedList.css +

+
+
+ 0% + Statements + 0/0 +
+ +
+ 0% + Branches + 0/0 +
+ +
+ 0% + Functions + 0/0 +
+ +
+ 0% + Lines + 0/0 +

- Press n or j to go to the next uncovered block, b, p or k for the previous block. + Press n or j to go to the next uncovered block, b, + p or k for the previous block.

-
-
-

+      
+      
+
1 2 3 @@ -356,21 +352,22 @@ background-color: transparent; }
-
-
- - - - - - +
+ +
+ + + + + + + - \ No newline at end of file diff --git a/frontend/coverage/src/components/FeedList.tsx.html b/frontend/coverage/src/components/FeedList.tsx.html index b1b0a27..ba7d81f 100644 --- a/frontend/coverage/src/components/FeedList.tsx.html +++ b/frontend/coverage/src/components/FeedList.tsx.html @@ -1,68 +1,64 @@ - - - + Code coverage report for src/components/FeedList.tsx - - - - -
-
-

All files / src/components FeedList.tsx

-
- -
- 91.66% - Statements - 22/24 -
- - -
- 82.35% - Branches - 14/17 -
- - -
- 100% - Functions - 8/8 -
- - -
- 100% - Lines - 20/20 -
- - + + + +
+
+

+ All files / + src/components FeedList.tsx +

+
+
+ 91.66% + Statements + 22/24 +
+ +
+ 82.35% + Branches + 14/17 +
+ +
+ 100% + Functions + 8/8 +
+ +
+ 100% + Lines + 20/20 +

- Press n or j to go to the next uncovered block, b, p or k for the previous block. + Press n or j to go to the next uncovered block, b, + p or k for the previous block.

-
-
-

+      
+      
+
1 2 3 @@ -305,21 +301,22 @@ export default function FeedList() { }  
-
-
- - - - - - +
+ +
+ + + + + + + - \ No newline at end of file diff --git a/frontend/coverage/src/components/Login.css.html b/frontend/coverage/src/components/Login.css.html index 2b2fe0d..bb3654e 100644 --- a/frontend/coverage/src/components/Login.css.html +++ b/frontend/coverage/src/components/Login.css.html @@ -1,68 +1,64 @@ - - - + Code coverage report for src/components/Login.css - - - - -
-
-

All files / src/components Login.css

-
- -
- 0% - Statements - 0/0 -
- - -
- 0% - Branches - 0/0 -
- - -
- 0% - Functions - 0/0 -
- - -
- 0% - Lines - 0/0 -
- - + + + +
+
+

+ All files / + src/components Login.css +

+
+
+ 0% + Statements + 0/0 +
+ +
+ 0% + Branches + 0/0 +
+ +
+ 0% + Functions + 0/0 +
+ +
+ 0% + Lines + 0/0 +

- Press n or j to go to the next uncovered block, b, p or k for the previous block. + Press n or j to go to the next uncovered block, b, + p or k for the previous block.

-
-
-

+      
+      
+
1 2 3 @@ -254,21 +250,22 @@ button[type="submit"]:hover { }  
-
-
- - - - - - +
+ +
+ + + + + + + - \ No newline at end of file diff --git a/frontend/coverage/src/components/Login.tsx.html b/frontend/coverage/src/components/Login.tsx.html index 263fe57..f29e3cb 100644 --- a/frontend/coverage/src/components/Login.tsx.html +++ b/frontend/coverage/src/components/Login.tsx.html @@ -1,68 +1,64 @@ - - - + Code coverage report for src/components/Login.tsx - - - - -
-
-

All files / src/components Login.tsx

-
- -
- 100% - Statements - 17/17 -
- - -
- 83.33% - Branches - 5/6 -
- - -
- 100% - Functions - 3/3 -
- - -
- 100% - Lines - 17/17 -
- - + + + +
+
+

+ All files / + src/components Login.tsx +

+
+
+ 100% + Statements + 17/17 +
+ +
+ 83.33% + Branches + 5/6 +
+ +
+ 100% + Functions + 3/3 +
+ +
+ 100% + Lines + 17/17 +

- Press n or j to go to the next uncovered block, b, p or k for the previous block. + Press n or j to go to the next uncovered block, b, + p or k for the previous block.

-
-
-

+      
+      
+
1 2 3 @@ -227,21 +223,22 @@ export default function Login() { }  
-
-
- - - - - - +
+ +
+ + + + + + + - \ No newline at end of file diff --git a/frontend/coverage/src/components/Settings.css.html b/frontend/coverage/src/components/Settings.css.html index 428c9d2..6a1155e 100644 --- a/frontend/coverage/src/components/Settings.css.html +++ b/frontend/coverage/src/components/Settings.css.html @@ -1,68 +1,64 @@ - - - + Code coverage report for src/components/Settings.css - - - - -
-
-

All files / src/components Settings.css

-
- -
- 0% - Statements - 0/0 -
- - -
- 0% - Branches - 0/0 -
- - -
- 0% - Functions - 0/0 -
- - -
- 0% - Lines - 0/0 -
- - + + + +
+
+

+ All files / + src/components Settings.css +

+
+
+ 0% + Statements + 0/0 +
+ +
+ 0% + Branches + 0/0 +
+ +
+ 0% + Functions + 0/0 +
+ +
+ 0% + Lines + 0/0 +

- Press n or j to go to the next uncovered block, b, p or k for the previous block. + Press n or j to go to the next uncovered block, b, + p or k for the previous block.

-
-
-

+      
+      
+
1 2 3 @@ -311,21 +307,22 @@ cursor: not-allowed; }
-
-
- - - - - - +
+ +
+ + + + + + + - \ No newline at end of file diff --git a/frontend/coverage/src/components/Settings.tsx.html b/frontend/coverage/src/components/Settings.tsx.html index 62ca241..df6d027 100644 --- a/frontend/coverage/src/components/Settings.tsx.html +++ b/frontend/coverage/src/components/Settings.tsx.html @@ -1,68 +1,64 @@ - - - + Code coverage report for src/components/Settings.tsx - - - - -
-
-

All files / src/components Settings.tsx

-
- -
- 75.55% - Statements - 34/45 -
- - -
- 56.25% - Branches - 9/16 -
- - -
- 82.35% - Functions - 14/17 -
- - -
- 84.61% - Lines - 33/39 -
- - + + + +
+
+

+ All files / + src/components Settings.tsx +

+
+
+ 75.55% + Statements + 34/45 +
+ +
+ 56.25% + Branches + 9/16 +
+ +
+ 82.35% + Functions + 14/17 +
+ +
+ 84.61% + Lines + 33/39 +

- Press n or j to go to the next uncovered block, b, p or k for the previous block. + Press n or j to go to the next uncovered block, b, + p or k for the previous block.

-
-
-

+      
+      
+
1 2 3 @@ -428,21 +424,22 @@ export default function Settings() { }  
-
-
- - - - - - +
+ +
+ + + + + + + - \ No newline at end of file diff --git a/frontend/coverage/src/components/index.html b/frontend/coverage/src/components/index.html index 534e353..7e1a0b7 100644 --- a/frontend/coverage/src/components/index.html +++ b/frontend/coverage/src/components/index.html @@ -1,251 +1,303 @@ - - - + Code coverage report for src/components - - - - -
-
+ + + +
+

All files src/components

-
- -
- 86.78% - Statements - 197/227 -
- - -
- 77.2% - Branches - 105/136 -
- - -
- 87.5% - Functions - 56/64 -
- - -
- 89.26% - Lines - 183/205 -
- - +
+
+ 86.78% + Statements + 197/227 +
+ +
+ 77.2% + Branches + 105/136 +
+ +
+ 87.5% + Functions + 56/64 +
+ +
+ 89.26% + Lines + 183/205 +

- Press n or j to go to the next uncovered block, b, p or k for the previous block. + Press n or j to go to the next uncovered block, b, + p or k for the previous block.

-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + +
+
+
FileStatementsBranchesFunctionsLines
FeedItem.css -
-
0%0/00%0/00%0/00%0/0
FeedItem.tsx -
-
78.94%15/1988.88%16/1885.71%6/778.94%15/19
+ + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - -
File + Statements + BranchesFunctionsLines
+ FeedItem.css + +
+
+
+
+
0%0/00%0/00%0/00%0/0
FeedItems.css -
-
0%0/00%0/00%0/00%0/0
+ FeedItem.tsx + +
+
+
+
+
78.94%15/1988.88%16/1885.71%6/778.94%15/19
FeedItems.tsx -
-
89.34%109/12277.21%61/7986.2%25/2989.09%98/110
+ FeedItems.css + +
+
+
+
+
0%0/00%0/00%0/00%0/0
FeedList.css -
-
0%0/00%0/00%0/00%0/0
+ FeedItems.tsx + +
+
+
+
+
89.34%109/12277.21%61/7986.2%25/2989.09%98/110
FeedList.tsx -
-
91.66%22/2482.35%14/17100%8/8100%20/20
+ FeedList.css + +
+
+
+
+
0%0/00%0/00%0/00%0/0
Login.css -
-
0%0/00%0/00%0/00%0/0
+ FeedList.tsx + +
+
+
+
+
91.66%22/2482.35%14/17100%8/8100%20/20
Login.tsx -
-
100%17/1783.33%5/6100%3/3100%17/17
+ Login.css + +
+
+
+
+
0%0/00%0/00%0/00%0/0
Settings.css -
-
0%0/00%0/00%0/00%0/0
+ Login.tsx + +
+
+
+
+
100%17/1783.33%5/6100%3/3100%17/17
Settings.tsx -
-
75.55%34/4556.25%9/1682.35%14/1784.61%33/39
+ Settings.css + +
+
+
+
+
0%0/00%0/00%0/00%0/0
-
-
-
- - - - - - + + + Settings.tsx + + +
+
+
+
+ + 75.55% + 34/45 + 56.25% + 9/16 + 82.35% + 14/17 + 84.61% + 33/39 + + + +
+
+ +
+ + + + + + + - \ No newline at end of file diff --git a/frontend/coverage/src/index.html b/frontend/coverage/src/index.html index 023e9bb..14e9f51 100644 --- a/frontend/coverage/src/index.html +++ b/frontend/coverage/src/index.html @@ -1,131 +1,139 @@ - - - + Code coverage report for src - - - - -
-
+ + + +
+

All files src

-
- -
- 78.94% - Statements - 15/19 -
- - -
- 66.66% - Branches - 4/6 -
- - -
- 77.77% - Functions - 7/9 -
- - -
- 78.94% - Lines - 15/19 -
- - +
+
+ 78.94% + Statements + 15/19 +
+ +
+ 66.66% + Branches + 4/6 +
+ +
+ 77.77% + Functions + 7/9 +
+ +
+ 78.94% + Lines + 15/19 +

- Press n or j to go to the next uncovered block, b, p or k for the previous block. + Press n or j to go to the next uncovered block, b, + p or k for the previous block.

-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + +
+
+
FileStatementsBranchesFunctionsLines
App.css -
-
0%0/00%0/00%0/00%0/0
App.tsx -
-
78.94%15/1966.66%4/677.77%7/978.94%15/19
+ + + + + + + + + + + + + + + + + + + + + + + + + + + - -
File + Statements + BranchesFunctionsLines
App.css +
+
+
+
+
0%0/00%0/00%0/00%0/0
-
-
-
- - - - - - + + App.tsx + +
+
+
+
+ + 78.94% + 15/19 + 66.66% + 4/6 + 77.77% + 7/9 + 78.94% + 15/19 + + + +
+
+ +
+ + + + + + + - \ No newline at end of file -- cgit v1.2.3