Skip to content

Commit

Permalink
feat: Upgrade cozy-bar for new flag
Browse files Browse the repository at this point in the history
Benefit from the new `apps.hidden` flag, to hide apps in the bar menu.
This is typically done to hide the new dataproxy app used for search.
  • Loading branch information
paultranvan committed Nov 21, 2024
1 parent ecad49d commit fd0d7f1
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 16 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,10 @@
"@sentry/integrations": "7.88.0",
"@sentry/react": "7.119.0",
"classnames": "2.5.1",
"cozy-bar": "^15.0.0",
"cozy-client": "^49.8.0",
"cozy-bar": "^16.0.1",
"cozy-client": "^51.3.0",
"cozy-device-helper": "^3.0.0",
"cozy-devtools": "^1.2.1",
"cozy-doctypes": "^1.90.0",
"cozy-flags": "^3.2.2",
"cozy-harvest-lib": "^30.3.1",
Expand Down
2 changes: 1 addition & 1 deletion src/components/AppLayout.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
import { BarComponent, BarCenter } from 'cozy-bar'
import { RealTimeQueries } from 'cozy-client'
import { useClient } from 'cozy-client'
import CozyDevTools from 'cozy-client/dist/devtools'
import CozyDevTools from 'cozy-devtools'
import flag from 'cozy-flags'
import IconSprite from 'cozy-ui/transpiled/react/Icon/Sprite'
import { Layout, Main, Content } from 'cozy-ui/transpiled/react/Layout'
Expand Down
40 changes: 27 additions & 13 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5272,10 +5272,10 @@ cozy-app-publish@^0.27.2:
request "^2.88.0"
tar "^4.4.13"

cozy-bar@^15.0.0:
version "15.0.0"
resolved "https://registry.yarnpkg.com/cozy-bar/-/cozy-bar-15.0.0.tgz#781d07c1ac759b57cebb8af8d64b8f8ab425706a"
integrity sha512-T5D2Me0gmp4SDMvDBfR7V3E1IYAo1Adby7jUr9bk+aouyte4uz+KnAyEdgp6VXWBnbfUvAfqwBpTdwDzjaHXvQ==
cozy-bar@^16.0.1:
version "16.0.1"
resolved "https://registry.yarnpkg.com/cozy-bar/-/cozy-bar-16.0.1.tgz#1dc75cd4d23384777e6bbe7a068aacad3d1c0318"
integrity sha512-2B+bwKy+7WNR51HcXq+M1zie5epj8bdLQux3Ca/zBajAeCVBTfHPStywHh/KM758FpTN2b2z4P65/cjJ7O504Q==
dependencies:
hammerjs "2.0.8"
lodash.debounce "4.0.8"
Expand All @@ -5297,16 +5297,16 @@ [email protected]:
lodash "^4.17.20"
node-jose "^1.1.4"

cozy-client@^49.8.0:
version "49.8.0"
resolved "https://registry.yarnpkg.com/cozy-client/-/cozy-client-49.8.0.tgz#d4f6b3a2fb26dc6bfa561046b075eb6e221af73e"
integrity sha512-peb2n+buOihzqqNN3/zULmytQI8wOtQZsIqLWEaw2WfNXha1T23wNBrMuE7SaMOof361f011MrM5+WVYhKj+VA==
cozy-client@^51.3.0:
version "51.3.0"
resolved "https://registry.yarnpkg.com/cozy-client/-/cozy-client-51.3.0.tgz#a0272d6f51bf118773334d6545e88e9ec60a1b97"
integrity sha512-YgylGXNTGzOtWcBZA21D6fb8DBkkXqUHfHjJxZUl6wU6Orbf7lpdtZut1FzIynMgicwQG5ZZLoVTLXLCN8eKfg==
dependencies:
"@cozy/minilog" "1.0.0"
"@types/jest" "^26.0.20"
"@types/lodash" "^4.14.170"
btoa "^1.2.1"
cozy-stack-client "^49.8.0"
cozy-stack-client "^51.0.0"
date-fns "2.29.3"
json-stable-stringify "^1.0.1"
lodash "^4.17.13"
Expand Down Expand Up @@ -5343,6 +5343,15 @@ cozy-device-helper@^3.1.0:
dependencies:
lodash "^4.17.19"

cozy-devtools@^1.2.1:
version "1.2.1"
resolved "https://registry.yarnpkg.com/cozy-devtools/-/cozy-devtools-1.2.1.tgz#680976ab69ebdf2d2727cffc07243705794d1a83"
integrity sha512-6hMoeEdT3coU/LMBlwnFWrBNB6dpa6HlzB8ejHbb6pZwQtvtX6Sr4IzvCuqqd2ztjrlTZ/wivWE5sZeu+G7f0Q==
dependencies:
date-fns "2.29.3"
lodash "4.17.13"
react-inspector "5.1.1"

cozy-doctypes@^1.90.0:
version "1.90.0"
resolved "https://registry.yarnpkg.com/cozy-doctypes/-/cozy-doctypes-1.90.0.tgz#6ac69043d45be910c27cb0793a3e45e1a96b91de"
Expand Down Expand Up @@ -5590,10 +5599,10 @@ cozy-sharing@^16.0.0:
react-tooltip "^3.11.1"
snarkdown "^2.0.0"

cozy-stack-client@^49.8.0:
version "49.8.0"
resolved "https://registry.yarnpkg.com/cozy-stack-client/-/cozy-stack-client-49.8.0.tgz#c57dfefe50e47f228fee7e1921c438d35f4e0877"
integrity sha512-sYJL2o+DsNs7V5eQghXpWKcMzxc39QAKtM8zAdmWl2MMCyiqO3lBehRomhstcJHtuZrMLXXPQPr1A0ONBlMmZg==
cozy-stack-client@^51.0.0:
version "51.0.0"
resolved "https://registry.yarnpkg.com/cozy-stack-client/-/cozy-stack-client-51.0.0.tgz#73fbdb1cf8efc46cb89ad2266d04e1289a9ae355"
integrity sha512-ToaheKT0cziulvAxUl+H8mqmSXQmblCp6a5TKNnrEHOS3ExTmzOHmIgNrRDgDKi4G8hK93CZTi8gj49ffk0HYw==
dependencies:
detect-node "^2.0.4"
mime "^2.4.0"
Expand Down Expand Up @@ -10525,6 +10534,11 @@ [email protected]:
resolved "https://registry.yarnpkg.com/lodash.unionwith/-/lodash.unionwith-4.6.0.tgz#74d140b5ca8146e6c643c3724f5152538d9ac1f0"
integrity sha1-dNFAtcqBRubGQ8NyT1FSU42awfA=

[email protected]:
version "4.17.13"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.13.tgz#0bdc3a6adc873d2f4e0c4bac285df91b64fc7b93"
integrity sha512-vm3/XWXfWtRua0FkUyEHBZy8kCPjErNBT9fJx8Zvs+U6zjqPbTUOpkaoum3O5uiA8sm+yNMHXfYkTUHFoMxFNA==

[email protected]:
version "4.17.19"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.19.tgz#e48ddedbe30b3321783c5b4301fbd353bc1e4a4b"
Expand Down

0 comments on commit fd0d7f1

Please sign in to comment.