-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Events Social Feed frontent #246
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
f07983a
to
57f8ab1
Compare
57f8ab1
to
6358bc7
Compare
40bc477
to
fef7835
Compare
app/event/[id]/event-feed.tsx
Outdated
<Textarea | ||
ref={textareaRef} | ||
onChange={(evt) => setTextAreaValue(evt.target.value)} | ||
className={`cursor-pointer border-0 min-h-[${textareaMinHeight}px] focus-visible:ring-transparent rounded-xl text-base text-sm px-4 py-3 w-full max-h-[${textareaMaxHeight}px] placeholder:text-primary-color text-lg hover:bg-neutral-700`} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you can't use string concatenation with tailwind
https://tailwindcss.com/docs/detecting-classes-in-source-files
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes!
df69c05
// not directly used in link post type, but should be used as return value of | ||
// Kind() method of contract set in a link post | ||
enum LinkPostKind { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please remove the changes in this file soon so you don't work with outdated types, the feed types are in the feed proto
app/event/[id]/event-feed.tsx
Outdated
|
||
// Stuff used to stick FeedInput when scroll bellow of it | ||
const containerRef = useRef<HTMLDivElement>(null); | ||
const [containerWidth, setContainerWidth] = useState(0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we shouldn't need this kind of things with the full power of css, this looks like react-native thinking
df69c05
to
89e735f
Compare
WIP
Btw, here is the inspiration from Luma
Current state