Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Create Menu Item Action #144

Merged
merged 25 commits into from
Sep 28, 2023
Merged
Show file tree
Hide file tree
Changes from 13 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
bf931a0
Add PRODUCT_BUNDLE_IDENTIFIER to Config
NoahKamara Aug 23, 2023
9345fe8
Add `CreateMenuItem` Action
NoahKamara Aug 23, 2023
f8ed488
Merge remote-tracking branch 'refs/remotes/Upstream/main'
NoahKamara Aug 23, 2023
cd84ca6
Update Shared/Actions/Rich Menu/Models/RMStyle.swift
NoahKamara Aug 24, 2023
a90b90c
Apply suggestions from code review
NoahKamara Aug 24, 2023
fedf7ef
Implemented Changes suggested by review
NoahKamara Aug 24, 2023
2d678a7
linting
NoahKamara Aug 24, 2023
6242b6e
Update Shared/Actions/CreateMenuItem.swift
NoahKamara Aug 28, 2023
6d963b9
linting
NoahKamara Aug 28, 2023
9231032
applied changes requested in review
NoahKamara Aug 28, 2023
acd3913
Add .DS_Store and Build folder to gitignore
NoahKamara Aug 28, 2023
ff3c4e1
Fix CreateMenuItem.swift not appearing in file tree
NoahKamara Aug 28, 2023
4197150
Remove private access control from CreateMenuItem - intent wasnt be p…
NoahKamara Aug 28, 2023
798fb15
Add `Create Menu Item` to app-store-description.txt
NoahKamara Aug 28, 2023
dde7d52
Merge remote-tracking branch 'refs/remotes/Upstream/main'
NoahKamara Sep 27, 2023
1606e2e
Update Shared/Actions/CreateMenuItem.swift
NoahKamara Sep 27, 2023
2f8d92d
Merge branch 'main'
NoahKamara Sep 27, 2023
f8090a7
Merge remote-tracking branch 'refs/remotes/origin/rich-menu'
NoahKamara Sep 27, 2023
8801e98
add dev_team variable for DEBUG (not release)
NoahKamara Sep 27, 2023
2656d95
add action to readme
NoahKamara Sep 27, 2023
deba9ba
Merge remote-tracking branch 'refs/remotes/Upstream/main'
NoahKamara Sep 28, 2023
379b1ff
remove duplicate Build input file
NoahKamara Sep 28, 2023
3fed939
Update project.pbxproj
sindresorhus Sep 28, 2023
6fe1f9e
Update project.pbxproj
sindresorhus Sep 28, 2023
d79d947
Update .gitignore
sindresorhus Sep 28, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
xcuserdata
project.xcworkspace
Build/
.DS_Store
32 changes: 26 additions & 6 deletions Actions.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,11 @@
E3F64D7628D9F9930009B500 /* CreateColorImage.swift in Sources */ = {isa = PBXBuildFile; fileRef = E3F64D7528D9F9930009B500 /* CreateColorImage.swift */; };
E3F64D7928D9FCA20009B500 /* GetSymbolImage.swift in Sources */ = {isa = PBXBuildFile; fileRef = E3F64D7728D9FCA20009B500 /* GetSymbolImage.swift */; };
E3FC71DD271EBE5C00C9D255 /* Utilities.swift in Sources */ = {isa = PBXBuildFile; fileRef = E3FC71DC271EBE5B00C9D255 /* Utilities.swift */; };
FD3BD4322A966507001A7F03 /* SoulverCore in Frameworks */ = {isa = PBXBuildFile; productRef = FD3BD4312A966507001A7F03 /* SoulverCore */; };
FD691FC92A9CB9C500C55178 /* CreateMenuItem.swift in Sources */ = {isa = PBXBuildFile; fileRef = FD691FC82A9CB9C500C55178 /* CreateMenuItem.swift */; };
FD691FCA2A9CB9C500C55178 /* CreateMenuItem.swift in Sources */ = {isa = PBXBuildFile; fileRef = FD691FC82A9CB9C500C55178 /* CreateMenuItem.swift */; };
FD691FCE2A9CCD4C00C55178 /* CreateMenuItem.swift in Sources */ = {isa = PBXBuildFile; fileRef = FD691FCD2A9CCD4C00C55178 /* CreateMenuItem.swift */; };
FD691FCF2A9CCD4C00C55178 /* CreateMenuItem.swift in Sources */ = {isa = PBXBuildFile; fileRef = FD691FCD2A9CCD4C00C55178 /* CreateMenuItem.swift */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand Down Expand Up @@ -410,6 +415,8 @@
E3F64D7528D9F9930009B500 /* CreateColorImage.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CreateColorImage.swift; sourceTree = "<group>"; };
E3F64D7728D9FCA20009B500 /* GetSymbolImage.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GetSymbolImage.swift; sourceTree = "<group>"; };
E3FC71DC271EBE5B00C9D255 /* Utilities.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Utilities.swift; sourceTree = "<group>"; };
FD691FC82A9CB9C500C55178 /* CreateMenuItem.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CreateMenuItem.swift; sourceTree = "<group>"; };
FD691FCD2A9CCD4C00C55178 /* CreateMenuItem.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = CreateMenuItem.swift; path = Shared/Actions/CreateMenuItem.swift; sourceTree = SOURCE_ROOT; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand All @@ -427,6 +434,7 @@
buildActionMask = 2147483647;
files = (
E31749C22916A6B400F6319E /* Sentry in Frameworks */,
FD3BD4322A966507001A7F03 /* SoulverCore in Frameworks */,
E31749C42916A6B700F6319E /* ExceptionCatcher in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand All @@ -450,6 +458,7 @@
isa = PBXGroup;
children = (
E33D080E2A11629500FBCAD7 /* AskChatGPT.swift */,
FD691FC82A9CB9C500C55178 /* CreateMenuItem.swift */,
E352420928F6EEDE00A957A7 /* AskForText.swift */,
E34AB51528F58B500082AE78 /* Authenticate.swift */,
E3EA7D7A28EAC2210043F782 /* BlurImages.swift */,
Expand Down Expand Up @@ -515,6 +524,7 @@
E3EC2DDD28D24CD900A88E25 /* ConvertDateToUnixTime.swift */,
E3EC2DDF28D253D600A88E25 /* ConvertUnixTimeToDate.swift */,
E3EC2DE128D2588800A88E25 /* CreateURL.swift */,
FD691FCD2A9CCD4C00C55178 /* CreateMenuItem.swift */,
E3F64D7128D9F3810009B500 /* EditURL.swift */,
E3C33C9B28D376C400386C59 /* FilterList.swift */,
E3D514C728EEA8F8003F7C2E /* FlashScreen.swift */,
Expand Down Expand Up @@ -679,6 +689,7 @@
packageProductDependencies = (
E31749C12916A6B400F6319E /* Sentry */,
E31749C32916A6B700F6319E /* ExceptionCatcher */,
FD3BD4312A966507001A7F03 /* SoulverCore */,
);
productName = "Intents Extension";
productReference = E31749642916A5FB00F6319E /* Intents Extension macOS.appex */;
Expand Down Expand Up @@ -853,6 +864,7 @@
E317492A2916A20C00F6319E /* GetQueryItemValueFromURL.swift in Sources */,
E31749342916A20C00F6319E /* EditURL.swift in Sources */,
E317494F2916A20C00F6319E /* ReverseList.swift in Sources */,
FD691FCE2A9CCD4C00C55178 /* CreateMenuItem.swift in Sources */,
E31749132916A20C00F6319E /* TrimWhitespace.swift in Sources */,
E31749242916A20C00F6319E /* CalculateWithSoulver.swift in Sources */,
E317491B2916A20C00F6319E /* RemoveNonPrintableCharacters.swift in Sources */,
Expand All @@ -865,6 +877,7 @@
E317493D2916A20C00F6319E /* TransformText.swift in Sources */,
E31749192916A20C00F6319E /* ConvertCoordinatesToLocation.swift in Sources */,
E31749262916A20C00F6319E /* ConvertDateToUnixTime.swift in Sources */,
FD691FC92A9CB9C500C55178 /* CreateMenuItem.swift in Sources */,
E317494E2916A20C00F6319E /* GenerateUUID.swift in Sources */,
E31749392916A20C00F6319E /* TransformTextWithJavaScript.swift in Sources */,
E317492F2916A20C00F6319E /* IsWiFiOn.swift in Sources */,
Expand Down Expand Up @@ -946,6 +959,7 @@
E31749862916A64100F6319E /* ApplyCaptureDate.swift in Sources */,
E31749BF2916A64100F6319E /* GetDeviceOrientation.swift in Sources */,
E317499C2916A64100F6319E /* GenerateRandomText.swift in Sources */,
FD691FCF2A9CCD4C00C55178 /* CreateMenuItem.swift in Sources */,
E317499B2916A64100F6319E /* RoundNumberToMultiple.swift in Sources */,
E31749C02916A64C00F6319E /* Main.swift in Sources */,
E31749B72916A64100F6319E /* TrimWhitespace.swift in Sources */,
Expand All @@ -958,6 +972,7 @@
E31749882916A64100F6319E /* GetFileIcon.swift in Sources */,
E31749962916A64100F6319E /* GetQueryItemValueFromURL.swift in Sources */,
E31749B92916A64100F6319E /* CreateURL.swift in Sources */,
FD691FCA2A9CB9C500C55178 /* CreateMenuItem.swift in Sources */,
E31749982916A64100F6319E /* CalculateWithSoulver.swift in Sources */,
E317498A2916A64100F6319E /* ReverseList.swift in Sources */,
E31749BD2916A64100F6319E /* GetIndexOfListItem.swift in Sources */,
Expand Down Expand Up @@ -1074,7 +1089,7 @@
CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = YG56YK5RN5;
DEVELOPMENT_TEAM = ME2UKFKL5H;
NoahKamara marked this conversation as resolved.
Show resolved Hide resolved
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = "Intents Extension/Info.plist";
INFOPLIST_KEY_CFBundleDisplayName = "Intents Extension";
Expand All @@ -1085,7 +1100,7 @@
"@executable_path/../../Frameworks",
"@executable_path/../../../../Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = "com.sindresorhus.Actions.Intents-Extension";
PRODUCT_BUNDLE_IDENTIFIER = "$(PRODUCT_BUNDLE_IDENTIFIER).Intents-Extension";
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
SDKROOT = iphoneos;
Expand Down Expand Up @@ -1134,7 +1149,7 @@
CODE_SIGN_ENTITLEMENTS = "Intents Extension/Intents_Extension.entitlements";
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = YG56YK5RN5;
DEVELOPMENT_TEAM = ME2UKFKL5H;
ENABLE_HARDENED_RUNTIME = YES;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = "Intents Extension/Info.plist";
Expand All @@ -1145,7 +1160,7 @@
"@executable_path/../Frameworks",
"@executable_path/../../../../Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = "com.sindresorhus.Actions.Intents-Extension";
PRODUCT_BUNDLE_IDENTIFIER = "$(PRODUCT_BUNDLE_IDENTIFIER).Intents-Extension";
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
SDKROOT = macosx;
Expand Down Expand Up @@ -1316,7 +1331,7 @@
CODE_SIGN_ENTITLEMENTS = Shared/Actions.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = YG56YK5RN5;
DEVELOPMENT_TEAM = ME2UKFKL5H;
ENABLE_BITCODE = NO;
"ENABLE_HARDENED_RUNTIME[sdk=macosx*]" = YES;
ENABLE_PREVIEWS = YES;
Expand All @@ -1341,7 +1356,7 @@
"@executable_path/Frameworks",
"@executable_path/../Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = com.sindresorhus.Actions;
PRODUCT_BUNDLE_IDENTIFIER = "$(PRODUCT_BUNDLE_IDENTIFIER)";
PRODUCT_NAME = Actions;
PROVISIONING_PROFILE_SPECIFIER = "";
SDKROOT = iphoneos;
Expand Down Expand Up @@ -1539,6 +1554,11 @@
package = E3327E95272C68DE00AD5CC7 /* XCRemoteSwiftPackageReference "sentry-cocoa" */;
productName = Sentry;
};
FD3BD4312A966507001A7F03 /* SoulverCore */ = {
isa = XCSwiftPackageProductDependency;
package = E317495D2916A4A300F6319E /* XCRemoteSwiftPackageReference "SoulverCore" */;
productName = SoulverCore;
};
/* End XCSwiftPackageProductDependency section */
};
rootObject = E324C9EA271E972100E7CA9B /* Project object */;
Expand Down
4 changes: 4 additions & 0 deletions Config.xcconfig
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
MARKETING_VERSION = 2.7.0
CURRENT_PROJECT_VERSION = 45

// Source for the base of all bundle IDs
// -> Intents extensions and app will derive bundleID from here
PRODUCT_BUNDLE_IDENTIFIER = com.sindresorhus.Actions
NoahKamara marked this conversation as resolved.
Show resolved Hide resolved
Loading
Loading