-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
filter out spammed updates on embeddables
stop infinite rerending when collaborating Signed-off-by: grnd-alt <[email protected]>
- Loading branch information
Showing
8 changed files
with
1,922 additions
and
32 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,7 +34,6 @@ | |
} | ||
|
||
.App { | ||
text-align: center; | ||
position: relative; | ||
height: 100%; | ||
width: 100%; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,16 @@ | ||
import VueWrapper from "./VueWrapper" | ||
/** | ||
* SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors | ||
* SPDX-License-Identifier: AGPL-3.0-or-later | ||
*/ | ||
import { NcReferenceList } from '@nextcloud/vue/dist/Components/NcRichText.js' | ||
|
||
import VueWrapper from './VueWrapper' | ||
|
||
/** | ||
* | ||
* @param props componentProps and component to be rendered in Vue | ||
*/ | ||
export default function(props) { | ||
const {react} = props | ||
let testing = react.useRef('') | ||
|
||
react.useEffect(()=> { | ||
fetch("/").then(async resp => { | ||
testing.current = await resp.text() | ||
}) | ||
},[]) | ||
|
||
const referenceProps = {text: props.url, limit: "1", interactive: true} | ||
return ( | ||
<VueWrapper componentProps={referenceProps} /> | ||
) | ||
const referenceProps = { text: props.link, limit: '1', interactive: true } | ||
return React.createElement(VueWrapper, { componentProps: referenceProps, component: NcReferenceList }) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.