cross-posted from: https://lemmy.world/post/14744285
I've mentioned this on another post, but I'll create a new thread to hear other opinions.
I'm proposing to have the Community Events on Perchance Hub be hosted on this Lemmy Community.
To accomplish this, the Forms tab on the Perchance Hub would be changed to Events tab. It would host the Event posts from this community.
That is, anyone can post an Event thread here and it would be mirrored on the Perchance Hub.
Technical Notes: The posts here would be retrieved (via the Lemmy API) and the posts would be filtered to events only. The Event posts will then be parsed and neatly displayed on the Perchance Hub. This would mean that the posts would have a template to follow.
This is so that anyone is welcome to create Events and those Event makers would be the ones who will manage their own events (no longer needing to wait the Perchance Hub update).
This way, there could be different events running, managed by different people, with different topics, event types, and limitations/rules and to update the details on the Perchance Hub, the event creators can just edit the event posts and it would reflect on the Hub.
Not yet sure about what details would be on the Perchance Hub. But something like @BluePower's Upcoming Events Page might be a good format/structure to remix with (although the comments plugin on each event on Perchance Hub might not be used since the Event Post already have a comments/thread to talk with).
Technical Notes: The mirrored details can probably include a cover image, ability for the creators to change the colors on the Hub, specify if it is an 'image' event, 'generator/page' based event, etc., so the formatting on the Hub would be nice.
In Summary:
- Community Events will be hosted in https://lemmy.world/c/casual_perchance
- Events are now hosted/managed by Event Creators
- The posts would have a (somewhat strict) template to nicely structure them on the mirror on the Perchance Hub.
- Events can simultaneously ran by different people, with different topics, event types, limitations or rules.
- Events can be updated by the Event Creator
- Event Details and Content / Template Format is not yet decided
- Format in the Perchance Hub is not yet designed.
Additional Notes:
- With this, I might remove the 'announcement modal' on the hub upon first visit (or when there is update to it) to remove the clutter.
- Might also implement a dark mode to the Hub. (will require quite an overhaul on the hub page)
- Might dynamically add the Event's banner on the Home Page for each event (with the most recent and about to end event on the top).
- I currently do not have a stable internet so these changes might take a while to implement xD
After the declaration of 'odds' any other text after it is invalid e.g.
If you want a randomized value for that in which
Tt
has odds of 0.5 to being chosen you could have:If you want to add 'odds' with HTML formatting, you should place the odds after the items e.g.
The change in odds should always be on the end of the item.
On your
[m = markings6.selectUnique(1,7).joinItems("/")]
you are setting the value ofm
to be the joined items in a string, not the list. To fix it you just need to store it on the variable, then use thejoinItems
on the variable after:[m = markings6.selectUnique(1,7), m.joinItems("/")]
Then to output the names:
[m.selectAll.map(a => a.name).joinItems("/")]
in which it would iterate on the markings onm
and get theirname
, thenjoinItems
them.