Conversation
|
I wanted to see if it would push the expected files - not ready for review yet |
Signed-off-by: James Manuel <moodyjmz@users.noreply.github.com> feat(:tada:): Make clean branch to avoid pollution from build files in project feat(:wrench:): Update package-lock to be inline with main feat(:wrench:): Update package-lock to be inline with main
9eaa0ee to
533af02
Compare
|
@max-nextcloud Sorry about the confusion, hopefully this PR is better to check. It only has one commit as I took the files from the other branch. |
|
|
||
| Nextcloud Text is the default text editor since Nextcloud 17. To start editing just open an existing markdown or plaintext file or create a new one. | ||
|
|
||
| ### Mathematical formulas |
There was a problem hiding this comment.
So far we do not really have much end user documentation. I'd say we could keep it in here for now still. We probably want this to go to docs.nextcloud.com but just the math section might not be that useful.
@max-nextcloud @mejo- Something we could discuss further as you were thinking about enhancing documentation for collectives, but there may be some overlap with what we could make use of for text itself.
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
There was a problem hiding this comment.
Very nice, I left one inline comment and there are two CI checks that need some more work to pass.
When testing the modal seems to have an issue with not taking up the full height of the textarea, but I'm unsure if that is a component issue or could be addressed here as well. Would be fine to track as a follow up for polishing:
|
Also cc @marcoambrosini for a design review |
Signed-off-by: James Manuel <moodyjmz@users.noreply.github.com>
Signed-off-by: James Manuel <moodyjmz@users.noreply.github.com>
…thing and not removed Signed-off-by: James Manuel <moodyjmz@users.noreply.github.com>
0d8e038 to
8d381b5
Compare
Signed-off-by: James Manuel <moodyjmz@users.noreply.github.com>
|
@moodyjmz thanks a lot for the contribution, much appreciated ❤️ I just reviewed the PR (was on vacation last week) and realized that it adds |
@mejo- You are right about the npm dependency - that shouldn't be there. I looked at callouts.js for guidance and followed that. I'm not sure how many changes would be needed to use the tiptap approach, although that is likely a better implementation and reduces maintenance overhead. I can see, looking at other files, that tiptap extensions are extended from elsewhere. |
|
@mejo- Removing the dependency is easy. However, I would say it should be used instead. However this also raises the question of backward compatibility - if this feature is implemented differently in terms of processing to/from markdown than what is already there - this needs to be determined. Based on that, then the amount of changes can be determined. Is this feature already in the in the wild? |
|
@moodyjmz thanks a lot for considering my concerns. I agree that we should use the upstream Tiptap extension and expand on it in case we need extra functionality. The I just opened #7977 to track follow-up topics for this PR. If you don't mind, we can move the conversation there. |
|
Hello there, We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process. Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6 Thank you for contributing to Nextcloud and we hope to hear from you soon! (If you believe you should not receive this message, you can add yourself to the blocklist.) |

📝 Summary
This PR adds LaTeX math support to the text app.
it uses:
$…$$$…$$Code:
Tests:
It adds some tests covering the features added, and issues I encountered while adding the feature
Limitations:
The existing modal doesn’t appear to be resizable - therefore here is set to largest
🖼️ Screenshots
🚧 TODO
🏁 Checklist
npm run lint/npm run stylelint/composer run cs:check)