Giter Site home page Giter Site logo

notification-center's People

Contributors

amivaleo avatar dondizzurp avatar goodwillcoding avatar gorrillaribs avatar hlechner avatar mjkim0727 avatar phildevprog avatar scottste avatar selenium-h avatar vistaus 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

notification-center's Issues

Gnome 41 Support?

Greetings,

Gnome 41 was released this month and I was wondering if/when the extension will be updated? Thank you for your time and thank you for making an amazing extension I couldn't live without! Cheers

Leave calendar notification in the calendar, only "move" regular notification

Hi, currently when notifications are "moved" to the Notification Center the calendar ones come along with it, which disables the functionality of to navigating the calendar (when one clicks different dates the calendar notifications for that date show)

Is it possible to only move the regular notification (or clone the calendar ones) to the Notification center and have the calendar ones remain next to the clock.

noyification-center

Keep Events beside Calendar Menu not working

Using Pop!_OS 20.04 with pop-shell enabled. I have tried disabling / enabling the extension as well as completely removing it and adding it again. That option does not work, notifications remain next to calendar.

Edit : It appears to be caused by removing either of the default notification options, i.e Media Section, Events list, Notification list. If either one of those is set to "Don't show", the events come back besides the Calendar Menu

No Activity

Hi,
It seems that this extension is no longer maintained?
I have it working on Ubuntu 22.04 LTS.
Are you planning at all to start maintaining this extension again?

Resize the date-time panel according to the daily events

Hi!

My apologies for the bad title. Well, it is a bad title to me at least, but I can't find a better one.

Look at this picture:

a

On the left, today, it shows I have three reminders. If I click on another day, like yesterday, in which I had no events in agenda, the panel height remains the same and its content shift downward so to align vertically.

Is it possible to avoid this behaviour by resizing the popover accordingly?

The clear all button not working on Fedora 33

Since I switched to Fedora 33, the Clear Button no longer works.
It was not an update but a fresh installation on a new SSD.
I have already removed and reinstalled the extension several times, both from the GNONE Extionsionsion Sites and the GIT repository.
The button clear has no function anymore.

Events and world clocks reappear after hiding

Hi, thanks a lot for this extension!

I noticed some issues: the "events" sections is nearly never hidden from the calendar popup, and the clock section also reappears randomly.

Using Gnome 40 and last version from github :)

Close the notification panel after click to open a notification

When I click to open a notification in the notification panel, the notification panel keeps open.
It would be nice that the notification panel it closes when I click to open a notification.

I have the extension Noannoyance installed too but I think the behaviour is the same if this extension is not installed.

Thanks in advance.

Copy text from SMS

Hi, could I use this extension to copy text from SMS?
It just disappears when I click on it.

Do not disturb: no indicator when auto-hide is enabled

Right now, when you enable the "do not disturb" mode the bell icon goes grey.
However, if you enabled the auto hide option, you will not have any feedback that this mode is active.
I suggest disabling auto-hide when "do not disturb" is active and replacing the bell icon with a circle backslash.

[meta] Git Workflow

First, thank you for creating this extension and keeping it updated.

What I think would greatly help you and people looking at the repo is to properly leverage what git allows you to do.

Right now, all your commits message are not useful because they just describe how you are using git right now: as a way to upload files.
However, if one wants to get a changelog, or understand what a recent commit did, it's harder.
It's also not just for others to look at what you did, but for you: it makes you track what you did, and you don't have to open the files again just to see what you worked on recently.

Another problem is that those commits seem to be atomic sometimes: multiple unrelated changes merged into one single commit. The problem with this approach is that you can't properly isolate what code comes from a single change. If for example a change you made wasn't right or you changed your mind, with one change per commit, you can just use git revert [commit hash] that will just undo what the corresponding commit contained. You can't do that if one commit contains multiple separate changes.

There are numerous websites like https://githowto.com that provides a tutorial to better grasp the different concepts if you need.

Error loading on Gnome 3.30

TypeError: this.dndItem is undefined
Error: Extension point conflict: there is already a status indicator for role NotificationCenter

Translations

Hi!

I'd like to translate this extension into my native language (italian).
Can you please add the .pot file? :)

Shows incompatible in GNOME 42.5

Shows incompatible in GNOME 42.5, Ubuntu 22.04

TypeError: gtkVersion.Prefs_NotificationCenterExtension is not a constructor

