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

fix(slate): fix insert/remove element edgecase bug in slate #5926

Merged
merged 6 commits into from
Mar 31, 2024

Conversation

razvanMiu
Copy link
Contributor

@razvanMiu razvanMiu commented Mar 26, 2024

Closes #5928

@razvanMiu razvanMiu requested a review from tiberiuichim March 26, 2024 13:42
Copy link

netlify bot commented Mar 26, 2024

Deploy Preview for volto canceled.

Name Link
🔨 Latest commit 897ec14
🔍 Latest deploy log https://app.netlify.com/sites/volto/deploys/660356f95580b30008c5668f

Copy link

netlify bot commented Mar 26, 2024

Deploy Preview for plone-components canceled.

Name Link
🔨 Latest commit 897ec14
🔍 Latest deploy log https://app.netlify.com/sites/plone-components/deploys/660356f9d8905e000806daf4

@razvanMiu razvanMiu requested a review from sneridagh March 26, 2024 13:52
@stevepiercy
Copy link
Collaborator

@razvanMiu which issue does this PR fix? See Item 2, second bullet point in Create a pull request from your fork.

@@ -0,0 +1 @@
Fix insert/remove element edgecase bug in slate. @razvanMiu
Copy link
Collaborator

Choose a reason for hiding this comment

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

What edge case does this fix? Please describe the edge case, and how does what you did fix it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll make a video demo cuze it's hard to explain

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@stevepiercy I updated the description and the changelog.

@razvanMiu razvanMiu requested a review from stevepiercy March 26, 2024 15:28
@stevepiercy
Copy link
Collaborator

@razvanMiu at least copy and paste the error stack into the PR, or better yet, create an issue with the error stack after searching the issue tracker for the error message. Someone else might have reported it or is already working on it, which could save you some time and effort.

I can write up a description, once you paste the error stack, so I don't have to transcribe the videos.

Sometimes the English language can get in the way of doing good work, and if so, if it's easier to write it in your preferred language, we can use a translation service to translate it to English.

@razvanMiu
Copy link
Contributor Author

razvanMiu commented Mar 26, 2024

@razvanMiu at least copy and paste the error stack into the PR, or better yet, create an issue with the error stack after searching the issue tracker for the error message. Someone else might have reported it or is already working on it, which could save you some time and effort.

I can write up a description, once you paste the error stack, so I don't have to transcribe the videos.

Sometimes the English language can get in the way of doing good work, and if so, if it's easier to write it in your preferred language, we can use a translation service to translate it to English.

I've created an issue. Hopefully now it's clear.

@stevepiercy
Copy link
Collaborator

@razvanMiu thank you! That's an excellent write-up.

@plone/volto-team all green and ready for review!

@stevepiercy stevepiercy dismissed their stale review March 27, 2024 23:15

Change log is clearer, issue filed and linked to PR

@stevepiercy stevepiercy requested a review from a team March 27, 2024 23:15
@sneridagh sneridagh merged commit 77a7a28 into main Mar 31, 2024
73 checks passed
@sneridagh sneridagh deleted the volto-slate-utils branch March 31, 2024 11:43
sneridagh added a commit that referenced this pull request Apr 16, 2024
* main: (28 commits)
  Bump vite from 5.1.5 to 5.1.7 (#5946)
  Fix pt_BR translation of invalid email message (#5953)
  Fix markup shortcuts for bold, italic and strikethough fix (#5606)
  Release 18.0.0-alpha.27
  Release @plone/types 1.0.0-alpha.10
  Improve color widget picker and types (#5948)
  Enhanced navigation reducer in Volto (#5817)
  Release 18.0.0-alpha.26
  Rename news item
  Release @plone/slate 18.0.0-alpha.11
  Release @plone/registry 1.5.5
  Release @plone/types 1.0.0-alpha.9
  docs: Cleanup obsolete EEA projects and update info about EEA main website (#5943)
  Bump vite from 5.1.4 to 5.1.5 (#5942)
  Add a new label `needs: triage` to new bug reports (#5940)
  Fix redirect of `https://sustainability.eionet.europa.eu` to `https:/… (#5941)
  Does not show borders in addon block inputs (#5898)
  Fix edge case in search options mangling when the options are false-ish (#5869)
  Add additional parameters to ContentsUploadModal to be reusable in different scenarios (#5881)
  fix(slate): fix insert/remove element edgecase bug in slate (#5926)
  ...
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.

SlateEditor error when inserting/removing custom inline element in very specific ways
4 participants