Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stable27] Text processing integration #4662

Merged
merged 5 commits into from Aug 10, 2023
Merged

Conversation

juliushaertl
Copy link
Member

Backport of #4627

@juliushaertl juliushaertl requested review from luka-nextcloud and max-nextcloud and removed request for luka-nextcloud August 9, 2023 17:32
@juliushaertl juliushaertl added enhancement New feature or request 3. to review labels Aug 9, 2023
@juliushaertl juliushaertl added this to the Nextcloud 27.1.0 milestone Aug 9, 2023
@cypress
Copy link

cypress bot commented Aug 9, 2023

1 flaky tests on run #11631 ↗︎

0 145 2 0 Flakiness 1

Details:

[stable27] Text processing integration
Project: Text Commit: 810c563b18
Status: Passed Duration: 04:15 💡
Started: Aug 10, 2023 6:48 AM Ended: Aug 10, 2023 6:52 AM
Flakiness  cypress/e2e/api/SyncServiceProvider.spec.js • 1 flaky test

View Output Video

Test Artifacts
Sync service provider > recovers from a dropped message Output Screenshots

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings.

Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
@juliushaertl
Copy link
Member Author

/compile

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@juliushaertl juliushaertl merged commit 46cc398 into stable27 Aug 10, 2023
43 checks passed
@juliushaertl juliushaertl deleted the backport/4627/stable27 branch August 10, 2023 07:13
getReferenceClientRect: () => {
const editorRect = this.$parent.$el.querySelector('.ProseMirror').getBoundingClientRect()
const pos = posToDOMRect(this.$editor.view, this.$editor.state.selection.from, this.$editor.state.selection.to)
return {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just leaving this here in case relevant for future debugging. Adding a div to position above the editor for fiddling with the positioning has been quite helpful:

// Add template
<div class="floating-hover" />

// Add styles
.floating-hover {
	background-color: rgba(255,0,0,0.4);
	position: fixed;
	top:0;
	left: 0;
	width: 100px;
	height: 100px;
}

// Add here
document.querySelector('.floating-hover').style.width = rect.width + 'px'
document.querySelector('.floating-hover').style.height = rect.height + 'px'
document.querySelector('.floating-hover').style.top = rect.top + 'px'
document.querySelector('.floating-hover').style.left = rect.left + 'px'
document.querySelector('.floating-hover').style.bottom = rect.bottom + 'px'
document.querySelector('.floating-hover').style.right = rect.right + 'px'

@skjnldsv skjnldsv mentioned this pull request Aug 16, 2023
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants