diff --git a/frontend/lib/views/side_bar/side_bar_view.dart b/frontend/lib/views/side_bar/side_bar_view.dart index 66f164c3d1ce..e6610a7bd436 100644 --- a/frontend/lib/views/side_bar/side_bar_view.dart +++ b/frontend/lib/views/side_bar/side_bar_view.dart @@ -80,14 +80,6 @@ class SideBarView extends StatelessWidget { 'https://aiedge.medium.com/autogpt-forge-e3de53cc58ec'), tooltip: 'Learn how to build your own Agent', ), - IconButton( - splashRadius: 0.1, - iconSize: 33, - icon: Image.asset('assets/images/autogpt_logo.png'), - onPressed: () => - _launchURL('https://leaderboard.agpt.co'), - tooltip: 'Check out the leaderboard', - ), IconButton( splashRadius: 0.1, iconSize: 25, diff --git a/frontend/lib/views/task_queue/task_queue_view.dart b/frontend/lib/views/task_queue/task_queue_view.dart index 8d78f129f2d0..adda890ab82b 100644 --- a/frontend/lib/views/task_queue/task_queue_view.dart +++ b/frontend/lib/views/task_queue/task_queue_view.dart @@ -4,8 +4,6 @@ import 'package:auto_gpt_flutter_client/viewmodels/chat_viewmodel.dart'; import 'package:auto_gpt_flutter_client/viewmodels/skill_tree_viewmodel.dart'; import 'package:auto_gpt_flutter_client/viewmodels/task_queue_viewmodel.dart'; import 'package:auto_gpt_flutter_client/viewmodels/task_viewmodel.dart'; -import 'package:auto_gpt_flutter_client/views/task_queue/leaderboard_submission_button.dart'; -import 'package:auto_gpt_flutter_client/views/task_queue/leaderboard_submission_dialog.dart'; import 'package:auto_gpt_flutter_client/views/task_queue/test_suite_button.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; @@ -123,26 +121,6 @@ class TaskQueueView extends StatelessWidget { }, ), SizedBox(height: 8), // Gap of 8 points between buttons - // LeaderboardSubmissionButton - LeaderboardSubmissionButton( - onPressed: viewModel.benchmarkStatusMap.isEmpty || - viewModel.isBenchmarkRunning - ? null - : () { - showDialog( - context: context, - builder: (context) => LeaderboardSubmissionDialog( - onSubmit: (teamName, repoUrl, commitSha) { - viewModel.submitToLeaderboard( - teamName, repoUrl, commitSha); - }, - viewModel: viewModel, - ), - ); - }, - isDisabled: viewModel.isBenchmarkRunning || - viewModel.benchmarkStatusMap.isEmpty, - ), ], ), ),