Skip to content

feat: add local Firebase Emulator support#5

Merged
flowdeskadmin merged 5 commits into
Flowdesktech:masterfrom
re1sub:feat/local-emulator
Jul 1, 2026
Merged

feat: add local Firebase Emulator support#5
flowdeskadmin merged 5 commits into
Flowdesktech:masterfrom
re1sub:feat/local-emulator

Conversation

@re1sub

@re1sub re1sub commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Detect running Firebase Local Emulator instances by scanning hub files in the OS temp directory
  • Add emulator-aware backend paths in auth, firestore, and storage controllers (REST API with Bearer owner)
  • Introduce emulator as a third authMethod in Redux state with full persistence support
  • Add a "Local Emulator" tab in the connection dialog showing detected emulators with one-click connect
  • Group emulator projects in a dedicated sidebar section with "Open in Emulator UI" context menu action
  • Make auth, storage, collection, and console features emulator-aware with proper reconnection logic
  • Route "Open in Console" actions to the Emulator UI for emulator projects vs Firebase Console for real projects

Test plan

  • Launch Firebase Emulators and verify they appear in the connection dialog
  • Connect to an emulator project and verify collections, auth users, and storage files load correctly
  • Close and reopen the app — verify emulator project reconnects automatically
  • Verify service account and Google Sign-In connection methods still work unchanged
  • Verify context menu shows "Open in Emulator UI" for emulator projects and "Reveal in Firebase Console" for real projects

References #4

@re1sub

re1sub commented Jul 1, 2026

Copy link
Copy Markdown
Contributor Author

I'll fix the formatting issues. Also, will need to update the README. Should I do it or you prefer to do it yourself @flowdeskadmin ?

@flowdeskadmin

Copy link
Copy Markdown
Member

Could you handle it?
Appreciate your help

@re1sub

re1sub commented Jul 1, 2026

Copy link
Copy Markdown
Contributor Author

Could you handle it? Appreciate your help

Updated the README. I'll leave the website update to you.

You might wanna update or automate the version badge on the website with a script that fetches the latest release version from github

@flowdeskadmin

Copy link
Copy Markdown
Member

Got it. Thank you for you contribution

@flowdeskadmin flowdeskadmin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@flowdeskadmin flowdeskadmin merged commit 23c516a into Flowdesktech:master Jul 1, 2026
1 check passed
@re1sub

re1sub commented Jul 1, 2026

Copy link
Copy Markdown
Contributor Author

Happy to help. I was looking for exactly this program. Thank you!

Waiting patiently for the release :)

@re1sub re1sub deleted the feat/local-emulator branch July 1, 2026 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants