* Truncate image preview to 120 chars
* Try 100 chars instead
* Pass along creatorAvatarUrl
Hoping nothing breaks if the avatarUrl is empty
* Thread through avatarUrl all the way
* Fix typescript
* Add components for CPM landing and charity pages
* Remove misc.ts to fix build
* Set up cloud function for writing txns
* More plumbing for txns
* Fix up API call
* Use Date.now() to keep timestamps simple
* Some styles for charity list page
* Hard code charities data
* Pass charity data to charity page
* Update txn type
* Listen for charity txns
* Handle txn to non-user by burning it
* Read txns for charity card and charity page.
* Set images to object contain
* Clean up txn types
* Move pic to top of card. Other misc styling.
* Update charity short & long descriptions
* Add `token` and `category` to Txn
* Fix breakages
* Show Charity link in the sidebar
* Fix typing issues
* Fix not reading from the right type
* Switch out icon
* Also show Charity icon on mobile
* Update copy
Co-authored-by: Austin Chen <akrolsmir@gmail.com>
Co-authored-by: James Grugett <jahooma@gmail.com>
* Add betting activity back to feed
* Show position in bin. markets, no comments on bets
* Degroup bets on Bets tab
* Show users position or recent bet with comments
* Add tooltip on answer to FR comments
* Style improvements
* Only use bets by current user for comment input
* Allow users a free daily market
* Show confetti on recent created market
* remove unused import
* remove comment
* Did create market -> hook, capitalize buttons
* Check for confetti with interval
* Just check once
* Capitalize create market button on feed
* Harden Firestore fold update rule
This prevents editing fields on the fold that would lead to
strange and disruptive results, for example, changing the
curatorId to another user, or manually changing followCount.
* Harden Firestore follower update rule
This prevents users from creating follower entries with
the userId of someone else, which would effectively
subscribe that person to the fold.
* Harden Firestore comment posting rule
This prevents people from posting comments with inauthentic
user information.
* Fix silly bugs in comment rules I made
* Just for playing with, bad code
* Whiten answer cards
* Separate answers and comments in FR markets
* Highlight FR answer in bet w/ comment
* Darken answer text and move classname
* Normalcase Comment