Skip to content

Commit e923da8

Browse files
authored
Merge pull request #739 from nextcloud/update-recommended-apps
Update recommended apps for 25
2 parents a36c07e + b4f2031 commit e923da8

4 files changed

Lines changed: 19 additions & 12 deletions

File tree

img/apps/forms.svg

Lines changed: 5 additions & 0 deletions
Loading

img/apps/recognize.svg

Lines changed: 1 addition & 0 deletions
Loading

lib/Notification/AppHint.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ public function __construct(INotificationManager $notificationManager, IGroupMan
5757

5858
public function sendAppHintNotifications(): void {
5959
if ($this->userId !== null && $this->groupManager->isAdmin($this->userId) && $this->config->getUserValue($this->userId, 'firstrunwizard', 'apphint') !== self::APP_HINT_VERSION) {
60+
$this->sendNotification('recognize', $this->userId);
6061
$this->sendNotification('groupfolders', $this->userId);
61-
//$this->sendNotification('social', $this->userId);
62-
$this->sendNotification('notes', $this->userId);
62+
$this->sendNotification('forms', $this->userId);
6363
$this->sendNotification('deck', $this->userId);
6464
$this->sendNotification('tasks', $this->userId);
6565
$this->config->setUserValue($this->userId, 'firstrunwizard', 'apphint', self::APP_HINT_VERSION);

lib/Notification/Notifier.php

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -107,12 +107,13 @@ public function prepare(INotification $notification, string $languageCode): INot
107107
return $notification;
108108
case 'apphint-calendar':
109109
case 'apphint-contacts':
110+
case 'apphint-forms':
110111
case 'apphint-mail':
111112
case 'apphint-spreed':
112113
case 'apphint-tasks':
113114
case 'apphint-deck':
114115
case 'apphint-notes':
115-
//case 'apphint-social':
116+
case 'apphint-recognize':
116117
case 'apphint-groupfolders':
117118
$app = $notification->getObjectId();
118119
return $this->setAppHintDetails($notification, $languageCode, $app);
@@ -189,16 +190,16 @@ protected function setAppHintDetails(INotification $notification, $languageCode,
189190
$notification->setParsedMessage($l->t('Kanban style organization for personal planning and team projects.'));
190191
$appLink = '/organization/deck';
191192
break;
192-
case 'notes':
193-
$notification->setParsedSubject($l->t('App recommendation: Notes'));
194-
$notification->setParsedMessage($l->t('Distraction-free notes and writing.'));
195-
$appLink = '/organization/notes';
193+
case 'forms':
194+
$notification->setParsedSubject($l->t('App recommendation: Forms'));
195+
$notification->setParsedMessage($l->t('Simple surveys and questionnaires, self-hosted'));
196+
$appLink = '/organization/forms';
197+
break;
198+
case 'recognize':
199+
$notification->setParsedSubject($l->t('App recommendation: Recognize'));
200+
$notification->setParsedMessage($l->t('Smart media tagging for Nextcloud'));
201+
$appLink = '/organization/recognize';
196202
break;
197-
// case 'social':
198-
// $notification->setParsedSubject($l->t('App recommendation: Social'));
199-
// $notification->setParsedMessage($l->t('Nextcloud becomes part of the federated social networks.'));
200-
// $appLink = '/social/social';
201-
// break;
202203
case 'groupfolders':
203204
$notification->setParsedSubject($l->t('App recommendation: Group folders'));
204205
$notification->setParsedMessage($l->t('Admin-configured folders shared by everyone in a group.'));

0 commit comments

Comments
 (0)