filmov
tv
Ruby on Rails #100 Browser tab title notifications

Показать описание
Do you like see the "new notifications count" in the LinkedIn browser tab?
In this episode we will update the browser tab title, if the application user has new unsee notifications.
We will use StimulusJS to add a blinking effect.
We will use Turbo Stream Broadcasts to update the notifications count in all browser tabs.
We will also add an "undead" symbol to the application thumbnail.
In the context of StimulusJS, we will leverage setInterval and usage of disconnect().
Improvements you can do yourself:
- Scope notifications per user
- Mark notifications as "seen" when accessing "notifications#show" page/controller
- Broadcast notifications count when notification is deleted or seen
0:00 Feature request
0:19 What we will build
1:02 Initial setup
1:35 conditional thumbnails
4:20 conditional notifications count
5:05 StimulusJS - blinking page title
10:40 Broadcast update thumbnail (no page refresh)
15:52 Summary
In this episode we will update the browser tab title, if the application user has new unsee notifications.
We will use StimulusJS to add a blinking effect.
We will use Turbo Stream Broadcasts to update the notifications count in all browser tabs.
We will also add an "undead" symbol to the application thumbnail.
In the context of StimulusJS, we will leverage setInterval and usage of disconnect().
Improvements you can do yourself:
- Scope notifications per user
- Mark notifications as "seen" when accessing "notifications#show" page/controller
- Broadcast notifications count when notification is deleted or seen
0:00 Feature request
0:19 What we will build
1:02 Initial setup
1:35 conditional thumbnails
4:20 conditional notifications count
5:05 StimulusJS - blinking page title
10:40 Broadcast update thumbnail (no page refresh)
15:52 Summary
Ruby on Rails #100 Browser tab title notifications
Learn Ruby on Rails Part 1: Introduction and Setup
Ruby on Rails #108 How to use the Browser Geolocation API with Rails
SEO For Web Development | Ruby on Rails SEO
RUBY ON RAILS 7 - First Impressions, Worth Learning?
Why you Should NOT use Ruby on Rails
Learn Ruby on Rails in One Video
The Complete Ruby on Rails Developer Course
Building a Ruby web app using the Ruby Standard Library (Maple Ong)
A Railsy Web Refresher - Ruby on Rails - The Odin Project
Ruby on Rails: a framework for scale
Meetup: Intro to Ruby on Rails
Intro to Ruby on Rails 7 Fullstack Tutorial | Rails for Beginners Part 1
Best Programming Languages #programming #coding #javascript
A complete Todo App in less than 100 lines of code in Ruby with Hyperloop !
Let's build an Airbnb clone with Ruby on Rails - Part 6 - Setting up the Users API
Views - Ruby on Rails - The Odin Project
Learn Ruby on Rails
Ruby on Rails Lesson 1
Ruby on Rails #99 Hotwire: Search and Infinite Pagination (Ransack with Pagy)
Ruby on Rails | Building a Blog with RSpec Testing - Tutorial 1 - Setting up the Project
Ruby on Rails Tutorial | Lesson 36 | Full HD | Running Tests - Part 1
This gem is invaluable for Rails development!
Building a Web Application in Ruby Without Rails
Комментарии