Commit graph

11 commits

Author SHA1 Message Date
Trevor Squillario
a0e8775b12 responsive layout design changes 2014-11-23 16:13:38 -05:00
Trevor Squillario
acf49e112e started mobile improvements 2014-11-22 20:28:12 -05:00
Trevor Squillario
1259075797 Merge remote-tracking branch 'brb-at/sidebar' into release-4.2.4
Conflicts:
	app/common/main-controller.js
2014-11-21 19:21:26 -05:00
Trevor Squillario
b2199429f5 4.2.3 cover art preview refactoring 2014-11-21 18:30:50 -05:00
brb
576f9778cb Remove the fade, reduce queue margin by the 1x of the border style 2014-11-21 23:39:22 +01:00
brb
46110287b3 Fixed bug of content not expanding on page load 2014-11-21 23:38:33 +01:00
brb
05ec31b624 Enable SideBar toggle and add setting to hide it per default 2014-11-21 23:38:06 +01:00
Hyzual
1fecae2f09 Removes jquery.layout files, apparently they aren't use anywhere. 2014-11-15 13:48:02 +01:00
Hyzual
b49830adbe Separates the Archive controller and service into their own modules.
Moves $scope.getMusicFolders to the Subsonic controller since its only used by it. It also made the tests crash :p

Adds variable declarations where they were missing. It causes an error with "use strict".
2014-11-09 18:39:03 +01:00
Hyzual
1fb70ea5ec Adds the first working grunt build aimed for deployment on production.
TL;DR : everything but CSS is minified and packed in a neat dist/ directory.

This build :
- Merges all vendor dependencies (jquery, angular, etc) into one minified file.
- Merges the non-bower vendor dependencies (UnityShim, jquery-split-pane, etc). into one minified file.
- Merges all our javascript into one minified file.
- Copies all the needed CSS (couldn't minify and rename it because of dependencies in the JS).
- Renames all the images, the minified javascripts (but not the CSS) in order to avoid browser caching.
- Minifies all our html files.

Adds usemin commentaries (the ones with build) to index.html. Don't remove them or the build will break.

Renames the json files to .json so the build can find them and copy them.

Corrects all the angular-injectable functions to use the long form (with the array) in order to be minified. The build should also do that now with ng-Annotate but since I did it when debugging problems with the build, might as well keep it.

Note: the grunt test target is broken. Haven't figured out why yet.

Conflicts:
	app/app.js
	app/common/directives.js
	app/index.html
	app/settings/settings.js
2014-11-09 18:39:02 +01:00
Hyzual
a1d48bbd30 Reorganizes the entire app to follow Google's best practice recommendations for Angular App Structure.
see: https://docs.google.com/document/d/1XXMvReO8-Awi1EZXAXS4PzDzdNvV6pGcuaF4Q9821Es/pub

The files are now grouped by view / component.
Tests are located beside tested js files. The Grunt build will be responsible for only distributing actual files without the tests.
Each partial is at the same level as the js files related to it.
Ideally css files should be at the same level, maybe I'll refactor this later.

Moves all non-bower plugins to app/vendor.
Moves all images to app/images and styles to app/styles.
Merges the test and non-test jshintrc files.

Adds all the Jamstash contributors to the package.json file while I was refactoring.

Conflicts:
	app/app.js
	app/images/vgrabber.gif
	app/images/vgrabber2-active.gif
	app/images/vgrabber2-normal.gif
	app/index.html
2014-11-09 16:10:34 +01:00
Renamed from js/controllers/main.js (Browse further)