Skip to content

Add Emulator Overlay #8977

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 28 commits into
base: main
Choose a base branch
from
Draft

Add Emulator Overlay #8977

wants to merge 28 commits into from

Conversation

maneesht
Copy link
Contributor

This adds an overlay to the bottom of the user's screen:
image
If the user is connected to the emulator, the image will always be shown. If the user is not connected to the emulator, but is on a cloud workstation, then the user will be shown that they are connected to prod.

Copy link

changeset-bot bot commented Apr 25, 2025

🦋 Changeset detected

Latest commit: e7b292d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 30 packages
Name Type
@firebase/database-compat Patch
@firebase/database Patch
@firebase/firestore Patch
@firebase/app-check Patch
@firebase/auth Patch
@firebase/data-connect Patch
@firebase/storage Patch
@firebase/util Patch
firebase Patch
@firebase/firestore-compat Patch
@firebase/app-check-compat Patch
@firebase/auth-compat Patch
@firebase/storage-compat Patch
@firebase/analytics-compat Patch
@firebase/analytics Patch
@firebase/app-compat Patch
@firebase/app Patch
@firebase/component Patch
@firebase/database-types Patch
@firebase/functions-compat Patch
@firebase/functions Patch
@firebase/installations-compat Patch
@firebase/installations Patch
@firebase/messaging-compat Patch
@firebase/messaging Patch
@firebase/performance-compat Patch
@firebase/performance Patch
@firebase/remote-config-compat Patch
@firebase/remote-config Patch
@firebase/vertexai Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@google-oss-bot
Copy link
Contributor

Size Report 1

