feat: Bootstrap the Electron application with React, Convex, and LiveKit, including a FriendsView component and a Gitea CI/CD release workflow.
Some checks failed
Build and Release / build-and-release (push) Failing after 27m21s
Some checks failed
Build and Release / build-and-release (push) Failing after 27m21s
This commit is contained in:
@@ -74,46 +74,9 @@ const FriendsView = ({ onOpenDM }) => {
|
||||
{tab}
|
||||
</div>
|
||||
))}
|
||||
<div
|
||||
onClick={() => setActiveTab('Add Friend')}
|
||||
className="friends-tab"
|
||||
style={{
|
||||
cursor: 'pointer',
|
||||
color: activeTab === 'Add Friend' ? '#fff' : '#3ba55c',
|
||||
backgroundColor: activeTab === 'Add Friend' ? '#3ba55c' : 'transparent',
|
||||
padding: '2px 8px',
|
||||
borderRadius: '4px',
|
||||
fontWeight: 500,
|
||||
fontSize: '14px'
|
||||
}}
|
||||
>
|
||||
Add Friend
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{activeTab === 'Add Friend' && (
|
||||
<div style={{ padding: '16px 20px' }}>
|
||||
<input
|
||||
type="text"
|
||||
placeholder="Search for a user to start a conversation..."
|
||||
value={addFriendSearch}
|
||||
onChange={(e) => setAddFriendSearch(e.target.value)}
|
||||
style={{
|
||||
width: '100%',
|
||||
backgroundColor: 'var(--bg-tertiary)',
|
||||
border: '1px solid var(--border-subtle)',
|
||||
borderRadius: '8px',
|
||||
color: 'var(--text-normal)',
|
||||
padding: '10px 14px',
|
||||
fontSize: '14px',
|
||||
outline: 'none',
|
||||
boxSizing: 'border-box'
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
)}
|
||||
|
||||
{/* List Header */}
|
||||
<div style={{ padding: '16px 20px 8px' }}>
|
||||
<div style={{
|
||||
|
||||
Reference in New Issue
Block a user