Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CitizenLabDotCo/citizenlab
/ functions
Functions
15,961 in github.com/CitizenLabDotCo/citizenlab
⨍
Functions
15,961
◇
Types & classes
7,295
↓ 4 callers
Method
down?
back/app/models/reaction.rb:64
↓ 4 callers
Function
dragAndDrop
( dropZone: HTMLElement, dragElement: HTMLElement )
front/app/utils/testUtils/dragAndDrop.ts:3
↓ 4 callers
Method
enabled?
back/app/models/custom_field.rb:208
↓ 4 callers
Function
encode_content
(json)
back/spec/services/content_image_service_spec.rb:24
↓ 4 callers
Function
encode_json_file_as_base64
(filename)
back/engines/commercial/custom_maps/spec/acceptance/layers_spec.rb:471
↓ 4 callers
Function
expect_serializer_to_hide_name
(user1, user2, admin, notification_factory_name, serializer_class)
back/spec/serializers/web_api/v1/notifications_spec.rb:6
↓ 4 callers
Function
expect_to_create_verified_and_identified_user
(user)
back/engines/commercial/custom_id_methods/spec/requests/clave_unica_verification_spec.rb:77
↓ 4 callers
Function
expect_user_to_be_verified
(user)
back/engines/commercial/custom_id_methods/spec/requests/criipto_verification_spec.rb:115
↓ 4 callers
Function
expect_user_to_be_verified
(user, first_name: 'Otto', last_name: 'Ottakringer')
back/engines/commercial/custom_id_methods/spec/requests/id_austria_verification_spec.rb:82
↓ 4 callers
Function
expect_user_to_be_verified
(user)
back/engines/commercial/custom_id_methods/spec/requests/keycloak_idporten_verification_spec.rb:92
↓ 4 callers
Method
expires_at
back/app/models/idea.rb:379
↓ 4 callers
Method
extension_allowlist
back/app/uploaders/base_file_uploader.rb:4
↓ 4 callers
Function
extractIdsFromValue
(value: string)
front/app/components/UI/MentionsTextArea/utils.ts:1
↓ 4 callers
Function
extractOptions
( question: IFlatCustomField, localize: Localize, randomize = false )
front/app/components/CustomFieldsForm/util.ts:114
↓ 4 callers
Method
extract_expanded_mention_users
@param [String] text @return [User::ActiveRecord_Relation] users
back/app/services/mention_service.rb:12
↓ 4 callers
Method
extract_location_headers
(headers)
back/app/services/participation_location_service.rb:5
↓ 4 callers
Function
feedback_needed_filter_parameter
(s)
back/spec/acceptance/stats_ideas_spec.rb:30
↓ 4 callers
Function
fetchPhase
({ phaseId, }: { phaseId: string | undefined | null; })
front/app/api/phases/usePhase.ts:9
↓ 4 callers
Method
field_title
(field)
back/engines/commercial/bulk_import_ideas/app/services/bulk_import_ideas/parsers/pdf/idea_pdf_template_reader.rb:221
↓ 4 callers
Method
filter_status
FILTERING METHODS
back/app/services/folders_finder_admin_service.rb:13
↓ 4 callers
Method
filter_trending
(ideas = Idea.all)
back/app/services/trending_idea_service.rb:4
↓ 4 callers
Function
findChartSvg
(container: HTMLElement)
front/app/utils/word/utils/svgToImage.ts:137
↓ 4 callers
Function
findPageIndex
(pages: Pages, pageId: string | number)
front/app/components/CustomFieldsForm/SurveyForm/logic.ts:5
↓ 4 callers
Method
find_or_create_previous_quarter_report
back/app/services/community_monitor_service.rb:80
↓ 4 callers
Method
folder_id
back/app/services/notifications/internal_comments/base_notification_builder.rb:55
↓ 4 callers
Function
formChange
( changedFormValue: Partial<IFormValues>, touched = true )
front/app/containers/Admin/CustomMapConfigPage/MapConfiguration/MapCenterAndZoomConfig.tsx:172
↓ 4 callers
Function
formatCommentContent
(commentBody: string)
front/app/components/PostShowComponents/utils.ts:1
↓ 4 callers
Function
formatDate
(date?: Date)
front/app/containers/Admin/inspirationHub/ProjectDrawer/utils.ts:24
↓ 4 callers
Function
formatPercentage
(value: number | undefined)
front/app/components/admin/GraphCards/_utils/format.ts:1
↓ 4 callers
Method
full_title_multiloc
Returns "Parent > Child" format for subtopics
back/app/models/input_topic.rb:57
↓ 4 callers
Method
generate_descriptions?
(file)
back/app/services/files/description_generator.rb:134
↓ 4 callers
Method
generate_for_request
(request)
back/app/services/visitor_hash_service.rb:8
↓ 4 callers
Function
geocode
(address: string | null | undefined)
front/app/utils/locationTools.ts:19
↓ 4 callers
Function
getAnalysisScope
( participationMethod: ParticipationMethod | undefined )
front/app/containers/Admin/projects/_shared/components/AnalysisBanner/utils.ts:9
↓ 4 callers
Function
getAnswerKeys
(field: ICustomFieldResponse)
front/cypress/e2e/report_builder/widgets/survey_question_widget.cy.ts:100
↓ 4 callers
Function
getCenter
( centerLatLng?: LatLngTuple | null, appConfig?: IAppConfigurationData )
front/app/utils/map.ts:12
↓ 4 callers
Function
getComparedPeriod
(resolution: IResolution)
front/app/components/admin/GraphCards/_utils/query.ts:85
↓ 4 callers
Function
getComparedTimeRange
(startAt?: string, endAt?: string)
front/app/components/admin/GraphCards/_utils/query.ts:68
↓ 4 callers
Function
getCoordinatesFromMultiPointData
( data: any, inputType: MapInputType )
front/app/components/CustomFieldsForm/Fields/MapField/multiPointUtils.tsx:54
↓ 4 callers
Function
getDateInTimezone
( isoString: string | null | undefined, timeZone: string | undefined )
front/app/utils/dateUtils.ts:387
↓ 4 callers
Function
getDelta
(total: number, compared: number | undefined)
front/app/containers/Admin/reporting/components/ReportBuilder/Widgets/ChartWidgets/VisitorsWidget/useVisitors/parse.ts:75
↓ 4 callers
Function
getFullName
(firstName?: string, lastName?: string)
front/app/containers/Admin/projects/all/_shared/ManagerBubbles.tsx:30
↓ 4 callers
Function
getIsFileAlreadyUsed
( craftjsJson: SerializedNodes, fileId: string )
front/app/components/admin/ContentBuilder/Widgets/FileAttachment/utils.ts:6
↓ 4 callers
Function
getLayerColor
(mapLayer: IMapLayerAttributes | undefined)
front/app/utils/mapUtils/map.ts:169
↓ 4 callers
Function
getModeratedItems
(user: IUserData, treeView: TreeView)
front/app/components/admin/UsersTable/UserRole/UserAssignedItems/utils.ts:9
↓ 4 callers
Function
getNewIdsOnDrop
( ids: string[], draggedItemId: string, targetIndex: number )
front/app/containers/Admin/pagesAndMenu/containers/ContentBuilder/components/Widgets/Selection/Settings/utils.ts:8
↓ 4 callers
Function
getParams
(tab: string)
front/app/containers/Admin/reporting/containers/ReportBuilderPage/index.tsx:90
↓ 4 callers
Function
getQuillPlainTextLength
(editor: Quill)
front/app/components/UI/QuillEditor/utils.ts:7
↓ 4 callers
Function
getRechartsAccessibilityProps
( ariaLabel: string | undefined, ariaDescribedBy: string | undefined )
front/app/components/admin/Graphs/utils.ts:73
↓ 4 callers
Function
getRemoteFormValues
({ type, attributes: { distribution }, }: TReferenceDistributionData)
front/app/api/reference_distribution/useReferenceDistributionData.ts:41
↓ 4 callers
Function
getReorderedFields
( result: DragAndDropResult, nestedGroupData: NestedGroupingStructure[] )
front/app/components/FormBuilder/edit/utils.ts:116
↓ 4 callers
Function
getSortDirection
(sort: Sort)
front/app/utils/paginationUtils.ts:17
↓ 4 callers
Function
getStatusColor
( status: PublicationStatus, isScheduled = false )
front/app/containers/Admin/projects/all/_shared/utils.ts:6
↓ 4 callers
Function
getTimePeriodTranslationByResolution
( formatMessage: FormatMessage, resolution: IResolution )
front/app/components/admin/GraphCards/_utils/resolution.ts:31
↓ 4 callers
Function
getTooltipConfig
( tooltip?: boolean | Tooltip | ((props: TooltipConfig) => React.ReactNode) )
front/app/components/admin/Graphs/utils.ts:18
↓ 4 callers
Function
getUrl
(medium: Medium)
front/app/components/Sharing/SharingButtons/index.tsx:57
↓ 4 callers
Function
getZoomLevel
( zoom?: number, appConfig?: IAppConfigurationData | null | Error )
front/app/utils/map.ts:37
↓ 4 callers
Function
goToLayerExtent
( layer: Layer, mapView: MapView, zoomOutFurther?: boolean )
front/app/components/EsriMap/utils.tsx:708
↓ 4 callers
Function
groupBy
(key: string)
front/app/containers/Admin/messaging/AutomatedEmails/utils.ts:12
↓ 4 callers
Function
groupIncludedResources
( values: T[] )
front/app/utils/cl-react-query/groupIncludedResources.ts:15
↓ 4 callers
Function
group_filter_parameter
(s)
back/spec/acceptance/stats_comments_spec.rb:22
↓ 4 callers
Function
group_filter_parameter
(s)
back/spec/acceptance/stats_reactions_spec.rb:20
↓ 4 callers
Function
group_filter_parameter
(s)
back/spec/acceptance/stats_ideas_spec.rb:22
↓ 4 callers
Function
handleUpdate
(permittedBy: PermittedBy)
front/app/components/admin/ActionForm/AccessRestrictions/CardButtons.tsx:29
↓ 4 callers
Function
hasSvgChart
(container: HTMLElement)
front/app/utils/word/utils/svgToImage.ts:156
↓ 4 callers
Function
hexToRGBA
(hex: string, alpha: number)
front/app/utils/helperUtils.ts:192
↓ 4 callers
Method
hidden?
back/app/models/project.rb:316
↓ 4 callers
Method
home_url
(options = {})
back/engines/free/frontend/app/services/frontend/url_service.rb:72
↓ 4 callers
Method
idea_blank?
(fields)
back/engines/commercial/bulk_import_ideas/app/services/bulk_import_ideas/parsers/idea_row_mapper.rb:74
↓ 4 callers
Function
image_elements
(content)
back/spec/services/content_image_service_spec.rb:32
↓ 4 callers
Method
index
back/engines/commercial/analysis/app/controllers/analysis/web_api/v1/tags_controller.rb:11
↓ 4 callers
Function
indexById
( items: T[] )
front/app/utils/cl-react-query/indexById.ts:1
↓ 4 callers
Function
invalidateCacheAfterUpdateUser
(queryClient: QueryClient)
front/app/api/users/useUpdateUser.ts:26
↓ 4 callers
Function
invalidatePollQuestionsCache
(variables: IPollQuestionParameters)
front/app/api/poll_questions/util/invalidatePollQuestionsCache.ts:8
↓ 4 callers
Function
isAuthor
(comment: ICommentData, user?: IUser | null)
front/app/utils/permissions/rules/commentPermissions.ts:8
↓ 4 callers
Function
isFollowUpFiltered
(filters: IInputsFilterParams | undefined)
front/app/components/admin/FormResults/FormResultsQuestion/TextQuestion/Analysis/utils.ts:32
↓ 4 callers
Function
isHiddenField
(field: IUserCustomFieldData)
front/app/api/user_custom_fields/util.ts:7
↓ 4 callers
Function
isModerator
(user: IUser | undefined | null)
front/app/utils/permissions/roles.ts:49
↓ 4 callers
Function
isNonEmptyString
(str: string)
front/app/utils/helperUtils.ts:38
↓ 4 callers
Function
isPDFUploadSupported
( participationMethod?: ParticipationMethod )
front/app/containers/Admin/projects/project/inputImporter/ReviewSection/utils.ts:15
↓ 4 callers
Function
isPageRuleValid
( fields: IFlatCustomField[], sourcePageId: string, nextPageId?: string )
front/app/utils/yup/validateLogic.ts:30
↓ 4 callers
Function
january
()
front/app/utils/patchMomentDeAtJanuary.test.ts:12
↓ 4 callers
Method
klass
back/lib/spherical_point_impl_active_job_serializer.rb:26
↓ 4 callers
Method
last_name
Returns nil when user is nil, but logs a warning. @param [User, nil] user @return [String]
back/app/services/user_display_name_service.rb:46
↓ 4 callers
Method
locked_custom_fields
back/app/policies/user_policy.rb:136
↓ 4 callers
Method
locked_custom_fields
(user)
back/app/services/verification/verification_service.rb:102
↓ 4 callers
Method
mailer_class
back/engines/free/email_campaigns/spec/models/email_campaigns/concerns/content_configurable_spec.rb:8
↓ 4 callers
Function
makeRequest
(jwt: any)
front/cypress/support/commands.ts:341
↓ 4 callers
Function
makeSummary
( id: string, publishedFrom: string | null, publishedTo: string | null )
front/app/components/admin/FormResults/FormResultsQuestion/TextQuestion/Analysis/filterForCommunityMonitorQuarter.test.ts:38
↓ 4 callers
Method
members
back/engines/commercial/smart_groups/app/models/smart_groups/patches/group.rb:45
↓ 4 callers
Function
mockEndpoints
(mockedEndpoints: Partial<Record<Endpoint, Handler>>)
front/app/utils/storybook/mockEndpoints.ts:6
↓ 4 callers
Function
mockPageData
(bannerLayout: TCustomPageBannerLayout)
front/app/containers/CustomPageShow/CustomPageHeader/CustomPageHeader.test.tsx:14
↓ 4 callers
Function
model_class
(factory)
back/engines/commercial/content_builder/spec/models/content_builder/concerns/content_buildable_spec.rb:78
↓ 4 callers
Method
moderators_per_space
Returns a hash with space IDs as keys and arrays of users as values
back/app/services/user_role_service.rb:112
↓ 4 callers
Method
observe
(target: Element)
front/app/components/CustomFieldsForm/SurveyForm/index.test.tsx:13
↓ 4 callers
Function
onClick
(event: FormEvent<any>)
front/app/components/UI/FileUploader/FileInput.tsx:172
↓ 4 callers
Function
onDelete
(fieldIndex: number)
front/app/components/FormBuilder/components/FormFields/FormField/index.tsx:195
↓ 4 callers
Function
onFileAdd
(file: UploadFile, value)
front/app/components/CustomFieldsForm/Fields/MultiFileUploadField.tsx:132
↓ 4 callers
Function
onProjectFilter
({ value })
front/app/containers/Admin/Representativeness/Dashboard/index.tsx:28
↓ 4 callers
Function
parseQuestionResult
( result: ResultUngrouped | ResultGrouped, colorScheme: string[], localize: Localize, noAnswerCopy: st
front/app/components/admin/Graphs/SurveyBars/utils.ts:11
← previous
next →
1,301–1,400 of 15,961, ranked by callers