Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/artsy/force
/ functions
Functions
4,480 in github.com/artsy/force
⨍
Functions
4,480
◇
Types & classes
1,565
↓ 9 callers
Function
injectDialog
( Component: React.ComponentType<React.PropsWithChildren<R>>, )
src/Apps/Order/Dialogs.tsx:186
↓ 9 callers
Function
mockStripe
()
src/DevTools/mockStripe.ts:22
↓ 9 callers
Function
parseHighlightFragments
(fragment: string)
src/Components/Search/SuggestionItem/parseHighlightFragments.tsx:14
↓ 9 callers
Function
refreshAccessTokenMiddleware
( req: Request, res: Response, next: NextFunction, )
src/Server/middleware/refreshAccessTokenMiddleware.ts:19
↓ 9 callers
Function
relativeDate
(time: string)
src/Apps/Conversations/components/Message/Utils/dateFormatters.tsx:41
↓ 9 callers
Function
renderComponent
()
src/Apps/Auctions/__tests__/AuctionsApp.jest.tsx:19
↓ 9 callers
Function
renderPriceRangeFilter
( props: PriceRangeFilterProps = { expanded: true }, contextProps = {}, )
src/Components/ArtworkFilter/ArtworkFilters/__tests__/PriceRangeFilter.jest.tsx:23
↓ 9 callers
Function
silentPush
(path: string)
src/System/Hooks/useRouter.tsx:22
↓ 9 callers
Function
submitForm
()
src/Apps/Order/Routes/Shipping/Components/__tests__/FulfillmentDetailsForm.jest.tsx:59
↓ 9 callers
Function
tryParse
src/Utils/tryParse.ts:1
↓ 9 callers
Function
useCheckoutAutoScroll
()
src/Apps/Order2/Routes/Checkout/Hooks/useCheckoutAutoScroll.ts:23
↓ 9 callers
Function
useComputeHref
()
src/Components/Pagination/useComputeHref.ts:22
↓ 9 callers
Function
useConsentRequired
()
src/Components/CookieConsentManager/useConsentRequired.ts:18
↓ 9 callers
Function
useMyCollectionTracking
()
src/Apps/CollectorProfile/Routes/MyCollection/Hooks/useMyCollectionTracking.tsx:16
↓ 9 callers
Function
useOrderTracking
()
src/Apps/Order/Hooks/useOrderTracking.tsx:23
↓ 9 callers
Function
useUpdateMyUserProfile
({ relayEnvironment, }: UseUpdateMyUserProfile = {})
src/Utils/Hooks/Mutations/useUpdateMyUserProfile.ts:13
↓ 9 callers
Function
validatePresence
(value: string)
src/Apps/Order/Utils/formValidators.tsx:4
↓ 8 callers
Method
addPopStateHandler
(handler: PopStateHandler)
src/System/Router/Utils/FilterableBrowserProtocol.ts:33
↓ 8 callers
Function
canonicalSlugRedirect
(config: CanonicalSlugRedirectConfig)
src/System/Router/Utils/canonicalSlugRedirect.tsx:43
↓ 8 callers
Function
changeEventHandler
(key: keyof Address)
src/Components/Address/AddressForm.tsx:94
↓ 8 callers
Function
computeHref
(page: number)
src/Components/Pagination/useComputeHref.ts:37
↓ 8 callers
Function
countryNameFromAlpha2
(country: string)
src/Apps/Order2/Routes/Checkout/Components/FulfillmentDetailsStep/utils.ts:45
↓ 8 callers
Function
executeUserAddressAction
( userAddressAction: UserAddressAction, )
src/Apps/Order/Routes/Shipping/Hooks/useUserAddressUpdates.ts:107
↓ 8 callers
Function
extractPillsFromDefaultCriteria
( defaultCriteria: SavedSearchDefaultCriteria, )
src/Components/SavedSearchAlert/Utils/extractPills.ts:232
↓ 8 callers
Function
forwardedFor
(req: ForwardedForRequest)
src/Server/passport/lib/app/forwarded_for.ts:18
↓ 8 callers
Function
getAllowedSearchCriteria
( criteria: SearchCriteriaAttributes, )
src/Components/SavedSearchAlert/Utils/savedSearchCriteria.tsx:23
↓ 8 callers
Function
getErrorDialogCopy
(dialog?: ErrorDialogs)
src/Apps/Order/Utils/getErrorDialogCopy.tsx:17
↓ 8 callers
Function
getTrackingObject
( offer: string, amount: number, currency: string, )
src/Apps/Order/Components/__tests__/PriceOptions.jest.tsx:45
↓ 8 callers
Function
getWrapper
(props = {})
src/Components/ArtworkFilter/__tests__/ArtworkFilterContext.jest.tsx:12
↓ 8 callers
Function
getWrapper
(props = {})
src/Components/NavBar/Menus/__tests__/NavBarUserMenu.jest.tsx:26
↓ 8 callers
Function
getWrapper
(passedProps = {})
src/Components/NavBar/NavBarMobileMenu/__tests__/NavBarMobileSubMenu.jest.tsx:41
↓ 8 callers
Function
handleReady
src/Apps/Order/Components/ExpressCheckout/ExpressCheckoutUI.tsx:509
↓ 8 callers
Method
hasSeen
(...steps: string[])
src/Components/Inquiry/Visited.ts:35
↓ 8 callers
Function
isArtsyEmail
(email: string | null | undefined)
src/Utils/isArtsyEmail.ts:1
↓ 8 callers
Function
logout
()
src/Utils/auth.ts:164
↓ 8 callers
Function
mockLocation
(options: Partial<Location> = {})
src/DevTools/mockLocation.ts:4
↓ 8 callers
Function
offerViewer
(offer: Record<string, unknown>)
src/Apps/Conversations/components/Message/__tests__/ConversationPartnerOfferCTA.jest.tsx:73
↓ 8 callers
Function
offerViewer
(offer: Record<string, unknown>)
src/Apps/Conversations/components/Message/__tests__/ConversationPartnerOfferUpdate.jest.tsx:59
↓ 8 callers
Function
paramsToSnakeCase
src/Components/ArtworkFilter/Utils/paramsCasing.ts:4
↓ 8 callers
Function
prepareVariables
(_params, { location })
src/Apps/Search/searchRoutes.tsx:46
↓ 8 callers
Function
recaptcha
(action: RecaptchaAction)
src/Utils/recaptcha.ts:6
↓ 8 callers
Function
redirectWithQuery
( path: string, params: Record<string, string | undefined>, )
src/Server/passport/lib/app/lifecycle.ts:178
↓ 8 callers
Function
refreshAccessToken
( currentToken: string, forwardedFor: string, )
src/Server/passport/lib/refreshAccessToken.ts:38
↓ 8 callers
Function
renderComponent
(passedProps = props)
src/Apps/Collect/Routes/Collection/Components/CollectionsHubRails/ArtistSeriesRail/__tests__/ArtistSeriesEntity.jest.tsx:30
↓ 8 callers
Function
resolveMostRecentOperation
(resolvers: any)
src/Apps/Order/Routes/Shipping/Hooks/__tests__/useUserAddressUpdates.jest.ts:69
↓ 8 callers
Function
setup
({ query = {}, body = {}, get = () => "" })
src/Apps/Authentication/Middleware/__tests__/checkForRedirect.jest.ts:11
↓ 8 callers
Function
showInquiry
( options: { askSpecialist?: boolean; enableCreateAlert?: boolean } = {}, )
src/Components/Inquiry/useInquiry.tsx:14
↓ 8 callers
Function
useAfterAuthenticationRedirect
()
src/Components/AuthDialog/Hooks/useAfterAuthenticationRedirect.ts:9
↓ 8 callers
Function
userIsAdmin
(user?: User)
src/Utils/user.ts:33
↓ 8 callers
Function
withBackToFulfillmentDetails
(cb: F)
src/Apps/Order/Routes/Shipping/Components/FulfillmentDetailsForm.tsx:126
↓ 8 callers
Function
withSystemContext
src/System/Contexts/SystemContext.tsx:73
↓ 7 callers
Function
aMatchingPredicateWithResult
(matchedValue)
src/Apps/Order/__tests__/getRedirect.jest.ts:5
↓ 7 callers
Function
addressFormFieldsValidator
( args: Pick<Props, "withLegacyPhoneInput" | "withPhoneNumber"> = {}, )
src/Components/Address/AddressFormFields.tsx:76
↓ 7 callers
Function
continueWithEmail
(exists: boolean)
src/Apps/Authentication/Routes/SignupLanding/Components/__tests__/SignupForm.jest.tsx:72
↓ 7 callers
Function
convertToFilterFormatRange
(range: number[])
src/Components/PriceRange/Utils/convertToFilterFormatRange.ts:3
↓ 7 callers
Function
countryCodePrefix
(alpha2Code: string)
src/Apps/Order2/Utils/addressUtils.ts:32
↓ 7 callers
Function
createOfferOrder
(overrides = {})
src/Apps/Order2/Routes/Checkout/Components/__tests__/Order2ReviewStep.jest.tsx:128
↓ 7 callers
Function
estimateRequestBodyForArtwork
( artwork: ArtsyShippingEstimate_artwork$data, )
src/Components/ArtsyShippingEstimate.tsx:566
↓ 7 callers
Function
filterArtistSlugsByAggregation
( slugs: string[], aggregations: Aggregations, )
src/Components/ArtworkFilter/Utils/filterArtistSlugsByAggregation.ts:3
↓ 7 callers
Function
findCurrentRoute
(match)
src/System/Router/Utils/routeUtils.ts:53
↓ 7 callers
Function
findRoutesByPath
({ path }: FindRoutesByPathProps)
src/System/Router/Utils/routeUtils.ts:81
↓ 7 callers
Function
formatFollowerCount
(n: number)
src/Utils/formatFollowerCount.ts:1
↓ 7 callers
Function
getAllBannerTexts
()
src/Apps/Artwork/Components/__tests__/ArtworkPageBanner.jest.tsx:31
↓ 7 callers
Function
getCustomSizeRangeInInches
( customSize: CustomSize, sourceMetric: Metric, )
src/Utils/customSizeUtils.ts:54
↓ 7 callers
Function
getInitialFilterState
( query: Location["query"], )
src/Components/ArtworkFilter/Utils/getInitialFilterState.ts:6
↓ 7 callers
Function
getOffer
()
src/Apps/Order/Components/TransactionDetailsSummaryItem.tsx:97
↓ 7 callers
Function
getPriceValue
(value: CustomRange[number])
src/Components/PriceRange/Utils/getPriceValue.ts:3
↓ 7 callers
Function
getSupportedMetric
(metric = "")
src/Utils/metrics.ts:6
↓ 7 callers
Function
getTotalCountLabel
({ total = "0", isAuctionArtwork, }: { total: string isAuctionArtwork: boolean | undefined })
src/Components/ArtworkFilter/index.tsx:529
↓ 7 callers
Function
getWrapper
(props = {})
src/System/Relay/__tests__/SystemQueryRenderer.jest.tsx:12
↓ 7 callers
Function
gravityError
(response: any)
src/Server/passport/lib/passport/__tests__/callbacks.jest.ts:21
↓ 7 callers
Function
gsiScript
()
src/Utils/__tests__/GoogleOneTapContainer.jest.tsx:72
↓ 7 callers
Function
mockConversationWithArtwork
src/Apps/Conversations/components/ConversationCTA/__tests__/ConversationCTA.jest.tsx:213
↓ 7 callers
Function
mockRoute
(trust: Outcome, token?: Outcome)
src/Server/passport/lib/__tests__/refreshAccessToken.jest.ts:78
↓ 7 callers
Function
prepareImageURLs
(imageURLs: (string | null)[])
src/Apps/CollectorProfile/Routes/Saves/Utils/prepareImageURLs.ts:1
↓ 7 callers
Function
priceRangeToLabel
(range: string)
src/Components/PriceRange/Utils/priceRangeToLabel.ts:3
↓ 7 callers
Function
rangeToTuple
(state, range)
src/Components/ArtworkFilter/Utils/rangeToTuple.tsx:13
↓ 7 callers
Function
redirectMessage
src/Apps/Settings/Routes/EditSettings/Components/SettingsEditSettingsTwoFactor/TwoFactorAuthentication/helpers.ts:16
↓ 7 callers
Function
relativeTime
(timeIn, now)
src/Components/AuctionCard.tsx:8
↓ 7 callers
Function
remapSegmentCategory
(destination: Destination)
src/Components/CookieConsentManager/categories.ts:143
↓ 7 callers
Function
remapValue
(n: number, from: Range, to: Range)
src/Utils/remapValue.ts:12
↓ 7 callers
Function
renderComponent
()
src/Components/__tests__/DeveloperBreakpointOverlay.jest.tsx:8
↓ 7 callers
Function
renderComponent
(props: Partial<OfferInputProps>)
src/Apps/Order/Components/__tests__/OfferInput.jest.tsx:12
↓ 7 callers
Function
renderPrimaryLabelLine
src/Components/Artwork/Details/__tests__/PrimaryLabelLine.jest.tsx:103
↓ 7 callers
Function
renderServerRoute
(route: string)
src/Apps/Authentication/__tests__/authenticationRoutes.jest.tsx:72
↓ 7 callers
Function
rewriteAuctionResultsParamsToNamespace
(query: any)
src/Apps/Artist/Server/redirect.ts:13
↓ 7 callers
Function
route
(path?: string)
src/Apps/Partner/Components/NavigationTabs/index.tsx:31
↓ 7 callers
Method
selectPaymentMethod
(paymentMethod: string)
src/Apps/Order/Routes/__tests__/Utils/OrderAppTestPageRTL.tsx:389
↓ 7 callers
Function
serialize
( req: PassportRequest, user: PassportUser, done: PassportDone, )
src/Server/passport/lib/passport/serializers.ts:11
↓ 7 callers
Function
setInputValue
(input: HTMLInputElement, value: string)
src/Apps/Order/Components/__tests__/OfferInput.jest.tsx:7
↓ 7 callers
Function
setInputValue
(input: HTMLInputElement, value: string)
src/Apps/Order2/Routes/Checkout/Components/OfferStep/Components/__tests__/OfferInput.jest.tsx:27
↓ 7 callers
Function
setSelectedPaymentMethod
src/Apps/Order/Routes/Payment/PaymentContext/OrderPaymentContext.tsx:129
↓ 7 callers
Function
setup
({ req = {}, res = {} })
src/Apps/Authentication/Middleware/__tests__/redirectPostAuth.jest.ts:27
↓ 7 callers
Function
setup
()
src/Apps/CollectorProfile/Routes/Saves/Components/Actions/__tests__/EditArtworkListModal.jest.tsx:18
↓ 7 callers
Function
shouldStartSearching
(value: string)
src/Components/Search/utils/shouldStartSearching.ts:1
↓ 7 callers
Function
tokenExpiringIn
(seconds: number)
src/Server/middleware/__tests__/refreshAccessTokenMiddleware.jest.ts:36
↓ 7 callers
Function
traceFetch
( { name, url, method = "GET" }: { name: string; url: string; method?: string }, fn: () => Promise<T>, )
src/System/Utils/setupSentryClient.ts:153
↓ 7 callers
Function
upcomingLabel
( sale: AuctionCard_sale$data, now = DateTime.local(), )
src/Components/AuctionCard.tsx:22
↓ 7 callers
Function
useAuctionWebsocket
({ onChange, lotID, }: AuctionWebsocketParams)
src/Utils/Hooks/useAuctionWebsocket.tsx:13
↓ 7 callers
Function
useAuthDialogTracking
()
src/Components/AuthDialog/Hooks/useAuthDialogTracking.ts:21
← previous
next →
201–300 of 4,480, ranked by callers