Merge pull request #33717 from overleaf/as-new-link-sharing-pass-groups

[web] Pass project owner link sharing settings to frontend

GitOrigin-RevId: ff000f38ef36a3d448a2934d0c5963139852eee2
This commit is contained in:
MoxAmber
2026-06-12 08:06:12 +00:00
committed by Copybot
parent adf1659c59
commit 886985d91c
15 changed files with 128 additions and 49 deletions
@@ -8,6 +8,7 @@ import { TestContainer } from '../helpers/test-container'
import { FC } from 'react'
import { MetadataContext } from '@/features/ide-react/context/metadata-context'
import { ReferencesContext } from '@/features/ide-react/context/references-context'
import { UserId } from '@ol-types/user'
describe('autocomplete', { scrollBehavior: false }, function () {
beforeEach(function () {
@@ -764,7 +765,7 @@ describe('autocomplete', { scrollBehavior: false }, function () {
window.metaAttributesCache.set('ol-showSymbolPalette', true)
const user = {
id: '123abd',
id: '123abd' as UserId,
email: 'testuser@example.com',
}
cy.mount(
@@ -794,7 +795,7 @@ describe('autocomplete', { scrollBehavior: false }, function () {
window.metaAttributesCache.set('ol-showSymbolPalette', false)
const user = {
id: '123abd',
id: '123abd' as UserId,
email: 'testuser@example.com',
}
cy.mount(