lo — Public API surface
Types & interfaces
interface ActionNodeData
- file: src/cores/lo/components/dependency-graph/ActionNode.tsx:34
- kind: interface
- core: lo
- spec: LO-14
- summary: Data payload attached to a React Flow node representing a single action inthe action dependency graph: its title, workflow status, optional assignee,whether it is currently blocked by upstream dependencies, and how manydownstream actions it blocks.
- score: 5
type ActionNodeType
- file: src/cores/lo/components/dependency-graph/ActionNode.tsx:50
- kind: type
- core: lo
- spec: LO-14
- summary: Concrete React Flow node type for action nodes, pairing with the node-type discriminator used by the graph renderer.
-
see:
- score: 5
interface AnalyticsFilters
- file: src/cores/lo/hooks/useGoalQualityAnalytics.ts:166
- kind: interface
- core: lo
- spec: LO-12
- summary: Optional filter criteria for narrowing the goal-quality analytics view bygoal category and SMART-score range.
- score: 5
interface GoalQualityAnalytics
- file: src/cores/lo/hooks/useGoalQualityAnalytics.ts:143
- kind: interface
- core: lo
- spec: LO-12
- summary: Full SMART goal-quality analytics result: organization-wide totals,average score, excellent/needs-improvement counts, the score-distributionhistogram, per-type rollups, and the list of low-scoring goals, plus aloading flag for the underlying goal queries.
- score: 5
interface GoalsByType
- file: src/cores/lo/hooks/useGoalQualityAnalytics.ts:85
- kind: interface
- core: lo
- spec: LO-12
- summary: Aggregated SMART-quality rollup for one goal category (e.g. strategic vs.quarterly): the average score across scored goals plus total and scoredcounts, used to compare quality between goal types.
- score: 5
type GoalTimeframe
- file: src/cores/lo/utils/validateSMARTGoal.ts:139
- kind: type
- core: lo
- spec: (none)
- summary: Goal type for adjusting validation rules
- score: 2
interface KnowledgeAnswerArticle
- file: src/cores/lo/hooks/useKnowledgePortalAnswer.ts:24
- kind: interface
- core: lo
- spec: (none)
- summary: Minimal article shape passed as grounding context (no PHI; org’s own docs).
- score: 2
interface LODashboardMetrics
- file: src/cores/lo/hooks/useLODashboardMetrics.ts:52
- kind: interface
- core: lo
- spec: none
- summary: Live counts and trend data backing the LO overview dashboard cards: rock(90-day priority) completion progress, open issues, pending to-dos, andupcoming meetings, plus week-over-week trends for issues, completed to-dos,and meetings.
- score: 5
type LOModuleSettingsFormValues
- file: src/cores/lo/components/LOSettingsForm.tsx:79
- kind: type
- core: lo
- spec: none
- summary: Validated value shape for the Leadership Operating System module settingsform, inferred from the Zod schema. Groups optional toggles and thresholdsacross Vision, Goals (rock-prefixed DB columns), SMART validation, GWC,Meetings, Scorecards, Issues, and Knowledge.
- score: 5
interface LowScoreGoal
- file: src/cores/lo/hooks/useGoalQualityAnalytics.ts:111
- kind: interface
- core: lo
- spec: LO-12
- summary: A goal flagged as needing improvement: identity, its goal type and label,the failing SMART score, and the single most impactful SMART dimension toaddress (). Drives the low-score remediation table.
- score: 5
interface ScoreDistribution
- file: src/cores/lo/hooks/useGoalQualityAnalytics.ts:61
- kind: interface
- core: lo
- spec: LO-12
- summary: A single bucket in the SMART-score histogram: one quality band (e.g.”Excellent”) with the count of goals that fall in it, its share of allscored goals, and a chart color token.
- score: 5
interface TrendData
- file: src/cores/lo/hooks/useLODashboardMetrics.ts:23
- kind: interface
- core: lo
- spec: none
- summary: A week-over-week trend indicator for a dashboard metric: the direction ofchange, the absolute percent magnitude, and a human-readable comparisonlabel (e.g. “vs last week”).
- score: 5
interface ValidateSMARTOptions
- file: src/cores/lo/utils/validateSMARTGoal.ts:292
- kind: interface
- core: lo
- spec: (none)
- summary: Options for SMART goal validation
- score: 2
Hooks
hook useAccountabilityChart
- file: src/cores/lo/hooks/useAccountabilityChart.ts:22
- kind: hook
- core: lo
- spec: LO-02
- summary: Fetches the active accountability chart for the current organization.
- returns: A TanStack Query result whose is the active (or null if none exists), with /; disabled until an organization is resolved.
- score: 5
hook useAccountabilityChartMutation
- file: src/cores/lo/hooks/useAccountabilityChart.ts:58
- kind: hook
- core: lo
- spec: LO-02
- summary: Provides create and update mutations for the current organization’saccountability chart, with success/error toasts and automatic queryinvalidation.
- returns: An object with and mutate functions plus / pending flags.
- score: 5
hook useActionDependencyChain
- file: src/cores/lo/hooks/useActionDependencyChain.ts:18
- kind: hook
- core: lo
- spec: (none)
- summary: Fetches the complete dependency chain for an action
- params:
- actionId — The action to get dependencies for
- returns: Upstream (depends on) and downstream (blocks) chains
- score: 4
hook useActiveAssessments
- file: src/cores/lo/hooks/useAssessments.ts:114
- kind: hook
- core: lo
- spec: LO-09
- summary: Convenience wrapper over that returns only activeassessments for the current organization.
- returns: A TanStack Query result whose is an array of active records.
- score: 5
hook useActiveSeatAssignments
- file: src/cores/lo/hooks/useSeatAssignments.ts:90
- kind: hook
- core: lo
- spec: LO-02
- summary: Convenience wrapper over that returns only activeseat assignments for the current organization.
- returns: A TanStack Query result whose is an array of active records.
- score: 5
hook useAssessment
- file: src/cores/lo/hooks/useAssessments.ts:75
- kind: hook
- core: lo
- spec: LO-09
- summary: Fetches a single assessment by id, including its linked form and itsdistribution schedules.
- params:
- assessmentId — The assessment id to fetch, or undefined to disable the query.
- returns: A TanStack Query result whose is the (with and relations), or null when inputs are missing.
- score: 5
hook useAssessmentMutation
- file: src/cores/lo/hooks/useAssessments.ts:126
- kind: hook
- core: lo
- spec: LO-09
- summary: Provides create, update, and delete mutations for assessments scoped to thecurrent organization, with success/error toasts and query invalidation.
- returns: An object with async , , and functions plus // pending flags.
- score: 5
hook useAssessmentResponseMutation
- file: src/cores/lo/hooks/useAssessmentResponses.ts:135
- kind: hook
- core: lo
- spec: (none)
- summary: Provides assessment response mutation queries and mutation actions scoped to the current organization.
- score: 4
hook useAssessmentResponses
- file: src/cores/lo/hooks/useAssessmentResponses.ts:21
- kind: hook
- core: lo
- spec: (none)
- summary: Provides assessment responses queries and mutation actions scoped to the current organization.
- score: 4
hook useAssessments
- file: src/cores/lo/hooks/useAssessments.ts:25
- kind: hook
- core: lo
- spec: LO-09
- summary: Fetches the current organization’s assessments (with their linked form),optionally filtered by type, active state, form, or name search.
- params:
- filters — Optional (assessment type, active flag, form id, search text).
- returns: A TanStack Query result whose is an array of (each with its relation); disabled until an organization is resolved.
- score: 5
hook useAssessmentSchedule
- file: src/cores/lo/hooks/useAssessmentSchedules.ts:66
- kind: hook
- core: lo
- spec: (none)
- summary: Provides assessment schedule queries and mutation actions scoped to the current organization.
- score: 4
hook useAssessmentScheduleMutation
- file: src/cores/lo/hooks/useAssessmentSchedules.ts:139
- kind: hook
- core: lo
- spec: (none)
- summary: Provides assessment schedule mutation queries and mutation actions scoped to the current organization.
- score: 4
hook useAssessmentSchedules
- file: src/cores/lo/hooks/useAssessmentSchedules.ts:18
- kind: hook
- core: lo
- spec: (none)
- summary: Provides assessment schedules queries and mutation actions scoped to the current organization.
- score: 4
hook useBlockedActions
- file: src/cores/lo/hooks/useBlockedActions.ts:17
- kind: hook
- core: lo
- spec: (none)
- summary: Fetches all blocked actions for the organization
- params:
- goalId — Optional goal ID to filter by
- score: 4
hook useCategoryTree
- file: src/cores/lo/hooks/useKnowledgeCategories.ts:91
- kind: hook
- core: lo
- spec: (none)
- summary: Provides category tree queries and mutation actions scoped to the current organization.
- score: 4
hook useCurrentQuarterGoals
- file: src/cores/lo/hooks/useQuarterlyGoals.ts:96
- kind: hook
- core: lo
- spec: (none)
- summary: Fetches quarterly goals scoped to the current fiscal year and quarter.
- returns: The React Query result containing quarterly goals filtered to the current quarter (–) and current year
- score: 4
hook useCurrentWeekScorecard
- file: src/cores/lo/hooks/useScorecards.ts:88
- kind: hook
- core: lo
- spec: (none)
- summary: Provides current week scorecard queries and mutation actions scoped to the current organization.
- score: 4
hook useFeaturedArticles
- file: src/cores/lo/hooks/useKnowledgeArticles.ts:117
- kind: hook
- core: lo
- spec: (none)
- summary: Provides featured articles queries and mutation actions scoped to the current organization.
- score: 4
hook useFeedback
- file: src/cores/lo/hooks/useFeedback.ts:18
- kind: hook
- core: lo
- spec: (none)
- summary: Fetch feedback with optional filters
- score: 4
hook useFeedbackMutation
- file: src/cores/lo/hooks/useFeedback.ts:134
- kind: hook
- core: lo
- spec: (none)
- summary: Create, update, delete feedback
- score: 4
hook useGivenFeedback
- file: src/cores/lo/hooks/useFeedback.ts:104
- kind: hook
- core: lo
- spec: (none)
- summary: Fetch feedback provided by current user
- score: 4
hook useGoalActionMutation
- file: src/cores/lo/hooks/useGoalActions.ts:159
- kind: hook
- core: lo
- spec: (none)
- summary: Provide create, update, and delete mutations for goal actions scoped to the current organization, with cache invalidation and user toasts.
- returns: An object with the following properties:- - Trigger a create mutation for a goal action.- - Trigger a create mutation and return the created action.- - Trigger an update mutation for an existing goal action.- - Trigger an update mutation and return the updated action.- - Trigger a delete mutation for a goal action by id.- - when a create mutation is in progress, otherwise.- - when an update mutation is in progress, otherwise.- - when a delete mutation is in progress, otherwise.
- score: 4
hook useGoalActions
- file: src/cores/lo/hooks/useGoalActions.ts:72
- kind: hook
- core: lo
- spec: (none)
- summary: Fetches goal actions for the current organization scoped to the given goal.
- params:
- goalId — The goal’s id to filter actions; when omitted the query is disabled
- filters — Optional filters for status, priority, assignee, etc.
- returns: An array of objects for the specified goal (empty array if none)
- score: 4
hook useGoalAssignmentMutation
- file: src/cores/lo/hooks/useGoalAssignments.ts:132
- kind: hook
- core: lo
- spec: (none)
- summary: Provides mutations to create, update, and delete goal assignments and performs cache invalidation and user toast feedback.
- returns: An object containing:- create: function to create a goal assignment- createAsync: async version of - update: function to update a goal assignment- delete: function to delete a goal assignment- isCreating: while a create operation is pending, otherwise- isUpdating: while an update operation is pending, otherwise- isDeleting: while a delete operation is pending, otherwise
- score: 4
hook useGoalAssignments
- file: src/cores/lo/hooks/useGoalAssignments.ts:24
- kind: hook
- core: lo
- spec: (none)
- summary: Fetches goal assignments for the current organization, optionally filtered by a specific goal and other criteria.
- params:
- goalId — Optional goal ID to restrict assignments to a single goal
- filters — Optional filters: , , and
- returns: A React Query result whose is an array of objects matching the provided filters (or an empty array when no assignments or organization is available)
- score: 4
hook useGoalQualityAnalytics
- file: src/cores/lo/hooks/useGoalQualityAnalytics.ts:185
- kind: hook
- core: lo
- spec: (none)
- summary: Aggregate SMART-score analytics across strategic (3-year and 1-year) goals and quarterly rocks, applying optional filters.
- params:
- filters — Optional AnalyticsFilters to restrict which goals are included (for example, by ).
- returns: A GoalQualityAnalytics object containing totalGoals, scoredGoals, averageScore, excellentCount, excellentPercentage, needsImprovementCount, scoreDistribution, goalsByType, lowScoreGoals, and .
- score: 4
hook useGoalReview
- file: src/cores/lo/hooks/useGoalReview.ts:44
- kind: hook
- core: lo
- spec: (none)
- summary: Provides mutations and status flags for completing and reviewing a goal.
- returns: An object containing mutation entrypoints and status flags:- — Function to trigger marking a goal as complete with optional date and notes.- — Function that performs the completion and returns the updated goal record.- — Function to trigger submitting a review score and optional notes for a goal.- — Function that performs the review and returns the updated goal record.- — Boolean flag indicating whether a completion mutation is in progress.- — Boolean flag indicating whether a review mutation is in progress.
- score: 4
hook useGWCAssessmentMutation
- file: src/cores/lo/hooks/useGWCAssessments.ts:123
- kind: hook
- core: lo
- spec: LO-02
- summary: Provides create and update mutations for GWC assessments scoped to thecurrent organization, with success/error toasts and query invalidation.
- returns: An object with and mutate functions plus / pending flags.
- score: 5
hook useGWCAssessments
- file: src/cores/lo/hooks/useGWCAssessments.ts:25
- kind: hook
- core: lo
- spec: LO-02
- summary: Fetches GWC (Get-it / Want-it / Capacity) assessments for the currentorganization, joined to their seat assignment and assessor, optionallyfiltered by seat, assessor, recommendation, or date range.
- params:
- filters — Optional (seat assignment, assessor, recommendation, date range).
- returns: A TanStack Query result whose is an array of (with and relations), newest first.
- score: 5
hook useIssue
- file: src/cores/lo/hooks/useIssues.ts:67
- kind: hook
- core: lo
- spec: (none)
- summary: Fetch single issue with discussions
- score: 4
hook useIssueDiscussionMutation
- file: src/cores/lo/hooks/useIssueDiscussions.ts:61
- kind: hook
- core: lo
- spec: LO-07
- summary: Provides create, update, and delete mutations for issue discussion entries(the IDR thread), scoped and validated against the current organization,with success/error toasts and query invalidation.
- returns: An object with async , , and functions plus // pending flags.
- score: 5
hook useIssueDiscussions
- file: src/cores/lo/hooks/useIssueDiscussions.ts:25
- kind: hook
- core: lo
- spec: LO-07
- summary: Fetches the ordered discussion thread (the IDR comments and author profiles)for a single issue, scoped to the current organization. Returns an emptyarray when no organization or issue id is available and stays disabled untilboth are present.
- params:
- issueId — Id of the issue whose discussion entries to load; when the query is disabled and resolves to an empty array.
- returns: A TanStack Query result whose is an (each with its joined author profile) ordered oldest-first, alongside , , and the other standard query fields.
- score: 5
hook useIssueMutation
- file: src/cores/lo/hooks/useIssues.ts:164
- kind: hook
- core: lo
- spec: (none)
- summary: Issue mutations (create, update, delete)
- score: 4
hook useIssues
- file: src/cores/lo/hooks/useIssues.ts:17
- kind: hook
- core: lo
- spec: (none)
- summary: Fetch issues with optional filters
- score: 4
hook useKnowledgeArticle
- file: src/cores/lo/hooks/useKnowledgeArticles.ts:94
- kind: hook
- core: lo
- spec: (none)
- summary: Provides knowledge article queries and mutation actions scoped to the current organization.
- score: 4
hook useKnowledgeArticleMutation
- file: src/cores/lo/hooks/useKnowledgeArticles.ts:191
- kind: hook
- core: lo
- spec: (none)
- summary: Provides knowledge article mutation queries and mutation actions scoped to the current organization.
- score: 4
hook useKnowledgeArticles
- file: src/cores/lo/hooks/useKnowledgeArticles.ts:65
- kind: hook
- core: lo
- spec: (none)
- summary: Provides knowledge articles queries and mutation actions scoped to the current organization.
- score: 4
hook useKnowledgeArticleVersion
- file: src/cores/lo/hooks/useKnowledgeArticleVersions.ts:70
- kind: hook
- core: lo
- spec: LO-10
- summary: Fetches a single knowledge-article version by id, joined to its author.
- params:
- versionId — The article-version id to fetch.
- returns: A TanStack Query result whose is the (with author); disabled until a version id is provided.
- score: 5
hook useKnowledgeArticleVersions
- file: src/cores/lo/hooks/useKnowledgeArticleVersions.ts:41
- kind: hook
- core: lo
- spec: LO-10
- summary: Fetches the saved version history of a knowledge-portal article, eachversion joined to its author, ordered newest version first.
- params:
- articleId — The article whose version history to fetch.
- returns: A TanStack Query result whose is an array of (with author); disabled until an article id is provided.
- score: 5
hook useKnowledgeCategories
- file: src/cores/lo/hooks/useKnowledgeCategories.ts:33
- kind: hook
- core: lo
- spec: (none)
- summary: Provides knowledge categories queries and mutation actions scoped to the current organization.
- score: 4
hook useKnowledgeCategory
- file: src/cores/lo/hooks/useKnowledgeCategories.ts:73
- kind: hook
- core: lo
- spec: (none)
- summary: Provides knowledge category queries and mutation actions scoped to the current organization.
- score: 4
hook useKnowledgeCategoryMutation
- file: src/cores/lo/hooks/useKnowledgeCategories.ts:124
- kind: hook
- core: lo
- spec: (none)
- summary: Provides knowledge category mutation queries and mutation actions scoped to the current organization.
- score: 4
hook useLatestGWCAssessment
- file: src/cores/lo/hooks/useGWCAssessments.ts:86
- kind: hook
- core: lo
- spec: LO-02
- summary: Fetches the most recent GWC assessment for a single seat assignment in thecurrent organization.
- params:
- seatAssignmentId — The seat assignment to fetch the latest GWC assessment for.
- returns: A TanStack Query result whose is the latest (or null if none); disabled until organization and seat are resolved.
- score: 5
hook useLODashboardMetrics
- file: src/cores/lo/hooks/useLODashboardMetrics.ts:225
- kind: hook
- core: lo
- spec: none
- summary: Fetches live counts and week-over-week trends for the LO overview dashboardcards, scoped to the current organization and signed-in user. Runs parallelSupabase queries for rocks, open issues, pending to-dos, and upcomingmeetings; refetches every 5 minutes.
- returns: A TanStack Query result whose is , with the usual / flags; disabled until both organization and user are resolved.
- score: 5
hook useLOModuleSettings
- file: src/cores/lo/hooks/useLOModuleSettings.ts:28
- kind: hook
- core: lo
- spec: (none)
- summary: Manage Leadership Operating System module settings for the current organization.
- returns: An object containing: - : the current for the organization or if none exist - : while the settings are being fetched - : the error thrown during fetch, if any - : a function that accepts to create or update settings - : while the upsert mutation is pending - : function to manually refetch settings
- score: 4
hook useMeeting
- file: src/cores/lo/hooks/useMeetings.ts:70
- kind: hook
- core: lo
- spec: LO-06
- summary: Fetches a single meeting by id with its attendees and action items.
- params:
- meetingId — The meeting id to fetch, or undefined to disable the query.
- returns: A TanStack Query result whose is a (including and ), or null when inputs are missing.
- score: 5
hook useMeetingActionItemMutation
- file: src/cores/lo/hooks/useMeetingActionItems.ts:77
- kind: hook
- core: lo
- spec: LO-06
- summary: Provides create, update, delete, and convert-to-to-do mutations for meetingaction items, scoped to the current user and organization, with toasts andquery invalidation (including the to-dos cache on conversion).
- returns: An object with async , , , and functions plus /// pending flags.
- score: 5
hook useMeetingActionItems
- file: src/cores/lo/hooks/useMeetingActionItems.ts:28
- kind: hook
- core: lo
- spec: LO-06
- summary: Fetches a meeting’s action items joined to their assignee, and hydrates eachitem that has been converted to a to-do with its linked record.
- params:
- meetingId — The meeting whose action items to fetch, or undefined to disable the query.
- returns: A TanStack Query result whose is an array of (each with and an optional linked ).
- score: 5
hook useMeetingAttendeeMutation
- file: src/cores/lo/hooks/useMeetingAttendees.ts:53
- kind: hook
- core: lo
- spec: LO-06
- summary: Provides mutations to add an attendee to a meeting, update their attendancestatus, and remove them, scoped to the current user and organization, withtoasts and query invalidation.
- returns: An object with async , , and functions plus // pending flags.
- score: 5
hook useMeetingAttendees
- file: src/cores/lo/hooks/useMeetingAttendees.ts:26
- kind: hook
- core: lo
- spec: LO-06
- summary: Fetches a meeting’s attendee roster, each row joined to the attendee’sprofile, ordered by when they were added.
- params:
- meetingId — The meeting whose attendees to fetch, or undefined to disable the query.
- returns: A TanStack Query result whose is an array of (with profile relation).
- score: 5
hook useMeetingMutation
- file: src/cores/lo/hooks/useMeetings.ts:133
- kind: hook
- core: lo
- spec: LO-06
- summary: Provides create, update, and delete mutations for meetings scoped to thecurrent user and organization, with success/error toasts and queryinvalidation.
- returns: An object with async , , and functions plus // pending flags.
- score: 5
hook useMeetings
- file: src/cores/lo/hooks/useMeetings.ts:35
- kind: hook
- core: lo
- spec: LO-06
- summary: Fetches the current organization’s structured meetings, optionally filteredby type, status, date range, or title search, newest scheduled first.
- params:
- filters — Optional (meeting type, status, date range, title search).
- returns: A TanStack Query result whose is an array of ; disabled until an organization is resolved.
- score: 5
hook useMetricsByRole
- file: src/cores/lo/hooks/useScorecardMetrics.ts:69
- kind: hook
- core: lo
- spec: LO-05
- summary: Fetches the active scorecard metrics owned by a single role in the currentorganization, each joined to any linked strategic goal, ordered by displayorder.
- params:
- roleId — The owning role to fetch metrics for, or undefined to disable the query.
- returns: A TanStack Query result whose is an array of active (with ).
- score: 5
hook useMyCompletedAssessments
- file: src/cores/lo/hooks/useAssessmentResponses.ts:98
- kind: hook
- core: lo
- spec: (none)
- summary: Provides my completed assessments queries and mutation actions scoped to the current organization.
- score: 4
hook useMyGoalAssignments
- file: src/cores/lo/hooks/useGoalAssignments.ts:77
- kind: hook
- core: lo
- spec: (none)
- summary: Fetches the current user’s goal assignments within the active organization.If there is no active organization or no authenticated user, the query yields an empty array.
- returns: An array of objects for the current user in the active organization
- score: 4
hook useMyIssues
- file: src/cores/lo/hooks/useIssues.ts:134
- kind: hook
- core: lo
- spec: (none)
- summary: Fetch issues assigned to current user
- score: 4
hook useMyOneOnOnes
- file: src/cores/lo/hooks/useOneOnOnes.ts:95
- kind: hook
- core: lo
- spec: (none)
- summary: Fetch one-on-ones where current user is manager or employee
- score: 4
hook useMyPendingAssessments
- file: src/cores/lo/hooks/useAssessmentResponses.ts:61
- kind: hook
- core: lo
- spec: (none)
- summary: Provides my pending assessments queries and mutation actions scoped to the current organization.
- score: 4
hook useNeedsReviewActions
- file: src/cores/lo/hooks/useNeedsReviewActions.ts:17
- kind: hook
- core: lo
- spec: (none)
- summary: Fetches all actions needing review for the organization
- params:
- goalId — Optional goal ID to filter by
- score: 4
hook useOneOnOne
- file: src/cores/lo/hooks/useOneOnOnes.ts:66
- kind: hook
- core: lo
- spec: (none)
- summary: Fetch a single one-on-one by ID with feedback
- score: 4
hook useOneOnOneMutation
- file: src/cores/lo/hooks/useOneOnOnes.ts:156
- kind: hook
- core: lo
- spec: (none)
- summary: Create, update, delete one-on-ones
- score: 4
hook useOneOnOnes
- file: src/cores/lo/hooks/useOneOnOnes.ts:18
- kind: hook
- core: lo
- spec: (none)
- summary: Fetch one-on-ones with optional filters
- score: 4
hook useOnHoldActions
- file: src/cores/lo/hooks/useOnHoldActions.ts:17
- kind: hook
- core: lo
- spec: (none)
- summary: Fetches all on-hold actions for the organization
- params:
- goalId — Optional goal ID to filter by
- score: 4
hook useOpenIssues
- file: src/cores/lo/hooks/useIssues.ts:105
- kind: hook
- core: lo
- spec: (none)
- summary: Fetch open issues (for meeting agenda)
- score: 4
hook useQuarterlyGoalMutation
- file: src/cores/lo/hooks/useQuarterlyGoals.ts:115
- kind: hook
- core: lo
- spec: (none)
- summary: Provide mutations for creating, updating, and deleting quarterly goals with automatic cache invalidation and user notifications.
- returns: An object containing mutation functions and pending-state flags:- — function to create a new quarterly goal.- — function to update an existing quarterly goal by id.- — function to delete a quarterly goal by id.- — if a create mutation is pending, otherwise.- — if an update mutation is pending, otherwise.- — if a delete mutation is pending, otherwise.
- score: 4
hook useQuarterlyGoals
- file: src/cores/lo/hooks/useQuarterlyGoals.ts:35
- kind: hook
- core: lo
- spec: (none)
- summary: Fetches quarterly goals for the current organization, applying optional filters.
- params:
- filters — Optional criteria to narrow results. Supported keys: , , , , , and (matches title or description, case-insensitive).
- returns: The React Query result whose data is an array of QuarterlyGoal items (returns an empty array when no organization is available or no goals match).
- score: 4
hook useReceivedFeedback
- file: src/cores/lo/hooks/useFeedback.ts:74
- kind: hook
- core: lo
- spec: (none)
- summary: Fetch feedback received by current user
- score: 4
hook useRecentArticles
- file: src/cores/lo/hooks/useKnowledgeArticles.ts:142
- kind: hook
- core: lo
- spec: (none)
- summary: Provides recent articles queries and mutation actions scoped to the current organization.
- score: 4
hook useRestoreArticleVersion
- file: src/cores/lo/hooks/useKnowledgeArticleVersions.ts:99
- kind: hook
- core: lo
- spec: LO-10
- summary: Provides a mutation that restores a knowledge-portal article to an earliersaved version (snapshotting the current content as a new version first).
- returns: A TanStack result; call / with , with / flags.
- score: 5
hook useRoleDefinitionMutation
- file: src/cores/lo/hooks/useRoleDefinitions.ts:104
- kind: hook
- core: lo
- spec: LO-02
- summary: Provides create, update, and delete mutations for accountability-chart roledefinitions scoped to the current organization, with toasts and queryinvalidation.
- returns: An object with , , and mutate functions plus // pending flags.
- score: 5
hook useRoleDefinitions
- file: src/cores/lo/hooks/useRoleDefinitions.ts:51
- kind: hook
- core: lo
- spec: LO-02
- summary: Fetches accountability-chart role definitions for the current organization,each joined to its parent role and with normalized, orderedby display order; optionally scoped to a chart and filtered by department orsearch.
- params:
- chartId — Optional accountability-chart id to scope roles to.
- filters — Optional (department, search text).
- returns: A TanStack Query result whose is an array of (with ); disabled until an organization is resolved.
- score: 5
hook useScorecard
- file: src/cores/lo/hooks/useScorecards.ts:54
- kind: hook
- core: lo
- spec: (none)
- summary: Provides scorecard queries and mutation actions scoped to the current organization.
- score: 4
hook useScorecardMetricMutation
- file: src/cores/lo/hooks/useScorecardMetrics.ts:105
- kind: hook
- core: lo
- spec: LO-05
- summary: Provides create, update, and remove mutations for scorecard metrics scopedto the current organization and user, with toasts and invalidation of boththe metrics and by-role caches.
- returns: An object exposing the , , and TanStack results (each with / and ).
- score: 5
hook useScorecardMetrics
- file: src/cores/lo/hooks/useScorecardMetrics.ts:22
- kind: hook
- core: lo
- spec: LO-05
- summary: Fetches the current organization’s scorecard metrics (KPIs), each joined toits owning role and any linked strategic goal, ordered by display order;optionally filtered by role, active state, or strategic goal.
- params:
- filters — Optional (role id, active flag, strategic goal id).
- returns: A TanStack Query result whose is an array of (with and ); disabled until an organization is resolved.
- score: 5
hook useScorecardMutation
- file: src/cores/lo/hooks/useScorecards.ts:133
- kind: hook
- core: lo
- spec: (none)
- summary: Provides scorecard mutation queries and mutation actions scoped to the current organization.
- score: 4
hook useScorecards
- file: src/cores/lo/hooks/useScorecards.ts:14
- kind: hook
- core: lo
- spec: (none)
- summary: Provides scorecards queries and mutation actions scoped to the current organization.
- score: 4
hook useScorecardValueMutation
- file: src/cores/lo/hooks/useScorecardValues.ts:57
- kind: hook
- core: lo
- spec: LO-05
- summary: Provides single and bulk upsert mutations plus a remove mutation forscorecard values, scoped to the current organization and user, with toastsand invalidation of both the values and scorecards caches.
- returns: An object exposing the , , and TanStack results (each with / and ).
- score: 5
hook useScorecardValues
- file: src/cores/lo/hooks/useScorecardValues.ts:22
- kind: hook
- core: lo
- spec: LO-05
- summary: Fetches the recorded weekly values for a scorecard in the currentorganization, each joined to its metric, ordered by creation time.
- params:
- scorecardId — The scorecard whose values to fetch, or undefined to disable the query.
- returns: A TanStack Query result whose is an array of (with relation); disabled until scorecard and organization are resolved.
- score: 5
hook useSearchArticles
- file: src/cores/lo/hooks/useKnowledgeArticles.ts:166
- kind: hook
- core: lo
- spec: (none)
- summary: Provides search articles queries and mutation actions scoped to the current organization.
- score: 4
hook useSeatAssignmentMutation
- file: src/cores/lo/hooks/useSeatAssignments.ts:102
- kind: hook
- core: lo
- spec: LO-02
- summary: Provides create, update, and delete mutations for accountability-chart seatassignments scoped to the current organization, with toasts and queryinvalidation.
- returns: An object with , , and mutate functions plus // pending flags.
- score: 5
hook useSeatAssignments
- file: src/cores/lo/hooks/useSeatAssignments.ts:31
- kind: hook
- core: lo
- spec: LO-02
- summary: Fetches accountability-chart seat assignments for the current organization,each joined to the assigned profile and role definition, newest start datefirst; optionally filtered by role, person, active state, or assignmenttype.
- params:
- filters — Optional (role id, profile id, active flag, assignment type).
- returns: A TanStack Query result whose is an array of (with and ); disabled until an organization is resolved.
- score: 5
hook useSMARTValidation
- file: src/cores/lo/hooks/useSMARTValidation.ts:56
- kind: hook
- core: lo
- spec: (none)
- summary: Provides SMART validation helpers and related settings derived from the LO module configuration.Exposes a validator for SMART goals, threshold and feature flags from module settings, a helper todetermine whether a goal can be created based on a SMART score, a score-category mapper, and thesettings loading state.
- returns: An object containing:- — Function that validates a goal object and returns a .- — if SMART validation is required by settings, otherwise.- — Numeric minimum SMART score required to create a goal when validation is required.- — if the SMART wizard is enabled by settings, otherwise.- — Function that accepts a score and returns if creation is allowed under current settings.- — Function that maps a numeric score to its score category.- — while module settings are still loading, otherwise.
- score: 4
hook useStrategicGoalMutation
- file: src/cores/lo/hooks/useStrategicGoals.ts:89
- kind: hook
- core: lo
- spec: (none)
- summary: Hook for managing strategic goal mutation.
- score: 1
hook useStrategicGoals
- file: src/cores/lo/hooks/useStrategicGoals.ts:27
- kind: hook
- core: lo
- spec: (none)
- summary: Fetches strategic goals for the current organization, optionally filtered by the provided criteria.
- params:
- filters — Optional filters to narrow results by , , , , or a term matched against title and description
- returns: A React Query result whose data is an array of objects matching the current organization and filters; if no organization is set the data will be an empty array
- score: 4
hook useStrategicGoalsByType
- file: src/cores/lo/hooks/useStrategicGoals.ts:82
- kind: hook
- core: lo
- spec: (none)
- summary: Hook for managing strategic goals by type.
- score: 1
hook useUpcomingMeetings
- file: src/cores/lo/hooks/useMeetings.ts:100
- kind: hook
- core: lo
- spec: LO-06
- summary: Fetches the current organization’s next scheduled or in-progress meetings(from now forward), ordered soonest first.
- params:
- limit — Maximum number of upcoming meetings to return (default 5).
- returns: A TanStack Query result whose is an array of upcoming ; disabled until an organization is resolved.
- score: 5
hook useUpcomingOneOnOnes
- file: src/cores/lo/hooks/useOneOnOnes.ts:125
- kind: hook
- core: lo
- spec: (none)
- summary: Fetch upcoming scheduled one-on-ones
- score: 4
hook useUpcomingSchedules
- file: src/cores/lo/hooks/useAssessmentSchedules.ts:106
- kind: hook
- core: lo
- spec: (none)
- summary: Provides upcoming schedules queries and mutation actions scoped to the current organization.
- score: 4
hook useVisionDocument
- file: src/cores/lo/hooks/useVisionDocument.ts:34
- kind: hook
- core: lo
- spec: (none)
- summary: Hook for managing vision document.
- score: 1
hook useVisionDocumentMutation
- file: src/cores/lo/hooks/useVisionDocument.ts:74
- kind: hook
- core: lo
- spec: (none)
- summary: Hook for managing vision document mutation.
- score: 1
Components
component AccountabilityChartPage
- file: src/cores/lo/pages/AccountabilityChartPage.tsx:26
- kind: component
- core: lo
- spec: (none)
- summary: Utility for accountability chart page.
- score: 1
component AccountabilitySummaryWidget
- file: src/cores/lo/components/dashboard/AccountabilitySummaryWidget.tsx:26
- kind: component
- core: lo
- spec: LO-02
- summary: LO dashboard widget summarizing the accountability chart: seat fill rate(filled vs. defined roles) shown as a progress bar, with a link to the fullchart. Takes no props; reads roles and active seat assignments for thecurrent organization. Renders a skeleton while loading.
- score: 5
component ActionChainView
- file: src/cores/lo/components/ActionChainView.tsx:26
- kind: component
- core: lo
- spec: (none)
- summary: Displays the dependency chain for an action:- Upstream: what this action depends on- Current: this action- Downstream: what depends on this action
- score: 2
component ActionDependencyGraph
- file: src/cores/lo/components/ActionDependencyGraph.tsx:40
- kind: component
- core: lo
- spec: (none)
- summary: Visual dependency graph for goal actions.Uses React Flow to render actions as nodes with edges showing dependencies.
- score: 2
component ActionDependencyIndicator
- file: src/cores/lo/components/ActionDependencyIndicator.tsx:30
- kind: component
- core: lo
- spec: (none)
- summary: Shows dependency info for an action:- If blocked: warning + “Blocked by: [title]”- If has dependency: arrow + “[title]”- If blocks others: count badge
- score: 2
component ActionDependencySelect
- file: src/cores/lo/components/ActionDependencySelect.tsx:35
- kind: component
- core: lo
- spec: (none)
- summary: Searchable dropdown for selecting action dependencies.Excludes current action and shows status/assignee info.
- score: 2
component ActionFilterBar
- file: src/cores/lo/components/ActionFilterBar.tsx:47
- kind: component
- core: lo
- spec: LO-15
- summary: Toolbar for filtering an action (to-do) list by status, priority, and adebounced text search. Renders active-filter badges and emits the updated via ; each control section can betoggled off.
- params:
- props — Current filters, the change handler, and optional flags to show/hide the search, priority, and status controls.
- score: 5
component ActionStatusBadge
- file: src/cores/lo/components/ActionStatusBadge.tsx:51
- kind: component
- core: lo
- spec: LO-15
- summary: Renders a colored badge for an action’s workflow status (not-started,in-progress, blocked, on-hold, needs-review, complete) with an optionalstatus icon and label at small or medium size.
- params:
- props — The action plus optional , , , and .
- score: 5
component ActionStatusSelect
- file: src/cores/lo/components/ActionStatusSelect.tsx:34
- kind: component
- core: lo
- spec: LO-15
- summary: Status dropdown for changing an action’s workflow status, enforcing theallowed state-machine transitions from (invalid targets aredisabled) and marking the current value.
- params:
- props — Selected , the action’s (transition source), an handler, and optional //.
- score: 5
component ActionStatusSelectInline
- file: src/cores/lo/components/ActionStatusSelect.tsx:90
- kind: component
- core: lo
- spec: LO-15
- summary: Inline, badge-triggered variant of the action status selector for use indense table rows: clicking the status badge opens a dropdown of validtransition targets. Falls back to a static badge when no transitions areavailable.
- params:
- props — Selected , the action’s (transition source), an handler, and optional .
- score: 5
component ArticleTableOfContents
- file: src/cores/lo/components/ArticleTableOfContents.tsx:34
- kind: component
- core: lo
- spec: LO-10
- summary: Sidebar table of contents for a knowledge-portal article: parses level 1-3Markdown headings from the article body, renders anchor links, and highlightsthe section currently in view, scrolling to a heading on click.
- params:
- props — The Markdown to extract headings from, plus an optional .
- score: 5
component ArticleTypeBadge
- file: src/cores/lo/components/ArticleTypeBadge.tsx:47
- kind: component
- core: lo
- spec: LO-10
- summary: Renders a labeled, optionally iconed badge for a knowledge-article type(process, best practice, training, FAQ, policy, general). Built on theshared factory.
- params:
- props — The article and optional (default true).
- score: 5
component ArticleVersionHistory
- file: src/cores/lo/components/ArticleVersionHistory.tsx:46
- kind: component
- core: lo
- spec: LO-10
- summary: Collapsible panel listing the saved version history of a knowledge-portalarticle, with per-version author and timestamp, a sanitized preview dialog,and a confirm-to-restore action that reverts the article to an earlierversion.
- params:
- props — The , tenant , acting , and an optional callback fired after a successful restore.
- score: 5
component AssessmentCard
- file: src/cores/lo/components/AssessmentCard.tsx:31
- kind: component
- core: lo
- spec: LO-09
- summary: Summary card for an organizational assessment/survey definition, showing itsname, type badge, and active/inactive state, with an overflow menu exposingview, edit, and delete actions.
- params:
- props — The to render plus optional , , and handlers.
- score: 5
component AssessmentDetailPage
- file: src/cores/lo/pages/AssessmentDetailPage.tsx:30
- kind: component
- core: lo
- spec: (none)
- summary: Utility for assessment detail page.
- score: 1
component AssessmentFormDialog
- file: src/cores/lo/components/AssessmentFormDialog.tsx:42
- kind: component
- core: lo
- spec: LO-09
- summary: Modal dialog for creating or editing an assessment/survey definition (name,type, description, active flag). Operates in edit mode when an existing is supplied, otherwise creates a new one via the assessmentmutation hook.
- params:
- props — Dialog state, its handler, and an optional to edit (omit to create).
- score: 5
component AssessmentResponsesTable
- file: src/cores/lo/components/AssessmentResponsesTable.tsx:45
- kind: component
- core: lo
- spec: LO-09
- summary: DataTable of individual respondent rows for a distributed assessment,showing each response’s status (pending, in-progress, submitted, skipped)with row actions to send a reminder or mark a response skipped.
- params:
- props — The to list, optional / row handlers, and an flag.
- score: 5
component AssessmentScheduleDetailPage
- file: src/cores/lo/pages/AssessmentScheduleDetailPage.tsx:27
- kind: component
- core: lo
- spec: (none)
- summary: Utility for assessment schedule detail page.
- score: 1
component AssessmentScheduleDialog
- file: src/cores/lo/components/AssessmentScheduleDialog.tsx:44
- kind: component
- core: lo
- spec: LO-09
- summary: Modal dialog for scheduling distribution of an assessment: sets the sendand due dates and the audience scope (all employees, by role, or bydepartment). Edits an existing when provided, otherwise createsone.
- params:
- props — Dialog state and handler, the target , and an optional existing to edit.
- score: 5
component AssessmentsPage
- file: src/cores/lo/pages/AssessmentsPage.tsx:26
- kind: component
- core: lo
- spec: (none)
- summary: Utility for assessments page.
- score: 1
component AssessmentTypeBadge
- file: src/cores/lo/components/AssessmentTypeBadge.tsx:34
- kind: component
- core: lo
- spec: LO-09
- summary: Renders a badge labeling an assessment’s type (organizational health,engagement, culture, or custom). Built on the shared factory.
- params:
- props — The assessment and an optional .
- score: 5
component CategoryTree
- file: src/cores/lo/components/CategoryTree.tsx:98
- kind: component
- core: lo
- spec: LO-10
- summary: Collapsible tree navigator for knowledge-portal categories, rendering nestedcategories with expand/collapse controls and a selectable “All” option;invokes with the chosen category (or null for “All”).
- params:
- props — The tree, the to highlight, an handler, and optional /.
- score: 5
component CoreValuesEditor
- file: src/cores/lo/components/CoreValuesEditor.tsx:32
- kind: component
- core: lo
- spec: LO-01
- summary: Editor for an organization’s EOS core values (3-7 recommended): add, edit,reorder, and remove values with name and description, persisting changes tothe vision document via its mutation hook.
- params:
- props — The whose are edited and saved.
- score: 5
component FeedbackCard
- file: src/cores/lo/components/FeedbackCard.tsx:37
- kind: component
- core: lo
- spec: LO-08
- summary: Card displaying a single piece of feedback (praise, concern, or suggestion)with its type badge, message, and optionally the recipient and provider;the whole card is clickable when an handler is supplied.
- params:
- props — The to render, optional / toggles, and an optional handler.
- score: 5
component FeedbackFormDialog
- file: src/cores/lo/components/FeedbackFormDialog.tsx:44
- kind: component
- core: lo
- spec: LO-08
- summary: Modal dialog for giving or editing feedback: select recipient, type(praise/concern/suggestion), and message, optionally tied to a 1-on-1.Operates in edit mode when an existing is passed, otherwisecreates new feedback.
- params:
- props — Dialog open state and handler, tenant , selectable /, the acting , an optional existing , and optional / context.
- score: 5
component FeedbackPage
- file: src/cores/lo/pages/FeedbackPage.tsx:26
- kind: component
- core: lo
- spec: (none)
- summary: Utility for feedback page.
- score: 1
component FeedbackTypeBadge
- file: src/cores/lo/components/FeedbackTypeBadge.tsx:35
- kind: component
- core: lo
- spec: LO-08
- summary: Renders a colored, iconed badge for a feedback type (praise, concern, orsuggestion). Built on the shared factory.
- params:
- props — The feedback and an optional .
- score: 5
component GoalActionsEditor
- file: src/cores/lo/components/GoalActionsEditor.tsx:37
- kind: component
- core: lo
- spec: (none)
- summary: Inline editor for viewing and managing actions associated with a goal.LO-14: Added dependency selection and graph visualization.
- score: 2
component GoalAssignmentEditor
- file: src/cores/lo/components/GoalAssignmentEditor.tsx:26
- kind: component
- core: lo
- spec: (none)
- summary: Render an inline editor for managing team members assigned to a goal.
- params:
- goalId — The identifier of the goal whose team assignments are being managed
- returns: A React element containing the assignment list, add-member dialog, and controls for adding, removing, and toggling primary ownership
- score: 2
component GoalCompletionDialog
- file: src/cores/lo/components/GoalCompletionDialog.tsx:34
- kind: component
- core: lo
- spec: (none)
- summary: Render a dialog that lets the user mark a quarterly goal as complete.The dialog shows a completion date (defaulting to today) and an optional notes field,and submits the selected date and notes to complete the goal. On successful completion,the dialog is closed and notes are cleared.
- params:
- open — Whether the dialog is visible
- onOpenChange — Callback to update the dialog visibility
- goal — The quarterly goal to mark as complete
- returns: The dialog element for completing the specified goal
- score: 2
component GoalDashboardPage
- file: src/cores/lo/pages/GoalDashboardPage.tsx:44
- kind: component
- core: lo
- spec: (none)
- summary: Renders the Goals Dashboard page showing quarterly goals, summary statistics, and controls to filter by quarter and year.The page fetches goals for the selected quarter and fiscal year, displays loading skeletons while fetching, shows summary cards(total, completed, at risk, average progress), an at-risk alert when applicable, a list of goals with status, owner, due date and progress,and a dialog to add a new quarterly goal.
- returns: The rendered Goals Dashboard React element.
- score: 2
component GoalDetailPage
- file: src/cores/lo/pages/GoalDetailPage.tsx:70
- kind: component
- core: lo
- spec: (none)
- summary: Render the Goal detail page with progress, actions, team assignments, SMART score, and edit/complete/review dialogs.The component fetches the current quarterly goal and related actions/assignments, displays loading skeletons while data loads,shows a not-found card if the goal is missing, and provides UI to revalidate SMART scoring, edit the goal, mark it complete, and add a review.
- returns: The React element for the Goal detail page; renders skeletons while loading or a “Goal not found” card when the goal cannot be found.
- score: 2
component GoalQualityDashboardPage
- file: src/cores/lo/pages/GoalQualityDashboardPage.tsx:26
- kind: component
- core: lo
- spec: (none)
- summary: Renders the Goal Quality Analytics dashboard page with filters, summary metrics, charts, and a low-score goals table.The page provides a goal-type filter and displays summary cards (total goals, average score, excellent percentage, needs-improvement count), a score distribution chart, a goals-by-type chart, and a table of low-scoring goals, using analytics data from the hook.
- returns: A React element rendering the Goal Quality Analytics dashboard.
- score: 2
component GoalQualitySummaryCards
- file: src/cores/lo/components/analytics/GoalQualitySummaryCards.tsx:28
- kind: component
- core: lo
- spec: (none)
- summary: Render a responsive grid of four summary cards showing goal quality metrics or skeletons while loading.
- params:
- totalGoals — Total number of goals to display
- averageScore — Average score value to display
- excellentPercentage — Percentage of excellent goals (0–100); displayed with a trailing
- needsImprovementCount — Number of goals needing improvement; also controls the visual emphasis of that card when greater than zero
- isLoading — If , render skeleton placeholders instead of metric cards
- returns: A JSX element containing a responsive 2–4 column grid of the four metric cards or loading skeletons
- score: 2
component GoalQualityWidget
- file: src/cores/lo/components/dashboard/GoalQualityWidget.tsx:24
- kind: component
- core: lo
- spec: (none)
- summary: Renders a “Goal Quality” dashboard widget that displays goal-quality analytics.Shows a loading placeholder while analytics are being fetched. When data is available,presents either an empty-state message if no goals have been scored or the average SMART score,its qualitative category, a progress bar, and summary statistics, plus a link to the full analytics page.
- returns: A JSX element containing the Goal Quality card widget.
- score: 2
component GoalReviewDialog
- file: src/cores/lo/components/GoalReviewDialog.tsx:33
- kind: component
- core: lo
- spec: (none)
- summary: Render a dialog for reviewing and submitting a numeric score and optional notes for a completed quarterly goal.The dialog lets the user choose a score (1–10), enter optional review notes, and submit the review. On successful submission the dialog is closed and the local score and notes are reset. While submission is in progress the submit button is disabled and shows a saving state.
- params:
- open — Whether the dialog is visible
- onOpenChange — Callback invoked with the new open state when the dialog should be opened or closed
- goal — The quarterly goal being reviewed
- returns: The review dialog element
- score: 2
component GoalsByTypeChart
- file: src/cores/lo/components/analytics/GoalsByTypeChart.tsx:31
- kind: component
- core: lo
- spec: (none)
- summary: Renders a card that shows average SMART scores by goal type as a vertical bar chart.Filters out goal types with equal to 0 and displays one of:- a loading skeleton when is true,- an empty-state message when no scored data remains,- or a vertical bar chart with per-type colors and a tooltip formatted as . - data: Array of goal-type entries (each should include , , and ) - isLoading: When true, shows a loading placeholder instead of the chart
- returns: A Card containing either a loading skeleton, an empty-state message, or a vertical bar chart of average scores by goal type
- score: 2
component GoalsProgressWidget
- file: src/cores/lo/components/dashboard/GoalsProgressWidget.tsx:24
- kind: component
- core: lo
- spec: (none)
- summary: Displays a card summarizing current quarter goals and their progress.Shows a loading skeleton while goals are being fetched. When data is available,presents the average progress, badges for completed, on-track, and at-risk counts,up to four goal entries with per-goal progress and links to each goal, and a link to view all goals.If there are no goals for the quarter, shows a centered message and a link to create the first goal.
- returns: A JSX element containing the goals progress widget for the current quarter.
- score: 2
component GWCAssessmentCard
- file: src/cores/lo/components/GWCAssessmentCard.tsx:42
- kind: component
- core: lo
- spec: LO-02
- summary: Card summarizing a GWC (Get-it / Want-it / Capacity) people assessment for aseat holder, including the keep/develop/move/replace recommendation badge.Shows an empty “No GWC assessment” prompt when is null;clickable when is provided.
- params:
- props — The (or null for the empty state), an optional layout flag, and an optional handler.
- score: 5
component GWCAssessmentDialog
- file: src/cores/lo/components/GWCAssessmentDialog.tsx:45
- kind: component
- core: lo
- spec: LO-02
- summary: Modal dialog for recording a GWC (Get-it / Want-it / Capacity) assessmentagainst a seat assignment, capturing the three ratings plus akeep/develop/move/replace recommendation. Edits an whensupplied, otherwise creates a new one.
- params:
- props — Dialog open state and handler, the target (or null), and an optional to edit.
- score: 5
component IssueCard
- file: src/cores/lo/components/IssueCard.tsx:28
- kind: component
- core: lo
- spec: LO-07
- summary: Summary card for an EOS issue (IDR list item) showing its title, owner,priority and status badges, navigating to the issue detail on click.
- params:
- props — The to render.
- score: 5
component IssueDetailPage
- file: src/cores/lo/pages/IssueDetailPage.tsx:35
- kind: component
- core: lo
- spec: (none)
- summary: Utility for issue detail page.
- score: 1
component IssueDiscussionThread
- file: src/cores/lo/components/IssueDiscussionThread.tsx:34
- kind: component
- core: lo
- spec: LO-07
- summary: Threaded discussion panel for an issue’s IDR (Identify-Discuss-Resolve)process, listing discussion entries with authors and supporting add, edit,and delete of comments.
- params:
- props — The , tenant , and acting .
- score: 5
component IssueFormDialog
- file: src/cores/lo/components/IssueFormDialog.tsx:46
- kind: component
- core: lo
- spec: LO-07
- summary: Modal dialog for creating or editing an EOS issue (title, description,priority, owner), optionally associating it with a meeting. Edits anexisting when supplied, otherwise creates a new one.
- params:
- props — Dialog open state and handler, tenant , acting , an optional to edit, and an optional to link the issue to.
- score: 5
component IssuePriorityBadge
- file: src/cores/lo/components/IssuePriorityBadge.tsx:37
- kind: component
- core: lo
- spec: LO-07
- summary: Renders a colored badge for an issue’s priority (high, medium, or low) atdefault or small size. Built on the shared factory.
- params:
- props — The issue and an optional .
- score: 5
component IssueResolutionForm
- file: src/cores/lo/components/IssueResolutionForm.tsx:31
- kind: component
- core: lo
- spec: LO-07
- summary: Form for resolving an EOS issue by capturing its root cause and resolutionnotes, then marking the issue resolved via the issue mutation hook.
- params:
- props — The being resolved, the acting , and an optional callback fired after a successful resolution.
- score: 5
component IssuesPage
- file: src/cores/lo/pages/IssuesPage.tsx:24
- kind: component
- core: lo
- spec: (none)
- summary: Utility for issues page.
- score: 1
component IssueStatusBadge
- file: src/cores/lo/components/IssueStatusBadge.tsx:34
- kind: component
- core: lo
- spec: LO-07
- summary: Renders a badge for an issue’s IDR status (open, discussing, resolved, orclosed) at default or small size.
- params:
- props — The issue and an optional .
- score: 5
component KnowledgeArticleCard
- file: src/cores/lo/components/KnowledgeArticleCard.tsx:31
- kind: component
- core: lo
- spec: LO-10
- summary: Card preview for a knowledge-portal article, showing its title, type badge,author, and optionally its category, in a full or compact layout.
- params:
- props — The to render, plus optional and layout flags.
- score: 5
component KnowledgeArticleEditorPage
- file: src/cores/lo/pages/KnowledgeArticleEditorPage.tsx:39
- kind: component
- core: lo
- spec: (none)
- summary: Utility for knowledge article editor page.
- score: 1
component KnowledgeArticlePage
- file: src/cores/lo/pages/KnowledgeArticlePage.tsx:26
- kind: component
- core: lo
- spec: (none)
- summary: Utility for knowledge article page.
- score: 1
component KnowledgeCategoriesPage
- file: src/cores/lo/pages/KnowledgeCategoriesPage.tsx:27
- kind: component
- core: lo
- spec: (none)
- summary: Utility for knowledge categories page.
- score: 1
component KnowledgePortalAskAI
- file: src/cores/lo/components/KnowledgePortalAskAI.tsx:23
- kind: component
- core: lo
- spec: (none)
- summary: LO clean-ops: “Ask AI” over the knowledge portal (RAG-lite). Retrieves theorg’s published articles as grounding context and synthesizes a cited answer.Renders nothing unless LO AI is enabled. Answers strictly from the articles(no hallucination); shows which articles were cited.
- score: 2
component KnowledgePortalPage
- file: src/cores/lo/pages/KnowledgePortalPage.tsx:25
- kind: component
- core: lo
- spec: (none)
- summary: Utility for knowledge portal page.
- score: 1
component KnowledgeSearchBar
- file: src/cores/lo/components/KnowledgeSearchBar.tsx:34
- kind: component
- core: lo
- spec: LO-10
- summary: Type-ahead search input for the knowledge portal that queries articles forthe given organization and shows matching results (with type badges) in apopover for quick navigation.
- params:
- props — The tenant to scope the search, plus optional and .
- score: 5
component LOOverview
- file: src/cores/lo/pages/LOOverview.tsx:49
- kind: component
- core: lo
- spec: (none)
- summary: Utility for looverview.
- score: 1
component LOSettingsForm
- file: src/cores/lo/components/LOSettingsForm.tsx:107
- kind: component
- core: lo
- spec: none
- summary: Render the Leadership Operating System settings form with tabs for Vision,Goals, SMART, People, Meetings, Scorecards, Issues, and Knowledge.Renders a multi-tab form driven by a Zod-validated react-hook-form instanceand pre-populated default values; submitting the form invokes the providedcallback with validated settings.
- params:
- props — Form props: (partial settings used to seed fields, with sensible defaults for anything omitted), (callback invoked with the validated values on submit), and (disables the submit button and switches its label to a saving state while true).
- score: 5
component LOSettingsPage
- file: src/cores/lo/pages/LOSettingsPage.tsx:24
- kind: component
- core: lo
- spec: (none)
- summary: Utility for losettings page.
- score: 1
component LowScoreGoalsTable
- file: src/cores/lo/components/analytics/LowScoreGoalsTable.tsx:33
- kind: component
- core: lo
- spec: LO-12
- summary: DataTable card listing goals with low SMART scores, showing each goal’stitle, type, SMART-score badge, and primary issue, with a link out to thegoal for remediation. Used on the goal-quality analytics view.
- params:
- props — The to display (see ) and an flag for the skeleton state.
- score: 5
component MeetingActionItemsPanel
- file: src/cores/lo/components/MeetingActionItemsPanel.tsx:48
- kind: component
- core: lo
- spec: LO-06
- summary: Panel for managing a meeting’s action items: lists existing items and letsusers add new ones with a description, assignee, and due date, capturingfollow-ups that come out of a structured meeting.
- params:
- props — The whose action items are listed and edited.
- score: 5
component MeetingAgendaEditor
- file: src/cores/lo/components/MeetingAgendaEditor.tsx:31
- kind: component
- core: lo
- spec: LO-06
- summary: Editor for a meeting’s agenda: add, edit, reorder, and check off agendaitems (each with a title and time-box duration), persisting changes to themeeting via its mutation hook.
- params:
- props — The whose items are edited and saved.
- score: 5
component MeetingAttendeesManager
- file: src/cores/lo/components/MeetingAttendeesManager.tsx:57
- kind: component
- core: lo
- spec: LO-06
- summary: Manager for a meeting’s attendee roster: lists current attendees and letsusers add organization members (via a picker dialog) or remove them.
- params:
- props — The whose attendees are managed.
- score: 5
component MeetingCard
- file: src/cores/lo/components/MeetingCard.tsx:46
- kind: component
- core: lo
- spec: LO-06
- summary: Summary card for a structured meeting (Level 10, quarterly, annual, etc.)showing its type, scheduled date, and status, in a full or compact layout;clickable when is provided.
- params:
- props — The to render, plus optional layout and handler.
- score: 5
component MeetingDetailPage
- file: src/cores/lo/pages/MeetingDetailPage.tsx:51
- kind: component
- core: lo
- spec: (none)
- summary: Utility for meeting detail page.
- score: 1
component MeetingFormDialog
- file: src/cores/lo/components/MeetingFormDialog.tsx:55
- kind: component
- core: lo
- spec: LO-06
- summary: Modal dialog for scheduling or editing a structured meeting (title, type,date, duration). Edits an existing when supplied, otherwisecreates a new one via the meeting mutation hook.
- params:
- props — Dialog state, its handler, and an optional to edit (omit to create).
- score: 5
component MeetingNotesEditor
- file: src/cores/lo/components/MeetingNotesEditor.tsx:33
- kind: component
- core: lo
- spec: LO-06
- summary: Editor for a meeting’s notes and recorded decisions: free-form meeting notesplus an add/remove list of decisions, persisting changes to the meeting viaits mutation hook.
- params:
- props — The whose notes and decisions are edited and saved.
- score: 5
component MeetingsPage
- file: src/cores/lo/pages/MeetingsPage.tsx:30
- kind: component
- core: lo
- spec: (none)
- summary: Utility for meetings page.
- score: 1
component MetricFormDialog
- file: src/cores/lo/components/MetricFormDialog.tsx:54
- kind: component
- core: lo
- spec: LO-05
- summary: Modal dialog for creating or editing a scorecard metric (KPI): name, owningrole, goal/target, measurement, and display order. Edits an existing when supplied, otherwise creates a new one.
- params:
- props — Dialog open state and handler, the to edit (or null to create), and the selectable owner .
- score: 5
component MyAssessmentsPage
- file: src/cores/lo/pages/MyAssessmentsPage.tsx:25
- kind: component
- core: lo
- spec: (none)
- summary: Utility for my assessments page.
- score: 1
component MyTodosWidget
- file: src/cores/lo/components/dashboard/MyTodosWidget.tsx:32
- kind: component
- core: lo
- spec: LO-04
- summary: LO dashboard widget listing the signed-in user’s pending and overdue to-doswith priority and due-date cues, inline completion checkboxes, and reordersupport. Takes no props; reads tasks assigned to the current user in theactive organization. Renders a skeleton while loading.
- score: 5
component OneOnOneCard
- file: src/cores/lo/components/OneOnOneCard.tsx:28
- kind: component
- core: lo
- spec: LO-08
- summary: Summary card for a scheduled 1-on-1 meeting showing its participants, date,and status badge; clickable when is provided.
- params:
- props — The to render and an optional handler.
- score: 5
component OneOnOneDetailPage
- file: src/cores/lo/pages/OneOnOneDetailPage.tsx:43
- kind: component
- core: lo
- spec: (none)
- summary: Utility for one on one detail page.
- score: 1
component OneOnOneFormDialog
- file: src/cores/lo/components/OneOnOneFormDialog.tsx:49
- kind: component
- core: lo
- spec: LO-08
- summary: Modal dialog for scheduling or editing a 1-on-1 meeting between a managerand a report (participants, date). Edits an existing whensupplied, otherwise creates a new one.
- params:
- props — Dialog open state and handler, tenant , selectable , the acting , and an optional existing to edit.
- score: 5
component OneOnOneNotesEditor
- file: src/cores/lo/components/OneOnOneNotesEditor.tsx:33
- kind: component
- core: lo
- spec: LO-08
- summary: Editor for the discussion notes captured during a 1-on-1 meeting,persisting changes via the 1-on-1 mutation hook. Renders read-only when theviewer is not the note owner.
- params:
- props — The whose notes are edited, the acting , and an optional flag.
- score: 5
component OneOnOnesPage
- file: src/cores/lo/pages/OneOnOnesPage.tsx:26
- kind: component
- core: lo
- spec: (none)
- summary: Utility for one on ones page.
- score: 1
component OneOnOnesSummaryWidget
- file: src/cores/lo/components/dashboard/OneOnOnesSummaryWidget.tsx:28
- kind: component
- core: lo
- spec: LO-08
- summary: LO dashboard widget listing the current organization’s upcoming 1-on-1meetings (from today forward) with participant avatars and relative dates,linking to the 1-on-1s view. Takes no props. Renders a skeleton whileloading.
- score: 5
component OneOnOneStatusBadge
- file: src/cores/lo/components/OneOnOneStatusBadge.tsx:35
- kind: component
- core: lo
- spec: LO-08
- summary: Renders an iconed badge for a 1-on-1 meeting’s status (scheduled, completed,cancelled, or no-show).
- params:
- props — The 1-on-1 and an optional .
- score: 5
component OpenIssuesWidget
- file: src/cores/lo/components/dashboard/OpenIssuesWidget.tsx:25
- kind: component
- core: lo
- spec: LO-07
- summary: LO dashboard widget surfacing the current organization’s open issues groupedby priority, linking to the issues (IDR) list. Takes no props. Renders askeleton while loading.
- score: 5
component OrgChartTree
- file: src/cores/lo/components/OrgChartTree.tsx:67
- kind: component
- core: lo
- spec: LO-02
- summary: Visual accountability-chart tree rendering the role hierarchy with seatholders and per-seat GWC (Get-it / Want-it / Capacity) indicators, exposingactions to edit a role, assign a seat, or run a GWC assessment.
- params:
- props — The (parent/child hierarchy) and seat , plus , , and optional action handlers.
- score: 5
component PendingAssessmentsWidget
- file: src/cores/lo/components/dashboard/PendingAssessmentsWidget.tsx:24
- kind: component
- core: lo
- spec: LO-09
- summary: LO dashboard widget listing assessment/survey responses the signed-in userstill owes, linking to complete them. Takes no props; reads the currentuser’s pending assessment responses. Renders a skeleton while loading.
- score: 5
component QuarterlyGoalDialog
- file: src/cores/lo/components/QuarterlyGoalDialog.tsx:64
- kind: component
- core: lo
- spec: (none)
- summary: Render a dialog for creating or editing a quarterly goal (90-day priority).The dialog manages local form state, integrates SMART validation and an optional SMART wizard,supports selecting quarter, year, dates, status, executive sponsor and progress, and performscreate, update, and delete mutations via the quarterly goal mutation hook.
- params:
- open — Controls whether the dialog is visible
- onOpenChange — Callback invoked when the dialog open state should change
- goal — If provided, the dialog loads this goal for editing; if null, the dialog creates a new goal
- returns: The QuarterlyGoal dialog React element
- score: 2
component QuarterlyGoalsSection
- file: src/cores/lo/components/QuarterlyGoalsSection.tsx:47
- kind: component
- core: lo
- spec: (none)
- summary: Render the Quarterly Goals section: header with current quarter, overall progress summary,a list of goals (or empty state), and a dialog for adding or editing a goal.When is true a skeleton placeholder is rendered instead of the content.
- params:
- goals — The list of quarterly goals to display.
- isLoading — Whether the section is in a loading state.
- returns: A React element containing the quarterly goals overview, goals list (or empty state), and the add/edit goal dialog.
- score: 2
component ResponseRateCard
- file: src/cores/lo/components/ResponseRateCard.tsx:35
- kind: component
- core: lo
- spec: LO-09
- summary: Stat card summarizing assessment distribution response rates: totalrecipients and counts of pending, started, submitted, and skippedresponses, with the derived completion rate.
- params:
- props — The plus , , , and for the distribution.
- score: 5
component RichContentEditor
- file: src/cores/lo/components/RichContentEditor.tsx:34
- kind: component
- core: lo
- spec: LO-10
- summary: Controlled rich-text content editor used for authoring knowledge-portalarticle bodies, emitting the edited content via .
- params:
- props — The controlled , an handler, and optional , , and .
- score: 5
component RoleDefinitionDialog
- file: src/cores/lo/components/RoleDefinitionDialog.tsx:41
- kind: component
- core: lo
- spec: LO-02
- summary: Modal dialog for creating, editing, or deleting an accountability-chart roledefinition, including its name, parent role, and key functions/roles. Editsan existing when supplied, otherwise creates a new one under thegiven chart.
- params:
- props — Dialog open state and handler, the owning , and the to edit (or null to create).
- score: 5
component ScheduleStatusBadge
- file: src/cores/lo/components/ScheduleStatusBadge.tsx:33
- kind: component
- core: lo
- spec: LO-09
- summary: Renders a badge for an assessment schedule’s status (scheduled,distributed, or closed).
- params:
- props — The schedule and an optional .
- score: 5
component ScorecardDetailPage
- file: src/cores/lo/pages/ScorecardDetailPage.tsx:36
- kind: component
- core: lo
- spec: (none)
- summary: Utility for scorecard detail page.
- score: 1
component ScorecardMetricsPage
- file: src/cores/lo/pages/ScorecardMetricsPage.tsx:19
- kind: component
- core: lo
- spec: (none)
- summary: Utility for scorecard metrics page.
- score: 1
component ScorecardsPage
- file: src/cores/lo/pages/ScorecardsPage.tsx:27
- kind: component
- core: lo
- spec: (none)
- summary: Utility for scorecards page.
- score: 1
component ScorecardsTrendWidget
- file: src/cores/lo/components/dashboard/ScorecardsTrendWidget.tsx:24
- kind: component
- core: lo
- spec: LO-05
- summary: LO dashboard widget giving a high-level overview of the currentorganization’s scorecards and their metrics, linking to the full scorecardview. Takes no props. Renders a skeleton while loading.
- score: 5
component ScorecardTable
- file: src/cores/lo/components/ScorecardTable.tsx:93
- kind: component
- core: lo
- spec: LO-05
- summary: Weekly scorecard matrix: renders metrics as rows and recent weeks ascolumns, color-coding each cell against the metric’s target andwarning/critical thresholds (respecting ) and formattingvalues by metric type (currency, percentage, or number).
- params:
- props — The (rows), the providing weekly values, and an optional count (default 8).
- score: 5
component ScorecardValueEditor
- file: src/cores/lo/components/ScorecardValueEditor.tsx:34
- kind: component
- core: lo
- spec: LO-05
- summary: Inline editor for one week’s value of a scorecard metric, capturing theactual value, trend direction, and an optional note, emitting per-fieldchanges via .
- params:
- props — The being recorded, the current state, an field handler, and an optional flag.
- score: 5
component ScoreDistributionChart
- file: src/cores/lo/components/analytics/ScoreDistributionChart.tsx:23
- kind: component
- core: lo
- spec: (none)
- summary: Render a card that displays score distribution as a pie chart, or a loading / empty state when appropriate.
- params:
- data — Array of score distribution entries; entries with less than or equal to 0 are ignored.
- isLoading — When , show a skeleton placeholder instead of chart content.
- returns: The card element: a loading skeleton when is , a centered “No scored goals yet” message when no entries remain after filtering, or a pie chart that visualizes counts per category with colored slices, labels, tooltip, and legend.
- score: 2
component SeatAssignmentDialog
- file: src/cores/lo/components/SeatAssignmentDialog.tsx:46
- kind: component
- core: lo
- spec: LO-02
- summary: Modal dialog for assigning a person to an accountability-chart seat (role),choosing the assignment type (primary, secondary, or interim).
- params:
- props — Dialog open state and handler, plus the target (or null) to assign a seat for.
- score: 5
component SMARTAIFeedbackCard
- file: src/cores/lo/components/SMARTAIFeedbackCard.tsx:24
- kind: component
- core: lo
- spec: (none)
- summary: LO Lane Q: optional AI coaching on a goal’s SMART quality, surfaced on thewizard review step. Advisory only (the heuristic score still governs creation);renders nothing unless LO AI is enabled for the org.
- score: 2
component SMARTCriterionFeedback
- file: src/cores/lo/components/SMARTCriterionFeedback.tsx:27
- kind: component
- core: lo
- spec: (none)
- summary: Render validation feedback for a single SMART criterion.
- params:
- label — Visible label for the criterion
- result — Object with the criterion’s , , flag, and textual
- icon — Optional leading icon to display next to the label
- className — Optional additional class names applied to the outer container
- returns: A JSX element that displays the criterion label, score (as ), a status icon, a progress bar reflecting the score percentage, and the feedback text
- score: 2
component SMARTGoalWizard
- file: src/cores/lo/components/SMARTGoalWizard.tsx:52
- kind: component
- core: lo
- spec: (none)
- summary: Displays a six-step modal wizard for creating and validating a SMART goal.The wizard walks through Specific, Measurable, Achievable, Relevant, Time-bound, and Review steps,enforces validation rules from useSMARTValidation, and exposes navigation, skip, and completion actions.
- params:
- open — Whether the wizard dialog is visible
- onOpenChange — Callback invoked when the dialog visibility should change
- onComplete — Callback invoked when the user completes the wizard; receives the created goal (partial QuarterlyGoal) and the SMART validation result
- initialGoal — Optional partial QuarterlyGoal used to prefill the wizard fields
- returns: The rendered SMART Goal Wizard component
- score: 2
component SMARTScoreBadge
- file: src/cores/lo/components/SMARTScoreBadge.tsx:46
- kind: component
- core: lo
- spec: (none)
- summary: Render a colored SMART score badge with an optional category label and tooltip breakdown.When is provided the badge is wrapped in a tooltip that shows per-dimension(Specific, Measurable, Achievable, Relevant, Time-bound) scores.
- params:
- score — The SMART score value (0–100) to display inside the badge
- validation — Optional SMART validation object; when present enables the tooltip breakdown
- size — Visual size of the badge; one of (default: )
- showLabel — If , append the category label next to the score (default: )
- className — Additional CSS classes to apply to the badge container
- returns: A React element containing the colored score badge, or the badge wrapped in a tooltip with the SMART score breakdown when is provided
- score: 2
component SMARTStepAchievable
- file: src/cores/lo/components/smart-wizard/SMARTStepAchievable.tsx:25
- kind: component
- core: lo
- spec: (none)
- summary: Renders the “Achievable” step of a SMART goals wizard, including start/end date inputs, a computed duration display when both dates are provided, practical tips, and an Achievable criterion feedback block.
- returns: The JSX element for the Achievable step: start and end date controls, an optional duration summary, a tips panel, and a SMART criterion feedback component.
- score: 2
component SMARTStepMeasurable
- file: src/cores/lo/components/smart-wizard/SMARTStepMeasurable.tsx:28
- kind: component
- core: lo
- spec: (none)
- summary: Render the “Make it Measurable” step UI for the SMART wizard.Displays the current goal title, an editable metrics textarea with helper text and examples,and a feedback row computed from .
- params:
- title — The current goal title to display (shows “No title yet” if empty)
- description — The metrics / success-criteria text bound to the textarea
- onDescriptionChange — Called with the updated description when the textarea changes
- returns: The rendered React element for the measurable step
- score: 2
component SMARTStepRelevant
- file: src/cores/lo/components/smart-wizard/SMARTStepRelevant.tsx:27
- kind: component
- core: lo
- spec: (none)
- summary: Render the “Make it Relevant” step UI that lets users link a SMART goal to a strategic goal.Displays a select populated with available strategic goals, shows a contextual confirmationor guidance panel depending on whether a goal is selected, and renders relevance feedback.
- params:
- strategicGoalId — The currently selected strategic goal id (empty string when not linked)
- onStrategicGoalChange — Callback invoked with the new strategic goal id when the selection changes
- returns: The step’s JSX element containing the select control, informational panels, and feedback component
- score: 2
component SMARTStepReview
- file: src/cores/lo/components/smart-wizard/SMARTStepReview.tsx:31
- kind: component
- core: lo
- spec: (none)
- summary: Render a SMART score review UI for a goal, showing the total score, category badge,optional creation status (when required), and a breakdown of each SMART criterion.
- params:
- title — The goal’s title; displays “Untitled Goal” when empty
- description — Optional goal description displayed below the title
- validation — SMARTValidationResult containing and per-criterion results
- minimumScore — Minimum score required to allow creation; defaults to 70
- required — When true, enforces and displays a status message
- returns: The JSX element for the SMART score review panel
- score: 2
component SMARTStepSpecific
- file: src/cores/lo/components/smart-wizard/SMARTStepSpecific.tsx:30
- kind: component
- core: lo
- spec: (none)
- summary: Render the “Specific” step UI for the SMART goals flow.Validates the provided title and description and displays input fields and feedback for the “Specific” criterion.
- params:
- title — Current goal title value
- description — Current goal description value describing what defines “done”
- onTitleChange — Callback invoked with the new title when the title input changes
- onDescriptionChange — Callback invoked with the new description when the description textarea changes
- returns: The React element for the “Specific” step, including title and description inputs and validation feedback
- score: 2
component SMARTStepTimeBound
- file: src/cores/lo/components/smart-wizard/SMARTStepTimeBound.tsx:21
- kind: component
- core: lo
- spec: (none)
- summary: Render a “Time-bound Review” step that displays start/end dates, a computed timeline status (starts soon, active with days remaining, or expired), deadline best-practices, and SMART time-bound feedback.
- params:
- startDate — Start date string parseable by ; pass a falsy value to indicate the start date is not set
- endDate — End date string parseable by ; pass a falsy value to indicate the end date is not set
- returns: The JSX element for the Time-bound review UI
- score: 2
component StrategicGoalDialog
- file: src/cores/lo/components/StrategicGoalDialog.tsx:60
- kind: component
- core: lo
- spec: (none)
- summary: Render a dialog for creating or editing a strategic goal with live SMART validation, sponsor selection, and category/status/target controls.
- params:
- open — Whether the dialog is open
- onOpenChange — Callback invoked with the new open state
- goal — Existing goal to edit, or to create a new goal
- goalType — Determines the goal horizon displayed (e.g., one-year vs three-year)
- returns: The dialog element for creating or editing a strategic goal
- score: 2
component StrategicGoalsSection
- file: src/cores/lo/components/StrategicGoalsSection.tsx:44
- kind: component
- core: lo
- spec: (none)
- summary: Render the strategic goals section with separate 3-year and 1-year lists, add buttons, and editable goal rows.Renders skeletons when loading, shows SMART score badges when present, and opens the goal dialog for adding or editing goals.
- params:
- goals — Array of strategic goals to display. Individual goals may include optional SMART fields (, ) which will be shown when present.
- isLoading — If true, displays loading placeholders instead of the goal lists.
- returns: The JSX element for the Strategic Goals section.
- score: 2
component TodoCard
- file: src/cores/lo/components/TodoCard.tsx:52
- kind: component
- core: lo
- spec: (none)
- summary: Renders a todo item as an interactive card showing title, description, priority, due date, linked goal, and assignee.Clicking the card navigates to the todo detail page; the status toggle updates the todo’s completion status.
- params:
- todo — The todo item to display
- returns: The rendered Todo card element
- score: 2
component TodoCardSwipeable
- file: src/cores/lo/components/TodoCardSwipeable.tsx:26
- kind: component
- core: lo
- spec: (none)
- summary: Renders a wrapped with mobile swipe actions:left → toggle complete/reopen, right → delete.
- score: 2
component TodoCommentThread
- file: src/cores/lo/components/TodoCommentThread.tsx:33
- kind: component
- core: lo
- spec: LO-04
- summary: Comment thread for a to-do, listing existing comments (mapped from theplatform tasks domain) with authors and providing an input to add new ones.
- params:
- props — The whose comments are shown and the tenant .
- score: 5
component TodoDetailPage
- file: src/cores/lo/pages/TodoDetailPage.tsx:46
- kind: component
- core: lo
- spec: (none)
- summary: Renders the Todo detail page showing a single to-do’s metadata, actions, comments, and linked goal.Displays a loading skeleton while the to-do is being fetched, a “To-do not found” message if the item does not exist, and the full detail view when data is available. The detail view includes title, status/priority/overdue badges, description, comment thread, assignee, dates, linked goal, and action controls for completing, starting, cancelling, editing, and deleting the to-do.
- returns: The page UI for viewing and managing a single to-do item
- score: 2
component TodoFormDialog
- file: src/cores/lo/components/TodoFormDialog.tsx:67
- kind: component
- core: lo
- spec: (none)
- summary: A modal form used to create or edit a to-do item.Renders a dialog containing a validated form for title, description, status, priority, due date,and an optional link to a quarterly goal. Submitting the form creates or updates the to-do viamutations and closes the dialog on success.
- params:
- open — Whether the dialog is visible
- onOpenChange — Callback invoked when the dialog’s open state should change
- organizationId — Organization identifier used when creating a new to-do; if omitted, submissions are ignored
- todo — Optional existing to-do to edit; when provided the form is populated with its values
- returns: The dialog element containing the to-do form
- score: 2
component TodosPage
- file: src/cores/lo/pages/TodosPage.tsx:29
- kind: component
- core: lo
- spec: (none)
- summary: Utility for todos page.
- score: 1
component UpcomingMeetingsWidget
- file: src/cores/lo/components/dashboard/UpcomingMeetingsWidget.tsx:26
- kind: component
- core: lo
- spec: LO-06
- summary: LO dashboard widget listing the next scheduled structured meetings (Level10, quarterly, etc.) with relative dates, linking to the meetings view.Takes no props; reads upcoming meetings for the current organization.Renders a skeleton while loading.
- score: 5
component VisionDashboardWidget
- file: src/cores/lo/components/dashboard/VisionDashboardWidget.tsx:27
- kind: component
- core: lo
- spec: (none)
- summary: Render a compact Vision & Goals dashboard card showing core values, mission statement, and current-quarter goals.Displays skeleton placeholders while vision or goals data load. Once loaded, shows:- up to five core value badges (with a “+N” indicator for additional values),- a two-line mission preview,- the current quarter/year goals summary with average progress, top three goals, and completed/total count,- a prompt to create a vision document if none exists.
- returns: A JSX element representing the Vision & Goals dashboard widget.
- score: 2
component VisionExport
- file: src/cores/lo/components/VisionExport.tsx:39
- kind: component
- core: lo
- spec: (none)
- summary: Render a modal dialog that previews a Vision & Strategy (V/TO) document and provides a print/save PDF action.
- params:
- open — Whether the dialog is visible
- onOpenChange — Callback invoked with the new open state to toggle the dialog
- visionDoc — The vision document data to populate sections like core values, mission, and targets
- strategicGoals — Strategic goals used to populate the 3-year and 1-year sections
- goals — Quarterly goals used to populate the current quarter’s goals section
- returns: The dialog JSX element containing the preview and print functionality
- score: 2
component VisionForm
- file: src/cores/lo/components/VisionForm.tsx:31
- kind: component
- core: lo
- spec: LO-01
- summary: Form for editing an organization’s V/TO vision narrative (mission, niche,long-term target, marketing strategy, and similar fields), persistingchanges to the vision document via its mutation hook.
- params:
- props — The whose vision fields are edited and saved.
- score: 5
component VisionPage
- file: src/cores/lo/pages/VisionPage.tsx:34
- kind: component
- core: lo
- spec: (none)
- summary: Render the Vision & Strategy page for viewing and managing the organization’s Vision/Traction Organizer,including mission statement, 10-year target, core values, strategic goals, and current-quarter goals.Renders skeleton placeholders while the vision document is loading. If no vision document exists,shows a prompt to create one. When a vision document exists, presents tabbed sections for Overview,Core Values, Strategic Goals, and Quarterly Goals, and provides an Export dialog.
- returns: The component’s JSX element representing the Vision & Strategy page.
- score: 2
Functions & utilities
function buildDependencyChain
- file: src/cores/lo/utils/dependencyUtils.ts:57
- kind: function
- core: lo
- spec: (none)
- summary: Builds the dependency chain for an actionReturns both upstream (what it depends on) and downstream (what depends on it)
- score: 4
function buildMeetingAgendaContent
- file: src/cores/lo/templates/meeting-agenda-content.ts:10
- kind: function
- core: lo
- spec: (none)
- summary: Provides build meeting agenda content functionality.
- score: 4
function buildQuarterlyReportContent
- file: src/cores/lo/templates/quarterly-report-content.ts:10
- kind: function
- core: lo
- spec: (none)
- summary: Provides build quarterly report content functionality.
- score: 4
function buildStrategicPlanContent
- file: src/cores/lo/templates/strategic-plan-content.ts:10
- kind: function
- core: lo
- spec: (none)
- summary: Provides build strategic plan content functionality.
- score: 4
function calculateGraphLayout
- file: src/cores/lo/utils/dependencyGraphLayout.ts:31
- kind: function
- core: lo
- spec: (none)
- summary: Calculate node positions using a simple layered layout algorithm.Actions with no dependencies go at the top, then their dependents below.
- score: 4
function countDependentActions
- file: src/cores/lo/utils/dependencyUtils.ts:89
- kind: function
- core: lo
- spec: (none)
- summary: Counts how many actions depend on a given action (directly)
- score: 4
function detectDependencyCycle
- file: src/cores/lo/utils/dependencyUtils.ts:17
- kind: function
- core: lo
- spec: (none)
- summary: Detects if setting a dependency would create a cycleUses DFS to traverse the dependency chain
- params:
- actions — All actions in the goal
- actionId — The action being updated
- newDependencyId — The proposed dependency
- returns: true if cycle would be created
- score: 4
function getScoreCategory
- file: src/cores/lo/utils/validateSMARTGoal.ts:395
- kind: function
- core: lo
- spec: (none)
- summary: Map a numeric SMART score to a descriptive label and UI color category.
- params:
- score — Numeric score (typically 0–100) used to determine category
- returns: An object with describing the score and indicating the UI category:- - - - - - - -
- score: 4
function isBlockedByDependency
- file: src/cores/lo/utils/dependencyUtils.ts:96
- kind: function
- core: lo
- spec: (none)
- summary: Checks if an action is blocked by an incomplete dependency
- score: 4
function mapTaskCommentToTodoComment
- file: src/cores/lo/utils/taskAdapters.ts:65
- kind: function
- core: lo
- spec: LO-04
- summary: Adapts a platform record into the LO shape, remapping to and to while preserving the author relation.
- params:
- comment — Platform task comment (with author relation) from the unified tasks domain.
- returns: An LO with field names aligned to the LO to-do model.
- score: 5
function mapTaskToTodo
- file: src/cores/lo/utils/taskAdapters.ts:27
- kind: function
- core: lo
- spec: LO-04
- summary: Adapts a platform record into the LO shape,normalizing status (collapsing to ) and priority, androuting the task’s polymorphic to the matching LO foreign key(, , or ) based on .
- params:
- task — Platform task record (with assignee/assigner relations) sourced from the unified tasks domain.
- returns: An LO with mapped status, priority, and source linkage; the joined relation is left null for the caller to hydrate.
- score: 5
function validateAchievable
- file: src/cores/lo/utils/validateSMARTGoal.ts:159
- kind: function
- core: lo
- spec: (none)
- summary: Scores how achievable a goal is within an expected timeframe and returns targeted feedback.Evaluates provided start/end dates against timeframe-specific duration ranges, rewards sufficientplanning detail (description length and presence of action/milestone indicators), and recordsissues when dates are missing or durations fall outside expected bounds.
- params:
- title — Goal title used with description to detect action or milestone indicators
- description — Optional goal description; longer, detailed descriptions increase score
- startDate — Optional ISO date string representing the planned start of the goal
- endDate — Optional ISO date string representing the planned end or target date of the goal
- goalTimeframe — Expected scope of the goal; affects duration ranges (‘quarterly’, ‘one_year’, ‘three_year’)
- returns: An object with: - : points awarded (0–20), - : maximum possible points (20), - : if the criterion meets the threshold for achievability, - : a short issue or a positive note about achievability
- score: 4
function validateMeasurable
- file: src/cores/lo/utils/validateSMARTGoal.ts:104
- kind: function
- core: lo
- spec: (none)
- summary: Assess whether a goal contains measurable success criteria and compute a score up to 20.
- params:
- title — The goal title to evaluate
- description — Optional detailed goal description to include in the evaluation
- returns: An object with: - : points awarded for measurability, - : , - : if is greater than or equal to , otherwise, - : a short issue message when measurability is lacking or a confirmation that measurable success criteria are present
- score: 4
function validateRelevant
- file: src/cores/lo/utils/validateSMARTGoal.ts:229
- kind: function
- core: lo
- spec: (none)
- summary: Assess whether a goal is aligned with organizational strategy.Awards full relevance when a is provided; otherwise grants partial creditand suggests linking the goal to a strategic priority.
- params:
- strategicGoalId — Optional identifier of a related strategic goal
- returns: Validation result containing , (20), ( if score is 10 or greater), and a message
- score: 4
function validateSMARTGoal
- file: src/cores/lo/utils/validateSMARTGoal.ts:304
- kind: function
- core: lo
- spec: (none)
- summary: Validate a goal against all SMART criteria and compute an aggregate SMART score.
- params:
- options — Optional settings: overrides the default timeframe used by achievable validation; , when true, treats the goal as a strategic goal (implies full relevance) and allows to serve as the end date if is missing.
- returns: An object with individual validation results for , , , , and , the aggregated , (100), and (ISO timestamp).
- score: 4
function validateSpecific
- file: src/cores/lo/utils/validateSMARTGoal.ts:58
- kind: function
- core: lo
- spec: (none)
- summary: Assess the goal’s Specific criterion and produce a scored evaluation.Evaluates title and optional description for descriptiveness, avoidance of vague language,presence of action verbs, and a clear outcome; aggregates points into a 20-point score.
- params:
- title — The goal title to evaluate
- description — Optional longer description of the goal
- returns: An object with (points awarded for specificity), (20), ( if score is 15 or higher), and (the first detected issue or a positive message)
- score: 4
function validateStrategicGoal
- file: src/cores/lo/utils/validateSMARTGoal.ts:359
- kind: function
- core: lo
- spec: (none)
- summary: Validate a strategic goal using the SMART validators, with the current date as the implied start.The function treats the provided goal as strategic (relevance implied) and maps to a timeframe used by the Achievable validator.
- params:
- goal — The strategic goal to validate: - : goal title - : optional detailed description - : optional ISO date string for the goal’s target/end date - : either or , which selects the validation timeframe
- returns: A SMARTValidationResult containing individual criterion results, the aggregated total score, the maximum possible score, and a validation timestamp
- score: 4
function validateTimeBound
- file: src/cores/lo/utils/validateSMARTGoal.ts:256
- kind: function
- core: lo
- spec: (none)
- summary: Assess whether a goal is time-bound and assign points based on provided start/end dates and whether the deadline is in the future.
- params:
- startDate — Optional ISO 8601 start date for the goal (e.g., “2025-12-31”)
- endDate — Optional ISO 8601 end date / deadline for the goal
- returns: An object containing (points earned out of 20), (20), ( if is at least 15), and a message describing any issue or a positive summary
- score: 4