• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 12:22
CEST 18:22
KST 01:22
  • 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
RSL Season 1 - Final Week5[ASL19] Finals Recap: Standing Tall10HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0
Community News
Firefly given lifetime ban by ESIC following match-fixing investigation17$25,000 Streamerzone StarCraft Pro Series announced7Weekly Cups (June 30 - July 6): Classic Doubles6[BSL20] Non-Korean Championship 4x BSL + 4x China10Flash Announces Hiatus From ASL70
StarCraft 2
General
RSL Revival patreon money discussion thread TL Team Map Contest #4: Winners Esports World Cup 2025 - Final Player Roster Server Blocker RSL Season 1 - Final Week
Tourneys
RSL: Revival, a new crowdfunded tournament series FEL Cracov 2025 (July 27) - $8000 live event $5,100+ SEL Season 2 Championship (SC: Evo) $25,000 Streamerzone StarCraft Pro Series announced Sparkling Tuna Cup - Weekly Open Tournament
Strategy
How did i lose this ZvP, whats the proper response Simple Questions Simple Answers
Custom Maps
External Content
Mutation # 481 Fear and Lava Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome Mutation # 478 Instant Karma
Brood War
General
BW General Discussion A cwal.gg Extension - Easily keep track of anyone Script to open stream directly using middle click ASL20 Preliminary Maps BGH Auto Balance -> http://bghmmr.eu/
Tourneys
2025 ACS Season 2 Qualifier [Megathread] Daily Proleagues Small VOD Thread 2.0 Last Minute Live-Report Thread Resource!
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Path of Exile Stormgate/Frost Giant Megathread CCLP - Command & Conquer League Project The PlayStation 5 Nintendo Switch Thread
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread The Accidental Video Game Porn Archive Stop Killing Games - European Citizens Initiative
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Movie Discussion! [Manga] One Piece Anime Discussion Thread [\m/] Heavy Metal Thread
Sports
2024 - 2025 Football Thread Formula 1 Discussion NBA General Discussion TeamLiquid Health and Fitness Initiative For 2023 NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
Men Take Risks, Women Win Ga…
TrAiDoS
momentary artworks from des…
tankgirl
from making sc maps to makin…
Husyelt
StarCraft improvement
iopq
Trip to the Zoo
micronesia
Customize Sidebar...

Website Feedback

Closed Threads



Active: 646 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
CSO Cup
16:00
#82
Liquipedia
FEL
16:00
Polish Championship - Group B
Gerald vs PAPILIVE!
Spirit vs ArT
IndyStarCraft 133
CranKy Ducklings115
Liquipedia
PSISTORM Gaming Misc
15:55
FSL week 5 - CN vs IC
Freeedom14
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Hui .231
IndyStarCraft 133
BRAT_OK 59
MindelVK 10
StarCraft: Brood War
EffOrt 1269
Stork 555
firebathero 500
Larva 354
PianO 245
ToSsGirL 130
soO 106
Dewaltoss 78
Movie 69
sSak 54
[ Show more ]
Mind 46
JulyZerg 45
Shinee 44
sorry 42
Barracks 40
Terrorterran 39
HiyA 25
Rock 24
Stormgate
NightEnD24
Dota 2
Gorgc9138
qojqva2364
LuMiX2
Counter-Strike
fl0m962
flusha748
kRYSTAL_28
Heroes of the Storm
Khaldor630
Other Games
gofns25451
FrodaN6865
singsing2557
B2W.Neo1426
shahzam751
Fuzer 335
Lowko322
KnowMe239
Trikslyr63
ROOTCatZ55
Organizations
Other Games
gamesdonequick43802
EGCTV1469
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• HeavenSC 67
• poizon28 23
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Nemesis5308
• Jankos609
Upcoming Events
BSL20 Non-Korean Champi…
1h 38m
Bonyth vs QiaoGege
Dewalt vs Fengzi
Hawk vs Zhanhun
Sziky vs Mihu
Mihu vs QiaoGege
Zhanhun vs Sziky
Fengzi vs Hawk
DaveTesta Events
1h 38m
Sparkling Tuna Cup
17h 38m
RSL Revival
17h 38m
Classic vs Clem
FEL
22h 38m
BSL20 Non-Korean Champi…
1d 1h
Bonyth vs Dewalt
QiaoGege vs Dewalt
Hawk vs Bonyth
Sziky vs Fengzi
Mihu vs Zhanhun
QiaoGege vs Zhanhun
Fengzi vs Mihu
Wardi Open
1d 18h
Replay Cast
2 days
WardiTV European League
2 days
PiGosaur Monday
3 days
[ Show More ]
uThermal 2v2 Circuit
3 days
Replay Cast
4 days
The PondCast
4 days
Replay Cast
5 days
Epic.LAN
5 days
CranKy Ducklings
6 days
Epic.LAN
6 days
Liquipedia Results

Completed

KCM Race Survival 2025 Season 2
HSC XXVII
NC Random Cup

Ongoing

JPL Season 2
BSL 2v2 Season 3
Acropolis #3
CSL 17: 2025 SUMMER
Copa Latinoamericana 4
Jiahua Invitational
2025 ACS Season 2: Qualifier
CSLPRO Last Chance 2025
Championship of Russia 2025
RSL Revival: Season 1
Murky Cup #2
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
BLAST Rivals Spring 2025
MESA Nomadic Masters

Upcoming

CSL Xiamen Invitational
CSL Xiamen Invitational: ShowMatche
2025 ACS Season 2
CSLPRO Chat StarLAN 3
K-Championship
uThermal 2v2 Main Event
SEL Season 2 Championship
FEL Cracov 2025
Esports World Cup 2025
Underdog Cup #2
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
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 © 2025 TLnet. All Rights Reserved.