Giter VIP home page Giter VIP logo

google-chat-electron's Introduction

नमस्ते

Imagine some fancy stats and badges here

google-chat-electron's People

Contributors

adamhartford avatar adrianjagielak avatar ahwatts avatar ankurk91 avatar cdwertmann avatar dependabot[bot] avatar dhitchcock avatar dlecan avatar mwpeterson avatar nathan-weinberg avatar optel-perchri1 avatar robyf avatar squalou avatar stanfieldr avatar sudovanilla avatar xav83 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

google-chat-electron's Issues

Feature request: add QUOTE shortcut

A QUOTE shortcut action would be very very appreciated.

At this moment quote can be done only by copying text message to quote and writing 6 single quotes like
``` text copied ```

Thanks

menubar icon toggle

Platform

google-chat-electron 2.13.0
Electron 16.0.1
darwin 21.2.0
Locale: en-US

Possible to remove menubar icon?

Chrome user agent might be a slightly better idea

Hi,
I noticed in the latest releases this app uses the "Dynamic Firefox version in user agent" and I was wondering if it was a good idea? The electron is chromium based so if Google ever serves code based on user-agent (e.g. some obscure javascript API that works only on gecko/chromium) this firefox user agent might break something in this app down the road? It might be a better idea to use a chrome/chromium user agent corresponding to the Electron version used in builds.

Can't connect: U2F validation stuck in loop

Specs :

  • OS : kubuntu 21.04
  • App : google-chat-electron 2.4.1 (snap)

Issue :

Hello,
I'm using U2F (Yubikey) with my google account and when I want to connect to google-chat-electron, its stuck at "checking your identity" (where you're supposed to have a message from the browser inviting you to plug your security key).

I found a workaroud by going to history > back then it offers me alternative 2FA methods (Authenticator codes, g.co/sc...) I can use.

I would love to help you debugging this issue but the usual shortcuts (F12 and ctrl + shift + I) doesn't work and there's nothing in the logs.

If you can't add U2F support, there might be a way to tell that the app don't support U2F so Google would offer alternate methods directly instead of being stuck in a loop. I think I saw that in another electron app but I forgot which one...

Unable to Sign-in with Google Smart Lock

It seems like google-chat-electron is unable to use Bluetooth to enable sign in to a Google account using the Google Smart Lock app.

Is Bluetooth something supported by Electron?

Steps to reproduce

  1. Enable the Google Smart Lock app as a security key on a Google account.
  2. Sign in to the Google account on google-chat-electron.

Expected result

Google prompts for a security key, Google Smart Lock receives a notification, and upon opening the Google Smart Lock app, the website communicates with Bluetooth with the Google Smart Lock app to verify the sign-in.

Actual result

Google prompts for a security key, Google Smart Lock receives a notification, but upon opening the Google Smart Lock app, neither the website nor the app responds to each other.

Black Theme

Please add the black theme.

Platform

google-chat-electron 2.0.2
Electron 12.0.2
linux 5.8.0-50-generic
Locale: en-US

Add to Chocolatey / winget

Consider packaging and pushing the Windows release for Chocolatey. I do not have practical experience with this, but a quick look through some documentation appears to show that this can all be done via PowerShell and that GitHub Actions can run PowerShell, which would allow for automated updates, once configured.

https://github.com/majkinetor/au appears to be the recommended option as far as Chocolatey updates goes.

https://www.dolthub.com/blog/2021-10-13-how-to-publish-winget-chocolatey-packages-with-github-actions/ details how another application (Dolt) used GitHub Actions to publish on both Chocolatey and winget

v2.14.0 release vanished!

Hi, I got the email notification about 2.14 being released with updated Electron, but it looks like it's had to be removed. Just wanted to check in, and find out ETA! :) Cheers!

with a TFA USB token, even disabling the Guard doesn't get to auth.

Platform

google-chat-electron 2.5.1
Electron 13.1.6
linux 5.4.0-80-generic
Locale: en-US

Hello.

I've got a yubikey configured for my auth, and the app doesn't allow the security key to come up to enter.
Open to ideas or assisting in troubleshooting..
i disabled the guard, relaunched the app, refreshed... all to no avail.

Thanks!

Thanks.

Login issues when SSO is in use.

Platform

google-chat-electron 1.0.19
Electron 11.2.0
linux 5.8.0-38-generic
Locale: en-GB

Hi there, WHen using the app with an enterprise that leverages Single Sign-On, the login process does not work. After entering your credentials, the screen goes blank and then opens a new tab in your default browser that goes to the SSO URL. In my case, it was https://www.google.com/a/[enterprise-domian.com]/acs and then the application sits at a blank screen. A regular Google account works as expected.

