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 Likes

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 Likes

Thanks @nathank

2 Likes

Any chance this will be looked at soon?

And I’d love a helping hand with this:

4 Likes

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

1 Like

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:

image

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 ...:

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 Likes

I went ahead and merged it, thanks @nathank

5 Likes

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