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

CustomCode.md documentation lacks #34

Open
thekillgfx opened this issue Apr 14, 2022 · 5 comments
Open

CustomCode.md documentation lacks #34

thekillgfx opened this issue Apr 14, 2022 · 5 comments

Comments

@thekillgfx
Copy link

thekillgfx commented Apr 14, 2022

CustomEvent.type: redemption and CustomEvent.type: perk are not mentioned into the CustomCode.md documentation that's an heavy lack since a lot of creative and helpful widget could be developed thanks to Stream Store items redemption integration.

Updates will follow - I may provide a PR that include their documentation. Any help or contribution is welcomed!

@thekillgfx thekillgfx changed the title CustomEvent.type: redemption - CustomEvent.type: perk aren't documented. CustomCode.md documentation lacks Apr 21, 2022
@thekillgfx
Copy link
Author

Didn't find anything about custom font from PC's fonts. It's important to restart the browser after font installations.

"customFont": {
    "label": "Custom Font Name",
    "type": "text",
    "value": "Franklin Gothic Heavy"
}

@thekillgfx
Copy link
Author

Possible keys within data contains probably a lot of errors, I can assure that data["tip-monthly-top-donation"] and data["tip-monthly-top-donator"] don't return an Array but a single object instead.

@SilicDev
Copy link

As I'm currently toying around with redemption events, here some observations:
event contains:
itemId: a hex number it seems, probably the unique id of the redeemed item.
type: perk in my case, this seems to be the different types of redemptions
name: the username of the redeemer
item: the name of the item
_id: another hex number
sessionTop: a boolean I suspect true if this was the highest amount of points spent this session otherwise false.

@thekillgfx
Copy link
Author

onEventsReceived(obj) > obj.detail.recents
The docs state that it should contain only the last 25 events, instead a lot more can be in there.

There is also a list in chronological order of last 25 events (so if you want to make list of all events - use this one) - variable recents initialized one line after variable data.

@thekillgfx
Copy link
Author

thekillgfx commented Jul 20, 2022

At this point we support all of HTML5 input types (except of file)

I feel like this sentence isn't that much prominent as it should and it also feels wrong since SE editor seems to not support other types like radio. Coders could also find useful all the types about dates and time like date - datetime-local - month - week - time.
reference: https://www.w3schools.com/html/html_form_input_types.asp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants