forked from sakaiproject/sakai
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SAK-32296 Add NYU's "auto favorites" feature (sakaiproject#4147)
There are a few components to this: * The "Organize Favorites" tab of the "Sites" drawer now shows an "Automatically add new sites to your favorites bar" toggle. If this is enabled (the default), user favorites are automatically added to include sites as they appear. * To avoid the user being overwhelmed by sites, we introduce a limit of 15 sites (configurable via sakai.properties) to the site bar at the top of the portal. The "Organize Favorites" tab shows a warning if the user has more than this many sites, and provides a visual indication of which sites are above the fold. * Since users will want to occasionally prune their list of favorite sites, there's a "select all/select none" star at the top of each term shown in the Sites drawer. This allows all sites within a term to be favorited or unfavorited at once. * The "Reload to see your updated favorites" indicator will now only show if the user has made a change. I.e. favoriting and then unfavoriting a site won't show the indicator.
- Loading branch information
1 parent
cb73c35
commit e3ad4f4
Showing
10 changed files
with
662 additions
and
60 deletions.
There are no files selected for viewing
304 changes: 279 additions & 25 deletions
304
library/src/morpheus-master/js/src/sakai.morpheus.more.sites.js
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.