• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 19:57
CEST 01:57
KST 08:57
  • 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
Code S Season 1 - RO12 Group A: Rogue, Percival, Solar, Zoun4[ASL21] Ro8 Preview Pt1: Inheritors16[ASL21] Ro16 Preview Pt2: All Star10Team Liquid Map Contest #22 - The Finalists19[ASL21] Ro16 Preview Pt1: Fresh Flow9
Community News
2026 GSL Season 1 Qualifiers25Maestros of the Game 2 announced92026 GSL Tour plans announced15Weekly Cups (April 6-12): herO doubles, "Villains" prevail1MaNa leaves Team Liquid25
StarCraft 2
General
Code S Season 1 - RO12 Group A: Rogue, Percival, Solar, Zoun Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool Team Liquid Map Contest #22 - The Finalists MaNa leaves Team Liquid Maestros of the Game 2 announced
Tourneys
WardiTV Spring Cup 2026 GSL Season 1 Qualifiers Sparkling Tuna Cup - Weekly Open Tournament INu's Battles#14 <BO.9 2Matches> GSL CK: More events planned pending crowdfunding
Strategy
Custom Maps
[D]RTS in all its shapes and glory <3 [A] Nemrods 1/4 players [M] (2) Frigid Storage
External Content
The PondCast: SC2 News & Results Mutation # 523 Firewall Mutation # 522 Flip My Base Mutation # 521 Memorable Boss
Brood War
General
Leta's ASL S21 Ro.16 review ASL21 General Discussion JaeDong's ASL S21 Ro16 Post-Review BW General Discussion [ASL21] Ro8 Preview Pt1: Inheritors
Tourneys
[ASL21] Ro8 Day 1 [ASL21] Ro8 Day 2 [Megathread] Daily Proleagues [ASL21] Ro16 Group D
Strategy
Fighting Spirit mining rates Simple Questions, Simple Answers What's the deal with APM & what's its true value Any training maps people recommend?
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread Dawn of War IV Diablo IV Total Annihilation Server - TAForever
Dota 2
The Story of Wings Gaming
League of Legends
G2 just beat GenG in First stand
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Vanilla Mini Mafia Mafia Game Mode Feedback/Ideas TL Mafia Community Thread Five o'clock TL Mafia
Community
General
European Politico-economics QA Mega-thread US Politics Mega-thread Russo-Ukrainian War Thread 3D technology/software discussion Canadian Politics Mega-thread
Fan Clubs
The IdrA Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [Req][Books] Good Fantasy/SciFi books Movie Discussion!
Sports
2024 - 2026 Football Thread Formula 1 Discussion McBoner: A hockey love story
World Cup 2022
Tech Support
streaming software Strange computer issues (software) [G] How to Block Livestream Ads
TL Community
The Automated Ban List
Blogs
Sexual Health Of Gamers
TrAiDoS
lurker extra damage testi…
StaticNine
Broowar part 2
qwaykee
Funny Nicknames
LUCKY_NOOB
Iranian anarchists: organize…
XenOsky
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1974 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
Next event in 3m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
PiGStarcraft353
CosmosSc2 41
StarCraft: Brood War
Britney 12379
GuemChi 1842
Artosis 580
NaDa 17
Dota 2
monkeys_forever638
capcasts143
Counter-Strike
fl0m3697
Super Smash Bros
hungrybox1030
Other Games
summit1g9724
tarik_tv6001
Day[9].tv621
shahzam490
C9.Mang0163
Maynarde92
PPMD8
Organizations
Other Games
gamesdonequick916
BasetradeTV239
Dota 2
PGL Dota 2 - Main Stream160
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
[ Show 14 non-featured ]
StarCraft 2
• Hupsaiya 88
• musti20045 26
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Other Games
• imaqtpie1901
• Day9tv621
Upcoming Events
PiGosaur Cup
3m
PiGStarcraft0
GSL
9h 33m
Rogue vs Percival
Zoun vs Solar
Replay Cast
1d
GSL
1d 9h
Cure vs TriGGeR
ByuN vs Bunny
KCM Race Survival
1d 10h
Big Gabe
1d 12h
Replay Cast
2 days
Replay Cast
2 days
Escore
2 days
OSC
2 days
[ Show More ]
Replay Cast
3 days
Replay Cast
3 days
RSL Revival
3 days
IPSL
3 days
Ret vs Art_Of_Turtle
Radley vs TBD
BSL
3 days
Replay Cast
4 days
RSL Revival
4 days
uThermal 2v2 Circuit
4 days
BSL
4 days
IPSL
4 days
eOnzErG vs TBD
G5 vs Nesh
Replay Cast
5 days
Wardi Open
5 days
Afreeca Starleague
5 days
Jaedong vs Light
Monday Night Weeklies
5 days
Replay Cast
6 days
Sparkling Tuna Cup
6 days
Afreeca Starleague
6 days
Snow vs Flash
Liquipedia Results

Completed

Escore Tournament S2: W4
WardiTV TLMC #16
Nations Cup 2026

Ongoing

BSL Season 22
ASL Season 21
CSL 2026 SPRING (S20)
IPSL Spring 2026
KCM Race Survival 2026 Season 2
StarCraft2 Community Team League 2026 Spring
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League S23 Finals
ESL Pro League S23 Stage 1&2
PGL Cluj-Napoca 2026

Upcoming

Escore Tournament S2: W5
KK 2v2 League Season 1
Acropolis #4
BSL 22 Non-Korean Championship
CSLAN 4
Kung Fu Cup 2026 Grand Finals
HSC XXIX
uThermal 2v2 2026 Main Event
Maestros of the Game 2
2026 GSL S2
RSL Revival: Season 5
2026 GSL S1
XSE Pro League 2026
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
Asian Champions League 2026
IEM Atlanta 2026
PGL Astana 2026
BLAST Rivals Spring 2026
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.