diff --git a/.github/workflows/pr-reminder.yml b/.github/workflows/pr-reminder.yml index 172ffc6011..41f7db24e8 100644 --- a/.github/workflows/pr-reminder.yml +++ b/.github/workflows/pr-reminder.yml @@ -3,15 +3,25 @@ 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' + uses: Aniket-Engg/pr-reviews-reminder-action@master env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: webhook-url: ${{ secrets.DISCORD_WEBHOOK_URL }} - freeze-date: '2024-10-21T18:00:00Z' 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..4ef9c6f216 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,13 +30,17 @@ 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..64a9c912b2 100644 --- a/libs/remix-ui/panel/src/lib/plugins/panel-header.tsx +++ b/libs/remix-ui/panel/src/lib/plugins/panel-header.tsx @@ -48,13 +48,17 @@ 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..6241150a2e 100644 --- a/libs/remix-ui/plugin-manager/src/lib/components/ActivePluginCard.tsx +++ b/libs/remix-ui/plugin-manager/src/lib/components/ActivePluginCard.tsx @@ -26,14 +26,23 @@ function ActivePluginCard({ profile, buttonText, deactivatePlugin }: PluginCardP > ) - : (} - > - - ) + : profile?.maintainedBy ? ( + + + ) + : (} + > + + ) } {profile.documentation && ( } > ) - : (} - > - - ) + : profile?.maintainedBy ? ( + + + ) + : (} + > + + ) } {profile.documentation && (