Skip to content

Commit

Permalink
publish: Add Ubuntu 24.04 cozy-stack packages
Browse files Browse the repository at this point in the history
generated from commit b2d4b2f
  • Loading branch information
Travis CI User committed Jul 25, 2024
1 parent 3dc01a4 commit 894fb14
Show file tree
Hide file tree
Showing 9 changed files with 477 additions and 462 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ class HealthBillLinked extends NotificationView {
* Saves last notification date to transactions for which there was
* the notification.
*
* Executed by `Notification` when the notification has been successfuly sent
* Executed by `Notification` when the notification has been successfully sent
* See `Notification::sendNotification`
*/
async onSuccess() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ describe('HealthBillLinked', () => {
})

describe('onSuccess', () => {
it('should be called after successfuly sending notifications', async () => {
it('should be called after successfully sending notifications', async () => {
jest.spyOn(Bill, 'getAll').mockResolvedValue(mockBills)

const client = new CozyClient({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,13 +206,13 @@ class LateHealthReimbursement extends NotificationView {
* Saves last notification date to transactions for which there was
* the notification.
*
* Executed by `Notification` when the notification has been successfuly sent
* Executed by `Notification` when the notification has been successfully sent
* See `Notification::sendNotification`
*/
async onSuccess() {
log(
'info',
'[🔔 notifications] LateHealthReimbursement: notification successfuly sent'
'[🔔 notifications] LateHealthReimbursement: notification successfully sent'
)

this.toNotify.forEach(transaction => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ class TransactionGreater extends NotificationView {
* Saves last notification date to transactions for which there was
* the notification.
*
* Executed by `Notification` when the notification has been successfuly sent
* Executed by `Notification` when the notification has been successfully sent
* See `Notification::sendNotification`
*/
async onSuccess() {
Expand Down
2 changes: 1 addition & 1 deletion en/cozy-banks/src/targets/services/categorization.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const runCategorization = async client => {
}
}

log('info', 'All transactions have been successfuly categorized.')
log('info', 'All transactions have been successfully categorized.')

log('info', 'Starting onOperationOrBillCreate service...')
await startService(client, 'onOperationOrBillCreate')
Expand Down
4 changes: 2 additions & 2 deletions en/cozy-home/src/components/Sections/SectionHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ export const SectionHeader = ({
{section?.name}
</Divider>
) : isCategory ? (
t(`category.${section.name}`)
<div className="u-ellipsis">{t(`category.${section.name}`)}</div>
) : (
section?.name
<div className="u-ellipsis u-mr-half">{section?.name}</div>
)}

{!isCategory && section && (
Expand Down
27 changes: 21 additions & 6 deletions en/cozy-home/src/styles/lists.styl
Original file line number Diff line number Diff line change
Expand Up @@ -2,35 +2,50 @@
appTileSize = 4rem
appGridGutter = 2rem
mobileGridGutter = 1rem
mobileTileSize = 3rem
mobileTileSize = 2.5rem
tabletTileSize = 3rem
white = #fff
appTileWithGutter = appTileSize + appGridGutter
detailedAppTileWithGutter = 3 * (appTileSize + appGridGutter) - 2 * appGridGutter
detailedAppTileWithGutter = 3 * (appTileSize + appGridGutter) - 2.5rem
mobileTileWithGutter = mobileTileSize + mobileGridGutter
tabletTileWithGutter = tabletTileSize + appGridGutter
width 100%
max-width 'calc(%s * 8 + %s * 7 + 4rem)' % (appTileSize appGridGutter) // 8 columns + 7 column gaps + border gaps
display grid
grid-template-columns repeat(auto-fill, appTileWithGutter)
grid-template-columns repeat(auto-fill, minmax(appTileWithGutter, 1fr))
grid-auto-rows minmax(rem(91), auto)
grid-gap rem(10) 0
justify-content center

&.detailed
grid-template-columns repeat(3, detailedAppTileWithGutter)
grid-template-columns repeat(3, 1fr)
column-gap appGridGutter
width: calc(100% - 3rem) !important // @stylint ignore

&:not(.detailed)
width calc(100% - 1rem) !important // @stylint ignore

+small-screen()
grid-template-columns repeat(auto-fill, mobileTileWithGutter)
grid-template-columns repeat(auto-fill, minmax(mobileTileWithGutter, 1fr))
grid-auto-rows minmax(rem(68), auto)
grid-gap rem(5) 0

&.detailed
grid-template-columns repeat(1, calc(100% - 2.5rem))
grid-template-columns 1fr
column-gap 0
width: calc(100% - 2rem) !important // @stylint ignore

div[class*='MuiGrid-grid-xs']
padding 2px

// 480px to 768px
@media (min-width: rem(size-helper('min', BP-tiny))) and (max-width: rem(size-helper('max', BP-small)))
grid-template-columns repeat(auto-fill, minmax(tabletTileWithGutter, 1fr))

&.detailed
// The exact min value does not need to be computed, 5rem is enough to handle the transition from 480 to 500px
grid-template-columns repeat(2, minmax(5rem, 1fr))

.item-grid-icon
width rem(16)
height rem(16)
Expand Down
Loading

0 comments on commit 894fb14

Please sign in to comment.