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/remove ccjs #1991

Merged
merged 43 commits into from
Dec 20, 2023
Merged

Feat/remove ccjs #1991

merged 43 commits into from
Dec 20, 2023

Conversation

Crash--
Copy link
Contributor

@Crash-- Crash-- commented Aug 21, 2023

### 🔧 Tech

* Remove cozy-client-js 
* Use harvest everywhere. No more manual konnector modal. 

@Crash-- Crash-- force-pushed the feat/removeCCJS branch 2 times, most recently from d418b8b to 8d99203 Compare October 19, 2023 09:46
Copy link

bundlemon bot commented Nov 14, 2023

BundleMon

Files updated (6)
Status Path Size Limits
intents/index.html
546B (+48B +9.64%) 1KB
app-home.(hash).min.css
14.1KB (-25B -0.17%) 15KB
intents-home.(hash).min.css
3.23KB (-2.53KB -43.87%) 6KB
app/home.(hash).js
36.56KB (-7.63KB -17.27%) 50KB
intents/home.(hash).js
23.02KB (-10.38KB -31.08%) 35KB
vendors/home.(hash).js
1.21MB (-14.24KB -1.14%) 1.5MB
Unchanged files (7)
Status Path Size Limits
services/softDeleteOrRestoreAccounts/home.js
480.57KB 490KB
services/updateAccounts/home.js
464.46KB 465KB
services/deleteAccounts/home.js
313.62KB 500KB
services/myselfFromIdenties/home.js
237.84KB 240KB
services/polyfillFetch/home.js
98.39KB 99KB
vendors-home.(hash).(hash).min.css
30.04KB 35KB
services/attributesHelpers/home.js
15.12KB 16KB

Total files change -34.77KB -1.16%

Final result: ✅

View report in BundleMon website ➡️


Current branch size history | Target branch size history

@cballevre cballevre requested a review from zatteo December 8, 2023 14:33
@Crash-- Crash-- changed the title [WIP] Feat/remove ccjs Feat/remove ccjs Dec 15, 2023
We had a few issues with the data persistence within the flagship app.
This is mostly due to the fact that we have a lot of way to manage data
for the Home application.

Here, I remove the `fetchTriggers` to use query(Q('io.cozy.triggers'))
everywhere within the app.

I also changed the konnectorTile to use data from the cozy-client store
instead of the one from the Home.
Stack returns twice the app when served by --serve option in dev mode
resulting in a lot of warning in the console. Made a quick dedup
Instead of having our own implementation
This intent should be called with closable=false since Harvest will
handle by itself how to cancel.
Crash-- and others added 25 commits December 20, 2023 15:49
- Move the file close to its component
- make it dynamic for the konnector name
- Split describe in order to have UI and no UI stuff
Need to check why I've removed it recently.
It was previoulsy done by KonnectorsErrors, but since
we've removed it, it was not there anymore.
Let's the Intent Service tell the IntentModal that the cross should
be hidden

Depends on:
cozy/cozy-ui#2520
cozy/cozy-libs#2323
The idea is to be able to display an account from every where.
This intent is not directly used in production, but it's useful to test
the end (aka the display of harvest) of the intent
create io.cozy.accounts.

I used it to debug the "open in Drive" feature, since the link was not
working.
Because Harvest is based on `cozySubdomainType` and we didn't have it
in this template, it didn't work in the intents. So I added the same
attributes as the browser ones.
@cballevre cballevre merged commit dc0c53e into master Dec 20, 2023
5 checks passed
@cballevre cballevre deleted the feat/removeCCJS branch December 20, 2023 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants