Skip to content

Commit

Permalink
remove leaderboard
Browse files Browse the repository at this point in the history
  • Loading branch information
Swiftyos committed May 11, 2024
1 parent 1f05881 commit b3967fd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 30 deletions.
8 changes: 0 additions & 8 deletions frontend/lib/views/side_bar/side_bar_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
22 changes: 0 additions & 22 deletions frontend/lib/views/task_queue/task_queue_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -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,
),
],
),
),
Expand Down

0 comments on commit b3967fd

Please sign in to comment.