Skip to content

Commit

Permalink
Refactor server APIs by logical groups (#6713)
Browse files Browse the repository at this point in the history
  • Loading branch information
kenzieschmoll authored Nov 13, 2023
1 parent d6e484c commit 2a84a61
Show file tree
Hide file tree
Showing 23 changed files with 563 additions and 655 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ import 'package:devtools_app_shared/utils.dart';
import 'package:devtools_extensions/api.dart';
import 'package:path/path.dart' as path;

import '../../shared/config_specific/server/server.dart';
import '../../shared/development_helpers.dart';
import '../../shared/globals.dart';
import '../../shared/primitives/utils.dart';
import '../../shared/server/server.dart';
import 'controller.dart';

/// Incrementer for the extension iFrame view that will live for the entire
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import 'package:devtools_app_shared/utils.dart';
import 'package:devtools_shared/devtools_extensions.dart';
import 'package:flutter/foundation.dart';

import '../shared/config_specific/server/server.dart' as server;
import '../shared/globals.dart';
import '../shared/server/server.dart' as server;

class ExtensionService extends DisposableController
with AutoDisposeControllerMixin {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import 'package:http/http.dart' as http;
import 'package:logging/logging.dart';

import '../../../devtools.dart' as devtools;
import '../../shared/config_specific/server/server.dart' as server;
import '../../shared/server/server.dart' as server;
import '../../shared/side_panel.dart';

final _log = Logger('release_notes');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ import '../shared/analytics/analytics_controller.dart';
import '../shared/analytics/constants.dart' as gac;
import '../shared/common_widgets.dart';
import '../shared/config_specific/copy_to_clipboard/copy_to_clipboard.dart';
import '../shared/config_specific/server/server.dart';
import '../shared/globals.dart';
import '../shared/log_storage.dart';
import '../shared/server/server.dart';

class OpenSettingsAction extends ScaffoldAction {
OpenSettingsAction({super.key, Color? color})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ import '../../shared/analytics/constants.dart' as gac;
import '../../shared/charts/treemap.dart';
import '../../shared/common_widgets.dart';
import '../../shared/config_specific/drag_and_drop/drag_and_drop.dart';
import '../../shared/config_specific/server/server.dart' as server;
import '../../shared/file_import.dart';
import '../../shared/globals.dart';
import '../../shared/primitives/utils.dart';
import '../../shared/screen.dart';
import '../../shared/server/server.dart' as server;
import '../../shared/ui/tab.dart';
import '../../shared/utils.dart';
import 'app_size_controller.dart';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import 'package:http/http.dart' as http;

import '../../shared/analytics/analytics.dart' as ga;
import '../../shared/analytics/constants.dart' as gac;
import '../../shared/config_specific/server/server.dart' as server;
import '../../shared/server/server.dart' as server;
import 'deep_links_model.dart';

const String _apiKey = 'AIzaSyDVE6FP3GpwxgS4q8rbS7qaf6cAbxc_elc';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import 'package:flutter/material.dart';
import '../../shared/analytics/analytics.dart' as ga;
import '../../shared/analytics/constants.dart' as gac;
import '../../shared/common_widgets.dart';
import '../../shared/config_specific/server/server.dart' as server;
import '../../shared/directory_picker.dart';
import '../../shared/server/server.dart' as server;
import '../../shared/utils.dart';
import 'deep_links_controller.dart';
import 'deep_links_model.dart';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import 'dart:async';

import '../config_specific/server/server.dart' as server;
import '../server/server.dart' as server;
import 'analytics.dart' as ga;
import 'analytics_controller.dart';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ import 'package:logging/logging.dart';
import 'package:web/helpers.dart';

import '../../../devtools.dart' as devtools show version;
import '../config_specific/server/server.dart' as server;
import '../globals.dart';
import '../primitives/url_utils.dart';
import '../server/server.dart' as server;
import '../utils.dart';
import 'analytics_common.dart';
import 'constants.dart' as gac;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import 'package:devtools_app_shared/utils.dart';
import '../../../service/service_manager.dart';
import '../../globals.dart';
import '../../primitives/storage.dart';
import '../../server_api_client.dart';
import '../../server/server_api_client.dart';

/// Return the url the application is launched from.
Future<String> initializePlatform() async {
Expand Down

This file was deleted.

Loading

0 comments on commit 2a84a61

Please sign in to comment.