Affected Products

  • @firebase/app-check

    TypeBase (9952dbc)Merge (0abc8d6)Diff
    browser26.7 kB26.8 kB+77 B (+0.3%)
    main27.7 kB27.8 kB+63 B (+0.2%)
    module26.7 kB26.8 kB+77 B (+0.3%)
  • @firebase/auth

    TypeBase (9952dbc)Merge (0abc8d6)Diff
    browser193 kB192 kB-446 B (-0.2%)
    cordova166 kB165 kB-446 B (-0.3%)
    main147 kB147 kB-453 B (-0.3%)
    module193 kB192 kB-446 B (-0.2%)
    react-native165 kB165 kB-453 B (-0.3%)
  • @firebase/auth-cordova

    TypeBase (9952dbc)Merge (0abc8d6)Diff
    browser166 kB165 kB-446 B (-0.3%)
    module166 kB165 kB-446 B (-0.3%)
  • @firebase/auth-web-extension

    TypeBase (9952dbc)Merge (0abc8d6)Diff
    browser142 kB142 kB-446 B (-0.3%)
    main159 kB159 kB-443 B (-0.3%)
    module142 kB142 kB-446 B (-0.3%)
  • @firebase/auth/internal

    TypeBase (9952dbc)Merge (0abc8d6)Diff
    browser204 kB203 kB-446 B (-0.2%)
    main173 kB173 kB-443 B (-0.3%)
    module204 kB203 kB-446 B (-0.2%)
  • @firebase/data-connect

    TypeBase (9952dbc)Merge (0abc8d6)Diff
    browser21.4 kB21.6 kB+185 B (+0.9%)
    main23.7 kB23.8 kB+171 B (+0.7%)
    module21.4 kB21.6 kB+185 B (+0.9%)
  • @firebase/database

    TypeBase (9952dbc)Merge (0abc8d6)Diff
    browser249 kB249 kB+146 B (+0.1%)
    main254 kB254 kB+146 B (+0.1%)
    module249 kB249 kB+146 B (+0.1%)
  • @firebase/database-compat/standalone

    TypeBase (9952dbc)Merge (0abc8d6)Diff
    main366 kB366 kB+146 B (+0.0%)
  • @firebase/firestore

    TypeBase (9952dbc)Merge (0abc8d6)Diff
    browser384 kB385 kB+357 B (+0.1%)
    main594 kB595 kB+395 B (+0.1%)
    module384 kB385 kB+357 B (+0.1%)
    react-native384 kB385 kB+363 B (+0.1%)
  • @firebase/firestore-lite

    TypeBase (9952dbc)Merge (0abc8d6)Diff
    browser114 kB114 kB+444 B (+0.4%)
    main157 kB157 kB+577 B (+0.4%)
    module114 kB114 kB+444 B (+0.4%)
    react-native114 kB114 kB+448 B (+0.4%)
  • @firebase/storage

    TypeBase (9952dbc)Merge (0abc8d6)Diff
    browser58.0 kB58.3 kB+313 B (+0.5%)
    main59.4 kB59.8 kB+419 B (+0.7%)
    module58.0 kB58.3 kB+313 B (+0.5%)
  • @firebase/util

    TypeBase (9952dbc)Merge (0abc8d6)Diff
    browser23.3 kB24.6 kB+1.38 kB (+5.9%)
    main29.3 kB30.8 kB+1.56 kB (+5.3%)
    module23.3 kB24.6 kB+1.38 kB (+5.9%)
  • bundle

    41 size changes

    TypeBase (9952dbc)Merge (0abc8d6)Diff
    app-check (CustomProvider)37.8 kB37.9 kB+93 B (+0.2%)
    app-check (ReCaptchaEnterpriseProvider)40.3 kB40.4 kB+93 B (+0.2%)
    app-check (ReCaptchaV3Provider)40.3 kB40.4 kB+93 B (+0.2%)
    auth (Anonymous)77.7 kB78.8 kB+1.10 kB (+1.4%)
    auth (EmailAndPassword)87.8 kB88.9 kB+1.10 kB (+1.3%)
    auth (GoogleFBTwitterGitHubPopup)105 kB105 kB+354 B (+0.3%)
    auth (GooglePopup)102 kB103 kB+1.10 kB (+1.1%)
    auth (GoogleRedirect)102 kB103 kB+1.10 kB (+1.1%)
    auth (Phone)95.2 kB96.3 kB+1.10 kB (+1.2%)
    database (Append to a list of data)150 kB150 kB+114 B (+0.1%)
    database (Filtering data)149 kB149 kB+114 B (+0.1%)
    database (Listen for child events)165 kB165 kB+114 B (+0.1%)
    database (Listen for value events + Detach listeners)165 kB165 kB+114 B (+0.1%)
    database (Listen for value events)165 kB165 kB+114 B (+0.1%)
    database (Read data once)164 kB165 kB+114 B (+0.1%)
    database (Save data as transactions)167 kB167 kB+114 B (+0.1%)
    database (Sort data)150 kB150 kB+114 B (+0.1%)
    database (Write data)149 kB149 kB+114 B (+0.1%)
    firestore (CSI Auto Indexing Disable and Delete)274 kB276 kB+1.19 kB (+0.4%)
    firestore (CSI Auto Indexing Enable)274 kB276 kB+1.19 kB (+0.4%)
    firestore (Persistence)306 kB307 kB+1.19 kB (+0.4%)
    firestore (Query Cursors)251 kB253 kB+1.19 kB (+0.5%)
    firestore (Query)249 kB250 kB+1.19 kB (+0.5%)
    firestore (Read data once)237 kB238 kB+1.19 kB (+0.5%)
    firestore (Read Write w Persistence)330 kB332 kB+1.19 kB (+0.4%)
    firestore (Realtime updates)239 kB240 kB+1.19 kB (+0.5%)
    firestore (Transaction)216 kB217 kB+1.19 kB (+0.5%)
    firestore (Write data)216 kB217 kB+1.19 kB (+0.6%)
    firestore-lite (Query Cursors)104 kB106 kB+1.26 kB (+1.2%)
    firestore-lite (Query)101 kB102 kB+1.26 kB (+1.2%)
    firestore-lite (Read data once)75.9 kB77.2 kB+1.26 kB (+1.7%)
    firestore-lite (Transaction)101 kB103 kB+1.26 kB (+1.2%)
    firestore-lite (Write data)85.5 kB86.8 kB+1.26 kB (+1.5%)
    storage (getBytes)42.4 kB42.7 kB+221 B (+0.5%)
    storage (getDownloadURL)44.5 kB44.7 kB+221 B (+0.5%)
    storage (getMetadata)44.0 kB44.2 kB+221 B (+0.5%)
    storage (list + listAll)43.4 kB43.6 kB+221 B (+0.5%)
    storage (updateMetadata)44.2 kB44.4 kB+221 B (+0.5%)
    storage (uploadBytes)49.1 kB49.3 kB+221 B (+0.5%)
    storage (uploadBytesResumable)59.0 kB59.2 kB+221 B (+0.4%)
    storage (uploadString)49.3 kB49.5 kB+221 B (+0.4%)

  • firebase

    15 size changes

    TypeBase (9952dbc)Merge (0abc8d6)Diff
    firebase-app-check-compat.js22.9 kB23.0 kB+64 B (+0.3%)
    firebase-app-check.js25.3 kB25.4 kB+108 B (+0.4%)
    firebase-auth-compat.js141 kB141 kB+338 B (+0.2%)
    firebase-auth-cordova.js138 kB138 kB+431 B (+0.3%)
    firebase-auth-web-extension.js120 kB121 kB+431 B (+0.4%)
    firebase-auth.js158 kB159 kB+431 B (+0.3%)
    firebase-compat.js797 kB798 kB+911 B (+0.1%)
    firebase-data-connect.js17.9 kB18.1 kB+150 B (+0.8%)
    firebase-database-compat.js164 kB164 kB+106 B (+0.1%)
    firebase-database.js187 kB187 kB+104 B (+0.1%)
    firebase-firestore-compat.js342 kB343 kB+1.08 kB (+0.3%)
    firebase-firestore-lite.js132 kB134 kB+1.32 kB (+1.0%)
    firebase-firestore.js443 kB444 kB+1.21 kB (+0.3%)
    firebase-storage-compat.js39.7 kB39.9 kB+183 B (+0.5%)
    firebase-storage.js46.3 kB46.5 kB+223 B (+0.5%)

Test Logs

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/16EEOQ2hWb.html

@google-oss-bot
Copy link
Contributor

Size Analysis Report 1

This report is too large (547,022 characters) to be displayed here in a GitHub comment. Please use the below link to see the full report on Google Cloud Storage.

Test Logs

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/kUQT1svJs8.html

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