49 Commits

Author SHA1 Message Date
Juan Cruz Viotti
dca6c783d2 Move application images to assets/ 2016-04-01 13:09:50 -04:00
Juan Cruz Viotti
53b3daa335 Implement showIfState and hideIfState directives
This directives will be used in the header navigation instead of
re-using this logic from the `NavigationController`.

A consequence of this change is that `NavigationController` is no longer
needed, and therefore is removed.
2016-04-01 12:09:00 -04:00
Juan Cruz Viotti
a4ebe8af50 Implement an openExternal attribute directive.
This directive will be used in the header and footer instead of having
to rely on `NavigationController` to expose `shell.openExternal`.
2016-04-01 11:03:10 -04:00
Juan Cruz Viotti
6f7ea4e772 Convert hero-progress-button into an Angular directive 2016-03-30 15:46:48 -04:00
Juan Cruz Viotti
abdee7fe10 Refactor tick as a scss component 2016-03-30 14:17:03 -04:00
Juan Cruz Viotti
5d52b19c2b Refactor hero-button as a scss component 2016-03-30 14:11:18 -04:00
Juan Cruz Viotti
01ec52f4d7 Refactor caption as a scss component 2016-03-30 14:02:03 -04:00
Juan Cruz Viotti
d47eaa8a2a Refactor badge as a scss component 2016-03-30 13:47:36 -04:00
Juan Cruz Viotti
1ccf003487 Add "Getting Help" guide 2016-03-10 14:38:58 -04:00
Juan Cruz Viotti
334eebe9c9 Implement "Need Help?" button
This button guides the user to publish a new issue in the GitHub
repository.

Fixes: https://github.com/resin-io/etcher/issues/177
2016-03-02 12:32:01 -04:00
Juan Cruz Viotti
bd009a75b0 Expose shell.openExternal in NavigationController
`.open()` was previously exposed in the `AppController`, however after
the router refactoring, this controller is no longer instantiated on the
footer, and therefore the links that live there stopped working.
2016-03-02 12:28:42 -04:00
Juan Cruz Viotti
64c27235bf Make use of UI Router 2016-03-01 19:50:25 -04:00
Juan Cruz Viotti
f208d2e34d Make use of settings to prevent tracking in analytics module
`SettingsService` is injected manually using `$injector` to a void a
circular dependency over `$rootScope` by `$localStorage`.
2016-03-01 12:55:15 -04:00
Juan Cruz Viotti
61a1527c7e Implement settings screen 2016-03-01 12:22:03 -04:00
Juan Cruz Viotti
8a88f27015 Configure TrackJS application property 2016-02-16 09:37:53 -04:00
Juan Cruz Viotti
7949853086 Refer to Etcher instead of Resin Etcher 2016-02-08 13:04:54 -04:00
Juan Cruz Viotti
3caf9859b0 Improve "Burn another" screen design
Fixes: https://github.com/resin-io/etcher/issues/74
2016-02-05 12:48:42 -04:00
Juan Cruz Viotti
f88bb3a31a Rename project to Etcher 2016-01-24 17:40:45 -04:00
Juan Cruz Viotti
03e9b977cb Prevent pointer events in hero-progress-button if active is true
Fixes: https://github.com/resin-io/resin-etcher/issues/121
2016-01-22 13:10:21 -04:00
Juan Cruz Viotti
84d87e5a10 Move burn state log to app controller
This change required re-architecting the way we store the burn state.
2016-01-22 12:30:42 -04:00
Juan Cruz Viotti
30fc989c86 Merge pull request #116 from resin-io/feat/trackjs-npm
Install TrackJS from NPM
2016-01-22 11:40:02 -04:00
Juan Cruz Viotti
d2e3c3106e Install TrackJS from NPM
See https://www.npmjs.com/package/trackjs
2016-01-22 10:48:02 -04:00
Juan Cruz Viotti
573d237569 Convert angular.scss and desktop.scss to plain CSS files
These are files that contain static rules that are not likely change nor
require the advanced functionality that SASS requires.

This is the first step towards an attempt to get rid of preprocessor and
use native supported web technologies.
2016-01-22 10:40:05 -04:00
Juan Cruz Viotti
96bf7f3624 Get rid of Browserify
Electron already exposes `require()` in the renderer process.
2016-01-21 23:57:04 -04:00
Juan Cruz Viotti
a50a07a233 Merge pull request #104 from resin-io/feat/trackjs
Integrate Etcher with TrackJS
2016-01-20 16:38:45 -04:00
Federico Martín Alconada Verzini
6331ee4aa1 Add button to burn the same image again. Fixes #74 2016-01-20 12:28:15 -04:00
Juan Cruz Viotti
9a125c2a36 Integrate Etcher with TrackJS 2016-01-19 14:00:20 -04:00
Juan Cruz Viotti
f1a91ddebc Merge pull request #99 from resin-io/style/image-supported-label
Only show supported files label when there is no selected image
2016-01-19 10:08:49 -04:00
Juan Cruz Viotti
347d965e52 Only show supported files label when there is no selected image 2016-01-19 09:50:00 -04:00
Juan Cruz Viotti
8026cef1df Allow to re-select the first two step selections
You can click on the selected image/drive label to select them again.

