-
Notifications
You must be signed in to change notification settings - Fork 11.1k
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
[NEW] General alert banner #9778
Conversation
I think the |
@sampaiodiego changed the font size |
}); | ||
|
||
Template.alerts.helpers({ | ||
isSafariIos: /iP(ad|hone|od).+Version\/[\d\.]+.*Safari/i.test(navigator.userAgent) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you using this helper?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not yet... I think that helper should be a global one..
My apologies, I see that there is a section for "How to use" but im not exactly sure how to use this feature. Is there a place where I have to insert those lines? Im sorry if this is a silly question! :( I updated a test server of mine to 0.62.0 just to play with this specific feature, im extremely grateful that you added this! |
It's an internal API level feature. It can be used from another package. In the future it might be exposed in other ways |
Is there perhaps a ste-by-step guide with an example on how to use this feature? I went ahead and started trying to figure it out but havent gotten far sadly. I can query and auth against the API with curl -H "Content-type:application/json" From there I have an auth token and a user ID to execute other api calls, but I cant figure out how to call on yours. Im sure its something really simple that im not aware of. Im thinking of writing a quick little web app to interact with the API to change these messages from a gui once I figure out how the calls are made. Thanks in advance! |
Its not exposed via the rest api. Its an internal api. Which means you would have to create a meteor package and compile it to use it. I'm not sure on the plans, but a rest api endpoint my be created to allow using it that way. |
@RocketChat/core
how to use
Desktop
Mobile
large modifier
Desktop
Mobile
demo