I have installed the app from the Snap package.

I know this may be light on info, so if there is anything specific you need from me, please let me know.

System

❯ /usr/bin/cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.10
DISTRIB_CODENAME=groovy
DISTRIB_DESCRIPTION="Ubuntu 20.10"

❯ snap --version
snap    2.48.2
snapd   2.48.2
series  16
ubuntu  20.10
kernel  5.8.0-38-generic
❯ snap info google-chat-electron
name:      google-chat-electron
summary:   Unofficial desktop app for Google Chat.
publisher: Ankur Kumar (ankurk91)
store-url: https://snapcraft.io/google-chat-electron
contact:   https://twitter.com/ankurk91
license:   MIT
description: |
  Unofficial desktop app for Google Chat.
commands:
  - google-chat-electron
snap-id:      wj5BaiEJCx6qSQs7bFQBcrMxKt1oXutt
tracking:     latest/stable
refresh-date: today at 08:59 PST
channels:
  latest/stable:    1.0.19 2021-01-19 (2) 67MB -
  latest/candidate: ↑                          
  latest/beta:      ↑                          
  latest/edge:      ↑                          
installed:          1.0.19            (2) 67MB -

Error trying to start Windows build

When I try to run the Windows build v2. 9.0 (after unpacking the .zip to a writable folder) I got this error on a dialog...

Unhandled Promise Rejection
Error:  (-3) loading 'https://accounts.google.com/signin/v2/identifier?passive=1209600&osid=1&continue=https%3A%2F%2Fmail.google.com%2Fchat%2Fu%2F0%2F&followup=https%3A%2F%2Fmail.google.com%2Fchat%2Fu%2F0%2F&flowName=GlifWebSignIn&flowEntry=ServiceLogin'
    at rejectAndCleanup (node:electron/js2c/browser_init:165:7486)
    at Object.failListener (node:electron/js2c/browser_init:165:7699)
    at Object.emit (node:events:394:28)

...and the following error on the program itself:
image(1).png

What I'm doing wrong?

Feature Request: Dark Mode

Besides the fact that the PWA is absolutely terrible, the other thing I really dislike about it (as opposed to the mobile apps) is the lack of a dark mode. I've tried injecting CSS via Stylus or other means, but the way the PWA classes are set up, it's quite difficult. A dark mode would be nice, so it matches the rest of my applications. I might actually do this myself, and submit a PR for it, just wanted to put it here as well.

dark mode is gone

After the update the dark mode is gone.

Platform

google-chat-electron 2.0.0
Electron 12.0.2
linux 5.4.0-70-generic
Locale: pt-BR

mac: App is not minimizable

Hi,

I'm not able to minimise the app in Mac using "+M" keys.

Could you please look into this?

Thanks,
Abdul

No camera found

Platform

google-chat-electron 2.7.0
Electron 14.0.0
linux 5.11.0-34-generic
Locale: en-GB

I use an usb web cam (Logitech), although google chat can detect it from web browser (Chrome, Edge, Firefox), the google chat standalone app could not find the camera. I guess it's permission issues, but cannot find any way to allows the app to access the webcam as it does not pop up permission prompt as the web version does.

Feature Request: Windows build.

Is a Windows build feasible for the project? Although we have Gmail-desktop already, a dedicated Google chat standalone app would be very interesting...

snap: Corrupted files being uploaded when size is over 200MB

Platform

App Version: 1.2.0
Installed via : snap
Electron version: 11.2.3
Platform: Linux, 5.8.0-43-generic, x64
OS: #49~20.04.1-Ubuntu SMP Fri Feb 5 09:57:56 UTC 2021
Locale: en-GB

Problem

Google Chat UI in the browser fails to upload files > 200MB telling that it isn't supported, whereas the app uploads a partial file of some sort (which is corrupted).

No sound on Linux Ubuntu

Hello,
I have no sound for notifications on Linux Ubuntu 20.04.
When started with cli I saw this error message:
Failed to load module "canberra-gtk-module"

Gtk-Message: 09:49:51.280: Failed to load module "canberra-gtk-module"
Gtk-Message: 09:49:51.281: Failed to load module "canberra-gtk-module"

Seems related.

But it seems I have all canberra-gtk packages installed.
Do I miss one?

$ LANG=en_EN.UTF-8 ; apt search canberra-gtk
Sorting... Done
Full Text Search... Done
gnome-session-canberra/focal,now 0.30-7ubuntu1 amd64 [installed,automatic]
  GNOME session log in and log out sound events

libcanberra-doc/focal,focal 0.30-7ubuntu1 all
  simple abstract interface for playing event sounds - doc

libcanberra-gtk-common-dev/focal,focal,now 0.30-7ubuntu1 all [installed,automatic]
  simple interface for playing event sounds (GTK+ shared development files)

libcanberra-gtk-dev/focal,now 0.30-7ubuntu1 amd64 [installed]
  simple interface for playing event sounds (GTK+ 2 development files)

libcanberra-gtk-module/focal,now 0.30-7ubuntu1 amd64 [installed]
  translates GTK+ widgets signals to event sounds

libcanberra-gtk0/focal,now 0.30-7ubuntu1 amd64 [installed,automatic]
  GTK+ helper for playing widget event sounds with libcanberra

libcanberra-gtk3-0/focal,now 0.30-7ubuntu1 amd64 [installed,automatic]
  GTK+ 3.0 helper for playing widget event sounds with libcanberra

libcanberra-gtk3-dev/focal,now 0.30-7ubuntu1 amd64 [installed]
  simple interface for playing event sounds (GTK+ 3 development files)

libcanberra-gtk3-module/focal,now 0.30-7ubuntu1 amd64 [installed,automatic]
  translates GTK3 widgets signals to event sounds

Platform

google-chat-electron 2.14.2
Electron 17.0.0
linux 5.13.0-28-generic
Locale: fr

Un-fork the repo

Hi!

I've submitted a Homebrew cask for this app here:
Homebrew/homebrew-cask#112094

However they are not accepting the package because this repository is labelled as a fork of another (abandoned?) repo. Would you consider removing the fork label?

Thanks!

Sound notification not working

Hi,
Thank you for this app, and the work you have put in.

As the title says, I'm not hearing a notification sound when receiving new messages.
It does show the notification itself, but I'm not hearing the sound alert.

Platform

google-chat-electron 2.13.0
Electron 16.0.1
linux 5.15.5-76051505-generic
Locale: en-US
GNOME Shell 40.4.0
OS: Pop!_OS 21.10

MacOS: Full screen view

It would be really cool to add the ability to use app in full screen mode in MacOS.
It would be consistent with all others MacOS applications.

Are you considering adding this feature?

Mac: Not authorized to send Apple events to System Events

Error: 44:48: execution error: Not authorized to send Apple events to System Events. (-1743)

    at ChildProcess.<anonymous> (/Applications/google-chat-electron.app/Contents/Resources/app.asar/node_modules/applescript/lib/applescript.js:49:13)
    at ChildProcess.emit (events.js:315:20)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)

error-electron-mac

google-chat-electron 2.2.0
Electron 12.0.6
darwin 19.6.0
Locale: en-US

Add StartupWMClass line to .desktop

In standard GNOME for Fedora and other variants the current desk top file results in two icons if added to the dock as a Favorite and app window is in focus. Adding StartupWMClass=google-chat-electron to the file fixes the issue. Screenshots included.
Screenshot-20210831095323-1600x900
Screenshot-20210831095241-952x799

Error al abrir la aplicación

ProcessUncleanExitError: DELETE command exited with code 1:

ERROR: El sistema no ha podido encontrar la clave o el valor del Registro
especificados.
    at mkErrorMsg (C:\Program Files\WindowsApps\37781ZooInc.GChatforDesktop_1.0.9.0_x64__xb7zxn0ry2ahe\app\resources\app\node_modules\winreg\lib\registry.js:111:12)
    at ChildProcess.<anonymous> (C:\Program Files\WindowsApps\37781ZooInc.GChatforDesktop_1.0.9.0_x64__xb7zxn0ry2ahe\app\resources\app\node_modules\winreg\lib\registry.js:771:10)
    at ChildProcess.emit (events.js:315:20)
    at maybeClose (internal/child_process.js:1048:16)
    at Socket.<anonymous> (internal/child_process.js:439:11)
    at Socket.emit (events.js:315:20)
    at Pipe.<anonymous> (net.js:673:12)

googleChatElectron 2.3.0
Electron 12.0.9
win32 10.0.19043
Locale: es-419

Feature request[macos]: Add setting to hide from dock

Hi there,

I'd like to propose to add the setting to remove the icon from the dock?
cManually adding

<key>LSUIElement</key>
<true/>

into the plist file after every update feels like the wrong way for the long game.

Just a suggestion.

2.13.2 MacOS release prompting for upgrades

