Commit Graph

1215 Commits

Author SHA1 Message Date
Jeffrey Morgan ec43f48537 Update .travis.yml 2015-04-06 13:49:31 -04:00
Jeffrey Morgan ce085a450a Merge branch 'master' of github.com:kitematic/kitematic 2015-04-06 13:46:52 -04:00
Jeffrey Morgan f730b5ebf2 adding travis ci 2015-04-06 13:46:46 -04:00
Jeffrey Morgan 4b96ac9bc9 Update circle.yml 2015-04-06 13:38:08 -04:00
Jeffrey Morgan 832ba18c02 Update README.md 2015-04-06 12:20:02 -04:00
Jeffrey Morgan e5975df7f1 Merge pull request #365 from kitematic/coverage
Adding code coverage
2015-04-06 12:14:06 -04:00
Jeffrey Dean Morgan be368f7a77 Adding code coverage to unit tests
Signed-off-by: Jeffrey Morgan <jmorganca@gmail.com>
2015-04-06 12:13:05 -04:00
Kristján Oddsson 7482077975 Change variable from snake_case to camelCase.
Signed-off-by: Kristján Oddsson <koddsson@gmail.com>
2015-04-06 15:36:26 +00:00
Jeffrey Morgan d94f9d325f Merge pull request #363 from koddsson/master-update-tags-on-mount
Update tags on mounting ImageCard component.
2015-04-06 11:31:33 -04:00
Kristján Oddsson 6e56c4f665 Change normal function in to a ES6 arrow function.
No need for `.bind(this)` with ECMAScript6 syntax!

Signed-off-by: Kristján Oddsson <koddsson@gmail.com>
2015-04-05 21:12:13 +00:00
Kristján Oddsson 603b9c5952 Fetch tags when a Image card has been mounted.
For images that don't have a "latest" tag (such as `google/debian`) we
fetch all the tags when the `ImageCard` component mounts and set the
chosen tag to the first one in the list (so far it seems to be the
latest tag where such a tag exists but we can add some logic here to
choose a appropriate tag if we want).

Signed-off-by: Kristján Oddsson <koddsson@gmail.com>
2015-04-05 17:08:12 +00:00
Kristján Oddsson 9eab0501fd Format the error message a little bit better.
The error message is actually a object and not a string so we format it
a bit better with this patch.

Signed-off-by: Kristján Oddsson <koddsson@gmail.com>
2015-04-05 17:07:54 +00:00
Kristján Oddsson dfe80af6e4 Fall-back to image name as key when there is no id
When a container is first started and the image is downloading there is
no id set. With this patch we'll check if the container has a id and
and is downloading, if so we'll substitute it with the image name and
render such.

This will fix the react key props warning in the developer console as
well as maybe give us some sort of performance boost(?)

Signed-off-by: Kristján Oddsson <koddsson@gmail.com>
2015-04-05 17:05:45 +00:00
Jeffrey Morgan b67c1a912e Update README.md 2015-04-04 17:24:18 -04:00
Jeffrey Morgan 8e66b7b949 Merge pull request #359 from koddsson/master-fix-scratch-run-message
Replace hard-coded error message with props.
2015-04-04 16:25:01 -04:00
Kristján Oddsson 584c795512 Replace hard-coded error message with props.
Make sure that errors that happen when pulling image layers bubble up to
the UI. We do this by catching errors coming from the docker client,
calling the callback with that error and setting the global variable
`_error` as the error we just caught. This is to make sure that when the
stream ends we call the callback with the error as well as to not to
over-ride it.

Finally we remove the hard-coded message in the UI and display the error
that gets passed in to it through the props attribute. This is the only
part I'm not super sure on if we really want since it must have been set
there for a reason. If I can get a re-producible test case I can make
sure that it's still passing with this patch.

Fixes #355.

Signed-off-by: Kristján Oddsson <koddsson@gmail.com>
2015-04-03 20:15:39 +00:00
Jeffrey Morgan f063346e02 Merge pull request #356 from koddsson/master-remove-container-call-on-hover
Remove `componentDidMount` function with reload.
2015-04-03 13:03:21 -04:00
Jeffrey Morgan b5acaafd9e Update README.md 2015-04-03 10:58:14 -04:00
Kristján Oddsson d92a102a83 Remove `componentDidMount` function with reload.
Removing the reload (and the whole `componentDidMount` function since
the reload was the only thing in there) makes sure that the container
view isn't reloaded when the DOM changes and so does not make a request
to the container. Because of this change kitematic will not make a
request to the container when hovering over the preference button.

