-
Notifications
You must be signed in to change notification settings - Fork 2
[mercury][chat]
Add official styles for the Chat component, improve markdown-viewer styles and add assistant-fill icon
#594
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
Changes from 24 commits
Commits
Show all changes
167 commits
Select commit
Hold shift + click to select a range
4d48b1a
`[dependencies]` Update Chameleon to `"~6.13.0"`
bsastregx 33bd2f7
`[mercury]` Add brand logo
bsastregx 4387057
`[showcase]` Add nexa image, Mercury brand logo
bsastregx aaaf8c0
`[chat]` Add showcase required files
bsastregx bf5a72f
`[chat]` Temporarily add models and metadata in `/showcase`
bsastregx bfc2174
Create renderItemMercury.ts
bsastregx a3bb5d1
`[chat]` Use `getMessageSerializedContentAll` whenc opying the message
bsastregx 1d26296
`[mercury][showcase]` Update Chameleon to latest
bsastregx 5a894ab
`[showcase][chat]` Rename custom render item file extension
bsastregx 73652b2
`[showcase][chat]` Update all files, and add dots animation
bsastregx 70f33d9
`[mercury][chat]` Update styles to match chat lit render
bsastregx eb2aa9d
`[showcase][chat]` Add "User Message" case
bsastregx c39f726
`[showcase][chat]` Add "Assistant Message" case
bsastregx d930af4
`[showcase][chat]` Add "Assistant Message: Warning" case
bsastregx 50cdeed
`[showcase][chat]` Add "Assistant Message: Success" case
bsastregx e1ae9b0
`[showcase][chat]` Fix typo
bsastregx 806b431
`[showcase][chat]` Add "Error Message" case
bsastregx 103d759
`[showcase][chat]` Add "Markdown Message" case
bsastregx f452a39
`[showcase][chat]` Improve a little bit the messages models
bsastregx 82b9a22
`[showcase][chat]` Set `generatingResponse` to boolean
bsastregx 4ef4b34
`[showcase][chat]` Remove unused styles and comments
bsastregx fb21699
`[showcase][chat]` Clean up `chat.component.ts`
bsastregx d12a385
`[showcase][]chat` Fix block-size cases
bsastregx 811db4b
`[showcase][chat]` Fix typo
bsastregx 3f8f5a8
`[showcase][compatibility-table]` Update version and UI
bsastregx 3d74716
Update app.component.html
bsastregx 5326eef
Update package.json
bsastregx 4ae2a19
`[showcase][chat][dots-animation]` Replace `span` with `div` for sema…
bsastregx c815b52
`[showcase][chat][dots-animation]` Remove props for color in favor of…
bsastregx 9763547
`[showcase][chat][dots-animation]` Remove unrequired "from" keyframes
bsastregx 2ce2549
`[showcase][chat]` Remove required Chat types
bsastregx 8297e51
`[showcase][chat]` Use mer token for time color
bsastregx 61b593e
`[showcase][chat]` Make "copied" text animation work in RTL as well
bsastregx ec9e23c
`[showcase][chat]` Remove fixed colors
bsastregx 0161898
`[chat][animation-dots]` Fix `--dot-initial-scale` variable
bsastregx c93a956
Update renderItemMercury.lit.ts
bsastregx 0541889
`[chat][render-item-mercury]` Rename file
bsastregx b08e6be
`[chat][custom-code-block]` Add custom code block file
bsastregx ce8bd2e
`[chat][render-item-mercury]` Rename `MercuryMessageMetadata` to `Mer…
bsastregx e166bbf
`[chat][render-item-mercury]` Add optional chaining on setTimeOut's
bsastregx 94c4599
`[chat][render-item-mercury]` Remove unnecessary casting
bsastregx d9876b7
`[chat][render-item-mercury]` Use `MercuryChatMessageMetadata` and ma…
bsastregx 24c73e4
`[chat][render-item-mercury]` Change `when` for `nothing` in time
bsastregx 0729fff
`[chat][render-item-mercury]` Move `messageStructure` outside `render…
bsastregx 69dedcd
`[chat][render-item-mercury]` Move `customAssistantContentRender` out…
bsastregx fe88700
`[chat][render-item-mercury]` Remove avatar image page requirement fr…
bsastregx f3c89dd
Update render-item-mercury.lit.ts
bsastregx 6bb4a35
`[chat]` Move mercury item render from `/showcaese` to `/mercury`
bsastregx 6b432c3
`[mercury][chat]` Include default ai-avatar image
bsastregx 7d0de53
`[mercury][chat]` Rename chat files (remove redundant words)
bsastregx 1fb471a
`[showcase][chat]` Put back chat files to work faster
bsastregx 19631e1
`[showcase][chat]` Use local imports (temporarily)
bsastregx 5e7628c
`[mercury][tsconfig]` Include chat ts and `DOM` to lib
bsastregx 5872ac5
`[mercury][chat]` import types as type
bsastregx 43f1f0c
Update dots-animation.ts
bsastregx fee5832
Update package.json
bsastregx 50b54bc
Update index.ts
bsastregx aedca75
`[mercury][chat]` Remove !important
bsastregx 935899b
`[mercury][chat]` Use font style
bsastregx 98199a8
`[chat]` Apply several PR review suggestions
bsastregx 0df64bd
`[chat][mercury]` Update avatar styles
bsastregx 1f75d66
`[chat][mercury]` Add custom variables for avatar styles
bsastregx 4c334f6
`[chat][mercury]` Remove custom copy button from header
bsastregx 687956a
`[chat][mercury]` Add required utils
bsastregx c18633d
`[mercury][chat]` Add "content-container" part and remove copied-sele…
bsastregx ea1dd42
`[chat][showcase]` Temporary utils update
bsastregx ce2507d
`[chat]` Add `actions.lit.ts`
bsastregx 3dc252a
`[showcase][chat]` Revert chat block-size
bsastregx 4a1453d
`[chat][markdown-viewer][mercury]` Stylize code-blocck parts
bsastregx c42db6c
`[chat]` Use a generic function for copying button
bsastregx 421600f
`[chat][markdown-viewer]` Apply gap on every content-container
bsastregx 636dfd0
`[mercury][chat][markdown-viewer]` Remove block margin from first or …
bsastregx 9a61ac5
`[chat][mercury]` Display actions on error message
bsastregx 8f7333f
`[showcase][chat]` Adjust chat cases block-size
bsastregx 6030fc0
`[chat][utils]` Clean up file
bsastregx f66aa62
`[mercury][icon]` Add "assistant-fill" icon and use on chat
bsastregx e9c8a09
Commit to update from main
bsastregx 348f4c3
Merge branch 'main' into mercury/chat-message-render-lit
bsastregx 5315218
Update yarn.lock
bsastregx b830e01
`[chat][render-item]` Clean up and refactorize `render-item`
bsastregx cf911f1
`[common][paginator]` Update for breaking changes
bsastregx a450f6d
Update MERCURY_ASSETS.ts
bsastregx 9ab6945
`[chat][mercury]` Update code block button styles
bsastregx cec1183
`[chat][mercury]` Update send-input styles
bsastregx 85afeeb
`[ch-chat][mercury]` Add "attach file" related elements
bsastregx 28e9974
`[ch-chat][mercury]` Set "send-input" min-block-size
bsastregx 9b869e1
`[chat][mercury]` Add attached files viewer
bsastregx 5e22fde
`[chat][mercury]` Fix block size difference
bsastregx 1f9ea74
`[mercury][ch-chat]` checkpoint: saving progress
bsastregx eede51c
Update yarn.lock
bsastregx 6be028f
`[mercury][ch-chat]` Add file related parts to styles
bsastregx 7acb0b1
`[mercury][ch-chat]` Include lit custom render files
bsastregx 42895f2
`[showcase][ch-chat]` Update showcase
bsastregx b9b61f4
`[showcase][ch-chat]` Move temporary files to `/mercury`
bsastregx 1d8277b
`[mercury][ch-chat]` Add chat specific tokens
bsastregx 85cea3b
`[showcase]` Add mercury imports
bsastregx d6dcb59
`[mercury][ch-chat][markdown-viewer]` Fixes for markdown in chat
bsastregx e28ad7d
`[mercury][ch-chat]` Export mercury render and message custom type
bsastregx ec0585b
`[showcase][internal]` Ignore `renderItemMercury` from `define-variab…
bsastregx 41eb525
Update yarn.lock
bsastregx cf76594
Merge branch 'main' into mercury/chat-message-render-lit
bsastregx 8cfe173
`[mercury][icons]` Regenerate `MERCURY_ASSETS.ts`
bsastregx cf1d66a
Update yarn.lock
bsastregx a5acfd7
`[mercury][bundles]` Update test bundles
bsastregx 12ae2a7
`[common][showcase]` `bundleToHashMapping` super WA
bsastregx 530d544
Update yarn.lock
bsastregx 71fada9
`[chat][showcase]` Update chat "file" related functions and styles
bsastregx ca7b405
Update _chat-styles.scss
bsastregx 72ed418
`[mercury][chat]` Update showcase and styles for files
bsastregx 82c5163
`[mercury][chat]` Remove temporarily `chat-lit` that was created as a WA
bsastregx 20c25b9
`[showcase][chat]` Remove chat files that belong to `/mercury` package
bsastregx c615b25
`[common][components][chat]` Add metadata
bsastregx 88d6a23
`[mercury][chat]` Tidy up stylesheet
bsastregx 6159851
`[mercury][chat]` Update file related files
bsastregx 3797f1a
`[mercury][chat]` Move chat exports from `index.ts`to `package.json`
bsastregx 1638648
`[showcase]` Use `design-system-common` localy with `file:../common`
bsastregx 032ff9a
Update chat.component.ts
bsastregx 2bab23c
Update utils.ts
bsastregx 4f1dfc1
Update yarn.lock
bsastregx bf01b89
`[mercury][chat]` Remove references to delete "chat-lit" bundle
bsastregx fd95c88
`[mercury][chat]` Rename files
bsastregx 00c5dfb
`[showcase][mercury][chat]` Apply PR review suggestions
bsastregx cc82887
`[general][packages]` Use local versions of `mercury` and `common`
bsastregx 36c0983
`[showcase][chat]` Add "headings" and improve "code blocks" cases
bsastregx caba1b1
`[mercury][chat]` Reduce heading's font-size's
bsastregx afd1ba5
`[mercury][chat]` Prevent chat custom elements from being defined again
bsastregx eb97a60
`[mercury][spin]` Move spin keyframes outside mixin to avoid duplication
bsastregx ce9c870
`[mercury][sass]` Fix `DEPRECATION WARNING [mixed-decls]` warnings
bsastregx 6755fb8
`[mercury][bundles]` Update bundles tests
bsastregx 8270b2e
`[mercury][chat]` Update tests
bsastregx 3251bbf
`[common]` Make this package private
bsastregx 37f8007
`[mercury][markdown-viewer]` Reduce headings sizes
bsastregx 762e55a
`[mercury][markdown-viewer]` Use smaller headings
bsastregx 40e8b65
`[mercury][chat]` Improve "open-file" link accesibility
bsastregx 51920b1
`[mercury][chat]` Apply PR review suggestions
bsastregx a059c49
`[mercury][chat]` Apply PR review suggestions
bsastregx 8e824f7
`[mercury][showcase][common]` General update
bsastregx 2e82fbe
`[chameleon]` Use local Chameleon
bsastregx 1da1454
`[common][mercury]` Update chat
bsastregx d886f2e
`[mercury][chat]common]` Update metadata and styles
bsastregx 2b043ae
Update assets-manager.ts
bsastregx 5d45db0
`[chat][mercury][showcase]` General update
bsastregx c2e2d2d
`[mercury][chat]` Update chat render, styles, and related files
bsastregx 0a01550
`[showcase][chat]` Upadte chat showcase page and common medata
bsastregx fd626c1
Update category-explanation.ts
bsastregx 04c112c
`[showcase][common]` Use local chameleon
bsastregx 96e4043
`[general]` Update *-lock.json
bsastregx d420c49
`[mercury][tests]` Update bundles tests
bsastregx bfac441
`[showcase][mercury]` Last update from PR review
bsastregx a9649fc
`[mercury][chat][tests]` Update bundles tests
bsastregx 1478e3f
Merge branch 'main' into mercury/chat-message-render-lit
bsastregx a521b08
Update models.ts
bsastregx b5f9831
Update MERCURY_ASSETS.ts
bsastregx ed0470a
`[mercury][tests]` Update bundles tests
bsastregx 0738072
`[mercury][tests]` Update bundles tests
bsastregx 2f20248
Fix build issues
ncamera 13e1254
Improve the default value for --chat-send-input-max-lines
ncamera d358a61
Update chat.component.html
ncamera fdccbb9
Fix build issues
ncamera 2b94161
Improve translation
ncamera 95a63b0
Correct peerDependency
ncamera 4f86c41
Bump chameleon in the showcase
ncamera 0548491
Correct the compatibility-table
ncamera c7baf11
Update local references to Mercury
bsastregx 214407b
Merge branch 'main' into mercury/chat-message-render-lit
bsastregx 0942157
Resolve bundles conflicts
bsastregx dfd864c
Update MERCURY_ASSETS.ts
bsastregx File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bsastregx marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.