* refactor: move initializeAnalytics code to top-level
* expect that there's a node env per key
* remove more dev specific stuff
* module.exports
* remove locales
* fix
* service worker update
* init commit
* remove absolute value in date calc
* all the events are now logged properly plus changed native token address to NATIVE
* add documentation line
* remove unnecessary prop
* init
* init
* checkpoint
* checkpoint
* merge
* lint
* cleanup
* wallet user model stuff working as expected now
* add app loaded event and rest of user properties
* fix tests
* change token balances as per kyle rec
* refactor connected wallet state handling + rest of vm comments
* fix redux breaking, revert wallet from set to array
* modified redux state to track wallet connections to properly log reconnects
* linted and removed console.log
* fixes for lynn's comments + documenting
* initial
* add to index
* show more logic
* split up
* nvm combine
* combine more
* loading state for the app
* no conditional
* rm var
* comment
* move comment
* add control specifically
* init commit
* remove absolute value in date calc
* all the events are now logged properly plus changed native token address to NATIVE
* add documentation line
* remove unnecessary prop
* init
* add approve token event
* fix build
* add route event properties
* fix build
* respond to vm comments
* respond to vm comments
* remove routes properties
* feat: fetch stablecoins price with SOR, PI warning
* calculate realized price impact
* remove unrelated changes
* dupe import
* pr feedback
* use the same calculation function for PI
* use proper var
* init commit
* remove absolute value in date calc
* all the events are now logged properly plus changed native token address to NATIVE
* add documentation line
* remove unnecessary prop
* respond to vm comments
* merge and rename util method
* respond to vm comments again
* init commit
* add amplitude ts sdk to package.json
* add more comments and documentation
* respond to vm comments
* respond to cmcewen comments
* fix: remove unused constants
* init commit
* adapt to web
* add optional event properties to trace
* correct telemetry to analytics
* init commit
* change telemetry to analytics in doc
* init commit
* fix: respond to cmcewen comments + initialize analytics in app.tsx + add missing return statement
* add element name constant
* init commit
* correct price_impact calculation
* resolve vm comments
* fixes in response to comments
* respond to vm
* use ALL significant digits for token amounts
* init commit
* logged all properties
* create helper function getPriceImpactPercentageNumber
* 4 decimal points for percentages
* price percentage fn
* only log event on FIRST price fetch
* init commit
* add swap transaction completed event
* respond to cmcewen comments
* add two events
* remove console.logs
* move transaction completed logging to reducer
* simplify and remove unnecessary logic and constants
* respond to cmcewen comments
* respond to cmcewen comments
* respond to vm comment
* chore: upgrade react-router-dom to v6
* migrate Redirect to Navigate
* use Routes instead of Switch
* migrate useHistory to useNavigate
* use To type
* use element
* work around activeClassName
* fix typing for useParams
* deduplicate
* fix Navigate
* add e2e tests
* visit /swap directly
Co-authored-by: Vignesh Mohankumar <me@vig.xyz>
* init commit
* add amplitude ts sdk to package.json
* add more comments and documentation
* respond to vm comments
* respond to cmcewen comments
* fix: remove unused constants
* init commit
* adapt to web
* add optional event properties to trace
* correct telemetry to analytics
* init commit
* change telemetry to analytics in doc
* init commit
* fix: respond to cmcewen comments + initialize analytics in app.tsx + add missing return statement
* add element name constant
* init commit
* correct price_impact calculation
* resolve vm comments
* fixes in response to comments
* respond to vm
* use ALL significant digits for token amounts
* init commit
* logged all properties
* create helper function getPriceImpactPercentageNumber
* 4 decimal points for percentages
* price percentage fn
* only log event on FIRST price fetch
* respond to cmcewen comments
* init commit
* add amplitude ts sdk to package.json
* add more comments and documentation
* respond to vm comments
* respond to cmcewen comments
* fix: remove unused constants
* init commit
* adapt to web
* add optional event properties to trace
* correct telemetry to analytics
* init commit
* change telemetry to analytics in doc
* init commit
* fix: respond to cmcewen comments + initialize analytics in app.tsx + add missing return statement
* add element name constant
* init commit
* correct price_impact calculation
* resolve vm comments
* fixes in response to comments
* respond to vm
* use ALL significant digits for token amounts
* create helper function getPriceImpactPercentageNumber
* 4 decimal points for percentages
* change percentage to basis points units
* Add deprecated_ label to white and black
* Add deprecated_ label to text1 through text5
* Add deprecated_ label for bg0 through bg6
* Add deprecated_ prefix to remaining colors
* Add deprecated_ prefix to direct style references
* Add deprecated_ prefix to all remaining colors
* Update link color
* Fix 'deprecated_white' -> theme.deprecated_white
* Update snapshots
* Update graph link
* Add Gas over ride temp for Polygon
* removal of personal tweaks
* Update index.tsx
* reset to original file
* missing EOL
* Update useClientSideV3Trade.ts
* remove space
* replaceURLChain
* reorder stuff
* don't use usePrevious for previousChainId
* remove the replace param call in promise
* variable names
* comment
* confirm isActive
* wrong place for isActive
* change ret type
* add comments
* check if not previous chain id