mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-13 21:53:43 +01:00
Rolling builds error logs notification (#28654)
* feat: allow for monthly tl builds experiment * feat: add in-editor notification when rolling image has updated * feat: add in-editor notification when rolling image has updated * feat: allowing for different messages in experiment when user is optend in * feat: add a banner notification in the error logs when the user is on the rolling build * moving rolling check from context to util * Update services/web/frontend/js/features/pdf-preview/components/rolling-build-selected-reminder.tsx Co-authored-by: Alf Eaton <alf.eaton@overleaf.com> --------- Co-authored-by: Alf Eaton <alf.eaton@overleaf.com> GitOrigin-RevId: fb669db28a7194babb299413f20209e76dcbd351
This commit is contained in:
committed by
Copybot
co-authored by
Alf Eaton
parent
81ababb7aa
commit
0ecfc246a2
@@ -0,0 +1,10 @@
|
||||
import getMeta from '@/utils/meta'
|
||||
const images = getMeta('ol-imageNames') || []
|
||||
|
||||
const rollingImages = images
|
||||
.filter(img => img.rolling)
|
||||
.map(img => img.imageName)
|
||||
|
||||
export function onRollingBuild(imageName: string | undefined) {
|
||||
return Boolean(imageName && rollingImages.includes(imageName))
|
||||
}
|
||||
Reference in New Issue
Block a user