Sinclair Chen
d9f57b7daa
Remove all daisy buttons ( #1036 )
...
* Tweak limit order UI and fix button
* Style all follow/unfollow buttons blue
also get rid of highlight-blue button
* remove all other uses of 'btn'
* Style group follow button like user follow
* lint and format
2022-10-12 12:27:17 -07:00
James Grugett
9d44190b9a
Fix group url nav to correct tabs
2022-10-11 16:04:40 -05:00
FRC
83d9a1f3e2
Posts changes ( #988 )
...
* Add post subtitle
* Add "Post" badge to post card
* Move post tab to overview tab, refactor components
* Fix styling nits.
2022-10-05 11:37:23 +01:00
Pico2x
1f7b9174b3
Update index.tsx
2022-10-03 13:45:38 +01:00
Pico2x
b517817ee3
Fix indentation iphone
2022-10-03 08:47:21 +01:00
FRC
1f8c72b4c9
Overview page on groups ( #961 )
...
* Frontpage on groups
wip
* Fix James's nits
2022-10-03 00:02:31 +01:00
Ian Philips
bf92c4fb06
Fix 500 on non-existant group page
2022-09-26 11:28:54 -04:00
Austin Chen
d04304bdac
Fix blank page on nav to groups
2022-09-23 17:04:32 -04:00
Austin Chen
2891a47d8c
Support navigating to /about pages
2022-09-23 16:49:14 -04:00
FRC
5a10132e2b
Add a "Posts" tab to groups ( #926 )
...
* Add a "Posts" sidebar item to groups
* Fix James's nits
* Show "Add Post" button only to users
2022-09-23 15:11:50 -04:00
Marshall Polaris
6fe0a22a48
Improve contract leaderboard computation ( #918 )
...
* Fix and clean up top comment stuff
* Make leaderboard code generic on entry type
* No need to look up users on contract leaderboard
2022-09-22 12:40:27 -07:00
FRC
a5e293c010
Bring back tabs in groups ( #923 )
2022-09-22 12:12:53 -04:00
mantikoros
c15285aa64
pare down sorts; only show high/low prob on groups
2022-09-22 00:32:20 -04:00
Pico2x
b875ac563d
Revert "Bring back tabs in groups ( #919 )"
...
This reverts commit b4a59cfb21
.
2022-09-21 19:14:05 -04:00
FRC
b4a59cfb21
Bring back tabs in groups ( #919 )
2022-09-21 18:27:49 -04:00
FRC
6aa45a2d12
Move group navbar to top ( #895 )
2022-09-19 17:29:17 +01:00
James Grugett
8ebf829169
Change groups default sort to Trending
2022-09-18 17:16:13 -05:00
Austin Chen
e0806cf0e0
Fix links to group /about and /leaderboards
2022-09-16 20:36:52 -07:00
FRC
456aed467c
Move tabs to sidebar ( #873 )
...
* Move tabs to sidebar
* Address all feedback
Fix icon names
Extract navbar component into a separate function
Rm arrow and indentation
Move group name under logo
Fix visual sidebar stretchy thing
Fix visual bug
* Extra nits
2022-09-16 14:32:15 +01:00
Ian Philips
e9f136a653
Single source of truth for predict
2022-09-15 09:12:56 -06:00
Sinclair Chen
74335f2b01
Adjust market modal styles ( #875 )
...
* Refactor add market modals into one component
* Adjust style: stickier search, scroll auto
2022-09-13 16:16:07 -07:00
Ian Philips
8b1776fe3b
Remove contracts number badge from groups tab
2022-09-13 07:53:01 -06:00
FRC
ff81b859d1
"Fix "500 internal error" in large groups ( #872 )
...
* Fix "500 internal error" in large groups (#856 )
This reverts commit 28f0c6b1f8
.
* Ship without touching prod and with some logs.
2022-09-12 20:54:11 +01:00
FRC
28f0c6b1f8
Revert "Fix "500 internal error" in large groups ( #856 )" ( #871 )
...
This reverts commit a6ed8c9228
.
2022-09-12 17:26:46 +01:00
FRC
a6ed8c9228
Fix "500 internal error" in large groups ( #856 )
...
* Members to memberIds
* Moved to update-metrics
2022-09-12 16:44:24 +01:00
James Grugett
4439447a6d
Persist group markets and scroll position on back (Marshall's machinery)
2022-09-07 21:33:36 -05:00
mantikoros
97e0a78806
"join group" => "follow"
2022-09-05 16:51:09 -05:00
Ian Philips
c74d972caf
Pass user and members via props
2022-09-02 19:36:49 -06:00
Ian Philips
cf508fd8b6
Members and contracts now subcollections of groups ( #847 )
...
* Members and contracts now documents
* undo loans change?
* Handle closed group
* Slight refactoring
* Don't allow modification of private groups contracts
* Add back in numMembers
* Update group field names
* Update firestore rules
* Update firestore rules
* Handle updated groups
* update start numbers
* Lint
* Lint
2022-09-02 18:06:48 -06:00
Austin Chen
51fe44f877
Show the number of open markets on each groups page
2022-09-01 16:12:09 -07:00
Ian Philips
fecf976ab9
Show all group contracts if less than 5 open
2022-09-01 09:11:14 -06:00
Sinclair Chen
d06b725f52
Let admins add and edit posts to any group ( #820 )
...
- show add post UI to admins
- change firebase permissions
2022-08-31 11:29:49 -07:00
Sinclair Chen
c202c5de68
clarify closed/open group copy
2022-08-30 16:28:49 -07:00
Ian Philips
a0402830c5
liking markets with tip/heart ( #798 )
...
* WIP liking markets with tip
* Refactor Userlink, add MultiUserLink
* Lint
* Lint
* Fix merge
* Fix imports
* wip liked contracts list
* Cache likes and liked by user ids on contract
* Refactor tip amount, reduce to M
* Move back to M
* Change positioning for large screens
2022-08-30 09:38:59 -06:00
FRC
e1f19c52ab
Post in a group about page. ( #803 )
...
* Dashboards in Group about page
* Rename group dashboard to 'About Post'
* Fixed James nits
2022-08-30 13:39:10 +01:00
mantikoros
e4c66e08f5
clean up add markets dialog
2022-08-28 16:26:36 -05:00
James Grugett
2e3c2d4dcb
Tweak to add market to group UI
2022-08-27 00:59:00 -05:00
James Grugett
99bff6b794
Improve group market selection UI
2022-08-26 18:17:15 -05:00
Ian Philips
a5812a5a73
Remove group chat display
2022-08-24 11:15:38 -06:00
Austin Chen
88bf678ce3
Allow custom environments to override any economic aspect ( #787 )
...
* Extract monetary constants to a single file economy.ts
* Add missing import
* Allow environments to override any econ variable
* Update imports
* Update more imports
* Fix import
2022-08-21 22:37:26 -07:00
James Grugett
f4ebb2b504
Fix wrapping on "Add market" button
2022-08-20 15:19:05 -05:00
Austin Chen
51c843d765
Use masonry on contract cards, sorted correctly ( #773 )
...
* Revert "Revert "Tile contract cards in masonry layout (#761 )""
This reverts commit 62728e52b7
.
* Sort the contracts in the correct masonry order
* Fix ordering on single columns
* Use react-masonry-css to accomplish masonry view
* Improve comment
* Remove gridClassName
Everything is spaced with m-4, too bad
2022-08-19 16:57:23 -07:00
Marshall Polaris
0972de9025
Make typing for comments more fancy ( #776 )
2022-08-19 01:06:40 -07:00
James Grugett
62728e52b7
Revert "Tile contract cards in masonry layout ( #761 )"
...
This reverts commit 4002c23bee
.
2022-08-16 13:03:04 -05:00
Sinclair Chen
4002c23bee
Tile contract cards in masonry layout ( #761 )
2022-08-15 17:41:53 -07:00
Marshall Polaris
972f215f0c
Rewrite useQueryAndSortParams
machinery to be faster/simpler/better ( #758 )
...
* Rewrite useQueryAndSortParams machinery to be faster/simpler/better
* Politely debounce Algolia querying
* Tidy some stuff up
* Style changes suggested by James
2022-08-14 22:09:25 -07:00
James Grugett
0a9df3ac6b
Group horizontal margin on tabs
2022-08-13 13:50:26 -05:00
James Grugett
aeea66491a
Group question => market
2022-08-13 13:49:25 -05:00
James Grugett
3cbf5a6f7d
Always show search placeholder
2022-08-12 14:35:27 -05:00
James Grugett
4d953d58a1
Move group chat back into a tab
2022-08-10 12:28:02 -05:00