Skip to content

35 differentiate replies bar style #36

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

Merged
merged 14 commits into from
Mar 21, 2025

Conversation

benjaminpreiss
Copy link
Collaborator

No description provided.

benjaminpreiss and others added 13 commits March 19, 2025 17:40
This commit introduces a new chat view option in the social media app, alongside the existing thread view. It includes:

- New ViewProvider context to manage view state (chat/thread)
- Enhanced Reply and CanvasPreview components to support chat-message variant
- Added "chat" as a new sort criteria option in the dropdown
- Auto-switching between views based on sort criteria selection
- UI improvements for the chat view with appropriate styling

The changes allow users to toggle between thread and chat display modes for better conversation flow.

Note: This is work in progress and may need further UI refinements and testing.
…atures

- Add left/right message alignment based on sender identity
- Improve chat bubble styling and container dimensions
- Implement proper avatar sizing in message headers
- Fix chat view sorting to display messages chronologically
- Add isMe utility function to identify user's messages across devices
- Fix height and spacing issues in conversation components
BREAKING CHANGE: Reply component API changed to use variant prop instead of separate view/variant props

- Refactor Preview component into smaller, focused subcomponents
- Improve type safety with discriminated union types for preview variants
- Restructure Reply component to use CSS grid for better layout control
- Add chat message alignment support with left/right positioning
- Extract blur background into separate reusable component
- Fix typo in separateAndSortRects function name
- Add utility for combining Tailwind classes
- Improve code organization and readability throughout
- Add type safety to tailwind utility functions
- Optimize breadcrumb navigation layout and sizing
- Add JSDoc documentation to content components
- Clean up conditional class name assignments
- Add markdown parsing utilities for preview text
- Add consistent max-width and centering for canvas content
- Improve spacing between replies with dynamic grid gaps
- Update sticky header styling and background colors
- Refactor reply spacing logic for better visual hierarchy
- Move gap logic from Reply to Replies component for better organization

The changes enhance the visual consistency and readability of the canvas
replies section while maintaining responsive behavior.
@benjaminpreiss benjaminpreiss linked an issue Mar 21, 2025 that may be closed by this pull request
@benjaminpreiss benjaminpreiss merged commit cabcc57 into master Mar 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Differentiate replies bar style
2 participants