-
Notifications
You must be signed in to change notification settings - Fork 0
feat(dashboard): outcome-first pivot (sim-driven) #46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
a273d19
feat(dashboard): add computeTimeSaved with honest + fallback formula
Gradata 9101d5f
feat(dashboard): add computeWoWDelta with sample-size floor
Gradata 1ff1ab8
feat(dashboard): add computeRuleStreak with graduated_at fallback
Gradata 68d9877
feat(dashboard): extend Lesson type with recurrence_blocked, last_rec…
Gradata b8a45ef
feat(dashboard): extend KpiMetrics with timeSavedMinutes + WoW deltas
Gradata de4082a
feat(dashboard): KpiStrip 5-card layout with Est. Time Saved + WoW de…
Gradata ecfcc84
refactor(dashboard): KpiStrip test-id targeting + remove dead delta f…
Gradata 2db464a
feat(dashboard): ActiveRulesPanel glyphs + streak suffix + see-all link
Gradata f90f1a3
feat(dashboard): ActivityFeed outcome labels + demote meta-rule events
Gradata e57be55
feat(dashboard): graduation markers on CorrectionDecayCurve
Gradata 271e75c
feat(dashboard): CategoriesChart classifier-health gate (70% threshold)
Gradata 2433dc4
feat(dashboard): add /proof route with ABProofPanel + MethodologyLink
Gradata fb5b2aa
feat(dashboard): add Proof nav entry
Gradata ff96d53
refactor(dashboard): remove MetaRulesGrid/ABProofPanel/MethodologyLin…
Gradata bd75cd4
feat(dashboard): operator bypass + demo mode + dedupe setup CTAs
Gradata 2c3dea2
fix(dashboard): CR round-1 + promote Preview CTA
Gradata 4a1319b
feat(dashboard): marketify pass — plain-language labels
Gradata 2df35cc
fix(dashboard): CR round-3 — demo activity, recurrence ordering, cate…
Gradata File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| 'use client' | ||
|
|
||
| import { ABProofPanel } from '@/components/brain/ABProofPanel' | ||
| import { MethodologyLink } from '@/components/brain/MethodologyLink' | ||
|
|
||
| export default function ProofPage() { | ||
| return ( | ||
| <div className="py-8 space-y-6"> | ||
| <div> | ||
| <h1 className="text-2xl font-bold">Proof</h1> | ||
| <p className="mt-1 text-[14px] text-[var(--color-body)]"> | ||
| How we know your brain is actually learning: ablation data, methodology, and | ||
| independent replications. | ||
| </p> | ||
| </div> | ||
| <ABProofPanel /> | ||
| <MethodologyLink /> | ||
| </div> | ||
| ) | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: Gradata/gradata
Length of output: 4335
🏁 Script executed:
Repository: Gradata/gradata
Length of output: 86
🏁 Script executed:
Repository: Gradata/gradata
Length of output: 86
🏁 Script executed:
Repository: Gradata/gradata
Length of output: 86
🏁 Script executed:
Repository: Gradata/gradata
Length of output: 167
🏁 Script executed:
Repository: Gradata/gradata
Length of output: 2879
🏁 Script executed:
Repository: Gradata/gradata
Length of output: 167
🏁 Script executed:
Repository: Gradata/gradata
Length of output: 354
🏁 Script executed:
Repository: Gradata/gradata
Length of output: 2923
🏁 Script executed:
Repository: Gradata/gradata
Length of output: 515
🌐 Web query:
@base-ui/react Button component asChild polymorphic composition API documentation💡 Result:
The
@base-ui/reactButton component does not use an asChild prop for polymorphic composition. Instead, it uses a render prop combined with nativeButton for rendering as different elements while maintaining button semantics and accessibility. Key API details from official documentation: - render: ReactElement | ((props: HTMLProps, state: Button.State) => ReactElement) — Allows replacing the component's HTML element with a different tag or composing with another component. Example for custom tag: <Button render={#3983, dated 2026-02-05) proposing to deprecate render in favor of asChild with children, but official docs as of 2026-04-15 still document render. Base UI intentionally uses render over Radix-style asChild/Slot, powered by the useRender hook for better type safety and explicitness. For full composition guide: https://base-ui.com/react/handbook/compositionCitations:
renderprop and useasChildwithchildreninstead mui/base-ui#3983Buttoncomponent mui/base-ui#2363🏁 Script executed:
Repository: Gradata/gradata
Length of output: 2269
🏁 Script executed:
Repository: Gradata/gradata
Length of output: 3404
Use the
renderprop instead ofasChildto avoid nesting interactive elements.The Button component wraps
@base-ui/react/button, which does not supportasChild. Instead,@base-uiuses arenderprop for polymorphic composition. The current markup creates invalid nested interactive content (<a><button/></a>). Use therenderprop withnativeButton={false}to fix this:Suggested fix
Note: This pattern appears in multiple files (forgot-password, signup) and should be addressed consistently across the dashboard.
🤖 Prompt for AI Agents