Skip to content

Commit

Permalink
🔧 Disable Alfred smart result ordering in favor of Algolia ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
techouse committed Dec 22, 2022
1 parent 6c1b79c commit 52804c0
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 48 deletions.
4 changes: 2 additions & 2 deletions bin/main_helpers.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ final AlfredWorkflow _workflow = AlfredWorkflow(
Duration(days: 7),
),
),
);
)..disableAlfredSmartResultOrdering = true;

final AlfredUpdater _updater = AlfredUpdater(
githubRepositoryUrl: Uri.parse(Env.githubRepositoryUrl),
Expand All @@ -21,7 +21,7 @@ const updateItem = AlfredItem(
subtitle: 'Press <enter> to auto-update to a new version of this workflow.',
arg: 'update:workflow',
match:
'Auto-Update available! Press <enter> to auto-update to a new version of this workflow.',
'Auto-Update available! Press <enter> to auto-update to a new version of this workflow.',
icon: AlfredItemIcon(path: 'alfredhatcog.png'),
valid: true,
);
Expand Down
2 changes: 1 addition & 1 deletion info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@
<key>variablesdontexport</key>
<array/>
<key>version</key>
<string>1.1.9</string>
<string>1.1.10</string>
<key>webaddress</key>
<string>https://github.com/techouse</string>
</dict>
Expand Down
51 changes: 22 additions & 29 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ packages:
name: _fe_analyzer_shared
url: "https://pub.dartlang.org"
source: hosted
version: "50.0.0"
version: "51.0.0"
alfred_workflow:
dependency: "direct main"
description:
name: alfred_workflow
url: "https://pub.dartlang.org"
source: hosted
version: "0.2.10"
version: "0.3.0+1"
algolia:
dependency: "direct main"
description:
Expand All @@ -23,12 +23,12 @@ packages:
source: hosted
version: "1.1.1"
analyzer:
dependency: "direct overridden"
dependency: transitive
description:
name: analyzer
url: "https://pub.dartlang.org"
source: hosted
version: "5.2.0"
version: "5.3.1"
analyzer_plugin:
dependency: transitive
description:
Expand Down Expand Up @@ -98,7 +98,7 @@ packages:
name: build_runner
url: "https://pub.dartlang.org"
source: hosted
version: "2.3.2"
version: "2.3.3"
build_runner_core:
dependency: transitive
description:
Expand Down Expand Up @@ -140,7 +140,7 @@ packages:
name: cli_script
url: "https://pub.dartlang.org"
source: hosted
version: "0.2.6"
version: "0.3.0"
clock:
dependency: transitive
description:
Expand All @@ -154,7 +154,7 @@ packages:
name: code_builder
url: "https://pub.dartlang.org"
source: hosted
version: "4.3.0"
version: "4.4.0"
collection:
dependency: transitive
description:
Expand All @@ -175,7 +175,7 @@ packages:
name: copy_with_extension
url: "https://pub.dartlang.org"
source: hosted
version: "4.0.4"
version: "5.0.0"
crypto:
dependency: "direct main"
description:
Expand All @@ -196,35 +196,28 @@ packages:
name: dart_code_metrics
url: "https://pub.dartlang.org"
source: hosted
version: "5.0.1"
version: "5.3.0"
dart_style:
dependency: transitive
description:
name: dart_style
url: "https://pub.dartlang.org"
source: hosted
version: "2.2.4"
dotenv:
dependency: transitive
description:
name: dotenv
url: "https://pub.dartlang.org"
source: hosted
version: "4.0.1"
envied:
dependency: "direct main"
description:
name: envied
url: "https://pub.dartlang.org"
source: hosted
version: "0.2.3"
version: "0.3.0"
envied_generator:
dependency: "direct dev"
description:
name: envied_generator
url: "https://pub.dartlang.org"
source: hosted
version: "0.2.3"
version: "0.3.0"
equatable:
dependency: transitive
description:
Expand Down Expand Up @@ -252,14 +245,14 @@ packages:
name: frontend_server_client
url: "https://pub.dartlang.org"
source: hosted
version: "3.1.0"
version: "3.2.0"
glob:
dependency: transitive
description:
name: glob
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.0"
version: "2.1.1"
graphs:
dependency: transitive
description:
Expand Down Expand Up @@ -343,7 +336,7 @@ packages:
name: matcher
url: "https://pub.dartlang.org"
source: hosted
version: "0.12.13"
version: "0.12.14"
meta:
dependency: transitive
description:
Expand All @@ -357,7 +350,7 @@ packages:
name: mime
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.2"
version: "1.0.3"
package_config:
dependency: transitive
description:
Expand All @@ -371,7 +364,7 @@ packages:
name: path
url: "https://pub.dartlang.org"
source: hosted
version: "1.8.2"
version: "1.8.3"
petitparser:
dependency: transitive
description:
Expand Down Expand Up @@ -406,14 +399,14 @@ packages:
name: pub_semver
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.2"
version: "2.1.3"
pub_updater:
dependency: transitive
description:
name: pub_updater
url: "https://pub.dartlang.org"
source: hosted
version: "0.2.2"
version: "0.2.3"
pubspec_parse:
dependency: transitive
description:
Expand Down Expand Up @@ -469,14 +462,14 @@ packages:
name: stash
url: "https://pub.dartlang.org"
source: hosted
version: "4.3.4"
version: "4.4.1"
stash_file:
dependency: transitive
description:
name: stash_file
url: "https://pub.dartlang.org"
source: hosted
version: "4.3.4"
version: "4.4.1"
stream_channel:
dependency: transitive
description:
Expand Down Expand Up @@ -539,7 +532,7 @@ packages:
name: uuid
url: "https://pub.dartlang.org"
source: hosted
version: "3.0.6"
version: "3.0.7"
watcher:
dependency: transitive
description:
Expand All @@ -560,7 +553,7 @@ packages:
name: xml
url: "https://pub.dartlang.org"
source: hosted
version: "6.2.0"
version: "6.2.2"
yaml:
dependency: transitive
description:
Expand Down
29 changes: 13 additions & 16 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,30 +4,27 @@ description: Search for gitmojis and copy them to the clipboard easily.
# Prevent accidental publishing to pub.dev.
publish_to: 'none'

version: 1.1.9
version: 1.1.10

environment:
sdk: '>=2.17.0 <3.0.0'


dependencies:
algolia: ^1.1.1
args: ^2.3.0
alfred_workflow: ^0.2.10
cli_script: ^0.2.6
args: ^2.3.1
alfred_workflow: ^0.3.0+1
cli_script: ^0.3.0
crypto: ^3.0.2
envied: ^0.2.3
http: ^0.13.4
envied: ^0.3.0
http: ^0.13.5
json_annotation: ^4.7.0
path: ^1.8.1
stash: ^4.3.1
path: ^1.8.3
stash: ^4.4.1

dev_dependencies:
build_runner: ^2.1.7
dart_code_metrics: ^5.0.1
envied_generator: ^0.2.3
json_serializable: ^6.1.5
lints: ^2.0.0

dependency_overrides:
analyzer: ^5.2.0
build_runner: ^2.3.3
dart_code_metrics: ^5.3.0
envied_generator: ^0.3.0
json_serializable: ^6.5.4
lints: ^2.0.1

0 comments on commit 52804c0

Please sign in to comment.