-
-
Notifications
You must be signed in to change notification settings - Fork 685
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
Message board contrib #3525
base: main
Are you sure you want to change the base?
Message board contrib #3525
Conversation
67c9914
to
9fc5cb9
Compare
9fc5cb9
to
fbfb406
Compare
This is something we get asked for a lot! I think it'd be a great contrib; I'll pull this branch down and give it a test later. Some thoughts on the points you outlined in your PR post here, first, though, without having actually looked at the code yet:
And your specific questions!
Since this is your first contrib, the guide on writing a contrib is also very handy! I discovered it long after my first contrib and wished I'd had it earlier 😂 |
Also, a couple quick examples of what kind of thing I mean by making it "a pluggable option":
|
That's fair enough then. I suppose I could store all of the other meta-data in the message as well now that I think about it. Though that would mean that the
I haven't but I like that idea! I can do that for other parts of it as well - all of the presentation and the table object itself.
I had them that way in the beginning but renamed them to avoid possibly breaking something else. I'll change them back; I don't like the
It's just done through the
I think I'll change to
Luckily I found that first, though I haven't read it in detail yet. Unlike last week when I implemented the Thanks for the feedback! |
Ah, that's a good point. The easiest way is probably to add a tag, like |
Yes, tags would work well for I also just found this in the # header could be used for meta-info about the message if your system needs
# it, or as a separate store for the mail subject line maybe. So I think I'll put I thought about doing something like Edit: I have moved the message meta-data onto |
This is an inital version of a generic message board. It is used by creating an
EvMessageBoard
object in a room and using theboard
command to access it (seehelp board
).It supports these locks:
brdpost:
- Controls posting to the board.brdchange:
- Controls changing (editing) or deleting your own posts.brdmanage:
- Allows changing and deletion of any post as well as clearing the board completely.Before I create contrib-specific things, such as unit tests and a readme file, I'm submitting it as a draft for feedback/review on the following:
There are a few points I'd like to cover:
This sort of makes the usage of Msg questionable, but using it means:
board/clear
utc_to_local
from mypage
PR since all message times are currently in UTC, but I can remove this until that issue is resolved if required./change
instead of/edit
as/edit
is the convention for invoking EvEditor.And a few specific questions:
@board
? The mail contrib uses@mail
but the page command is justpage
. "board" feels like it may be easily shadowed if someone were to implement boats, for example.