manifold/web/hooks
James Grugett f533d9bfcb
Verify balance of limit order "makers" (#1007)
* Fetch balance of users with open limit orders & cancel orders with insufficient balance

* Fix imports

* Fix bugs

* Fix a bug

* Remove redundant cast

* buttons overlaying content fix (#1005)

* buttons overlaying content fix

* stats: round DAU number

* made set width for portfolio/profit fields (#1006)

* tournaments: included resolved markets

* made delete red, moved button for regular posts (#1008)

* Fix localstorage saved user being overwritten on every page load

* Market page: Show no right panel while user loading

* Don't flash sign in button if user is loading

* election map coloring

* market group modal scroll fix (#1009)

* midterms: posititoning, make mobile friendly

* Un-daisy share buttons (#1010)

* Make embed and challenge buttons non-daisyui

* Allow link Buttons. Change tweet, dupe buttons.

* lint

* don't insert extra lines when upload photos

* Map fixes (#1011)

* usa map: fix sizing

* useSetIframeBackbroundColor

* preload contracts

* seo

* remove hook

* turn off sprig on dev

* Render timestamp only on client to prevent error of server not matching client

* Make sized container have default height so graph doesn't jump

* midterms: use null in static props

* Create common card component (#1012)

* Create common card component

* lint

* add key prop to pills

* redirect to /home after login

* create market: use transaction

* card: reduce border size

* Update groupContracts in db trigger

* Default sort to best

* Save comment sort per user rather than per contract

* Refactor Pinned Items into a reusable component

* Revert "create market: use transaction"

This reverts commit e1f24f24a9.

* Mark @v with a (Bot) label

* fix padding on daily movers

* fix type errors

* Wrap sprig init in check for window

* unindex date-docs from search engines

* Auto-prettification

* compute elasticity

* change dpm elasticity

* Fix google lighthouse issues (#1013)

* don't hide free response panel on open resolve

* liquidity sort

* Limit order trade log: '/' to 'of'. Remove 'of' in 'of YES'.

* Date doc: Toggle to disable creating a prediction market

* Listen for date doc changes

* Fix merge error

* Don't cancel all a users limit orders if they go negative

Co-authored-by: ingawei <46611122+ingawei@users.noreply.github.com>
Co-authored-by: mantikoros <sgrugett@gmail.com>
Co-authored-by: Sinclair Chen <abc.sinclair@gmail.com>
Co-authored-by: mantikoros <95266179+mantikoros@users.noreply.github.com>
Co-authored-by: Ian Philips <iansphilips@gmail.com>
Co-authored-by: Pico2x <pico2x@gmail.com>
Co-authored-by: Austin Chen <akrolsmir@gmail.com>
Co-authored-by: sipec <sipec@users.noreply.github.com>
2022-10-06 22:16:49 -05:00
..
use-admin.ts DX: Link to Firestore console from "..." 2022-08-22 10:48:21 -07:00
use-answers.ts More absolute imports (#156) 2022-05-09 09:04:36 -04:00
use-bets.ts Verify balance of limit order "makers" (#1007) 2022-10-06 22:16:49 -05:00
use-charity-txns.ts Comment tips (attempt 2) (#539) 2022-06-17 22:28:16 -05:00
use-comments.ts Adds comments to posts (#844) 2022-09-07 23:09:20 +01:00
use-contract.ts Add Firebase schema collection helpers (kind of an RFC) (#583) 2022-06-29 12:21:40 -07:00
use-contracts.ts moar contracts in mentions 2022-10-04 14:38:07 +01:00
use-event.ts Fix line endings 2022-06-05 18:57:49 -07:00
use-focus.ts 🧾 Limit orders! (#495) 2022-07-10 13:05:44 -05:00
use-follows.ts Auto-prettification 2022-08-27 05:01:29 +00:00
use-group.ts Home: Prob change cards. Sort by daily score. (#925) 2022-09-22 16:57:48 -05:00
use-has-created-contract-today.ts Set timeout to reset the free market banner (#367) 2022-06-01 07:54:48 -06:00
use-is-iframe.ts track embedded markets separtely 2022-09-06 22:43:28 -05:00
use-is-mobile.ts Fix some rendering issues on contract page (#933) 2022-09-25 16:43:53 -07:00
use-likes.ts liking markets with tip/heart (#798) 2022-08-30 09:38:59 -06:00
use-liquidity.ts return creator liquidity after resolution 2022-07-09 13:53:50 -04:00
use-measure-size.ts Refactoring (#401) 2022-06-02 17:30:34 -07:00
use-notifications.ts Add more info to limit order notif 2022-09-16 09:02:58 -06:00
use-pagination.ts Print error from usePagination 2022-10-05 15:13:40 -05:00
use-persistent-state.ts Make search query params work on page load 2022-10-05 13:27:46 -05:00
use-ping.ts usePing 2022-07-17 15:17:31 -05:00
use-portfolio-history.ts Delay prefetch by 1000ms. Don't prefetch portfolio history. 2022-09-23 16:30:44 -04:00
use-post.ts Listen for date doc changes 2022-10-06 18:50:53 -05:00
use-prefetch.ts Delay prefetch by 1000ms. Don't prefetch portfolio history. 2022-09-23 16:30:44 -04:00
use-prob-changes.tsx Fix daily prob showing global daily prob 2022-10-03 17:23:22 -05:00
use-propz.ts Change lodash stuff so that it can be tree-shaken out of build (#233) 2022-05-22 01:36:05 -07:00
use-referrals.ts Referrals (#592) 2022-07-01 07:47:19 -06:00
use-save-referral.ts Challenge Bets (#679) 2022-08-04 15:27:02 -06:00
use-state-check-equality.ts Teach AuthContext to manage the private user doc (#738) 2022-08-12 13:41:00 -07:00
use-tip-txns.ts Adds comments to posts (#844) 2022-09-07 23:09:20 +01:00
use-tracking.ts useTracking 2022-10-02 13:39:29 -05:00
use-user-bets.ts Delay prefetch by 1000ms. Don't prefetch portfolio history. 2022-09-23 16:30:44 -04:00
use-user.ts Make prefetching correctly use context cache (#835) 2022-09-01 19:38:09 -07:00
use-users.ts Fix editor rerendering when you load it (#831) 2022-09-08 13:02:50 -07:00
use-warn-unsaved-changes.ts Fix unsaved changes warning erronously appearing 2022-09-18 16:36:45 -05:00
use-window-size.ts Shorter graph on mobile 2022-01-18 17:10:21 -06:00