Skip to content

Instantly share code, notes, and snippets.

View alloy's full-sized avatar

Eloy Durán alloy

View GitHub Profile
diff --git a/externals/metaphysics b/externals/metaphysics
index b5348560..5ee19918 160000
--- a/externals/metaphysics
+++ b/externals/metaphysics
@@ -1 +1 @@
-Subproject commit b53485601fe5f51c244d8945c71786adee46dbb3
+Subproject commit 5ee199189df929de215de913cd4cc812ee5dc990
diff --git a/src/Apps/Artist/ArtistApp.tsx b/src/Apps/Artist/ArtistApp.tsx
index 436282fd..83c669d7 100644
--- a/src/Apps/Artist/ArtistApp.tsx
<ARWindow: 0x103320c90; baseClass = UIWindow; frame = (0 0; 375 667); autoresize = W+H; gestureRecognizers = <NSArray: 0x1c444c3f0>; layer = <UIWindowLayer: 0x1c4229fa0>>
| ARTopMenuViewController:0x103333100 1c.[ARNavigationController 0x10406b800: ] <UIView: 0x103520bf0; frame = (0 0; 375 667); autoresize = W+H; gestureRecognizers = <NSArray: 0x1c0646780>; layer = <CALayer: 0x1c0038bc0>>
| | <UIView: 0x103520fe0; frame = (0 0; 375 20); layer = <CALayer: 0x1c0037400>>
| | <UIView: 0x10333b660; frame = (0 617; 375 50); layer = <CALayer: 0x1c4221ca0>>
| | | <UIView: 0x10333bb60; frame = (0 0; 375 50); layer = <CALayer: 0x1c4221700>>
| | | | <ARNavigationTabButtonWithBadge: 0x10333d180; baseClass = UIButton; frame = (20 10; 32 30); opaque = NO; tintColor = UIExtendedSRGBColorSpace 0.431373 0.121569 1 1; layer = <CALayer: 0x1c42322c0>>
| | | | | <UIImageView: 0x103340220; frame = (1 0; 30 30); clipsToBounds = YES; opaque = NO; userInteractionEnabled = NO; layer =
query QueryRenderersForYouQuery {
forYou: home_page {
...ForYou_forYou
}
}
fragment ForYou_forYou on HomePage {
artwork_modules(max_rails: -1, max_followed_gene_rails: -1, order: [ACTIVE_BIDS, RECOMMENDED_WORKS, FOLLOWED_ARTISTS, RELATED_ARTISTS, FOLLOWED_GALLERIES, SAVED_WORKS, LIVE_AUCTIONS, CURRENT_FAIRS, FOLLOWED_GENES, GENERIC_GENES], exclude: [FOLLOWED_ARTISTS]) {
__id
...ArtworkCarousel_rail
query QueryRenderersForYouQuery {
forYou: home_page {
...ForYou_forYou
}
}
fragment ForYou_forYou on HomePage {
artwork_modules(max_rails: -1, max_followed_gene_rails: -1, order: [ACTIVE_BIDS, RECOMMENDED_WORKS, FOLLOWED_ARTISTS, RELATED_ARTISTS, FOLLOWED_GALLERIES, SAVED_WORKS, LIVE_AUCTIONS, CURRENT_FAIRS, FOLLOWED_GENES, GENERIC_GENES], exclude: [FOLLOWED_ARTISTS]) {
__id
...ArtworkCarousel_rail
{
"ff999f5e1d50496e9b0dcfc8e6561436": "query ActiveBidsQuery {\n me {\n ...ActiveBids_me\n __id\n }\n}\n\nfragment ActiveBids_me on Me {\n lot_standings(live: true) {\n most_recent_bid {\n __id\n }\n ...ActiveBid_bid\n }\n __id\n}\n\nfragment ActiveBid_bid on LotStanding {\n is_leading_bidder\n sale {\n href\n is_live_open\n __id\n }\n most_recent_bid {\n __id\n max_bid {\n display\n }\n sale_artwork {\n artwork {\n href\n image {\n url\n }\n artist_names\n __id\n }\n counts {\n bidder_positions\n }\n highest_bid {\n display\n __id: id\n }\n lot_number\n reserve_status\n __id\n }\n }\n}\n",
"a7bd30f1cd6c622b9118b99c03a8cb91": "query ActiveBidsRefetchQuery {\n me {\n ...ActiveBids_me\n __id\n }\n}\n\nfragment ActiveBids_me on Me {\n lot_standings(live: true) {\n most_recent_bid {\n __id\n }\n ...ActiveBid_bid\n }\n

Total

  • Set link conditioner on phone to 3G
  • Launch Eigen from Xcode without atomatically launching the app and then once installed ‘stop’ Xcode
Mar  7 15:30:50 Eloy-Durans-iPhone-7 TestEigenLaunchTime[257] <Notice>: [Eigen Launch] 5961.579247: Start
Mar  7 15:30:51 Eloy-Durans-iPhone-7 Artsy[361] <Notice>: [Eigen Launch] 5962.778716: main()
Mar  7 15:30:51 Eloy-Durans-iPhone-7 Artsy[361] <Notice>: [Eigen Launch] 5962.828462: application:willFinishLaunchingWithOptions:
Mar  7 15:30:51 Eloy-Durans-iPhone-7 Artsy[361] <Notice>: [Eigen Launch] 5962.838538: application:didFinishLaunchingWithOptions:
diff --git a/packages/relay-compiler/bin/RelayCompilerBin.js b/packages/relay-compiler/bin/RelayCompilerBin.js
index b24b45f7..541ce050 100644
--- a/packages/relay-compiler/bin/RelayCompilerBin.js
+++ b/packages/relay-compiler/bin/RelayCompilerBin.js
@@ -223,12 +223,13 @@ Ensure that one such file exists in ${srcDir} or its parents.
}),
},
};
+ const isGeneratedFile = new RegExp(
+ generatedDirectoryName + '\\/[^\\/]+\\.graphql\\.[^\\.]+$',

First grep the heroku logs for the message that will state that the debugger service has started:

$ heroku logs -t --app=[APP_ID] | grep 'Debugger listening on'

Then in another shell enable the debugger service of the Node process by connecting through SSH and sending the process SIGUSR1:

$ heroku ps:exec --app=[APP_ID]
/* tslint:disable */
import { ConcreteFragment } from 'relay-runtime';
import { FragmentReference } from "relay-runtime";
export type SaleListItem_saleRef = FragmentReference;
export interface SaleListItem_sale {
readonly id: string;
readonly name: string | null;
readonly href: string | null;
readonly is_open: boolean | null;