• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 06:11
CEST 12:11
KST 19:11
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
[ASL22] Ro8 Preview: Within Reach3[ASL22] Ro8 Preview: In A Tizzy11[ASL22] Ro16 Preview: Holy Diver5[ASL22] Ro16 Preview: Rough Waters10[ASL22] Ro24 Preview: Siren's Call8
Community News
Weekly Cups (Sept 21-27): herO and ByuN double0Weekly Cups (Sep 13-20): herO scores triple3BSL Season 2313Weekly Cups (Sep 7-12): SHIN, ByuN, MaxPax double down1StarCraft open world shooter announced at BlizzCon103
StarCraft 2
General
Weekly Cups (Sept 21-27): herO and ByuN double StarCraft open world shooter announced at BlizzCon How do you feel about the StarCraft shooter announcement at BlizzCon 2026? Weekly Cups (Sep 13-20): herO scores triple Balance hotfix patch 5.0.16b (July 16)
Tourneys
2026 GSTL Grand Finals ScienceCraft (October 24-25) - Live Event Sparkling Tuna Cup - Weekly Open Tournament Master Swan Open (Global Bronze-Master 2) Stellar Fest TWO the Moon (Dec 16-20)
Strategy
[H] ZvP Mid-Late Game: Stalkers Collossi HT
Custom Maps
[M] (2) Sweltering Sands [M] (2) Frigid Storage
External Content
The PondCast: SC2 News & Results Mutation # 545 And Drops and Rifts Mutation # 544 Double Trouble Mutation # 543 Enhanced Defenses
Brood War
General
Bot on ladder [ASL22] Ro8 Preview: Within Reach PLAYzone Challenge - open offline tour in Prague an AI researcher's take on the ladder bot BGH Auto Balance -> http://bghmmr.eu/
Tourneys
[ASL22] Ro8 Day 3 [Megathread] Daily Proleagues [ASL22] Ro8 Day 2 [ASL22] Ro8 Day 1
Strategy
Cliff Jump Revisited (1 in a 1000 strategy) Replay Review Process - What do you do? Simple Questions, Simple Answers Odyssey Mineral Stack Saturation
Other Games
General Games
Warcraft III: The Frozen Throne Stormgate/Frost Giant Megathread Total Annihilation Zero Nintendo Switch Thread EVE Corporation
Dota 2
Dota 2 Champions League Season 3 Begins April 25! Official 'what is Dota anymore' discussion
League of Legends
[TL LoL EUW IHs] Teemo shall perish
Heroes of the Storm
Heroes of the Storm 2.0
Hearthstone
Deck construction bug
TL Mafia
TL Mafia Community Thread
Community
General
Things Aren’t Peaceful in Palestine US Politics Mega-thread Russo-Ukrainian War Thread Artificial Intelligence Thread All you football fans (soccer)!
Fan Clubs
MarineLorD Fan Club The Creator Fan Club The ShoWTimE Fan Club
Media & Entertainment
Movie Discussion! [Manga] One Piece Diablo Animated Series on Netflix
Sports
Football (Soccer) Thread
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
Recent Gifted Posts
Blogs
Violent-Cooperative Play and…
TrAiDoS
38 yo Retired SWE loo…
PurE)Rabbit-SF
Can Bots Beat Pros?? Starcr…
namkraft
[meme] I finally understa…
LUCKY_NOOB
Regacy Esports:Our Goa…
regacyesports
Customize Sidebar...

Website Feedback

Closed Threads



Active: 8688 users

Connection Growl

Blogs > Sikian
Post a Reply
Sikian
Profile Blog Joined September 2011
Spain177 Posts
August 02 2014 22:35 GMT
#1
I've been trying to do some stuff for Starbow this week as I wasn't at work due to my broken elbow, but I have been consumed by another project and the fact that working with one hand makes everything snail slow.

Nonetheless, I got to do a little thingy which -- even though is not very important and haven't seen it used in other sites -- might make the connection and disconnections more intuitive. So, I present the connectionGrowl: a growler that displays the current connection status and any messages related.

In the desktop client we have the bottom part to show this kind of information in a plain way:
[image loading]
[image loading]
Simple and effective.

But how can we show this kind of info in a web-based client? My first idea was to use angular-growl, but from previous experience it has proven a bit annoying as the messages' behavior wasn't the most intuitive for the user. I therefore started a side side-quest!