After downloading the latest 2.13.2 MacOS release, I'm being prompted for an update to 2.13.2. The 2.13.2 binary seems to be packaged with version 2.0.1.

Screen Shot 2022-01-12 at 1 48 51 PM

The Info.plist in the bundle however, does show 2.13.2 as the package version.

Screen Shot 2022-01-12 at 1 49 59 PM

Feature Request: auto send smart reply

The smart reply buttons in a chat are really convenient, and I find myself using them frequently. I think though that an opportunity was missed when designing these. They should auto send when I click the button, as opposed to just entering the text into the text box.
CleanShot 2021-08-16 at 09 52 58@2x

Feature: resolve/remove google redirect

First off, thanks for making this. It is a pain in the ass, to use Google Chat in the browser, but this makes it much better, so thanks 😃

I was wondering it is possible to remove/resolve google redirect for all links posted in Google Chat

because every time I click a link inside Google Chat, I get send to this side in my browser
image

Feature request: File downloads from within App

It would be great if the Google Meet window opens inside the app, or alternatively, as a popup in the app. Also file downloads; Now both the meet and file links opens a browser, which specifically is inconvenient if you use different accounts (let's say, Browser is defaulting to Account A, and Google-Chat-Electron is set to a different Google/Workspace account, the files and links open in the browser with the wrong user, and with the files it even prompts a 404).

Open with ...

Very Good Google Chat Application for Linux.

But it always ask "Open with ..." for Installed Browsers after click on Hyperlink
Even if Default Browser is configured.

Please resolve this issue Default Inapp browser is great but need to login after click on hyperlink.
So It will be very good for me to open links directly in default browser.

Platform

google-chat-electron 2.7.0
Electron 14.0.0
linux 4.18.0-305.12.1.el8_4.x86_64
Locale: en-US

MacOS: quitting app from the dock just minizes the active window

Hi, I've been using this project for a few weeks since the official Google Chat app got discontinued and I really didn't want to have to switch to Chrome to use just a web app with good OS integration. So far, it's been great!

However, I noticed some strange behavior: the 'Quit' action when the dock icon is right clicked doesn't match the Cmd+Q quit shortcut, it just minizes the active window into a dock item. I attached a video to show the current behavior. It isn't an important issue, I believe most users would just use the keyboard shortcut, but I thought it deserved to be reported anyway.

Thank you for your work on getting this app working!

Grabacion.de.pantalla.2021-04-25.a.las.14.00.52.mov

Add Network category to .desktop file

Hi!

On Cinnamon and Plasma (I guess other launchers who sort apps in categories too, but I only have those 2), the app is listed under Others, adding "Network" to the categories list on the /usr/share/applications/google-chat-electron.desktop places it alongside other chat and web clients:

[Desktop Entry]
Name=Google Chat
Comment=Unofficial desktop app for Google Chat.
GenericName=google-chat-electron
Exec=google-chat-electron %U
Icon=google-chat-electron
Type=Application
StartupNotify=true
Categories=Social;Communication;Network;

Would be nice if this came already configured that way.

Thanks!!

Clicking on an attachment opens up a new empty electron window before prompting to download

Platform

App Version: 1.2.0
Installed via : snap
Electron version: 11.2.3
Platform: Linux, 5.8.0-43-generic, x64
OS: #49~20.04.1-Ubuntu SMP Fri Feb 5 09:57:56 UTC 2021
Locale: en-GB

Problem

This is only a slight UI problem. Clicking an attachment/file in a conversation opens up a new blank window and after a few seconds, a dialog box appears for saving. The blank window isn't closed automatically.

[snap] Google Chat Error Message

Error: ERR_FAILED (-2) loading 'file:///snap/google-chat-electron/21/usr/lib/google-chat-electron/resources/app.asar/src/offline/index.html'
    at rejectAndCleanup (electron/js2c/browser_init.js:213:985)
    at Object.stopLoadingListener (electron/js2c/browser_init.js:213:1360)
    at Object.emit (events.js:315:20)

google-chat-electron 2.5.1
Electron 13.1.6
linux 5.11.0-25-generic
Locale: en-GB

Build failed [email protected]

Hi,

Just to let you know :-)

> yarn --version
1.22.17
> electron --version
v16.0.1
> tsc --version
Version 4.5.2
npm run pack:linux
[...]
src/main/config.ts:74:37 - error TS2345: Argument of type '{ schema: Schema<StoreType>; clearInvalidConfig: true; }' is not assignable to parameter of type 'Options<StoreType>'.
  Property 'configFileMode' is missing in type '{ schema: Schema<StoreType>; clearInvalidConfig: true; }' but required in type 'Except<Options<StoreType>, "configName" | "projectName" | "projectVersion" | "projectSuffix">'.

