Allow 30+ characters for event names

Exactly right. It didn’t even occur to me.

It would be nice to have longer event names too. 30 characters seem pretty low.

2개의 좋아요

Yes, that is nuts - especially as it allows much longer topic titles to pull through if that field is left blank.

I’ve put in a PR for this change:

https://github.com/discourse/discourse-calendar/pull/307

3개의 좋아요

Thanks @nathank

2개의 좋아요

Any chance this will be looked at soon?

And I’d love a helping hand with this:

4개의 좋아요

Would this have any side effects on the UI at all? And how do feel about adding tests? :slight_smile:

1개의 좋아요

None that I can see.

When inputting a really really really long event title in the modal, it simply wraps like all other fields in discourse:

As the event title can already be 255 characters (when it pulls through the Topic Title) any problem with that already exists. But there doesn’t seem to be any. Long titles are truncated with a nice ...:

image

This is quite a trivial change and addresses a long standing bug / UX issue in the events functionality of the Calendar Plugin. It would of course be better if the Title length limit was the same as the Topic Title length limit.

2개의 좋아요

I went ahead and merged it, thanks @nathank

5개의 좋아요

I think long event names would be useful in some situations.