From 541131e7f4b741a0dde82864531ee8eb6875caef Mon Sep 17 00:00:00 2001 From: Alvin Bernard Date: Thu, 3 Mar 2022 16:53:09 +0530 Subject: [PATCH 01/11] New Contributor Change --- .../main/default/classes/SFDCStopTeamController.cls | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/force-app/main/default/classes/SFDCStopTeamController.cls b/force-app/main/default/classes/SFDCStopTeamController.cls index 23f2dfb8..f99078a4 100644 --- a/force-app/main/default/classes/SFDCStopTeamController.cls +++ b/force-app/main/default/classes/SFDCStopTeamController.cls @@ -323,6 +323,15 @@ public class SFDCStopTeamController { ) ); + sfdcstopContributors.add( + new Contributor( + 'Alvin Bernard', + 'https://cdn.cnn.com/cnnnext/dam/assets/211227135008-02-the-batman-trailer-exlarge-169.jpg', + Date.newInstance(2022, 03, 03), + 'https://trailblazer.me/id/abernard1' + ) + ); + return JSON.serialize(sfdcstopContributors); } } From 728def53f8e337219f5d300749b08064bcb83d86 Mon Sep 17 00:00:00 2001 From: Alvin Bernard Date: Thu, 3 Mar 2022 16:55:40 +0530 Subject: [PATCH 02/11] Undo Changes --- .../main/default/classes/SFDCStopTeamController.cls | 9 --------- 1 file changed, 9 deletions(-) diff --git a/force-app/main/default/classes/SFDCStopTeamController.cls b/force-app/main/default/classes/SFDCStopTeamController.cls index f99078a4..23f2dfb8 100644 --- a/force-app/main/default/classes/SFDCStopTeamController.cls +++ b/force-app/main/default/classes/SFDCStopTeamController.cls @@ -323,15 +323,6 @@ public class SFDCStopTeamController { ) ); - sfdcstopContributors.add( - new Contributor( - 'Alvin Bernard', - 'https://cdn.cnn.com/cnnnext/dam/assets/211227135008-02-the-batman-trailer-exlarge-169.jpg', - Date.newInstance(2022, 03, 03), - 'https://trailblazer.me/id/abernard1' - ) - ); - return JSON.serialize(sfdcstopContributors); } } From 42816ef96cad22f6bcd8335c1c7503c8f2d1690e Mon Sep 17 00:00:00 2001 From: Alvin Bernard Date: Thu, 3 Mar 2022 16:59:41 +0530 Subject: [PATCH 03/11] New Contributor Added --- .../main/default/classes/SFDCStopTeamController.cls | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/force-app/main/default/classes/SFDCStopTeamController.cls b/force-app/main/default/classes/SFDCStopTeamController.cls index 23f2dfb8..f99078a4 100644 --- a/force-app/main/default/classes/SFDCStopTeamController.cls +++ b/force-app/main/default/classes/SFDCStopTeamController.cls @@ -323,6 +323,15 @@ public class SFDCStopTeamController { ) ); + sfdcstopContributors.add( + new Contributor( + 'Alvin Bernard', + 'https://cdn.cnn.com/cnnnext/dam/assets/211227135008-02-the-batman-trailer-exlarge-169.jpg', + Date.newInstance(2022, 03, 03), + 'https://trailblazer.me/id/abernard1' + ) + ); + return JSON.serialize(sfdcstopContributors); } } From 5b673aca220e0856f645db58ea81c218674e1c2a Mon Sep 17 00:00:00 2001 From: Alvin2323 Date: Thu, 3 Mar 2022 18:26:22 +0530 Subject: [PATCH 04/11] Update sfdcstopTeam.html --- force-app/main/default/lwc/sfdcstopTeam/sfdcstopTeam.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/force-app/main/default/lwc/sfdcstopTeam/sfdcstopTeam.html b/force-app/main/default/lwc/sfdcstopTeam/sfdcstopTeam.html index 0a5bdb65..1590070e 100644 --- a/force-app/main/default/lwc/sfdcstopTeam/sfdcstopTeam.html +++ b/force-app/main/default/lwc/sfdcstopTeam/sfdcstopTeam.html @@ -2,7 +2,7 @@

-   SFDC Stop Contributors +   SFDC Stop Contributors 2022

@@ -29,4 +29,4 @@

- \ No newline at end of file + From bc9fad849e8782af992a08ec77c9ea48986bd717 Mon Sep 17 00:00:00 2001 From: Alvin2323 Date: Thu, 3 Mar 2022 18:27:27 +0530 Subject: [PATCH 05/11] Update sfdcstopTeam.html --- force-app/main/default/lwc/sfdcstopTeam/sfdcstopTeam.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/force-app/main/default/lwc/sfdcstopTeam/sfdcstopTeam.html b/force-app/main/default/lwc/sfdcstopTeam/sfdcstopTeam.html index 1590070e..74a5776c 100644 --- a/force-app/main/default/lwc/sfdcstopTeam/sfdcstopTeam.html +++ b/force-app/main/default/lwc/sfdcstopTeam/sfdcstopTeam.html @@ -2,7 +2,7 @@

-   SFDC Stop Contributors 2022 +   SFDC Stop Contributors Year 2022

