Skip to content
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

feat(cells): repository logic for the file dropzone #18800

Open
wants to merge 28 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
4df6490
feat: creeate CellsRepository
olafsulich Feb 24, 2025
f167b5f
Merge branch 'dev' of github.com:wireapp/wire-webapp into feat/cells-…
olafsulich Feb 24, 2025
d81043a
feat: cells draft
olafsulich Feb 24, 2025
df9c184
chore: reverse webpack changes
olafsulich Feb 24, 2025
df97145
feat: remove unsued code
olafsulich Feb 26, 2025
09bbf74
feat: add loading state to preview cards
olafsulich Feb 27, 2025
b6fb146
feat(FilePrevious): add card states
olafsulich Feb 28, 2025
d4c3e42
chore: update packages
olafsulich Mar 4, 2025
9aba431
feat(Conversation): create ConversationFileDropzone for switching bet…
olafsulich Mar 4, 2025
7cec9f4
feat(Conversation): add file sharing permission check before upload
olafsulich Mar 4, 2025
64b0f84
feat: enhance file uploading errors
olafsulich Mar 4, 2025
d554cbe
feat(i18n): add localization for file preview error actions
olafsulich Mar 4, 2025
1543667
chore: merge dev
olafsulich Mar 4, 2025
a97dc2f
refactor: replace spinner with FilePreviewSpinner component in AudioP…
olafsulich Mar 4, 2025
a8b5419
refactor: update file preview components to use non-optional loading …
olafsulich Mar 4, 2025
5ace3b5
refactor: improve file preview error and loading state rendering
olafsulich Mar 4, 2025
12a46b2
feat(i18n): add aria-label for file preview error more options button
olafsulich Mar 4, 2025
6ac5f57
refactor: simplify file preview rendering condition
olafsulich Mar 4, 2025
8fdd8dd
refactor: add fallback values for API client configuration
olafsulich Mar 4, 2025
05d37ab
chore: update @wireapp/core and @wireapp/api-client dependencies
olafsulich Mar 4, 2025
48f6cf0
feat: improve file preview error state visualization
olafsulich Mar 4, 2025
b3f7697
refactor: simplify APIClient configuration access
olafsulich Mar 4, 2025
a6c65f9
test: mock auto-animate for testing
olafsulich Mar 4, 2025
1bbcc82
refactor: remove null coalescing for API client configuration
olafsulich Mar 4, 2025
f2a97ee
fix: disable cells feature in conversation file dropzone
olafsulich Mar 4, 2025
20df43b
refactor(Conversation): create useFilesUploadDropzone hook
olafsulich Mar 4, 2025
032f665
chore: merge dev
olafsulich Mar 6, 2025
a073942
refactor(Conversation): replace nullish coalising with the logical or
olafsulich Mar 6, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: update packages
  • Loading branch information
