diff --git a/gradle.properties b/gradle.properties index 8699bc12..48938313 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ xhReleaseVersion=4.0-SNAPSHOT -grailsVersion=3.3.1 -grailsAsyncVersion=3.3.1 -gormVersion=6.1.7.RELEASE +grailsVersion=3.3.5 +grailsAsyncVersion=3.3.2 +gormVersion=6.1.9.RELEASE gradleWrapperVersion=4.6 diff --git a/grails-app/init/io/xh/hoist/BootStrap.groovy b/grails-app/init/io/xh/hoist/BootStrap.groovy index 7edec5cb..b3b69113 100644 --- a/grails-app/init/io/xh/hoist/BootStrap.groovy +++ b/grails-app/init/io/xh/hoist/BootStrap.groovy @@ -141,7 +141,7 @@ class BootStrap { ], xhTheme: [ type: 'string', - defaultValue: 'dark', + defaultValue: 'light', local: true, note: 'Visual theme for the client application - "light" or "dark".' ] diff --git a/grails-app/services/io/xh/hoist/track/TrackService.groovy b/grails-app/services/io/xh/hoist/track/TrackService.groovy index fae5c059..3ac655de 100644 --- a/grails-app/services/io/xh/hoist/track/TrackService.groovy +++ b/grails-app/services/io/xh/hoist/track/TrackService.groovy @@ -18,9 +18,13 @@ import static io.xh.hoist.browser.Utils.getBrowser import static io.xh.hoist.browser.Utils.getDevice /** - * Primary service for tracking any activity that an application's admins want to track. - * Activities are entered into the db's TrackLog table. - * These are presented to admins in the Admin App's Client Activity > Activity grid. + * Service for tracking user activity within the application. This service provides a server-side + * API for adding track log entries, while the client-side toolkits provide corresponding APIs + * in Javascript. Track log entries are stored within the xh_track_log database table and are + * viewable via the Hoist Admin Console 's Client Activity > Activity grid. + * + * The choice of which activities to track is up to application developers. Typical use-cases + * involve logging queries and tracking if / how often a given feature is actually used. */ @CompileStatic class TrackService extends BaseService implements EventPublisher {