First came getting an idea of how the new growler was to work. Bottom-right was mostly dead space, so that seemed like a right choice.
Next I looked for an appropriate icon for connection. I found one with Dr. Google in almost no time:
[image loading]
And modify it to get the connected and a disconnect alert (which I think are the three different images we need for this):
[image loading][image loading]
Now that I see them, I believe they might need some more work, but they'll do for now!

After fiddling a while with css and ng-animate, I finally got something which looks functional and nice. The main points are the fact that the connection status is always visible (but doesn't interfere) and messages are shown with a simple call. I still have to consider some cases in which a timeout doesn't seem to be the best control for showing/hiding messages, as the "Connecting..." message might disappear while the authentication is being processed -- which looks kind of stupid. Further on, multiple messages don't look really good either.

So, final result:
[image loading]
[image loading]

You can try it out in eros.starbowmod.com, although I seem to have messed up something, so you probably won't get to use it much (sorry!).

More soon.

Signing out, SoaH.

*****
Helping Starbow :: a.k.a. SoaH
Please log in or register to reply.
Live Events Refresh
Afreeca Starleague
10:00
Ro8 Match 3
Soma vs Jaedong
Afreeca ASL 8626
StarCastTV_EN153
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
mouzHeroMarine 265
Lowko149
ProTech65
Rex 2
StarCraft: Brood War
Bisu 5957
EffOrt 2355
Larva 1263
BeSt 1010
Horang2 703
Hyuk 578
ZerO 439
Zeus 205
soO 165
Hyun 131
[ Show more ]
Stork 129
Killer 105
Light 94
Barracks 93
Rush 65
Shinee 59
Yoon 41
Bale 30
ToSsGirL 28
Terrorterran 25
Mong 24
PianO 22
Sacsri 14
HiyA 11
Noble 8
ajuk12(nOOB) 7
Dota 2
XaKoH 642
XcaliburYe302
League of Legends
KnowMe4
Counter-Strike
byalli732
Other Games
singsing1666
olofmeister1540
crisheroes226
Livibee183
Sick130
ArmadaUGS61
Mew2King48
Organizations
StarCraft: Brood War
UltimateBattle 117
lovetv 9
[ Show 13 non-featured ]
StarCraft 2
• Berry_CruncH317
• StrangeGG 19
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• Migwel
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Jankos1997
• Stunt364
Other Games
• WagamamaTV144
Upcoming Events
WardiTV Weekly
49m
Monday Night Weeklies
5h 49m
Sparkling Tuna Cup
23h 49m
Afreeca Starleague
23h 49m
Leta vs Soulkey
PiGosaur Cup
1d 13h
Kung Fu Cup
2 days
The PondCast
2 days
Replay Cast
3 days
CranKy Ducklings
4 days
Online Event
5 days
[ Show More ]
FEL
5 days
BSL: Ladder Tournament
5 days
Sparkling Tuna Cup
5 days
BSL Open Qualifier
6 days
BSL Open Qualifier
6 days
Liquipedia Results

Completed

Proleague 2026-09-27
Blizzard Classic Cup 2026
Calamity Invitational

Ongoing

ASL Season 22
Super Anchor Qualifying S3
CSL 2026 AUTUMN (S22)
Acropolis #5
1win Private Club #1
Logitech G Play Connect 2026
SL StarSeries Fall 2026
FISSURE Playground #3
BLAST Open Fall 2026
Esports World Cup 2026
BLAST Bounty Summer 2026
BLAST Bounty Summer Qual
Stake Ranked Episode 3

Upcoming

Acropolis #5 - GSB
Acropolis #5 - GSC
BSL Season 23
SC4ALL II: Brood War
BSL 23: Non-Korean Championship
HSC XXX
Stellar Fest 2: Lunar Cup
SC4ALL II: StarCraft II
Kung Fu Cup 2026 Grand Finals
RSL Offline Finals
Custodian Cup
Copium Cup
PGL Major Singapore 2026
Stake Ranked Episode 6
BLAST Rivals Fall 2026
IEM Beijing 2026
Stake Ranked Episode 5
PGL Masters Bucharest 2026
1win Private Club #2
Thunderpick World Champ. '26
ESL Pro League Season 24
Stake Ranked Episode 4
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2026 TLnet. All Rights Reserved.