olafsulich committed Mar 4, 2025
commit d4c3e421d5173fd95eea93b6fbfd48b8222b18f1
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"dependencies": {
"@aws-sdk/client-s3": "^3.750.0",
"@datadog/browser-logs": "5.35.1",
"@datadog/browser-rum": "5.35.1",
"@emotion/react": "11.11.4",
Expand All @@ -16,14 +15,13 @@
"@wireapp/avs": "9.10.25",
"@wireapp/avs-debugger": "0.0.7",
"@wireapp/commons": "5.4.1",
"@wireapp/core": "46.19.4",
"@wireapp/core": "46.19.5",
"@wireapp/react-ui-kit": "9.37.0",
"@wireapp/store-engine-dexie": "2.1.15",
"@wireapp/telemetry": "0.3.1",
"@wireapp/webapp-events": "0.28.0",
"amplify": "https://github.com/wireapp/amplify#head=master",
"beautiful-react-hooks": "5.0.2",
"cells-sdk-ts": "https://github.com/pydio/cells-sdk-ts#dev",
"classnames": "2.5.1",
"copy-webpack-plugin": "12.0.2",
"core-js": "3.40.0",
Expand Down
77 changes: 31 additions & 46 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ __metadata:
languageName: node
linkType: hard

"@aws-sdk/client-s3@npm:3.750.0, @aws-sdk/client-s3@npm:^3.750.0":
"@aws-sdk/client-s3@npm:3.750.0":
version: 3.750.0
resolution: "@aws-sdk/client-s3@npm:3.750.0"
dependencies:
Expand Down Expand Up @@ -7405,12 +7405,12 @@ __metadata:
languageName: node
linkType: hard

"@wireapp/api-client@file:.yalc/@wireapp/api-client::locator=wire-webapp%40workspace%3A.":
version: 27.19.0
resolution: "@wireapp/api-client@file:.yalc/@wireapp/api-client#.yalc/@wireapp/api-client::hash=5fa239&locator=wire-webapp%40workspace%3A."
"@wireapp/api-client@npm:^27.20.1":
version: 27.20.1
resolution: "@wireapp/api-client@npm:27.20.1"
dependencies:
"@aws-sdk/client-s3": "npm:3.750.0"
"@wireapp/commons": "npm:^5.4.1"
"@wireapp/commons": "npm:^5.4.2"
"@wireapp/priority-queue": "npm:^2.1.11"
"@wireapp/protocol-messaging": "npm:1.51.0"
axios: "npm:1.7.9"
Expand All @@ -7425,31 +7425,7 @@ __metadata:
uuid: "npm:11.1.0"
ws: "npm:8.18.1"
zod: "npm:3.24.2"
checksum: 10/fd10942f363255c408cede3de323656c471d86de86a7992605b403ad2bdc91b40701619f6959c0443aa1c952d112b1f8960c1fca0396cb33f80c4d634ff2c817
languageName: node
linkType: hard

"@wireapp/api-client@npm:^27.20.0":
version: 27.20.0
resolution: "@wireapp/api-client@npm:27.20.0"
dependencies:
"@aws-sdk/client-s3": "npm:3.750.0"
"@wireapp/commons": "npm:^5.4.1"
"@wireapp/priority-queue": "npm:^2.1.11"
"@wireapp/protocol-messaging": "npm:1.51.0"
axios: "npm:1.7.9"
axios-retry: "npm:4.5.0"
cells-sdk-ts: "https://github.com/pydio/cells-sdk-ts#dev"
http-status-codes: "npm:2.3.0"
logdown: "npm:3.3.1"
pako: "npm:2.1.0"
reconnecting-websocket: "npm:4.4.0"
spark-md5: "npm:3.0.2"
tough-cookie: "npm:4.1.4"
uuid: "npm:11.1.0"
ws: "npm:8.18.1"
zod: "npm:3.24.2"
checksum: 10/7244693c6997dd2903223e10b8e0f2eb8d0f326495d68933efa1f682ea2fec03912508bdc37f71460ec102c333697ff8a026e79361fee068eae2e047f223944f
checksum: 10/9a92728cd1200d37c985b5f866e69b71a7f40026da5683f885643075eb89df49bf64ee096851e5d11773faa90ea39600651919016b8748f8fa18a764d2c8b938
languageName: node
linkType: hard

Expand Down Expand Up @@ -7478,7 +7454,7 @@ __metadata:
languageName: node
linkType: hard

"@wireapp/commons@npm:5.4.1, @wireapp/commons@npm:^5.4.1":
"@wireapp/commons@npm:5.4.1":
version: 5.4.1
resolution: "@wireapp/commons@npm:5.4.1"
dependencies:
Expand All @@ -7490,6 +7466,18 @@ __metadata:
languageName: node
linkType: hard

"@wireapp/commons@npm:^5.4.2":
version: 5.4.2
resolution: "@wireapp/commons@npm:5.4.2"
dependencies:
ansi-regex: "npm:5.0.1"
fs-extra: "npm:11.3.0"
logdown: "npm:3.3.1"
platform: "npm:1.3.6"
checksum: 10/730b304d2b9027431b984045316208f6cdd5597209c2d09e297a184e4d9793347e33cb3508bbeed22b1970adf39ff861e9ebe36bd036e89391135e5e1320d779
languageName: node
linkType: hard

"@wireapp/copy-config@npm:2.3.0":
version: 2.3.0
resolution: "@wireapp/copy-config@npm:2.3.0"
Expand All @@ -7514,16 +7502,16 @@ __metadata:
languageName: node
linkType: hard

"@wireapp/core@npm:46.19.4":
version: 46.19.4
resolution: "@wireapp/core@npm:46.19.4"
"@wireapp/core@npm:46.19.5":
version: 46.19.5
resolution: "@wireapp/core@npm:46.19.5"
dependencies:
"@wireapp/api-client": "npm:^27.20.0"
"@wireapp/commons": "npm:^5.4.1"
"@wireapp/api-client": "npm:^27.20.1"
"@wireapp/commons": "npm:^5.4.2"
"@wireapp/core-crypto": "npm:3.1.0"
"@wireapp/cryptobox": "npm:12.8.0"
"@wireapp/priority-queue": "npm:^2.1.11"
"@wireapp/promise-queue": "npm:^2.3.11"
"@wireapp/promise-queue": "npm:^2.3.12"
"@wireapp/protocol-messaging": "npm:1.51.0"
"@wireapp/store-engine": "npm:5.1.11"
axios: "npm:1.7.9"
Expand All @@ -7536,7 +7524,7 @@ __metadata:
long: "npm:^5.2.0"
uuid: "npm:9.0.1"
zod: "npm:3.24.2"
checksum: 10/db6df30689be1af12af3f775df800dd0034acb06e2647163437e790e3de0e7443d70a226e01bb98329f3a2cac5b76687d6f58a03ccf214764dbe54ee124daf26
checksum: 10/7246eb2eb6ea4ee50df3606265e60d8348b8909b5ad615b40c32ccece0e3379541aee91cd9181b3bbe3675ab8d85c76d2190ddc1b2895a1fefa57ecab0386db8
languageName: node
linkType: hard

Expand Down Expand Up @@ -7619,10 +7607,10 @@ __metadata:
languageName: node
linkType: hard

"@wireapp/promise-queue@npm:^2.3.11":
version: 2.3.11
resolution: "@wireapp/promise-queue@npm:2.3.11"
checksum: 10/203c0a9b41a0f95861e87d43452af4cc390480a7023dad8e8fc7c87074930848edcebaed811ad1c78400cf47530629d498bf2dd04be40339e027144bf2fdf0fd
"@wireapp/promise-queue@npm:^2.3.12":
version: 2.3.12
resolution: "@wireapp/promise-queue@npm:2.3.12"
checksum: 10/9ecddd9541c463eb388ed142353e11f79387f6a7985f492a2b4cfd0c5904e943306c84dbda117907d97b7fe5ac272abba354cda28aa3350cbaf7455c8c52084f
languageName: node
linkType: hard

Expand Down Expand Up @@ -20733,7 +20721,6 @@ __metadata:
version: 0.0.0-use.local
resolution: "wire-webapp@workspace:."
dependencies:
"@aws-sdk/client-s3": "npm:^3.750.0"
"@babel/core": "npm:7.26.9"
"@babel/plugin-proposal-decorators": "npm:7.25.9"
"@babel/preset-env": "npm:7.26.9"
Expand Down Expand Up @@ -20784,12 +20771,11 @@ __metadata:
"@types/uuid": "npm:^10.0.0"
"@types/webpack-env": "npm:1.18.8"
"@types/wicg-file-system-access": "npm:^2023.10.5"
"@wireapp/api-client": "file:.yalc/@wireapp/api-client"
"@wireapp/avs": "npm:9.10.25"
"@wireapp/avs-debugger": "npm:0.0.7"
"@wireapp/commons": "npm:5.4.1"
"@wireapp/copy-config": "npm:2.3.0"
"@wireapp/core": "npm:46.19.4"
"@wireapp/core": "npm:46.19.5"
"@wireapp/eslint-config": "npm:3.0.7"
"@wireapp/prettier-config": "npm:0.6.4"
"@wireapp/react-ui-kit": "npm:9.37.0"
Expand All @@ -20803,7 +20789,6 @@ __metadata:
babel-loader: "npm:9.2.1"
babel-plugin-transform-import-meta: "npm:2.3.2"
beautiful-react-hooks: "npm:5.0.2"
cells-sdk-ts: "https://github.com/pydio/cells-sdk-ts#dev"
classnames: "npm:2.5.1"
copy-webpack-plugin: "npm:12.0.2"
core-js: "npm:3.40.0"
Expand Down