James Grugett
d8eed874c1
Merge
2022-05-09 11:39:33 -04:00
James Grugett
f964ecefb4
Implement select for filtering on open, closed, resolved, all.
2022-05-09 11:31:56 -04:00
Ian Philips
8fbbeffd38
Revert one more avatar component change
2022-05-09 10:33:52 -04:00
Ian Philips
5c1bc78408
Revert avatar component changes
2022-05-09 10:18:05 -04:00
Marshall Polaris
acc9c84e2e
More absolute imports ( #156 )
...
* Configure functions module to allow absolute imports
* Convert common imports in functions to be absolute
* Convert common imports in web to be absolute
* Convert lib imports in web to be absolute
* Convert hooks imports in web to be absolute
* Convert components imports in web to be absolute
2022-05-09 09:04:36 -04:00
Marshall Polaris
dd2366458d
Fix up target in web tsconfig ( #155 )
2022-05-08 23:57:29 -07:00
Austin Chen
b47e4364ad
Remove circle around markets/comments count
2022-05-08 22:53:02 -04:00
Marshall Polaris
5efcf61289
Configure compiler to allow absolute imports from root ( #147 )
2022-05-08 13:33:58 -07:00
Austin Chen
2eed1c432a
Hardcode in 8 frontpage markets
2022-05-07 19:44:01 -04:00
Austin Chen
cea9422802
Update site copy
2022-05-07 10:10:25 -04:00
Austin Chen
22a9901148
Feature Nonlinear as a charity
2022-05-07 08:15:40 -04:00
James Grugett
4de0fcd198
Revert "Represent DB avatar URLs as non-null ( #128 )"
...
This reverts commit bf8e09b6c1
.
2022-05-06 14:29:15 -04:00
James Grugett
5d38018a53
Closed sort option
2022-05-06 11:39:52 -04:00
SirSaltyy
87b43e6bdb
Add link to twitter with svg icon to the sidebar and profile menu. Remove Discord hero icon and replace it with discord svg. ( #135 )
2022-05-05 22:20:18 -04:00
SirSaltyy
e41f646b42
Remove all spaces between M$ and the associated number ( #134 )
...
* Remove all spaces between M$ and the associated number
* Update index.tsx
2022-05-05 22:19:47 -04:00
Boa
bbf419953e
Show comments on profile ( #137 )
...
* WIP - got comments on the user page
* Remove number from chosen FR answer
* Distinguish wining and losing FR answers
* Show no answers text
* Simplify get answer items logic
* Show answer number
* Show answer # when resolving
* Fix import path
* Add user's collated comments onto profile
* Allow linking to comments/markets in profile
* Allow preload of users contracts in profile
* Remove unused check
* Small code improvements
2022-05-05 16:30:30 -06:00
James Grugett
042fdb3cbe
Fix tags page
2022-05-05 17:34:16 -04:00
James Grugett
b2ff402587
Fix types
2022-05-05 16:24:42 -04:00
James Grugett
7744199eac
Implement algolia search!
2022-05-05 16:17:25 -04:00
James Grugett
39afe5461f
Switch to hooks-web package
2022-05-05 16:16:50 -04:00
Marshall Polaris
2e214cab7a
Kill warmup spam ( #133 )
...
* Only warm up sell bet function once
* Only warm up create user function once
2022-05-05 09:51:09 -07:00
Marshall Polaris
adefd3259c
Cleanup avatar component rendering ( #130 )
...
* Remove unnecessary classes on avatar img
I don't believe these have any visible effect.
* Don't apply Tailwind 'avatar' class in menu
We don't use this class elsewhere when displaying avatars (instead our
avatar has manual styles that do the stuff Tailwind is trying to do)
and it just assigns a weird size that we don't want.
If we want to use the Tailwind avatar styles we should refactor further.
* Remove unnecessary avatar wrapper div
* Remove old prop from avatar
2022-05-05 09:50:58 -07:00
Austin Chen
1caed44552
Show /charity in signed-out sidebar
2022-05-05 10:15:12 -04:00
Austin Chen
b42e77858f
Search through charity preview, description, and tags too
2022-05-05 10:12:16 -04:00
Boa
9480f9f34c
Improve free response answer ux ( #131 )
...
* Remove number from chosen FR answer
* Distinguish wining and losing FR answers
* Show no answers text
* Simplify get answer items logic
* Show answer number
* Show answer # when resolving
2022-05-04 16:03:06 -06:00
Marshall Polaris
bf8e09b6c1
Represent DB avatar URLs as non-null ( #128 )
2022-05-04 11:07:22 -07:00
mantikoros
95b67c05e2
another sell shares rounding bug
2022-05-04 11:47:45 -04:00
Ian Philips
a004d3a4bf
Always show answer panel
2022-05-03 17:54:00 -04:00
Ian Philips
278bcb9724
Show resolved FR answers
2022-05-03 16:57:39 -04:00
Ian Philips
0d63e471be
Only show cursor if focused
2022-05-03 16:45:21 -04:00
Boa
3a33efa8db
Threaded free response comments & general comments sections ( #121 )
...
* Allow comments to reference answers
* Add comment inputs for free response answers
* condense comment logic in one component
* Add General Comments section to FR answers
* Prompt signin even if no comment
* Remove unused & refactor
* Simplify general comments logic, toggle comment boxes
* Clarify rendering logic
2022-05-03 14:38:40 -06:00
Sinclair Chen
100821e34c
Ask user to buy more mana when insufficient funds ( #124 )
2022-05-03 13:36:54 -07:00
Sinclair Chen
f2217d1d8b
Improve donate box UI in mid-size window ( #126 )
2022-05-03 13:36:00 -07:00
Sinclair Chen
abf23a1462
Pre-load charity order to prevent "jump" ( #122 )
2022-05-03 10:25:14 -07:00
mantikoros
14544d064a
charity page: remove centering
2022-05-03 11:26:02 -04:00
Sinclair Chen
2da5423f36
Add padding too charity images ( #123 )
2022-05-03 08:12:42 -07:00
Sinclair Chen
3434b3de3f
Move all charity images to imgur + Next ( #120 )
2022-05-03 07:00:33 -07:00
Boa
8da36298e5
condense comment logic in one component ( #119 )
2022-05-03 07:51:25 -06:00
James Grugett
30bee3b5a3
Add algolia and instantsearch packages
2022-05-02 18:33:36 -04:00
James Grugett
ab4dbc798c
Change analytics to 90 days. Default to DAU / MAU chart instead of DAU / WAU.
2022-05-02 18:18:42 -04:00
Sinclair Chen
2f6a3c4e00
Replace email with free response market ( #118 )
2022-05-02 12:48:15 -07:00
Sinclair Chen
db695875c4
CPM: sort charities by amount raised ( #117 )
...
* Sort charities by amount raised (after Featured)
* Sort donations chronologically
* refactor charities query to remove parens
2022-05-02 10:55:40 -07:00
James Grugett
beece64ae5
Tweak contract info dialog
2022-05-02 12:18:55 -04:00
mantikoros
43d3662db1
fixed negative shares bug
2022-05-02 12:16:36 -04:00
James Grugett
6232284e92
Larger font on amount input
2022-05-02 12:15:00 -04:00
James Grugett
bec8cdb3e8
Add share market widget shown if you are the creator
2022-05-02 11:23:54 -04:00
Sinclair Chen
fdbcffcfbc
CPM simple feed ( #116 )
...
* Add minimal feed
* Display full cent amount for raised < $1
2022-05-02 08:23:12 -07:00
James Grugett
0b5b0bb9d3
Clear comment after submitting, for multiple bets
2022-05-02 10:43:17 -04:00
James Grugett
d6a9b89c43
Fix answers not wrapping in cards
2022-05-02 10:35:49 -04:00
Austin Chen
b63cc17630
Hide charity names on cards
2022-05-02 08:45:05 -04:00