Comments (13)
Magnus Hult has very kindly agreed to transfer the gem name for use with this. So the name will be Action Notifier. We will keep the old versions of the gem to ensure no old user is left in a lurch, and we'll start the versioning with Action Notifier 8.0.
from rails.
Very excited for this! For more art to be examined, I've used Noticed from @excid3 on a bunch of my projects. It's been especially helpful for wrangling iOS + Android push notifications.
from rails.
YOU ARE HERE: š Bikeshed
Action Notifier has a bit of linguistic overlap with ActiveSupport::Notifications
. If we are considering alternative names, what about Action Push?
from rails.
This just came up in a conversation on Noticed because I'm setting up an engine for push notifications + noticed. I have a working version here: http://github.com/jbennett/noticed-web_push.
Takes about 30 seconds to add web push to an app already using Noticed.
from rails.
Action Notifier should also address the need for controlling the PWA badge counter. That's tied to the hip with Web Push, since the only time you get to reliably move the counter is when a notification is delivered.
from rails.
Re: gem naming conflict - perhaps Action Alert or Action Broadcast?
Or maybe Action Notify or Action Notification. Broadcast might be a bit confusing because of ActionCable?
from rails.
But the intention is not to support every possible delivery format for notifications under the sun (like SMS and definitely not email, we have Action Mailer for that).
I'm curious what the "Rails Way" of handling SMS is or should be. Most apps I've built in the last 10 years have needed it and a nice abstraction ala ActionMailer
or this proposal would be appreciated. Fwiw we are currently using ActiveDelivery
for this.
from rails.
There is a Ruby gem for connection to APNs (Apple Push Notification service):
https://github.com/ostinelli/apnotic
Hopefully it's already well known, but mentioning it here in case it isn't.
If the logic to connect with APNs (and Google equivalents) is kept in separate gems, it makes it easier to share the interoperability burden with other projects.
First: I love Rails, I'm a happy user for 10+ years! ā¤ļø
But sometimes Rails will inline logic that could otherwise have been kept in an external gem, where it would have been accessible to Ruby projects 'outside the web sphere'.
Put differently, Rails is so big in the Ruby ecosystem, that when it takes on a task, it risks choking out smaller gems with similar scope (because when Rails does it on it's own, all Rails projects will use that mechanism, but non-rails projects usually cannot piggy-back on it, because it's inlined and coupled with Rails).
This isn't always the case. Overall, Rails is playing well with the ecosystem and there are many instances of the opposite [of what I describe above].
One example is image_processing
-- used by ActiveStorage, but a separate gem. But just wanted to suggest following that pattern when it comes to APNs and Firebase interactions too.
from rails.
Magnus Hult's agent checking in here ā opening bid is $5,000
from rails.
Very interesting)
from rails.
With the current PWA files solution you are serving up a service_worker.js template. This pulls it out of the normal JS ecosystem used in the rest of the app. Have you considered doing something like having the controller look into the asset pipeline for a service worker entry point and serving that directly?
I've been working on some PWA/WebPush stuff and took that approach so that I could mount the asset from the root and keep everything else in the normal asset pipeline: https://github.com/jbennett/noticed-web_push/blob/132116a5c22bbf491c5e6d09f621f0a65c49ac6d/app/controllers/noticed/web_push/pwa_controller.rb#L4C18-L4C18
from rails.
Re: gem naming conflict - perhaps Action Alert or Action Broadcast?
Or maybe Action Notify or Action Notification. Broadcast might be a bit confusing because of ActionCable?
also Action Notice ?
from rails.
I'm curious what the "Rails Way" of handling SMS is or should be. Most apps I've built in the last 10 years have needed it and a nice abstraction ala
ActionMailer
or this proposal would be appreciated. Fwiw we are currently usingActiveDelivery
for this.
may i suggest sms_kit? iām the author. let me know if you need something changed or added.
from rails.
Related Issues (20)
- Queries generated incorrectly in class methods HOT 2
- Order of operations for saving nested associations has changed in Rails v7.2 with automatically_invert_plural_associations enabled HOT 7
- rescue_from not working with subscribed method on ActionCable channel HOT 2
- Production rails server does not boot if skipping action cable in Rails 8.0.0.alpha HOT 2
- Generate Migration - Rename Table HOT 6
- Rails 7.1 Transactional tests, threaded code and schema caching can cause deadlocks HOT 1
- /Users/amol/.rvm/gems/ruby-2.5.1/gems/activerecord-5.0.2/lib/active_record/connection_adapters/mysql2_adapter.rb:68: [BUG] Segmentation fault at 0x94000f78d65f0300 ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-darwin23] HOT 1
- Support enum in tableless model HOT 4
- `ActiveStorage::Attachment` - Unhandled case where `named_variants` can be `nil`
- `ActiveSupport::BroadcastLogger` with `ActiveSupport::TaggedLogging` throws `no implicit conversion of String into Integer (TypeError)` HOT 3
- Guides: Explain reset_column_information in Chapter "Migrations and Seed Data"
- One of `ApplicationTests::ConfigurationTest` fails with sqlite3 gem that bundles sqlite v3.46.0 HOT 3
- Add a datetime_local method on Time and DateTime classes - typical rails convenience HOT 1
- Deferred route drawing causes problems with some tests
- Incorrect documentation for authenticate_or_request_with_http_token HOT 1
- Regression in URL generation in Rails 7.1 HOT 13
- ActionCable tests fail when encrypted cookie is set with options
- Turbo depends on ActiveJob::Base but no error when I start a project with `rails new . --skip-active-job` HOT 1
- ActionPack 7.1.3.3 Selenium DriverFinder.path(options, service_class) deprecation is NOT fixed HOT 1
- warning: the block passed to 'Arel::Collectors::Bind#add_bind' defined at /rails/activerecord/lib/arel/collectors/bind.rb:16 may be ignored
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ššš
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rails.