(I wasn't sure if this was used somewhere for real. If it is, I couldn't
find it).

Fixes #333.

Signed-off-by: Kristján Oddsson <koddsson@gmail.com>
2015-04-02 10:09:30 +00:00
Jeffrey Morgan 246affabd4 bumping version to 0.5.13 2015-03-31 13:29:26 -04:00
Jeffrey Morgan 0f697914b1 Merge pull request #346 from kitematic/bump-virtualbox
Bump Virtualbox Version
2015-03-29 16:40:52 -04:00
Jeffrey Morgan 2565493975 Bumping version in package.json 2015-03-29 16:38:30 -04:00
Jeffrey Morgan 39d999b635 Bump Virtualbox Version 2015-03-29 16:24:47 -04:00
Jeffrey Morgan ffdc9d3019 Update CONTRIBUTING.md 2015-03-29 14:19:08 -04:00
Jeffrey Morgan f4307531a0 Merge branch 'click-repo-open-hub-sitepage' of https://github.com/allen-servedio/kitematic 2015-03-28 21:54:20 -04:00
Allen Servedio c51a2bdce6 Missed updating one tool tip. 2015-03-28 21:48:18 -04:00
Jeffrey Morgan e81371d2b7 Merge pull request #281 from allen-servedio/click-repo-open-hub-sitepage
Altering the repo name to be a link that takes you to the Docker Hub page
2015-03-28 21:43:37 -04:00
Allen Servedio 1b8e25501c Changes made in response to code review. 2015-03-28 21:34:22 -04:00
Jeffrey Morgan 70208ed19e bump version 2015-03-27 14:49:01 -04:00
Jeffrey Morgan b47d78e7a6 Merge pull request #342 from kitematic/fix-env-bug
Fix bug where environment variables wouldn't be saved
2015-03-27 14:45:42 -04:00
Jeffrey Morgan 149f31750e Fix bug where environment variables wouldn't be saved 2015-03-27 14:45:27 -04:00
Sean Li e435a67a7f Merge pull request #341 from kitematic/ui-polish
UI Polish
2015-03-27 11:38:24 -07:00
Sean Li 0cb0a7c588 Display no logs message when there is no logs. 2015-03-27 11:00:14 -07:00
Sean Li b10f2996e7 Bumped up running status animation speed slightly. 2015-03-27 10:10:04 -07:00
Sean Li 898213d515 Rounded containers in icons. 2015-03-27 10:05:17 -07:00
Sean Li e43305e4a3 Merge branch 'master' into ui-polish 2015-03-27 09:50:59 -07:00
Jeffrey Morgan 55f648354f Merge pull request #340 from kitematic/fix-volumes
Fixes for various volume-related bugs
2015-03-27 12:37:09 -04:00
Jeffrey Morgan 4780087ad4 Fix opening directory on first launch 2015-03-27 12:30:22 -04:00
Jeffrey Morgan bada95e9e0 Fix bug related to Env vars 2015-03-27 12:12:36 -04:00
Jeffrey Morgan 835e0d55ca Volumes off by default unless edit files folder is Clicked. Ability to disable volumes 2015-03-27 11:55:56 -04:00
Jeffrey Morgan d5527f6d5a Update README.md 2015-03-26 14:55:58 -04:00
Jeffrey Morgan 25773a40f1 Merge pull request #329 from domderen/deps_load_fix
A fix required to load only one instance of React in the application.
2015-03-25 11:47:08 -04:00
Sean Li 379f0280ec Icon label padding tweak. 2015-03-24 11:27:41 -07:00
Sean Li f589d2c65d Cleaner icons. 2015-03-24 11:25:51 -07:00
bhaal275 9c49b17efd A fix required to load only one instance of React in the application. Without such fix, on windows application loads two instances of React at start time, and crashes. 2015-03-24 09:22:57 +01:00
Jeffrey Morgan eba5aa1426 Update README.md 2015-03-22 17:29:34 -07:00
Jeffrey Morgan 6b0f2df11d Update README.md 2015-03-22 17:18:29 -07:00
Jeffrey Morgan 8bd396ad7e Update README.md 2015-03-22 13:31:08 -07:00
Jeffrey Morgan e899722552 Temporarily removing contributor forum link 2015-03-22 13:31:00 -07:00
Jeffrey Morgan 9169786d9f Update README.md 2015-03-22 13:21:49 -07:00