The re-selection is disabled if there is a burning in process.

Fixes: https://github.com/resin-io/resin-etcher/issues/90
2016-01-19 09:47:58 -04:00
Juan Cruz Viotti
2f301ad382 Add image format footer explanation
Fixes: https://github.com/resin-io/resin-etcher/issues/86
2016-01-18 15:35:40 -04:00
Juan Cruz Viotti
7f724b6295 Show burn speed information during write
The speed is shown right below the Burn button.
2016-01-18 14:55:13 -04:00
Juan Cruz Viotti
3705d0fc3a Namespace ImageWriter progress in state object
This change allows us to scale the state information to more properties
than just the percentage.
2016-01-18 14:55:13 -04:00
Juan Cruz Viotti
da4748a1a1 Implement new footer with the Resin.io logo
Fixes: https://github.com/resin-io/resin-etcher/issues/68
2016-01-18 10:36:39 -04:00
Juan Cruz Viotti
0a8e89c782 Only append label if this exists in hero-icon
Currently, an empty element was appended to hero-icon template to hold
the label even if this didn't exist, causing some vertical bottom
spacing.

We use Polymer's `dom-if` to conditional show this element. The label
was changed to be passed as an HTML property since it seems to be really
difficult to access the inner HTML of a polymer element programatically.
2016-01-18 10:32:27 -04:00
Juan Cruz Viotti
5af3cf3fb9 Simplify drive letter / device conditional
The `drivelist` module includes a new property called `name` in `2.0.7`
that resolves to the drive letter (mount point) on Windows, and to the
drive otherwise.
2016-01-11 01:24:52 -04:00
Juan Cruz Viotti
07ca592cab Do not append a backslash after drive letter in Windows
After checking Windows file manager and some other programs that display
drive letters, we can see that a backslash at the end is not mandatory.
2016-01-04 00:14:32 -04:00
Juan Cruz Viotti
408a3096fc Rename Herostratus to Resin Etcher 2016-01-01 18:07:45 -04:00
Juan Cruz Viotti
77c51fb63c Split footer caption anchor
Make "AN OPEN SOURCE PROJECT" link to the project's GitHub page and
"RESIN.IO" to the Resin.io website.
2016-01-01 17:42:30 -04:00
Juan Cruz Viotti
95d94d36d4 Show drive letter on selection on Windows
Showing `\\.\PhysicalDriveN` makes no sense for a Windows user after
selecting based on drive letters on the dropdown.
2015-12-31 22:04:42 -04:00
Juan Cruz Viotti
2cb79090d1 Implement poor man's ngCloak based on app controller
ngCloak is removed by angular when parsing the template, however this
doesn't seem to be enough to keep the content hidden until the
application is completely ready.

We accomplish this by setting `display: none` to the `body` element and
maing it display again when our main controller starts, at which point
we know everything is up and running.
2015-12-15 09:54:24 -04:00
Juan Cruz Viotti
e01e3591e9 Use ngBind instead of curly braces interpolation 2015-12-15 09:43:03 -04:00
Juan Cruz Viotti
d784ed2ba8 Clarify that the drive was safely ejected 2015-12-01 11:09:00 -04:00
Juan Cruz Viotti
c63755205b Implement burn complete screen
This screen informs the user that the burn has completed and that the
drive can be ejected directly.

It also provides a button to burn another image without exitting the
application.

Fixes: https://github.com/resin-io/herostratus/issues/41
2015-12-01 08:21:17 -04:00
Juan Cruz Viotti
f6f63bdf48 Add finished state before done
Currently we say "done" as soon as the progress is equal to 100, however
we don't wait for the drive to be ejected/unmounted.

This commit introduces a new state, called "Finishing..." which is shown
when the progress is 100, but the drive has not been unmounted.
2015-11-23 23:30:39 -04:00
Juan Cruz Viotti
a6ec66d0b3 Pass the whole drive object to the writer
Currently we only pass the drive device. By passing all the object
(containing the mountpoint, size, etc) we allow more control to the
writer in how to treat the device before/during/after the burning
process.
2015-11-23 13:28:15 -04:00
Juan Cruz Viotti
32a00a0d9a win32: Show drive letter instead of device in dropdown
Physical drive names are long and cause the dropdowns to overflow.

Fixes: https://github.com/resin-io/herostratus/issues/23
2015-11-19 14:22:50 -04:00
Juan Cruz Viotti
f7c0a229a5 Change footer text
Change "POWERED BY RESIN.IO" to "AN OPEN SOURCE PROJECT BY RESIN.IO".

Fixes: https://github.com/resin-io/herostratus/issues/25
2015-11-19 13:16:28 -04:00
Juan Cruz Viotti
4bfb161e5c Initial commit 2015-10-29 09:36:21 -04:00