Marshall Polaris
4b513a894d
Make tooltip rendering more efficient ( #807 )
...
* Don't use very slow dayjs formatter on timestamp tooltips
* Kill dead code in feed-bets.tsx
* Clean up tooltip markup
2022-08-27 13:46:35 -07:00
Marshall Polaris
96a378ec4b
Make RelativeTimestamp
a little more efficient ( #754 )
...
* Don't do extra dayjs work in timestamp components
* Remove extra wrapper from `RelativeTimestamp`
2022-08-12 17:48:41 -07:00
Sinclair Chen
df858f916b
Migrate daisy tooltips to our own to fix cutoffs ( #748 )
...
* Make all tooltips use our component
* Stop mobile tooltip crop (daisy -> floating-ui)
* Show tooltip on tap for touch devices
Except tooltips on buttons
* migrate another daisy tooltip to ours
* Prevent hidden tooltip from covering click/hover
2022-08-12 12:04:23 -07:00
Marshall Polaris
420ea9e90e
Add more linting to web
package ( #343 )
...
* Import React a lot
* Fix misc. linting concerns
* Turn on many recommended lints for `web` package
2022-05-26 14:41:24 -07:00
Austin Chen
76c4cd6d68
Render timestamps client-side to fix timezone ( #58 )
...
* Render timestamps client-side to fix timezone
* Fix compilation error
2022-03-02 23:51:58 -08:00
James Grugett
85c3a1532a
Undo timezone change. Production is different from local. Not sure how to render in local timezone...
2022-02-22 15:14:52 -06:00
James Grugett
72d0797b3f
Use local timezone for date time tooltip
2022-02-22 14:54:58 -06:00
James Grugett
561a7e2c75
Allow editing the close time
2022-02-20 22:04:00 -06:00
Austin Chen
7338bdd47a
Automatically sort Tailwind classes with Prettier ( #45 )
...
* Add Prettier Tailwind plugin
* Autoformat Tailwind classes with Prettier
2022-02-11 10:40:22 -08:00
mantikoros
4cca60b16e
contract card: simplify date display
2022-01-19 16:01:54 -06:00
jahooma
746a97c1df
Don't hide children of datetime tooltip
2022-01-17 18:08:50 -06:00
jahooma
ead441ce9f
Hide time tooltip on mobile as fix
2022-01-17 18:01:09 -06:00
jahooma
b86720e943
Fix feed not centered
2022-01-17 17:51:41 -06:00
Austin Chen
d32147b536
Show DateTime tooltips whereever we show dates
2022-01-16 04:16:15 -05:00