Stack trace:
buildPrefsWidget@/home/user/.local/share/gnome-shell/extensions/notification-center@Selenium-H/prefs.js:19:16
_init@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:32:44
ExtensionPrefsDialog@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:10:4
OpenExtensionPrefsAsync/<@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:129:33
asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:115:22
run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:186:20
main@resource:///org/gnome/Shell/Extensions/js/main.js:22:13
run@resource:///org/gnome/gjs/modules/script/package.js:206:19
start@resource:///org/gnome/gjs/modules/script/package.js:190:8
@/usr/share/gnome-shell/org.gnome.Shell.Extensions:1:17

Add key binding to clear notifications

Add a key binding under settings menu that's able to do the same action as pushing the button "Clear" when Notification Center is visible.

It would be very handy when you want to clear notifications quickly without lifting hands from keyboard. I know that you can navigate through using arrows but depending on the amount of items is not useful enough.

enhancement New feature or request

[Request] Additional options when notification received from specific applications

Hey there,
This seems like a great addon. Just started using it a few minutes ago and saw there was a list you could specify options for individual applications. It would be awesome if you could do additional actions per application when a notification is received. I know it's a bit of a stretch, but an example of something that would be great to be able to do is, if I have my volume down then if I get a notification from Telegram from a specific person, be able to have that notification make a noise, but then the volume is back down otherwise.

I realize that is way more difficult, so to be able to perhaps simply specify a script to run if a notification comes from an application, then I could try to handle the action on my own. That way I could have a script that runs on a Discord notification, one for Slack, etc, etc. 

Either way, I appreciate the time you have put into this addon,
Thanks,
-MH

Does not work on Gnome 42

Greetings,

Gnome 42 was recently released, it's not available on Arch, openSUSE Tumbleweed, Fedora 36 (Beta), Gentoo, and a few others as well I'm sure. But I just wanted to open a bug report and say that your amazing extension is I'm sad to report not working on Gnome 42. Here's the error it shows from the Extensions app:

Error code:
Object 0x3293f0c24958 is not a subclass of GObject_Object, it's a Object

Screenshot from 2022-04-06 20-22-37

I'm currently on EndeavourOS Gnome myself, if you need anymore information from me please let me know, I'm happy to help in anyway I can to get this extension working again, it's one I could not live without! :)

No notifications in the list, sporadic issue

Occasionally (usually after laptop sleep and unlock), the message list will no longer show incoming notification thought a the notification "dot" next to the icon will appear.

My guess some edge case is missing but I since I can not reproduce this reliably it's hard to debug.

Only errors I've seen in the logs are:

Apr 18 09:22:27 machine gnome-shell[27680]: st_widget_get_theme_node called on the widget [0x560f75807f80 StIcon] which is not in the stage.
Apr 18 09:22:27 machine gnome-shell[27680]: st_widget_get_theme_node called on the widget [0x560f75807f80 StIcon] which is not in the stage.
Apr 18 09:22:27 machine gnome-shell[27680]: st_widget_get_theme_node called on the widget [0x560f75807f80 StIcon] which is not in the stage.
Apr 18 09:22:27 machine gnome-shell[27680]: st_widget_get_theme_node called on the widget [0x560f75807f80 StIcon] which is not in the stage.

Given the log I am playing with, wrapping

this.icon.icon_name = Gtk.IconTheme.get_default().has_icon("notification-symbolic")?"notification-symbolic":"preferences-system-notifications-symbolic";
in try/catch and see if that helps, but I thought I'd report it

Support gnome-shell 3.34

Here is what is shown when gnome-shell 3.34 starts:

 Usage of object.actor is deprecated for NotificationCenter
                                                   get@resource:///org/gnome/shell/ui/environment.js:240:29
                                                   manageAutohide@/usr/share/gnome-shell/extensions/notification-center@Selenium-H/extension.js:316:5
                                                   wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
                                                   resetIndicator@/usr/share/gnome-shell/extensions/notification-center@Selenium-H/extension.js:503:5
                                                   wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
                                                   newNotif@/usr/share/gnome-shell/extensions/notification-center@Selenium-H/extension.js:440:5
                                                   wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
                                                   addThisSection/<@/usr/share/gnome-shell/extensions/notification-center@Selenium-H/extension.js:120:78
                                                   addMessageAtIndex@resource:///org/gnome/shell/ui/messageList.js:584:9
                                                   _onNotificationAdded@resource:///org/gnome/shell/ui/calendar.js:979:9
                                                   _emit@resource:///org/gnome/gjs/modules/signals.js:135:27
                                                   pushNotification@resource:///org/gnome/shell/ui/messageTray.js:785:9
                                                   notify@resource:///org/gnome/shell/ui/messageTray.js:792:9
                                                   addNotification@/usr/share/gnome-shell/extensions/[email protected]/shell/notification.js:339:13
                                                   AddNotificationAsync@resource:///org/gnome/shell/ui/notificationDaemon.js:811:9
                                                   _handleMethodCall@resource:///org/gnome/gjs/modules/overrides/Gio.js:371:9
                                                   _wrapJSObject/<@resource:///org/gnome/gjs/modules/overrides/Gio.js:404:16