74 export default new Store<StoreType>({
                                       ~
75   schema,
   ~~~~~~~~~
76   clearInvalidConfig: true
   ~~~~~~~~~~~~~~~~~~~~~~~~~~
77 });
   ~

  node_modules/conf/dist/source/types.d.ts:209:14
    209     readonly configFileMode: number;
                     ~~~~~~~~~~~~~~
    'configFileMode' is declared here.


Found 1 error.

Error: EACCES: permission denied, open '/home/<user>/snap/google-chat-electron/2/.config/google-chat-electron/config.json'

Platform

google-chat-electron 1.0.20
Electron 11.2.0
linux 5.8.0-38-generic
Locale: en-GB
Installed via: snap

Full error

Unhandled Error
Error: EACCES: permission denied, open '/home/<user>/snap/google-chat-electron/2/.config/google-chat-electron/config.json'
    at Object.func [as openSync] (electron/js2c/asar_bundle.js:5:1812)
    at ElectronStore._write (/snap/google-chat-electron/2/usr/lib/google-chat-electron/resources/app.asar/node_modules/conf/dist/source/index.js:364:16)
    at ElectronStore.set store [as store] (/snap/google-chat-electron/2/usr/lib/google-chat-electron/resources/app.asar/node_modules/conf/dist/source/index.js:282:14)
    at ElectronStore.set (/snap/google-chat-electron/2/usr/lib/google-chat-electron/resources/app.asar/node_modules/conf/dist/source/index.js:182:20)
    at BrowserWindow.saveWindowPosition (/snap/google-chat-electron/2/usr/lib/google-chat-electron/resources/app.asar/lib/main/features/windowState.js:19:30)
    at Timeout.exec [as _onTimeout] (/snap/google-chat-electron/2/usr/lib/google-chat-electron/resources/app.asar/node_modules/throttle-debounce/cjs/index.js:74:16)

Ref

Possible Workaround

sudo snap set core experimental.refresh-app-awareness=true

mac: Opening the app crashes some times

TypeError: Object has been destroyed
    at App.<anonymous> (/private/var/folders/x2/mckdp7h91_v3b1t7726kq2cw0000gn/T/AppTranslocation/A1FB0417-E5CB-4B9A-8EFE-B6ED9266F822/d/google-chat-electron.app/Contents/Resources/app.asar/lib/main/index.js:82:20)
    at App.emit (node:events:394:28)

google-chat-electron 2.13.0
Electron 16.0.1
darwin 21.1.0
Locale: en-US

Dark mode option has gone missing from some days.

I had this application in dark mode but from some days, that option is not there. I need this app in dark mode. Please fix the issue.

Platform

google-chat-electron 2.6.0
Electron 13.2.1
linux 5.4.0-81-generic
Locale: en-GB

Flatpak support

Just found this app, which seems to be exactly what I'm looking for, so thanks for your work on this. However, it would be nice to have it available on Flathub since that is the first place I normally look for apps like this. So, hopefully you find time some day to make that happen, to make it easier to discover and install for users on Fedora (since it then will be available from within Gnome Software).

Error to start

ProcessUncleanExitError: DELETE command exited with code 1:

ERROR: El sistema no ha podido encontrar la clave o el valor del Registro
especificados.
    at mkErrorMsg (C:\Program Files\WindowsApps\37781ZooInc.GChatforDesktop_1.0.9.0_x64__xb7zxn0ry2ahe\app\resources\app\node_modules\winreg\lib\registry.js:111:12)
    at ChildProcess.<anonymous> (C:\Program Files\WindowsApps\37781ZooInc.GChatforDesktop_1.0.9.0_x64__xb7zxn0ry2ahe\app\resources\app\node_modules\winreg\lib\registry.js:771:10)
    at ChildProcess.emit (events.js:315:20)
    at maybeClose (internal/child_process.js:1048:16)
    at Socket.<anonymous> (internal/child_process.js:439:11)
    at Socket.emit (events.js:315:20)
    at Pipe.<anonymous> (net.js:673:12)

googleChatElectron 2.3.0
Electron 12.0.9
win32 10.0.19043
Locale: es-419

Incorrect release filenames for v2.13.1

Whilst it looks like the pathname is correct for the 2.13.1 releases, the filenames refer to 2.13.0. Can you please update so that the right release is in the right path?! Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.