Skip to content
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: wire up message item #1272

Merged
merged 39 commits into from
Feb 7, 2025
Merged
Changes from 1 commit
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
e64b9e3
Merge branch 'profile-actions' into chat-message-item-actions-drawer
pranavmene2000 Dec 24, 2024
513614a
feat(mobile): add actions to channel/dm item message
pranavmene2000 Dec 26, 2024
182032d
fix: increase emoji drawer close duration
pranavmene2000 Dec 26, 2024
bcdcb3f
feat: optimize emoji-picker
pranavmene2000 Dec 26, 2024
be4823d
feat: uncomment logs
pranavmene2000 Dec 27, 2024
a7df96a
feat: update details for forwarded-message
pranavmene2000 Dec 27, 2024
7a29400
feat: show Alert on delete message action
pranavmene2000 Dec 27, 2024
e394216
fix: actions spacing
pranavmene2000 Dec 27, 2024
ed44c9c
Merge remote-tracking branch 'origin/mobile-app' into chat-message-it…
pranavmene2000 Jan 3, 2025
603a09b
Merge branch 'chat-message-item-actions-drawer' into doctype-renderer
pranavmene2000 Jan 10, 2025
de8ba4d
fix: channelIcon
pranavmene2000 Jan 10, 2025
af6e587
feat: DocTypeLink renderer
pranavmene2000 Jan 10, 2025
e1bc760
feat: action icons styling
pranavmene2000 Jan 10, 2025
3752081
Merge remote-tracking branch 'origin/doctype-renderer' into wire-up-m…
prathameshkurunkar7 Jan 17, 2025
08a039d
Merge remote-tracking branch 'origin/link-preview' into wire-up-messa…
prathameshkurunkar7 Jan 17, 2025
71a9c7a
feat: enhance DoctypeLinkRenderer implementation and ui alignment
prathameshkurunkar7 Jan 24, 2025
cb32f70
fix: adjust layout and text truncation in DocTypeLink component
prathameshkurunkar7 Jan 24, 2025
f49bd4b
refactor: rename and edit folder structure for DocTypeLinkRenderer
prathameshkurunkar7 Jan 24, 2025
647156c
chore: update dependencies add htmlparser2 to mobile package.json
prathameshkurunkar7 Jan 24, 2025
f0e159d
feat: add LinkPreview component for enhanced link display in chat stream
prathameshkurunkar7 Jan 24, 2025
afa517d
fix: update PollMessage styling for improved layout and appearance
prathameshkurunkar7 Jan 24, 2025
7c30670
feat: implement MessageContentRenderer to display message text and li…
prathameshkurunkar7 Jan 24, 2025
a41c064
feat: enhance MessageItem component to show linkpreview, doctypelink,…
prathameshkurunkar7 Jan 24, 2025
f86085b
chore: modify folder structure for Renderers
prathameshkurunkar7 Jan 24, 2025
9b266e9
feat: add ReplyMessageBox component
prathameshkurunkar7 Jan 24, 2025
14984f4
feat: improve ReplyMessageBox styling and date formatting
prathameshkurunkar7 Jan 31, 2025
e38718b
Merge branch 'mobile-app' into wire-up-message-item
prathameshkurunkar7 Jan 31, 2025
cce2acc
feat(mobile): Add pinned message indicator to MessageItem
prathameshkurunkar7 Jan 31, 2025
ef4a378
feat: add UniversalFileIcon component
prathameshkurunkar7 Jan 31, 2025
7ed21ae
feat(mobile): add file message renderer
prathameshkurunkar7 Jan 31, 2025
94601ba
fix(mobile): improve message header spacing
prathameshkurunkar7 Jan 31, 2025
f8bb574
feat(mobile): add ImageMessageRenderer component for chat messages
prathameshkurunkar7 Jan 31, 2025
4692f2b
Merge branch 'mobile-app' into wire-up-message-item
prathameshkurunkar7 Jan 31, 2025
bffc473
feat: ignore link preview for links with file extensions
prathameshkurunkar7 Jan 31, 2025
56fcb8e
perf: memoize MessageItem component to optimize rendering
prathameshkurunkar7 Jan 31, 2025
1f2dd84
Merge branch 'mobile-app' into wire-up-message-item
nikkothari22 Feb 7, 2025
c43f934
fix: render message content with link preview
nikkothari22 Feb 7, 2025
e11b074
chore: move fileAtom
nikkothari22 Feb 7, 2025
0eb7dcf
fix: do not render link preview if no text
nikkothari22 Feb 7, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat: add LinkPreview component for enhanced link display in chat stream
prathameshkurunkar7 committed Jan 24, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit f0e159d2038f219ab3411ca03147effda1c506a3
Original file line number Diff line number Diff line change
@@ -27,7 +27,7 @@ const LinkPreview = memo(({ messageID, href }: LinkPreviewProps) => {
const image = linkPreview.absolute_image || linkPreview.image;

return (
<View className="w-[70%] border border-gray-200 dark:border-gray-700 bg-gray-100 dark:bg-gray-900 rounded-lg overflow-hidden relative">
<View className="w-[80%] border border-gray-200 dark:border-gray-700 bg-gray-100 dark:bg-gray-900 rounded-lg overflow-hidden relative">
<TouchableOpacity onPress={handleLinkPress} activeOpacity={0.7}>
<View>
<Image