Usage of object.actor is deprecated for DateMenuButton
                                                    get@resource:///org/gnome/shell/ui/environment.js:240:29
                                                    removeDotFromDateMenu@/usr/share/gnome-shell/extensions/notification-center@Selenium-H/extension.js:490:5
                                                    wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
                                                    startNotificationCenter@/usr/share/gnome-shell/extensions/notification-center@Selenium-H/extension.js:546:5
                                                    wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
                                                    enable@/usr/share/gnome-shell/extensions/notification-center@Selenium-H/extension.js:28:3
                                                    _callExtensionEnable@resource:///org/gnome/shell/ui/extensionSystem.js:131:13
                                                    loadExtension@resource:///org/gnome/shell/ui/extensionSystem.js:263:21
                                                    _loadExtensions/<@resource:///org/gnome/shell/ui/extensionSystem.js:473:13
                                                    collectFromDatadirs@resource:///org/gnome/shell/misc/fileUtils.js:27:17
                                                    _loadExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:452:9
                                                    _enableAllExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:482:13
                                                    _sessionUpdated@resource:///org/gnome/shell/ui/extensionSystem.js:513:13
                                                    init@resource:///org/gnome/shell/ui/extensionSystem.js:31:9
                                                    _initializeUI@resource:///org/gnome/shell/ui/main.js:238:5
                                                    start@resource:///org/gnome/shell/ui/main.js:138:5

gschema is only read from the extension directory

Settings schema 'org.gnome.shell.extensions.notification-center' does not contain a key named 'max-height'
== Stack trace for context 0x557337b82270 ==
#0   5573390b3680 i   /usr/share/gnome-shell/extensions/notification-center@Selenium-H/extension.js:111 (7fccb556dca0 @ 222)
#1   7fffe5042f60 b   resource:///org/gnome/gjs/modules/_legacy.js:82 (7fcce5fb98b0 @ 71)
#2   5573390b35c8 i   /usr/share/gnome-shell/extensions/notification-center@Selenium-H/extension.js:47 (7fccb556d820 @ 300)
#3   7fffe5043ed0 b   resource:///org/gnome/gjs/modules/_legacy.js:82 (7fcce5fb98b0 @ 71)
#4   5573390b3540 i   /usr/share/gnome-shell/extensions/notification-center@Selenium-H/extension.js:22 (7fccb556d700 @ 15)
#5   7fffe5045300 b   resource:///org/gnome/shell/ui/extensionSystem.js:131 (7fcce5c47f70 @ 504)
#6   7fffe50453a0 b   resource:///org/gnome/shell/ui/extensionSystem.js:285 (7fcce5c4c4c0 @ 13)
#7   7fffe5045490 b   self-hosted:261 (7fcce5fc05e0 @ 223)
#8   5573390b33f0 i   resource:///org/gnome/shell/ui/extensionSystem.js:282 (7fcce5c4c3a0 @ 75)

ArchLinux
Gnome 3.32.1

Error loading extension in Gnome 3.36.0

Mar 09 12:56:57 travis-x1-carbon gnome-shell[1608]: Usage of object.actor is deprecated for CalendarMessageList
                                                    get@resource:///org/gnome/shell/ui/environment.js:285:29
                                                    _init@/home/travis/.local/share/gnome-shell/extensions/notification-center@Selenium-H/extension.js:96:87
                                                    wrapper@resource:///org/gnome/gjs/modules/script/_legacy.js:82:27
                                                    enable@/home/travis/.local/share/gnome-shell/extensions/notification-center@Selenium-H/extension.js:27:24
                                                    _callExtensionEnable@resource:///org/gnome/shell/ui/extensionSystem.js:160:32
                                                    loadExtension@resource:///org/gnome/shell/ui/extensionSystem.js:311:26
                                                    _loadExtensions/<@resource:///org/gnome/shell/ui/extensionSystem.js:536:18
                                                    collectFromDatadirs@resource:///org/gnome/shell/misc/fileUtils.js:27:17
                                                    _loadExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:515:19
                                                    _enableAllExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:545:18
                                                    _sessionUpdated@resource:///org/gnome/shell/ui/extensionSystem.js:576:18
                                                    init@resource:///org/gnome/shell/ui/extensionSystem.js:54:14
                                                    _initializeUI@resource:///org/gnome/shell/ui/main.js:244:22
                                                    start@resource:///org/gnome/shell/ui/main.js:138:5
                                                    @<main>:1:47
