diff --git a/client/src/components/infoview/goals.tsx b/client/src/components/infoview/goals.tsx
index b7ff62a..e879e67 100644
--- a/client/src/components/infoview/goals.tsx
+++ b/client/src/components/infoview/goals.tsx
@@ -115,13 +115,14 @@ function Hyp({ hyp: h, mvarId }: HypProps) {
interface GoalProps {
goal: InteractiveGoal
filter: GoalFilterState
+ showHints?: boolean
}
/**
* Displays the hypotheses, target type and optional case label of a goal according to the
* provided `filter`. */
export const Goal = React.memo((props: GoalProps) => {
- const { goal, filter } = props
+ const { goal, filter, showHints } = props
const filteredList = getFilteredHypotheses(goal.hyps, filter);
const hyps = filter.reverse ? filteredList.slice().reverse() : filteredList;
@@ -156,7 +157,7 @@ export const Goal = React.memo((props: GoalProps) => {
Assumptions:
{assumptionHyps.map((h, i) =>
)}
}
{!filter.reverse && goalLi}
- {hints}
+ {showHints && hints}
})
diff --git a/client/src/components/infoview/info.tsx b/client/src/components/infoview/info.tsx
index e12f784..6028683 100644
--- a/client/src/components/infoview/info.tsx
+++ b/client/src/components/infoview/info.tsx
@@ -15,6 +15,7 @@ import { InteractiveGoal, InteractiveGoals } from './rpcApi';
import { PanelWidgetDisplay } from '../../../../node_modules/lean4-infoview/src/infoview/userWidget'
import { RpcContext, useRpcSessionAtPos } from '../../../../node_modules/lean4-infoview/src/infoview/rpcSessions';
import { GoalsLocation, Locations, LocationsContext } from '../../../../node_modules/lean4-infoview/src/infoview/goalLocation';
+import { InteractiveCode } from '../../../../node_modules/lean4-infoview/src/infoview/interactiveCode'
type InfoStatus = 'updating' | 'error' | 'ready';
type InfoKind = 'cursor' | 'pin';
@@ -120,7 +121,10 @@ const InfoDisplayContent = React.memo((props: InfoDisplayContentProps) => {
{ e.preventDefault(); void triggerUpdate(); }}>{' '}Try again.
}
- {goals && goals.goals.length > 0 && }
+
+
Main Goal
+ {goals && goals.goals.length > 0 &&
}
+
{/* */}
@@ -150,7 +154,12 @@ const InfoDisplayContent = React.memo((props: InfoDisplayContentProps) => {
Loading goal...
)}
- {goals && goals.goals.slice(1).map((goal, i) => )}
+
+
Other Goals
+
+ {goals && goals.goals.slice(1).map((goal, i) =>
+
)}
+
>
})
diff --git a/client/src/components/infoview/infoview.css b/client/src/components/infoview/infoview.css
index d05e5e1..26ee973 100644
--- a/client/src/components/infoview/infoview.css
+++ b/client/src/components/infoview/infoview.css
@@ -25,3 +25,8 @@
font-family: var(--ff-primary);
font-size: 1.2rem;
}
+
+.goals-section-title {
+ font-size: 1.5rem;
+ font-weight: 500;
+}