Commit 43d5b5c
Add attachment bar for preview upload (#5464)
* Upgrade tests
* Use test ID
* Adding attachment bar
* Upload multiple files
* Rename
* Add more text-only test case
* Add text only style
* Scroll into view
* Allow container/media query and custom variables
* Fit and finish
* Trim bar padding
* Support reduced motion
* Add escape key focus
* Add tests
* Add file preview thumbnail
* Refactor styleSet
* Bigger delete icon
* Add test for ESCAPE key
* Add test for delete button
* Fix extra bottom padding
* Add test for delete in text mode
* Focus on text box after attachment is deleted
* Add clear after send test
* No line break
* 16x16 icon
* Add accessibility labels
* Add styleOptions
* Rename to as-list-item and as-thumbnail
* Fix padding
* Use test ID
* Clean up
* Add entry
* Add issue number
* Fix class naem
* Add styleOptions.sendBoxAttachmentBarMaxHeight
* Update PR number
* Make attachment bar full width
* Fix test
* Fix empty attachment bar
* Add preview
* Fix flaky test
* Fix screenshot for full-width attachment bar
* Fix screenshot for full-width attachment bar
* Remove propTypes
* Update prop checking
* Upgrade to valibot for props validation
* Fix flaky
* Add dark mode test for delete button
* Incorporate suggestions
* Use #region/#endregion
* Remove center after move to masker
* Remove display: content
* Adds <ModdableIcon>
* Use moddable icon
* Use icon size
* Move attachment bar to top
* Fix test for moving attachment bar above send box
* Fix test
* Fix button size
* Fix delete icon size
* Add achievement
---------
Co-authored-by: Eugene <EOlonov@gmail.com>1 parent 0230b9a commit 43d5b5c
File tree
85 files changed
+1713
-48
lines changed- __tests__
- __image_snapshots__/html
- html2
- avatar
- bubble
- sendBox
- previewBeforeSend
- sendAttachmentOn
- html
- assets/uploads
- sendAttachmentOn
- setup
- elements
- local
- packages
- api/src
- hooks
- localization
- component/src
- ModdableIcon
- SendBoxToolbar
- SendBox
- AttachmentBar
- Preview
- Styles
- StyleSet
- types
- Utils
- test/page-object/src/globals/pageElements
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
85 files changed
+1713
-48
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
48 | 57 | | |
49 | 58 | | |
50 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| 95 | + | |
| 96 | + | |
95 | 97 | | |
96 | 98 | | |
97 | 99 | | |
| |||
Loading
0 commit comments