Michael Vogt
218b5abbaa
snapstate: notify user when refresh-app-awareness snap finished ( #12715 )
...
* snapstate: notify user when refresh-app-awareness snap refreshed
This is a minimal commit to show a notification when a refresh that
was triggered by the user closing an application is now ready
to use.
* {iface,snap}state: make LinkParticipant pass a *SnapSetup
* snapstate: use notifyLinkParticipant mechanism to trigger finish notification
* agentnotify: move agent notification into their own package
* snapstate: make AutoRefresh() take *AutoRefreshOptions
* agentnotify: import from overlord to ensure linkParticipant handler gets registered
* tests: add new refresh-app-awareness-notify spread test
* snapstate: fix unreachable code
* tests: move from wormhole to test-snapd-sh in refresh-app-awareness-notify
* agentnotify: send notification when snap starts to refresh
* usersession: tweak wording when refresh is ready (thanks to Oliver)
* usersession: actually add the missing finishRefreshNotificationCmd endpoint
* snap: disable graphicalSessionFlow() to avoid confusion
It's unclear if this flow ever worked and the finish-refresh
part for sure never worked because in the userd the API for
finish-notification was not wired in.
This needs to be re-examined when we have a proper UX design.
* usersession: show notification when update is finished (thanks to Oliver)
* agentnotify: remove uneeded notifyUnlinkSnap()
After a quick sync with Oliver the decision was taken to have
just a notification message when the snap refresh is finished
and not when it starts to avoid too many user distractions.
* usersession: tweak wording when refresh is ready (thanks to Oliver)
* agentnotify: remove unneeded comment
* usersession: one more wording tweak (thanks to Oliver)
* agentnotify: add missing unit test
* snapstate: add test that ensures the snapsup.Flags.IsContinuedAutoRefresh is set
* snapstate: add TODO
* many: tweak wordings/comment/variable names (thanks to Miguel)
* tests: simplify refresh-app-awareness-notify test (thanks to Miguel)
* tests: fix quoting in test
* snap: simplify how inhibit worflow inhibited
* tests: tweak tests and ensure "jq" is installed
* agent: fix unit test error
2023-04-18 14:35:47 +02:00
..
2021-04-20 18:20:25 -03:00
2022-04-14 14:30:47 +02:00
2022-09-05 15:43:17 +02:00
2022-08-23 22:04:39 +09:30
2022-08-30 09:17:53 -03:00
2022-07-08 10:17:47 +02:00
2021-06-10 09:02:50 -03:00
2022-08-15 17:12:45 +01:00
2022-08-15 17:12:45 +01:00
2022-08-15 17:12:45 +01:00
2022-04-14 18:05:34 +02:00
2022-08-30 09:17:53 -03:00
2021-05-26 09:22:39 -03:00
2022-04-21 09:00:05 +02:00
2021-06-02 23:14:45 -03:00
2021-06-13 21:02:10 -03:00
2021-06-09 18:03:24 -03:00
2021-06-02 23:14:45 -03:00
2022-10-20 14:49:25 +02:00
2022-04-06 15:10:05 +02:00
2022-04-30 09:44:42 +02:00
2021-06-09 18:03:24 -03:00
2021-03-04 10:35:57 -03:00
2021-09-07 14:56:01 +02:00
2023-01-03 18:39:04 +01:00
2022-09-14 21:53:48 +02:00
2023-01-03 18:39:04 +01:00
2022-12-01 06:29:44 +01:00
2022-12-02 12:33:19 -03:00
2021-03-03 09:05:09 -03:00
2021-08-25 09:06:38 +02:00
2021-06-02 23:14:45 -03:00
2021-06-02 23:14:45 -03:00
2021-04-20 09:21:11 -03:00
2022-04-14 14:30:47 +02:00
2021-06-22 09:54:23 +02:00
2021-06-22 09:54:23 +02:00
2021-03-04 10:23:18 -03:00
2021-03-04 10:35:57 -03:00
2021-03-04 10:23:18 -03:00
2021-06-10 09:02:50 -03:00
2021-05-21 17:45:41 -03:00
2022-08-30 09:17:53 -03:00
2022-04-14 14:30:47 +02:00
2021-06-09 18:03:24 -03:00
2021-04-20 19:08:55 -03:00
2021-07-07 16:04:31 -03:00
2022-05-17 16:16:42 +02:00
2020-09-30 14:41:11 -03:00
2021-03-04 10:23:18 -03:00
2021-03-04 10:23:18 -03:00
2021-04-08 15:05:29 -03:00
2022-08-30 09:17:53 -03:00
2021-06-10 09:02:50 -03:00
2022-08-30 09:17:53 -03:00
2021-10-18 11:29:22 +02:00
2022-04-06 15:10:05 +02:00
2021-05-27 13:33:45 +08:00
2022-10-18 15:02:18 +03:00
2021-05-27 13:33:45 +08:00
2022-04-30 09:44:42 +02:00
2020-12-02 18:04:34 -03:00
2022-06-24 14:04:14 +01:00
2021-04-20 18:20:25 -03:00
2021-03-04 10:23:18 -03:00
2022-09-07 17:11:53 -03:00
2022-04-14 14:30:47 +02:00
2022-11-03 10:28:54 +03:00
2022-09-07 16:06:23 -03:00
2022-09-07 16:06:23 -03:00
2022-09-07 16:06:23 -03:00
2022-12-12 18:37:41 -03:00
2021-04-20 18:20:25 -03:00
2021-06-09 18:03:24 -03:00
2022-04-14 14:30:47 +02:00
2021-08-24 16:13:36 +02:00
2022-08-30 09:17:53 -03:00
2021-09-14 13:35:28 +02:00
2022-08-31 12:59:29 +02:00
2022-12-02 12:33:19 -03:00
2022-08-30 09:17:53 -03:00
2022-05-13 15:11:54 -03:00
2021-05-17 19:11:12 -03:00
2021-04-08 15:05:29 -03:00
2022-12-14 14:39:12 -03:00
2022-01-05 13:33:53 +01:00
2022-04-06 15:10:05 +02:00
2021-03-10 15:10:19 -03:00
2021-12-03 15:52:16 +01:00
2021-08-23 23:39:34 -03:00
2021-04-13 07:13:20 -03:00
2022-05-23 15:03:29 +03:00
2021-08-31 19:44:42 +02:00
2020-10-19 12:05:21 -03:00
2021-09-16 19:01:39 +01:00
2021-09-07 14:56:01 +02:00
2021-07-07 16:04:31 -03:00
2022-08-30 09:17:53 -03:00
2021-09-17 16:12:41 +02:00
2022-04-07 21:05:31 +02:00
2022-12-01 06:29:44 +01:00
2020-09-30 14:41:11 -03:00
2022-04-11 15:26:32 +02:00
2021-05-26 09:22:39 -03:00
2020-09-30 14:41:11 -03:00
2023-03-09 08:47:54 -03:00
2021-08-27 09:19:19 -03:00
2021-06-10 09:02:50 -03:00
2021-04-08 15:05:29 -03:00
2022-04-14 17:58:17 +02:00
2021-08-27 09:19:19 -03:00
2021-04-22 16:49:33 -03:00
2020-12-02 18:39:38 -03:00
2022-01-11 17:27:21 +03:00
2021-04-08 15:05:29 -03:00
2022-06-06 11:11:54 +02:00
2023-01-03 18:39:04 +01:00
2023-01-10 09:25:45 +01:00
2021-03-09 15:49:02 -03:00
2023-01-03 18:39:04 +01:00
2023-01-10 09:25:45 +01:00
2021-04-22 16:49:33 -03:00
2021-04-22 16:49:33 -03:00
2021-04-22 16:49:33 -03:00
2020-09-30 14:41:11 -03:00
2022-09-07 16:06:23 -03:00
2022-04-04 13:17:50 +02:00
2021-04-08 15:05:29 -03:00
2020-06-03 12:38:14 +02:00
2020-06-02 14:37:53 +02:00
2021-05-17 19:11:12 -03:00
2021-08-27 09:19:19 -03:00
2021-06-02 23:14:45 -03:00
2020-09-30 17:09:48 -03:00
2020-09-30 17:09:48 -03:00
2021-08-18 16:18:13 -03:00
2021-05-05 10:40:07 -03:00
2021-04-22 16:49:33 -03:00
2022-01-10 15:48:20 +03:00
2021-04-20 09:21:11 -03:00
2021-03-09 17:46:33 -03:00
2021-04-22 16:49:33 -03:00
2021-04-22 16:49:33 -03:00
2021-04-22 16:49:33 -03:00
2021-04-22 16:49:33 -03:00
2020-10-19 12:05:21 -03:00
2022-04-14 12:53:01 +02:00
2022-01-31 18:03:14 +01:00
2020-10-19 12:05:21 -03:00
2021-05-13 11:02:53 +03:00
2020-09-30 17:09:48 -03:00
2020-09-30 17:09:48 -03:00
2022-04-06 15:10:05 +02:00
2022-07-12 15:34:46 +02:00
2021-03-09 17:46:33 -03:00
2022-11-15 16:04:18 +03:00
2021-04-22 16:49:33 -03:00
2022-04-22 12:22:12 +02:00
2020-09-30 17:09:48 -03:00
2023-01-10 10:58:02 -03:00
2023-03-06 10:41:49 +01:00
2021-11-30 08:44:59 -06:00
2022-09-27 17:44:09 +02:00
2021-05-18 19:19:14 -03:00
2021-04-22 16:49:33 -03:00
2021-04-22 16:49:33 -03:00
2020-11-04 18:37:22 -03:00
2021-04-22 16:49:33 -03:00
2022-11-07 14:36:32 +03:00
2021-06-10 09:02:50 -03:00
2021-04-22 16:49:33 -03:00
2022-04-11 15:26:32 +02:00
2021-04-22 16:49:33 -03:00
2021-08-27 09:19:19 -03:00
2020-09-30 17:09:48 -03:00
2021-04-22 16:49:33 -03:00
2023-03-08 17:11:17 +01:00
2022-07-14 17:14:20 +02:00
2022-09-07 16:06:23 -03:00
2020-06-02 14:37:53 +02:00
2020-09-30 17:09:48 -03:00
2021-04-22 16:49:33 -03:00
2021-12-02 16:16:47 +08:00
2023-03-06 16:27:43 +01:00
2021-05-17 19:11:12 -03:00
2020-10-01 12:00:46 -03:00
2020-10-01 12:00:46 -03:00
2022-01-24 17:10:13 +01:00
2022-04-27 12:19:58 +08:00
2021-04-22 16:49:33 -03:00
2021-03-12 09:19:45 -03:00
2022-08-30 09:17:53 -03:00
2022-07-14 00:22:15 -03:00
2021-03-09 17:46:33 -03:00
2021-04-21 09:08:50 -03:00
2020-10-01 12:00:46 -03:00
2022-09-05 14:23:44 +03:00
2022-09-08 17:15:39 +03:00
2021-11-16 19:52:30 +01:00
2021-05-17 19:11:12 -03:00
2021-08-27 09:19:19 -03:00
2021-04-22 16:49:33 -03:00
2022-09-12 10:30:15 -03:00
2021-04-22 16:49:33 -03:00
2021-04-22 16:49:33 -03:00
2022-08-24 15:26:01 -03:00
2022-12-01 06:29:44 +01:00
2020-10-01 12:00:46 -03:00
2023-01-13 09:39:23 +00:00
2022-04-08 15:41:05 +02:00
2022-06-14 13:52:24 -03:00
2023-02-17 10:44:15 -03:00
2023-02-17 10:44:15 -03:00
2023-01-24 10:55:17 -03:00
2023-01-24 10:55:17 -03:00
2023-01-04 16:11:55 +01:00
2023-01-24 10:55:17 -03:00
2023-01-24 10:55:17 -03:00
2021-04-20 19:08:55 -03:00
2023-01-03 18:39:04 +01:00
2023-01-10 09:25:45 +01:00
2021-03-04 10:35:57 -03:00
2022-03-21 12:50:35 +01:00
2021-09-07 14:56:01 +02:00
2022-07-14 00:22:15 -03:00
2021-02-23 16:46:25 -06:00
2023-03-08 12:11:00 +01:00
2021-04-21 09:08:50 -03:00
2021-04-20 18:20:25 -03:00
2022-04-21 09:00:05 +02:00
2022-04-14 14:30:47 +02:00
2021-06-10 09:02:50 -03:00
2022-01-12 12:37:54 +01:00
2021-04-20 18:20:25 -03:00
2021-04-20 18:20:25 -03:00
2021-05-26 17:10:28 -03:00
2021-04-20 18:20:25 -03:00
2020-12-02 18:04:34 -03:00
2021-04-20 09:21:11 -03:00
2021-04-08 15:05:29 -03:00
2021-04-20 18:20:25 -03:00
2021-04-20 18:20:25 -03:00
2021-04-20 18:20:25 -03:00
2020-10-01 12:00:46 -03:00
2021-04-08 15:05:29 -03:00
2023-02-01 15:53:50 +01:00
2022-04-14 14:30:47 +02:00
2023-03-07 14:18:50 +01:00
2022-11-09 11:22:23 +01:00
2021-09-15 20:58:14 +02:00
2021-04-08 15:05:29 -03:00
2021-04-13 07:20:17 -03:00
2022-12-13 09:08:42 +01:00
2021-11-17 20:34:02 +01:00
2022-05-10 17:06:59 +02:00
2022-10-20 14:49:24 +02:00
2022-10-20 14:49:24 +02:00
2022-08-23 17:52:32 -03:00
2022-08-23 17:52:32 -03:00
2020-07-06 15:36:36 -03:00
2020-07-06 15:36:36 -03:00
2023-02-01 15:53:50 +01:00
2022-07-26 12:36:24 +02:00
2022-04-14 14:30:47 +02:00
2022-04-14 14:30:47 +02:00
2022-07-26 12:36:24 +02:00
2023-04-18 14:35:47 +02:00
2021-04-20 19:08:55 -03:00
2021-09-07 14:56:01 +02:00
2021-07-06 09:52:44 +02:00
2020-11-06 00:37:31 -03:00
2022-04-14 14:30:47 +02:00
2022-04-14 14:30:47 +02:00
2022-07-19 09:24:32 +01:00
2021-05-26 14:29:24 -03:00
2022-08-30 09:17:53 -03:00
2021-04-20 19:08:55 -03:00
2022-04-14 14:30:47 +02:00
2022-05-13 15:11:54 -03:00
2021-08-25 09:06:38 +02:00
2021-05-26 09:22:39 -03:00
2021-04-20 19:08:55 -03:00
2021-04-20 19:08:55 -03:00
2022-05-12 09:02:05 +02:00
2021-05-20 14:33:46 -03:00
2020-10-01 14:17:55 -03:00
2021-10-22 15:56:04 +02:00
2022-04-06 15:10:05 +02:00
2021-06-10 09:02:50 -03:00
2021-06-10 09:02:50 -03:00
2022-04-06 15:10:05 +02:00
2021-06-10 09:02:50 -03:00
2022-04-06 15:10:05 +02:00
2021-06-10 09:02:50 -03:00
2022-04-14 14:30:47 +02:00
2021-05-20 14:33:46 -03:00
2022-12-01 06:29:44 +01:00
2020-10-01 14:17:55 -03:00
2021-04-20 18:20:25 -03:00
2022-08-30 09:17:53 -03:00
2022-02-14 20:36:52 -03:00
2021-06-02 23:14:45 -03:00
2021-11-02 12:13:34 +01:00
2022-07-14 00:22:15 -03:00
2023-01-24 10:55:17 -03:00
2021-10-04 15:20:40 +02:00
2021-04-08 15:05:29 -03:00
2021-01-29 15:04:33 -06:00
2022-04-14 14:30:47 +02:00
2021-05-20 14:33:46 -03:00
2021-05-20 14:33:46 -03:00
2021-11-18 11:02:24 +01:00
2021-02-24 18:00:51 +08:00
2021-08-23 14:38:24 +02:00
2021-05-20 14:33:46 -03:00
2022-06-02 17:10:49 +02:00
2021-06-10 15:35:31 +03:00
2022-06-02 17:10:49 +02:00
2021-05-28 11:27:59 -03:00
2022-06-02 17:10:49 +02:00
2022-06-02 17:10:49 +02:00
2021-05-26 09:22:39 -03:00
2022-02-03 13:58:43 +01:00
2021-06-10 09:02:50 -03:00
2021-06-10 09:02:50 -03:00
2022-09-28 16:38:27 +02:00
2021-11-12 09:26:04 +01:00
2021-04-08 15:05:29 -03:00
2021-04-21 09:08:50 -03:00
2022-12-01 06:29:44 +01:00
2020-07-06 15:36:36 -03:00
2021-10-04 10:30:55 +02:00
2022-12-01 06:29:44 +01:00
2022-12-01 06:29:44 +01:00
2022-01-31 17:55:34 +01:00
2021-04-06 07:18:04 +00:00
2022-04-14 14:30:47 +02:00
2021-05-26 18:01:05 +02:00
2021-05-27 14:04:27 +02:00
2022-04-14 14:30:47 +02:00
2020-10-01 14:17:55 -03:00
2020-10-01 14:17:55 -03:00
2022-04-14 12:53:01 +02:00
2022-09-20 09:00:29 -03:00
2022-04-14 14:30:47 +02:00
2020-10-01 14:17:55 -03:00
2020-10-01 14:17:55 -03:00
2022-01-12 13:31:33 +01:00
2020-10-01 14:17:55 -03:00
2021-03-10 08:41:31 -03:00
2022-08-25 14:22:34 +02:00
2023-02-01 15:53:50 +01:00
2020-06-30 20:14:14 -03:00
2022-08-30 09:17:53 -03:00
2022-07-01 15:54:34 +03:00
2021-04-20 19:08:55 -03:00
2023-02-01 15:53:50 +01:00
2023-02-01 15:53:50 +01:00
2023-02-01 15:53:50 +01:00
2022-10-07 14:06:30 +02:00
2023-02-01 15:53:50 +01:00
2023-01-06 12:12:43 +01:00
2023-02-01 15:53:50 +01:00
2021-04-20 18:20:25 -03:00
2022-10-04 11:52:56 +01:00
2022-11-24 16:19:53 +01:00
2021-04-20 19:08:55 -03:00
2021-04-20 19:08:55 -03:00
2022-06-09 11:45:59 -03:00
2022-08-30 09:17:53 -03:00
2021-04-21 09:08:50 -03:00
2022-02-22 20:28:24 -06:00
2022-03-02 12:27:09 -03:00
2020-10-01 14:33:20 -03:00
2021-04-21 09:08:50 -03:00
2022-12-14 16:57:31 +01:00
2021-04-21 09:08:50 -03:00
2021-06-09 18:03:24 -03:00
2021-11-05 13:16:15 +01:00
2021-08-23 10:31:22 -03:00
2021-02-24 18:00:51 +08:00
2022-04-14 14:30:47 +02:00
2020-06-02 14:37:53 +02:00
2021-03-30 16:41:59 -03:00
2021-03-30 16:41:59 -03:00
2022-04-14 14:30:47 +02:00
2022-08-30 09:17:53 -03:00
2021-03-04 09:27:19 -03:00
2022-02-03 16:09:02 -06:00
2022-04-14 14:30:47 +02:00
2023-01-10 09:25:45 +01:00
2021-06-22 12:36:06 -03:00
2021-08-23 10:31:22 -03:00
2022-04-06 15:10:05 +02:00
2021-08-23 10:31:22 -03:00
2021-08-23 10:31:22 -03:00
2022-04-06 15:10:05 +02:00
2021-04-22 16:49:33 -03:00
2022-01-31 09:25:11 -03:00
2023-03-02 18:07:36 +01:00
2022-11-21 18:00:38 +01:00
2022-04-14 14:30:47 +02:00
2021-08-23 10:31:22 -03:00
2021-08-24 16:06:11 +01:00
2021-05-21 17:45:41 -03:00
2021-09-14 13:35:28 +02:00
2021-06-02 23:14:45 -03:00
2022-12-05 10:52:29 +01:00
2021-08-25 14:37:13 +02:00
2021-03-10 15:10:19 -03:00
2023-03-08 12:11:00 +01:00
2020-12-02 18:04:34 -03:00
2021-08-25 14:37:13 +02:00
2023-03-09 10:13:00 +01:00
2022-12-02 12:36:39 -03:00
2022-03-08 16:09:52 -03:00
2022-08-30 09:17:53 -03:00
2023-03-07 17:25:04 -03:00
2021-04-08 15:05:29 -03:00
2020-06-03 11:43:12 +02:00
2022-08-15 17:12:45 +01:00
2023-01-23 15:38:45 +01:00
2021-08-24 16:13:36 +02:00
2022-03-09 12:11:06 -03:00
2022-12-12 15:53:51 +01:00
2022-04-14 14:30:47 +02:00
2022-04-04 17:28:07 +02:00
2021-10-04 10:30:55 +02:00
2022-07-14 17:11:34 +02:00
2022-04-14 14:30:47 +02:00
2021-08-24 16:13:36 +02:00
2021-08-25 09:06:38 +02:00
2021-06-10 09:02:50 -03:00
2022-09-07 17:11:53 -03:00
2022-09-07 17:11:53 -03:00
2022-09-07 17:11:53 -03:00
2022-09-07 17:11:53 -03:00
2022-10-18 13:24:08 -04:00
2021-03-30 16:41:59 -03:00
2022-04-01 09:25:07 +02:00
2020-11-04 18:37:22 -03:00
2021-04-21 09:08:50 -03:00
2022-04-14 14:30:47 +02:00
2022-12-02 12:33:19 -03:00
2022-12-02 12:33:19 -03:00
2022-09-07 16:06:23 -03:00
2021-04-08 15:05:29 -03:00
2022-09-05 14:23:44 +03:00
2021-08-31 14:49:47 -03:00
2023-02-01 09:29:49 +00:00
2022-04-14 14:30:47 +02:00
2020-10-01 14:33:20 -03:00
2022-07-14 00:22:15 -03:00
2021-12-03 14:46:53 -06:00
2021-12-03 14:46:53 -06:00
2020-05-19 19:00:42 +02:00
2021-05-26 12:44:38 -03:00
2022-01-04 14:52:38 +01:00
2021-08-27 13:01:44 -03:00
2021-08-27 12:53:44 -03:00
2021-04-22 16:49:33 -03:00