Skip to content

Conversation

@mejo-
Copy link
Member

@mejo- mejo- commented Nov 14, 2022

Move text store into a namespaced module and load it if we already have a store - e.g. when using the RichTextReader component via NPM module in a vue app that has a store on its own (like Collectives).

This is a prerequisite for using features that require the store (e.g. outline view) in Collectives.

@mejo- mejo- marked this pull request as draft November 14, 2022 13:03
@cypress
Copy link

cypress bot commented Nov 14, 2022



Test summary

106 0 0 0Flakiness 3


Run details

Project Text
Status Passed
Commit bfb10a6 ℹ️
Started Nov 16, 2022 11:47 AM
Ended Nov 16, 2022 11:53 AM
Duration 06:17 💡
OS Linux Ubuntu -
Browser Electron 106

View run in Cypress Dashboard ➡️


Flakiness

workspace.spec.js Flakiness
1 Workspace > formats text
sections.spec.js Flakiness
1 Content Sections > Heading anchors > Anchor scrolls into view
links.spec.js Flakiness
1 test link marks > link preview > shows a link preview

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

@mejo- mejo- force-pushed the refactor/store branch 4 times, most recently from e467587 to dd6629f Compare November 15, 2022 13:34
@mejo- mejo- marked this pull request as ready for review November 15, 2022 13:36
@mejo-
Copy link
Member Author

mejo- commented Nov 15, 2022

/backport to stable25

Copy link
Member

@juliusknorr juliusknorr left a comment

Choose a reason for hiding this comment

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

Nice 👍

@mejo-
Copy link
Member Author

mejo- commented Nov 15, 2022

/compile

@mejo-
Copy link
Member Author

mejo- commented Nov 15, 2022

Cypress tests seem unrelated to me (same tests failing on other branches and no failures when running them locally), but I'll look into them.

Also clean up some cruft code from outline implementation.

Signed-off-by: Jonas <[email protected]>
When a component from the NPM package is used by a vue app with an own
vuex store, we have to expand this store with our text module.

Signed-off-by: Jonas <[email protected]>
@mejo-
Copy link
Member Author

mejo- commented Nov 16, 2022

/compile amend

Signed-off-by: nextcloud-command <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants