Skip to content

Commit

Permalink
Merge pull request #34 from christianhellsten/talking-to
Browse files Browse the repository at this point in the history
Add ”talking to”
  • Loading branch information
christianhellsten committed Jan 30, 2024
2 parents 268b7df + b0d8388 commit 1d65903
Show file tree
Hide file tree
Showing 42 changed files with 10,898 additions and 448 deletions.
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ $ parcel build index.html
- [ ] Speech recognition
- [ ] Image upload / multi-modal
- [ ] Markdown support
- [ ] Fork chat
- [ ] Fork chat before / after message

## Done

Expand Down Expand Up @@ -180,7 +182,13 @@ $ parcel build index.html
- Delete chat
- Download chat
- Scroll to top/bottom
- Copy chat to clipboard
- Copy to clipboard

**Chat message**

- Delete chat message
- Copy to clipboard
- Mark as good, bad, or flagged

**Chats**

Expand Down Expand Up @@ -220,3 +228,8 @@ We value and support both our open source community and commercial users. By pro

</summary>
</details>

<details>
<summary>Built with</summary>
HTML, CSS, and JavaScript
</details>
8 changes: 8 additions & 0 deletions css/ChatArea.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,11 @@
#chat-menu-button {
background-color: var(--secondary-bg-color);
}

#chat-model-info {
padding: 0.25rem 0.75rem;

.chat-model-name {
@extend %font-weight-bolder;
}
}
22 changes: 16 additions & 6 deletions css/animations.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,32 @@ ul {

// Sidebar
#sidebar {
transition: min-width 0.5s ease-out, max-width 1s ease-out;
transition: min-width 0.5s ease-out, max-width 0.5s ease-out;
}

#sidebar.collapsed {
transition: min-width 0.5s ease-in, max-width 1s ease-in;
transition: min-width 0.5s ease-in, max-width 0.5s ease-in;
}

// Modal dialogs
.modal {
transform: scale(0.9); /* Start slightly scaled down */
transition: opacity 0.5s ease, transform 0.5s ease-in; /* Transition effect */
opacity: 0%;
transition: opacity 0.5s ease;

.modal-content {
transform: scale(0.9); /* Start slightly scaled down */
transition: transform 0.5s ease-in;
}
}

.modal.show {
transition: opacity 0.5s ease, transform 1s ease-out; /* Transition effect */
transform: scale(1); /* Scale to original size */
opacity: 100%;
transition: opacity 0.5s ease;

.modal-content {
transform: scale(1); /* Scale to original size */
transition: transform 0.5s ease-out;
}
pointer-events: auto; /* Allow interactions */
}

Loading

0 comments on commit 1d65903

Please sign in to comment.