🚀 feat: Enhance Message Editing with File Resubmission (#2347)

* chore: fix type issue with File Table fakeData

* refactor: new lazy loading image strategy and load images/files as part of Message Container

* feat: resubmit files when editing messages with attached files
This commit is contained in:
Danny Avila 2024-04-07 13:25:24 -04:00 committed by GitHub
parent caabab4489
commit 3411d7a543
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 122 additions and 90 deletions

View file

@ -17,6 +17,7 @@ export const files: TFile[] = [
updatedAt: '2024-01-23T18:25:48.153Z',
usage: 0,
user: '652ac880c4102a77fe54c5db',
embedded: false,
},
{
_id: '65b004abd70ce86b9146e861',
@ -34,6 +35,7 @@ export const files: TFile[] = [
usage: 0,
user: '652ac880c4102a77fe54c5db',
width: 1024,
embedded: false,
},
{
_id: '65b00495d70ce86b9146adc1',
@ -51,6 +53,7 @@ export const files: TFile[] = [
usage: 0,
user: '652ac880c4102a77fe54c5db',
width: 1024,
embedded: false,
},
{
_id: '65b00494d70ce86b9146ace6',
@ -68,5 +71,6 @@ export const files: TFile[] = [
usage: 0,
user: '652ac880c4102a77fe54c5db',
width: 1024,
embedded: false,
},
];