Mvp refactor clean#208
Merged
Merged
Conversation
- Fixed import type vs import for runtime values/enums - Changed TS1361 errors: functions and constants imported as types - Fixed 27 files with automated script - Added missing exports to market.ts: * MARKET_CATEGORIES, MARKET_DURATIONS, CATEGORY_METADATA * CATEGORY_COLORS, CreateMarketFormData, MarketCategory - Updated Market interface with missing properties: * question, status, totalYesStake, totalNoStake - Fixed ExportDialog duplicate identifier (ExportOptions) - Errors reduced from 1626 to 919 (43% reduction) Files fixed include: - DisputeCard, LiquidityCard, LiquidityStats - MarketCard, NetworkSelector, MarketReview - PoolPositionRow, ResolutionCard, RoleManagementDashboard - NetworkSwitchDialog, rbacConstants, LiquidityPage - And 15+ more via automated script Remaining: 919 errors (mostly missing type properties)
- Deleted 14 unused pages (Governance, Oracle, Liquidity, etc.) - Deleted 100+ unused components - Simplified App.tsx to 4 core routes only - Kept MVP components: MarketCard, MarketFilter, MarketForm - Errors reduced: 919 → 749 MVP Routes: - / (Landing) - /markets (Browse) - /market/:id (Trade) - /create (Create market) Next: Clean up unused services, hooks, and types
…ng form UI and mock stacks connect in tests
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Changes Made
Core Implementation
Scripts Updated
interact-contract.tsto use dynamic heightsblock-height.tswith cachingTesting
Documentation
Validation