From 98c7ab5aa8a3fa256724982090b780606a49d5f5 Mon Sep 17 00:00:00 2001 From: lianahus Date: Mon, 14 Oct 2024 15:03:05 +0200 Subject: [PATCH 1/6] new color for Maintained by and adding external maintainers as an option --- .../src/lib/components/homeTabFeaturedPlugins.tsx | 10 +++++----- .../home-tab/src/lib/components/pluginButton.tsx | 12 ++++++++---- .../panel/src/lib/plugins/panel-header.tsx | 14 +++++++++----- .../src/lib/components/ActivePluginCard.tsx | 11 ++++++++++- .../src/lib/components/InactivePluginCard.tsx | 15 ++++++++++++--- 5 files changed, 44 insertions(+), 18 deletions(-) diff --git a/libs/remix-ui/home-tab/src/lib/components/homeTabFeaturedPlugins.tsx b/libs/remix-ui/home-tab/src/lib/components/homeTabFeaturedPlugins.tsx index 10cf7d82bc..199a141ee7 100644 --- a/libs/remix-ui/home-tab/src/lib/components/homeTabFeaturedPlugins.tsx +++ b/libs/remix-ui/home-tab/src/lib/components/homeTabFeaturedPlugins.tsx @@ -122,7 +122,7 @@ function HomeTabFeaturedPlugins({ plugin }: HomeTabFeaturedPluginsProps) { description={intl.formatMessage({ id: 'home.codeAnalyizerPluginDesc' })} - remixMaintained={true} + maintainedBy='Remix' callback={() => startCodeAnalyzer()} /> startLearnEth()} /> startCookbook()} /> startSolidity()} /> startSolidityUnitTesting()} /> diff --git a/libs/remix-ui/home-tab/src/lib/components/pluginButton.tsx b/libs/remix-ui/home-tab/src/lib/components/pluginButton.tsx index 2a3e8d5040..35afc6ca17 100644 --- a/libs/remix-ui/home-tab/src/lib/components/pluginButton.tsx +++ b/libs/remix-ui/home-tab/src/lib/components/pluginButton.tsx @@ -10,10 +10,10 @@ interface PluginButtonProps { callback: any l2?: boolean description: string - remixMaintained?: boolean + maintainedBy?: string } -function PluginButton({ imgPath, envID, envText, callback, l2, description, remixMaintained }: PluginButtonProps) { +function PluginButton({ imgPath, envID, envText, callback, l2, description, maintainedBy }: PluginButtonProps) { const themeFilter = useContext(ThemeContext) return ( @@ -30,12 +30,16 @@ function PluginButton({ imgPath, envID, envText, callback, l2, description, remi {l2 && } - {remixMaintained ? ( + { maintainedBy?.toLowerCase() === 'remix' ? ( }> + ) : + maintainedBy ? + ( + ) : (}> - + ) } diff --git a/libs/remix-ui/panel/src/lib/plugins/panel-header.tsx b/libs/remix-ui/panel/src/lib/plugins/panel-header.tsx index 2f21cf8fc1..252dc50152 100644 --- a/libs/remix-ui/panel/src/lib/plugins/panel-header.tsx +++ b/libs/remix-ui/panel/src/lib/plugins/panel-header.tsx @@ -48,12 +48,16 @@ const RemixUIPanelHeader = (props: RemixPanelProps) => {
- {plugin?.profile?.maintainedBy?.toLowerCase() === 'remix' ? ( - }> - + { plugin?.profile?.maintainedBy?.toLowerCase() === 'remix' ? ( + }> + + ) : + plugin?.profile?.maintainedBy ? + ( + ) - : (}> - + : (}> + ) }
diff --git a/libs/remix-ui/plugin-manager/src/lib/components/ActivePluginCard.tsx b/libs/remix-ui/plugin-manager/src/lib/components/ActivePluginCard.tsx index 4d1e29bd49..15e7bc462f 100644 --- a/libs/remix-ui/plugin-manager/src/lib/components/ActivePluginCard.tsx +++ b/libs/remix-ui/plugin-manager/src/lib/components/ActivePluginCard.tsx @@ -26,13 +26,22 @@ function ActivePluginCard({ profile, buttonText, deactivatePlugin }: PluginCardP > ) + : profile?.maintainedBy ? ( + + + ) : (} > - + ) } {profile.documentation && ( diff --git a/libs/remix-ui/plugin-manager/src/lib/components/InactivePluginCard.tsx b/libs/remix-ui/plugin-manager/src/lib/components/InactivePluginCard.tsx index 1dec1c420c..8fadf18222 100644 --- a/libs/remix-ui/plugin-manager/src/lib/components/InactivePluginCard.tsx +++ b/libs/remix-ui/plugin-manager/src/lib/components/InactivePluginCard.tsx @@ -37,19 +37,28 @@ function InactivePluginCard({ profile, buttonText, activatePlugin }: PluginCardP {profile?.maintainedBy?.toLowerCase() == 'remix' ? ( } > ) + : profile?.maintainedBy ? ( + + + ) : (} > - + ) } {profile.documentation && ( From a484f270e96de0903107c557e75c2d5fc334d4c4 Mon Sep 17 00:00:00 2001 From: lianahus Date: Tue, 15 Oct 2024 12:54:56 +0200 Subject: [PATCH 2/6] lint --- .../src/lib/components/pluginButton.tsx | 12 +++---- .../panel/src/lib/plugins/panel-header.tsx | 12 +++---- .../src/lib/components/ActivePluginCard.tsx | 32 +++++++++---------- .../src/lib/components/InactivePluginCard.tsx | 32 +++++++++---------- 4 files changed, 44 insertions(+), 44 deletions(-) diff --git a/libs/remix-ui/home-tab/src/lib/components/pluginButton.tsx b/libs/remix-ui/home-tab/src/lib/components/pluginButton.tsx index 35afc6ca17..4ef9c6f216 100644 --- a/libs/remix-ui/home-tab/src/lib/components/pluginButton.tsx +++ b/libs/remix-ui/home-tab/src/lib/components/pluginButton.tsx @@ -35,12 +35,12 @@ function PluginButton({ imgPath, envID, envText, callback, l2, description, main ) : maintainedBy ? - ( - - ) - : (}> - - ) + ( + + ) + : (}> + + ) }
) diff --git a/libs/remix-ui/panel/src/lib/plugins/panel-header.tsx b/libs/remix-ui/panel/src/lib/plugins/panel-header.tsx index 252dc50152..f81e8636eb 100644 --- a/libs/remix-ui/panel/src/lib/plugins/panel-header.tsx +++ b/libs/remix-ui/panel/src/lib/plugins/panel-header.tsx @@ -53,12 +53,12 @@ const RemixUIPanelHeader = (props: RemixPanelProps) => { ) : plugin?.profile?.maintainedBy ? - ( - - ) - : (}> - - ) + ( + + ) + : (}> + + ) }
diff --git a/libs/remix-ui/plugin-manager/src/lib/components/ActivePluginCard.tsx b/libs/remix-ui/plugin-manager/src/lib/components/ActivePluginCard.tsx index 15e7bc462f..6241150a2e 100644 --- a/libs/remix-ui/plugin-manager/src/lib/components/ActivePluginCard.tsx +++ b/libs/remix-ui/plugin-manager/src/lib/components/ActivePluginCard.tsx @@ -27,22 +27,22 @@ function ActivePluginCard({ profile, buttonText, deactivatePlugin }: PluginCardP ) : profile?.maintainedBy ? ( - - - ) - : (} - > - - ) + + + ) + : (} + > + + ) } {profile.documentation && ( ) : profile?.maintainedBy ? ( - - - ) - : (} - > - - ) + + + ) + : (} + > + + ) } {profile.documentation && ( Date: Tue, 22 Oct 2024 18:56:43 +0200 Subject: [PATCH 3/6] fixed plugin header --- libs/remix-ui/panel/src/lib/plugins/panel-header.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/remix-ui/panel/src/lib/plugins/panel-header.tsx b/libs/remix-ui/panel/src/lib/plugins/panel-header.tsx index f81e8636eb..64a9c912b2 100644 --- a/libs/remix-ui/panel/src/lib/plugins/panel-header.tsx +++ b/libs/remix-ui/panel/src/lib/plugins/panel-header.tsx @@ -50,7 +50,7 @@ const RemixUIPanelHeader = (props: RemixPanelProps) => {
{ plugin?.profile?.maintainedBy?.toLowerCase() === 'remix' ? ( }> - + ) : plugin?.profile?.maintainedBy ? ( From 718e943849b9b9d437cd7eab41c9be966bbc9d5f Mon Sep 17 00:00:00 2001 From: aniket-engg Date: Fri, 25 Oct 2024 12:11:56 +0530 Subject: [PATCH 4/6] bump dev version to 0.57.0 --- .github/workflows/pr-reminder.yml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr-reminder.yml b/.github/workflows/pr-reminder.yml index 172ffc6011..4095bb495a 100644 --- a/.github/workflows/pr-reminder.yml +++ b/.github/workflows/pr-reminder.yml @@ -14,4 +14,4 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: webhook-url: ${{ secrets.DISCORD_WEBHOOK_URL }} - freeze-date: '2024-10-21T18:00:00Z' + freeze-date: '2024-11-04T18:00:00Z' diff --git a/package.json b/package.json index 26794bb36b..38c5ea6f3d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "remix-project", - "version": "0.56.0-dev", + "version": "0.57.0-dev", "license": "MIT", "description": "Ethereum Remix Monorepo", "main": "index.js", From 296bb509a3565ecda58073f246c892667c158c77 Mon Sep 17 00:00:00 2001 From: aniket-engg Date: Fri, 25 Oct 2024 12:53:26 +0530 Subject: [PATCH 5/6] update reminder --- .github/workflows/pr-reminder.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr-reminder.yml b/.github/workflows/pr-reminder.yml index 4095bb495a..bacb104ed6 100644 --- a/.github/workflows/pr-reminder.yml +++ b/.github/workflows/pr-reminder.yml @@ -3,15 +3,21 @@ name: PRs reviews reminder on: schedule: - cron: "0 8 * * 1-5" + - cron: '0 9 * * 1-5' workflow_dispatch: jobs: pr-reviews-reminder: runs-on: ubuntu-latest steps: - - uses: Aniket-Engg/pr-reviews-reminder-action@master + - name: Reminder about PRs pending to review + if: github.event.schedule == '0 8 * * 1-5' + uses: Aniket-Engg/pr-reviews-reminder-action@master env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: webhook-url: ${{ secrets.DISCORD_WEBHOOK_URL }} freeze-date: '2024-11-04T18:00:00Z' + - name: Reminder for standup + if: github.event.schedule == '0 9 * * 1-5' + run: echo "This works." From 314ebcab6f2855bb04a07229502f4e7b5adbd083 Mon Sep 17 00:00:00 2001 From: aniket-engg Date: Fri, 25 Oct 2024 13:59:41 +0530 Subject: [PATCH 6/6] standup reminder --- .github/workflows/pr-reminder.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr-reminder.yml b/.github/workflows/pr-reminder.yml index bacb104ed6..41f7db24e8 100644 --- a/.github/workflows/pr-reminder.yml +++ b/.github/workflows/pr-reminder.yml @@ -20,4 +20,8 @@ jobs: freeze-date: '2024-11-04T18:00:00Z' - name: Reminder for standup if: github.event.schedule == '0 9 * * 1-5' - run: echo "This works." + uses: Aniket-Engg/pr-reviews-reminder-action@master + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + webhook-url: ${{ secrets.DISCORD_WEBHOOK_URL }}