From b2ec5b0f04726576bca614606ed10e9210168106 Mon Sep 17 00:00:00 2001 From: Alvin2323 Date: Thu, 3 Mar 2022 18:29:33 +0530 Subject: [PATCH 06/11] Update sfdcstopTeam.html --- force-app/main/default/lwc/sfdcstopTeam/sfdcstopTeam.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/force-app/main/default/lwc/sfdcstopTeam/sfdcstopTeam.html b/force-app/main/default/lwc/sfdcstopTeam/sfdcstopTeam.html index 74a5776c..0d31eb2b 100644 --- a/force-app/main/default/lwc/sfdcstopTeam/sfdcstopTeam.html +++ b/force-app/main/default/lwc/sfdcstopTeam/sfdcstopTeam.html @@ -2,7 +2,7 @@

-   SFDC Stop Contributors Year 2022 +   SFDC Stop Contributors for the Year 2022

From 26c1625c2a88aff40814e725e4234c9335ece13f Mon Sep 17 00:00:00 2001 From: Alvin2323 Date: Thu, 3 Mar 2022 18:35:04 +0530 Subject: [PATCH 07/11] Update sfdcstopTeam.html --- force-app/main/default/lwc/sfdcstopTeam/sfdcstopTeam.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/force-app/main/default/lwc/sfdcstopTeam/sfdcstopTeam.html b/force-app/main/default/lwc/sfdcstopTeam/sfdcstopTeam.html index 0a5bdb65..ddd6b8b3 100644 --- a/force-app/main/default/lwc/sfdcstopTeam/sfdcstopTeam.html +++ b/force-app/main/default/lwc/sfdcstopTeam/sfdcstopTeam.html @@ -2,7 +2,7 @@

-   SFDC Stop Contributors +   SFDC Stop Contributors for the year 2021

@@ -29,4 +29,4 @@

- \ No newline at end of file + From 1e1d8ba6a41d672d27c198b2bda1f4669acc5d56 Mon Sep 17 00:00:00 2001 From: Alvin2323 Date: Thu, 3 Mar 2022 18:35:53 +0530 Subject: [PATCH 08/11] Update sfdcstopTeam.html --- force-app/main/default/lwc/sfdcstopTeam/sfdcstopTeam.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/force-app/main/default/lwc/sfdcstopTeam/sfdcstopTeam.html b/force-app/main/default/lwc/sfdcstopTeam/sfdcstopTeam.html index ddd6b8b3..0a05714a 100644 --- a/force-app/main/default/lwc/sfdcstopTeam/sfdcstopTeam.html +++ b/force-app/main/default/lwc/sfdcstopTeam/sfdcstopTeam.html @@ -3,6 +3,8 @@

  SFDC Stop Contributors for the year 2021 +   SFDC Stop Contributors for the year 2022 +   SFDC Stop Contributors for the year 2023

From 6dc2e64cf2db27a27a8c31f4af60671dd075cca0 Mon Sep 17 00:00:00 2001 From: Alvin Bernard Date: Thu, 3 Mar 2022 18:37:12 +0530 Subject: [PATCH 09/11] Change in LWC File --- force-app/main/default/lwc/sfdcstopTeam/sfdcstopTeam.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/force-app/main/default/lwc/sfdcstopTeam/sfdcstopTeam.html b/force-app/main/default/lwc/sfdcstopTeam/sfdcstopTeam.html index 0d31eb2b..a358f5d2 100644 --- a/force-app/main/default/lwc/sfdcstopTeam/sfdcstopTeam.html +++ b/force-app/main/default/lwc/sfdcstopTeam/sfdcstopTeam.html @@ -2,7 +2,7 @@

-   SFDC Stop Contributors for the Year 2022 +   SFDC Stop Contributors for the Year 2022 and 2023

From fb236c70a935f317d2e93c0de26d864471b1321e Mon Sep 17 00:00:00 2001 From: Alvin Bernard Date: Thu, 3 Mar 2022 19:23:51 +0530 Subject: [PATCH 10/11] Adding
tag --- force-app/main/default/lwc/sfdcstopTeam/sfdcstopTeam.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/force-app/main/default/lwc/sfdcstopTeam/sfdcstopTeam.html b/force-app/main/default/lwc/sfdcstopTeam/sfdcstopTeam.html index 2abc8c3d..6b85b911 100644 --- a/force-app/main/default/lwc/sfdcstopTeam/sfdcstopTeam.html +++ b/force-app/main/default/lwc/sfdcstopTeam/sfdcstopTeam.html @@ -3,9 +3,9 @@

  SFDC Stop Contributors for the Year 2022 and 2023 -   SFDC Stop Contributors for the year 2021 -   SFDC Stop Contributors for the year 2022 -   SFDC Stop Contributors for the year 2023 +
SFDC Stop Contributors for the year 2021 +
SFDC Stop Contributors for the year 2022 +
SFDC Stop Contributors for the year 2023

From 75a4fa4adaea27bfd68b1665d8a8d620afd9711f Mon Sep 17 00:00:00 2001 From: Alvin Bernard Date: Thu, 3 Mar 2022 19:40:24 +0530 Subject: [PATCH 11/11] Wire as a function implementation --- force-app/main/default/lwc/sfdcstopTeam/sfdcstopTeam.js | 1 + 1 file changed, 1 insertion(+) diff --git a/force-app/main/default/lwc/sfdcstopTeam/sfdcstopTeam.js b/force-app/main/default/lwc/sfdcstopTeam/sfdcstopTeam.js index 798b73cc..10aabc6b 100644 --- a/force-app/main/default/lwc/sfdcstopTeam/sfdcstopTeam.js +++ b/force-app/main/default/lwc/sfdcstopTeam/sfdcstopTeam.js @@ -5,6 +5,7 @@ export default class SfdcstopTeam extends LightningElement { contributors = []; + //This is wire as function implementation @wire(getContributors) contributorResponse({ error, data }) { if(data) {