Mar 09 12:56:57 travis-x1-carbon gnome-shell[1608]: Usage of object.actor is deprecated for CalendarMessageList
                                                    get@resource:///org/gnome/shell/ui/environment.js:285:29
                                                    _init@/home/travis/.local/share/gnome-shell/extensions/notification-center@Selenium-H/extension.js:96:184
                                                    wrapper@resource:///org/gnome/gjs/modules/script/_legacy.js:82:27
                                                    enable@/home/travis/.local/share/gnome-shell/extensions/notification-center@Selenium-H/extension.js:27:24
                                                    _callExtensionEnable@resource:///org/gnome/shell/ui/extensionSystem.js:160:32
                                                    loadExtension@resource:///org/gnome/shell/ui/extensionSystem.js:311:26
                                                    _loadExtensions/<@resource:///org/gnome/shell/ui/extensionSystem.js:536:18
                                                    collectFromDatadirs@resource:///org/gnome/shell/misc/fileUtils.js:27:17
                                                    _loadExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:515:19
                                                    _enableAllExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:545:18
                                                    _sessionUpdated@resource:///org/gnome/shell/ui/extensionSystem.js:576:18
                                                    init@resource:///org/gnome/shell/ui/extensionSystem.js:54:14
                                                    _initializeUI@resource:///org/gnome/shell/ui/main.js:244:22
                                                    start@resource:///org/gnome/shell/ui/main.js:138:5
                                                    @<main>:1:47
Mar 09 12:56:57 travis-x1-carbon gnome-shell[1608]: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
Mar 09 12:56:57 travis-x1-carbon gnome-shell[1608]: JS ERROR: Extension notification-center@Selenium-H: TypeError: Gtk.IconTheme.get_default(...) is null
                                                    setNotificationIconName@/home/travis/.local/share/gnome-shell/extensions/notification-center@Selenium-H/extension.js:499:47
                                                    wrapper@resource:///org/gnome/gjs/modules/script/_legacy.js:82:27
                                                    startNotificationCenter@/home/travis/.local/share/gnome-shell/extensions/notification-center@Selenium-H/extension.js:515:10
                                                    wrapper@resource:///org/gnome/gjs/modules/script/_legacy.js:82:27
                                                    enable@/home/travis/.local/share/gnome-shell/extensions/notification-center@Selenium-H/extension.js:28:22
                                                    _callExtensionEnable@resource:///org/gnome/shell/ui/extensionSystem.js:160:32
                                                    loadExtension@resource:///org/gnome/shell/ui/extensionSystem.js:311:26
                                                    _loadExtensions/<@resource:///org/gnome/shell/ui/extensionSystem.js:536:18
                                                    collectFromDatadirs@resource:///org/gnome/shell/misc/fileUtils.js:27:17
                                                    _loadExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:515:19
                                                    _enableAllExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:545:18
                                                    _sessionUpdated@resource:///org/gnome/shell/ui/extensionSystem.js:576:18
                                                    init@resource:///org/gnome/shell/ui/extensionSystem.js:54:14
                                                    _initializeUI@resource:///org/gnome/shell/ui/main.js:244:22
                                                    start@resource:///org/gnome/shell/ui/main.js:138:5
                                                    @<main>:1:47

JS Warnings

The following are displayed after shell is (re)started:

JS WARNING: [/usr/share/gnome-shell/extensions/notification-center@Selenium-H/extension.js 18]: assignment to undeclared variable notificationCenter

JS WARNING: [/usr/share/gnome-shell/extensions/notification-center@Selenium-H/extension.js 193]: assignment to undeclared variable len

And here when you click the bell icon for the first time although it might me a gnome-shell issue? :

JS WARNING: [resource:///org/gnome/shell/ui/popupMenu.js 503]: reference to undefined property "_delegate"
JS WARNING: [resource:///org/gnome/shell/ui/popupMenu.js 19]: reference to undefined property "_delegate"

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.