From 1c77315e9ed4048059ed964369ea11a3a4ea1d4e Mon Sep 17 00:00:00 2001 From: rrigato Date: Sun, 26 Nov 2023 10:04:06 -0600 Subject: [PATCH 1/4] Up to 4 book recommendations --- static/js/BookRecommendations.jsx | 27 ++++++++++++++++++++++++ static/tests/BookRecommendations.test.js | 2 +- 2 files changed, 28 insertions(+), 1 deletion(-) diff --git a/static/js/BookRecommendations.jsx b/static/js/BookRecommendations.jsx index a2c5fcc..9b8a9af 100644 --- a/static/js/BookRecommendations.jsx +++ b/static/js/BookRecommendations.jsx @@ -19,6 +19,33 @@ export function BookRecommendations(){ Five book collection centered around the understanding the impacts of randomness. +
  • Outlive by + Peter Attia + +
  • +
  • + View health span as a constant downward slope instead of constant as years pass by +
  • + +
  • The Life cleaning magic of tidying up by + Marie Kondo + +
  • +
  • + Remove any items in your life if they do not bring you joy. +
  • + +
  • The power of bad by + John Tierney and Roy Baumeister + +
  • +
  • + Having 1 friend with a negative personality is asymmetrically harmful to your well being. +
  • +

    Software Engineering

    diff --git a/static/tests/BookRecommendations.test.js b/static/tests/BookRecommendations.test.js index 98e6aba..378b39d 100644 --- a/static/tests/BookRecommendations.test.js +++ b/static/tests/BookRecommendations.test.js @@ -19,7 +19,7 @@ describe('BookRecommendations displayed on screen', () => { const numHeaders = getAllByRole( 'heading' ); - expect(bookLinks.length).toBe(4); + expect(bookLinks.length).toBe(8); expect(numHeaders.length).toBe(2); }); From ce05416aabcac93bb3aada85cc2b1f92906bfc23 Mon Sep 17 00:00:00 2001 From: rrigato Date: Sun, 26 Nov 2023 10:10:07 -0600 Subject: [PATCH 2/4] Open link in new page --- static/js/BookRecommendations.jsx | 41 +++++++++++++++++++++++++------ 1 file changed, 34 insertions(+), 7 deletions(-) diff --git a/static/js/BookRecommendations.jsx b/static/js/BookRecommendations.jsx index 9b8a9af..7eabfc4 100644 --- a/static/js/BookRecommendations.jsx +++ b/static/js/BookRecommendations.jsx @@ -12,7 +12,10 @@ export function BookRecommendations(){ From 55fba1752beb14276846a2afae9bd84ec13241d5 Mon Sep 17 00:00:00 2001 From: rrigato Date: Sun, 26 Nov 2023 10:26:53 -0600 Subject: [PATCH 3/4] slight formatting --- static/js/BookRecommendations.jsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/static/js/BookRecommendations.jsx b/static/js/BookRecommendations.jsx index 7eabfc4..baca8bf 100644 --- a/static/js/BookRecommendations.jsx +++ b/static/js/BookRecommendations.jsx @@ -30,7 +30,7 @@ export function BookRecommendations(){
  • - View health span as a constant downward slope instead of constant as years pass by + View health span as a constant downward slope instead of a constant as years pass by.
  • The Life cleaning magic of tidying up by @@ -41,7 +41,7 @@ export function BookRecommendations(){
  • - Remove any items in your life if they do not bring you joy. + Evaluate each item in your life for whether it continues to bring you joy.
  • The power of bad by @@ -96,7 +96,8 @@ export function BookRecommendations(){ >Fred Brooks
  • - Scaling software engineering team size leads to increased communication overhead and might make the project later. + Scaling software engineering team size leads to increased communication overhead + and might cause the project miss deadlines.
  • From 2d28f1afbd9090f0d0e920e0463f87ff70e99205 Mon Sep 17 00:00:00 2001 From: rrigato Date: Sun, 26 Nov 2023 10:30:03 -0600 Subject: [PATCH 4/4] more formatting --- static/js/BookRecommendations.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/static/js/BookRecommendations.jsx b/static/js/BookRecommendations.jsx index baca8bf..cda4058 100644 --- a/static/js/BookRecommendations.jsx +++ b/static/js/BookRecommendations.jsx @@ -24,7 +24,7 @@ export function BookRecommendations(){
  • Outlive by Peter Attia @@ -33,7 +33,7 @@ export function BookRecommendations(){ View health span as a constant downward slope instead of a constant as years pass by.
  • -
  • The Life cleaning magic of tidying up by +
  • The Life Cleaning Magic Of Tidying Up by -
  • The power of bad by +
  • The Power Of Bad by