MCPcopy Index your code

hub / github.com/CitizenLabDotCo/citizenlab / functions

Functions15,961 in github.com/CitizenLabDotCo/citizenlab

↓ 3,856 callersMethodid
back/app/models/verification/locked_attribute.rb:11
↓ 2,902 callersMethodget
(path)
back/app/services/assembly_ai_client.rb:97
↓ 2,007 callersFunctionformatMessage
()
front/app/containers/Admin/projects/project/phaseSetup/validate.test.ts:5
↓ 1,990 callersMethodid
We don't persist, but we need an id for the serializer
back/engines/commercial/analysis/app/lib/analysis/q_and_a_plan.rb:30
↓ 1,440 callersMethodwhere
(*)
back/lib/finder/helpers.rb:8
↓ 1,305 callersMethodfind
back/lib/finder/base.rb:33
↓ 1,179 callersFunctionformatMessage
()
front/app/components/CustomFieldsForm/generateYupSchema.test.ts:4
↓ 960 callersFunctionrandomString
(length = 15)
front/cypress/support/commands.ts:113
↓ 905 callersFunctionuseIntl
()
front/app/utils/cl-intl/useIntl.tsx:49
↓ 858 callersFunctionget
(obj: T, key: K)
front/app/utils/helperUtils.ts:181
↓ 619 callersFunctioncreateQueryClientWrapper
()
front/app/utils/testUtils/queryClientWrapper.tsx:5
↓ 571 callersMethodvisit
(field)
back/app/services/field_visitor_service.rb:4
↓ 548 callersMethodcount
Counts users by age bins @param [ActiveRecord::Relation, Array<Hash>] records_or_values - Either: - ActiveRecord relation of users - Array of custom_f
back/engines/commercial/user_custom_fields/app/services/user_custom_fields/age_counter.rb:15
↓ 541 callersMethodinstance
back/lib/factory.rb:5
↓ 500 callersMethodcount
back/app/controllers/web_api/v1/email_bans_controller.rb:4
↓ 479 callersFunctionfetcher
* * @param apiPath : The path to the API. Defaults to '/web_api/v1'. If the API path is different it should be passed as an argument.
front/app/utils/cl-react-query/fetcher.ts:78
↓ 449 callersMethodtitle_multiloc
back/engines/free/email_campaigns/app/models/concerns/email_campaigns/content_configurable.rb:34
↓ 414 callersMethodtype
back/engines/commercial/public_api/app/serializers/public_api/v2/idea_serializer.rb:59
↓ 392 callersMethodproject
back/app/models/project.rb:222
↓ 388 callersMethodtitle_multiloc
Special behaviour for the title page
back/app/models/custom_field.rb:263
↓ 377 callersFunctionlocalize
()
front/app/components/CustomFieldsForm/generateYupSchema.test.ts:5
↓ 367 callersMethodid
back/engines/free/onboarding/app/controllers/onboarding/web_api/v1/campaigns_controller.rb:9
↓ 358 callersFunctionisNilOrError
(obj: any)
front/app/component-library/utils/helperUtils.ts:1
↓ 342 callersMethodorder
(arg)
back/lib/finder/helpers.rb:12
↓ 336 callersMethodperform_later
(...)
back/app/concerns/jobs/trackable_job.rb:79
↓ 325 callersMethodresolve
back/app/policies/user_policy.rb:5
↓ 303 callersMethodformat
(name: string, value: string)
front/app/components/UI/QuillEditor/configureQuill.ts:80
↓ 300 callersFunctionuseLocalize
()
front/app/hooks/useLocalize.ts:21
↓ 298 callersMethoddescription_multiloc
back/engines/commercial/smart_groups/app/lib/smart_groups/rules/describable_rule.rb:7
↓ 288 callersMethodfilter
(object, options = {})
back/app/concerns/filterer.rb:25
↓ 274 callersFunctionformatMessage
( message: MessageDescriptor, values?: FormatMessageValues )
front/app/containers/Admin/reporting/components/ReportBuilder/Templates/ProjectTemplate/index.tsx:113
↓ 267 callersMethodfetch
(filename, **args)
back/engines/commercial/analysis/app/lib/analysis/LLM/prompt.rb:6
↓ 242 callersMethodproject
(args)
back/engines/commercial/admin_api/app/graphql/admin_api/types/query_type.rb:86
↓ 239 callersMethodt
@param ignore_blank [Boolean] If true, blank translations (empty or only whitespace) are considered missing, and the next best translation is returned
back/app/services/multiloc_service.rb:10
↓ 233 callersFunctiontrackEventByName
( eventName: string, properties: Properties = {} )
front/app/utils/analytics.ts:144
↓ 226 callersMethodurl
(...)
back/app/uploaders/base_uploader.rb:45
↓ 217 callersMethodcurrent
back/engines/commercial/multi_tenancy/app/models/tenant.rb:93
↓ 206 callersMethodsettings
(*path)
back/app/models/app_configuration.rb:168
↓ 203 callersFunctionuseParams
()
front/app/containers/Admin/projects/all/_shared/params.ts:59
↓ 192 callersMethodroot
back/lib/citizen_lab.rb:8
↓ 190 callersFunctionuseFeatureFlag
({ name, onlyCheckAllowed = false, onlyCheckEnabled = false, }: Parameters)
front/app/hooks/useFeatureFlag.ts:12
↓ 187 callersMethodidea
(args)
back/engines/commercial/admin_api/app/graphql/admin_api/types/query_type.rb:115
↓ 184 callersMethodto_s
back/engines/commercial/bulk_import_ideas/app/services/bulk_import_ideas/error.rb:11
↓ 180 callersFunctionuseAuthUser
()
front/app/api/me/useAuthUser.ts:44
↓ 176 callersMethodsettings
(*path)
back/engines/commercial/multi_tenancy/app/models/tenant.rb:103
↓ 173 callersMethodlocale
back/app/mailers/application_mailer.rb:39
↓ 172 callersFunctionuseBreakpoint
(breakpointType: BreakpointType)
front/app/component-library/hooks/useBreakpoint.ts:13
↓ 168 callersMethoddelete
@param [Array<String>] user_ids
back/app/services/segment_regulations_client.rb:33
↓ 163 callersMethoddestroy!
(option, user = nil)
back/app/services/custom_fields/options/destroy_service.rb:6
↓ 163 callersMethodfirst_name
back/app/services/anonymous_name_service.rb:8
↓ 163 callersMethodslug
(options = {})
back/app/models/concerns/sluggable.rb:17
↓ 156 callersMethodsave
back/engines/commercial/report_builder/app/services/report_builder/report_saver.rb:7
↓ 151 callersMethodpost
(path, payload)
back/app/services/assembly_ai_client.rb:103
↓ 150 callersMethodto_s
back/app/services/invites/invite_error.rb:26
↓ 145 callersMethodfilter
(users_scope)
back/engines/commercial/smart_groups/app/lib/smart_groups/rules/role.rb:63
↓ 145 callersFunctionisRtl
(style: any, ...args: any[])
front/app/component-library/utils/styleUtils.ts:9
↓ 141 callersMethoderror_fields
(rspec_context, model)
back/spec/support/validation_error_helper.rb:49
↓ 139 callersMethodid
back/engines/commercial/custom_id_methods/app/lib/custom_id_methods/acm/acm_verification.rb:9
↓ 139 callersMethodsplit
Takes a source IdeaImportFile, splits it into one PDF file per idea. Returns array of split IdeaImportFile records.
back/engines/commercial/bulk_import_ideas/app/services/bulk_import_ideas/parsers/pdf/pdf_file_splitter.rb:14
↓ 137 callersMethodafter_update
(idea, user)
back/app/services/side_fx_idea_service.rb:41
↓ 134 callersMethodfrom_json
(json)
back/engines/commercial/smart_groups/app/lib/smart_groups/rules/role.rb:50
↓ 126 callersMethodlast_name
back/app/services/anonymous_name_service.rb:16
↓ 126 callersFunctionuseAppConfiguration
()
front/app/api/app_configuration/useAppConfiguration.ts:12
↓ 125 callersMethodvalue
back/engines/commercial/smart_groups/app/lib/smart_groups/rules/describable_rule.rb:47
↓ 124 callersMethodrun_query
( start_at: nil, end_at: nil, project_id: nil, resolution: 'month', exclude_role
back/engines/commercial/report_builder/app/services/report_builder/queries/visitors.rb:10
↓ 118 callersMethodsubject
Subject has a dynamic default text based on the input term.
back/engines/free/email_campaigns/app/mailers/email_campaigns/idea_published_mailer.rb:39
↓ 117 callersMethoddenied_reason_for_action
(action, reaction_mode: nil, delete_action: false)
back/app/services/permissions/idea_permissions_service.rb:18
↓ 116 callersMethodto_h
back/engines/commercial/mcp_server/app/lib/mcp_server/serializers/base.rb:81
↓ 115 callersMethodproject_id
back/app/models/spam_report.rb:45
↓ 111 callersFunctionuseLocale
()
front/app/hooks/useLocale.ts:5
↓ 110 callersMethodend_at
back/app/serializers/web_api/v1/external/phase_serializer.rb:10
↓ 109 callersMethodparse
(file_uploader)
back/engines/commercial/bulk_import_ideas/app/services/bulk_import_ideas/parsers/pdf/llm_form_parser.rb:27
↓ 107 callersMethodinstance
back/app/models/app_configuration.rb:113
↓ 107 callersFunctionrandomEmail
()
front/cypress/support/commands.ts:125
↓ 106 callersMethoduser
(args)
back/engines/commercial/admin_api/app/graphql/admin_api/types/query_type.rb:78
↓ 102 callersMethodideas
back/app/services/common_ground/results_service.rb:40
↓ 101 callersMethodafter_create
(idea, user, phase)
back/app/services/side_fx_idea_service.rb:16
↓ 101 callersFunctionvalidate
()
front/app/containers/Admin/settings/customize/index.tsx:68
↓ 100 callersMethodstart_at
back/app/serializers/web_api/v1/external/phase_serializer.rb:6
↓ 99 callersMethodempty?
(multiloc)
back/app/services/multiloc_service.rb:67
↓ 99 callersMethodsource_project
We don't call this `project` to not collide with the project association
back/engines/commercial/analysis/app/models/analysis/analysis.rb:80
↓ 99 callersMethodswitch
(&)
back/engines/commercial/multi_tenancy/app/models/tenant.rb:154
↓ 99 callersFunctionuseProjectById
(id?: string | null, useCache: boolean = true)
front/app/api/projects/useProjectById.ts:25
↓ 98 callersMethodto_h
back/app/services/invites/invite_error.rb:16
↓ 97 callersMethodpmethod
back/app/models/phase.rb:277
↓ 97 callersMethodvalid?
back/app/services/form_logic_service.rb:22
↓ 96 callersMethodname
back/engines/commercial/analysis/app/lib/analysis/LLM/base.rb:10
↓ 96 callersMethodparse
Parses from/to boundaries into timestamps clamped to the platform's lifetime. Date inputs (Date or "YYYY-MM-DD") are expanded to cover the full day:
back/lib/time_boundaries.rb:14
↓ 94 callersFunctionisEmpty
(obj: Record<string, unknown>)
front/app/containers/Authentication/useSteps/stepConfig/missingDataFlow.ts:27
↓ 91 callersMethodactivate_feature!
(feature, config: nil, settings: {})
back/app/services/settings_service.rb:73
↓ 91 callersMethodinput_type
back/lib/cohere_multilingual_embeddings.rb:27
↓ 90 callersMethodidea
back/app/services/notifications/internal_comments/base_notification_builder.rb:47
↓ 89 callersMethodconfirmation_required?
True if the user has not yet confirmed their email address. Exception: if the user registered via SSO and the SSO did not return an email, we treat t
back/app/models/user.rb:324
↓ 88 callersMethodphase
back/engines/commercial/bulk_import_ideas/app/jobs/bulk_import_ideas/idea_pdf_import_job.rb:72
↓ 87 callersMethodi18n_to_multiloc
(key, locales: nil, raise_on_missing: true, **multiloc_substitutions)
back/app/services/multiloc_service.rb:38
↓ 87 callersMethodmodel_to_url
(model_instance, options = {})
back/engines/free/frontend/app/services/frontend/url_service.rb:47
↓ 87 callersMethodto_json
(_options = {})
back/lib/auth_token/auth_token.rb:32
↓ 85 callersFunctionisAdmin
(user: IUser | undefined | null)
front/app/utils/permissions/roles.ts:37
↓ 83 callersFunctionusePhase
(phaseId: string | undefined | null)
front/app/api/phases/usePhase.ts:19
↓ 80 callersFunctionget
(_, localePath: string)
front/app/components/admin/ContentBuilder/LanguageProvider/__mocks__/i18nLoader.ts:9
next →1–100 of 15,961, ranked by callers