Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Gitscout @ Electron TechTalks SF
Search
Gitscout
March 03, 2017
Programming
0
620
Gitscout @ Electron TechTalks SF
Gitscout
March 03, 2017
Tweet
Share
Other Decks in Programming
See All in Programming
ノイジーネイバー問題を解決する 公平なキューイング
occhi
0
110
疑似コードによるプロンプト記述、どのくらい正確に実行される?
kokuyouwind
0
390
CSC307 Lecture 05
javiergs
PRO
0
500
Architectural Extensions
denyspoltorak
0
290
Honoを使ったリモートMCPサーバでAIツールとの連携を加速させる!
tosuri13
1
180
CSC307 Lecture 06
javiergs
PRO
0
690
余白を設計しフロントエンド開発を 加速させる
tsukuha
7
2.1k
CSC307 Lecture 09
javiergs
PRO
1
840
Basic Architectures
denyspoltorak
0
680
AI時代の認知負荷との向き合い方
optfit
0
160
CSC307 Lecture 07
javiergs
PRO
1
550
Best-Practices-for-Cortex-Analyst-and-AI-Agent
ryotaroikeda
1
110
Featured
See All Featured
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Principles of Awesome APIs and How to Build Them.
keavy
128
17k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
51k
Designing Experiences People Love
moore
144
24k
Prompt Engineering for Job Search
mfonobong
0
160
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
34k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
9.9k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
The SEO identity crisis: Don't let AI make you average
varn
0
290
Six Lessons from altMBA
skipperchong
29
4.2k
GraphQLの誤解/rethinking-graphql
sonatard
74
11k
New Earth Scene 8
popppiees
1
1.5k
Transcript
Gitscout GitHub Issues experience for macOS
Browse, organize and manage your GitHub Issues gitscout.com/marshmallows
Why Electron? We are web developers Our designer can ship
some code (css/html) Great community and resources available
Recreate native macOS experience with web technologies Check out Ben
Gotow’s talk for some great tips
How to recreate a native popover experience in Electron? E.g.:
Native popover element in Wunderlist
Your app is locked in a browser window but sometimes
you want some elements to get out of these “walls” So we need another window and make them communicate somehow Easy, right?
Window lifecycle (creation/destruction) makes it flash. Always here but `opacity:0`
and `setIgnoreMouseEvents:true` and then manage it’s state.
Creating a new window makes you loose focus from the
main one (see traffic light) We recreated a custom nav bar from scratch and mapped all its behaviours (all buttons, active/inactive states – greyed)
Communication between 2 windows (e.g. selecting a user from a
list) Using webContents API and IPC for window management
“Click through” Intercept all events inside the popover window, check
if on clickable node and check if outside app
Problem 5, 6, 7, 8, … 99 Mimicking all native
UX details (focus management, position, resize, keyboard navigation) Demo
Sounds like a hassle, but totally worth it We love
crafting great experience with a native feeling and we are grateful to use tools that enable us to do it. Thank you Electron Maintainers <3
Questions?