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

Use vue-richtext instead of handlebars #727

Merged
merged 8 commits into from
Sep 3, 2020

Conversation

nickvergessen
Copy link
Member

@nickvergessen nickvergessen commented Sep 2, 2020

Fix #412
Fix #427

Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
@nickvergessen

This comment has been minimized.

Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-->

<template>
Copy link
Member

Choose a reason for hiding this comment

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

For later we could also have those in a library, since they would be reusable then for any ui that uses the rich object string definitions from the server

Copy link
Member Author

Choose a reason for hiding this comment

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

yeah, specially the empty default would be nice I guess.

Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
@nickvergessen nickvergessen changed the title Feature/noid/vue richtext Use vue-richtext instead of handlebars Sep 2, 2020
Signed-off-by: Joas Schilling <coding@schilljs.com>
@@ -141,73 +162,74 @@ export default {
return (new Date(this.datetime)).valueOf()
},
absoluteDate: function() {
return OC.Util.formatDate(this.timestamp)
return OC.Util.formatDate(this.timestamp, 'LLL')
Copy link
Member

Choose a reason for hiding this comment

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

OC.Util.formatDate is deprecated and will be removed in Nextcloud 21. See @nextcloud/moment

Copy link
Member

@juliushaertl juliushaertl left a comment

Choose a reason for hiding this comment

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

Small deprecation comment but fine to tackle that in a separate pr of course. Otherwise 👍

@nickvergessen nickvergessen merged commit 47c427d into master Sep 3, 2020
@nickvergessen nickvergessen deleted the feature/noid/vue-richtext branch September 3, 2020 08:24
@rullzer rullzer mentioned this pull request Sep 3, 2020
21 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Nextcloud Conf external link opens in same tab Links in notifications are not clickable
2 participants