300 Commits

Author SHA1 Message Date
Charles Hacskaylo
b7e8a1b378 [Frontend] Styling for TOI element
Fixes #933
Fixes #1193
WIP: Table TOI element in progress
2016-10-13 15:55:48 -07:00
Charles Hacskaylo
1a534301c5 [Frontend] Refactor TOI element
Fixes #933
Fixes #1193
WIP; TOI as mct-include; layout uses
flex-box; preparing to move TOI sass
into conductor-v2 directory;
2016-10-13 11:42:10 -07:00
Charles Hacskaylo
42acf9255e [Frontend] Adding resync and dedicated unpin buttons
Fixes #933
Fixes #1193
VERY WIP!
2016-10-12 18:34:51 -07:00
Henry
b995a8b87b Merged from open1182 2016-10-07 16:11:59 -07:00
Henry
3e9c0eb7a5 Merged from master to resolve build issues 2016-10-05 12:25:04 -07:00
Charles Hacskaylo
47a0aba601 [Frontend] TOI sass and markup sanding
Fixes #933
Fixes #1193
Color tweaks; Cleanups, commented
 code removal, etc.; tightened up
 tabular padding and font sizes;
2016-10-04 18:12:01 -07:00
Charles Hacskaylo
d3bf6c5857 [Frontend] Styling for TOI element
Fixes #933
Fixes #1193
WIP: Markup and CSS for plots and TC near complete;
TODO: revised styling in tabular views;
2016-10-03 15:15:56 -07:00
Pete Richards
ae6f6565fa [export] remove pdf export
Remove pdf export with extreme prejudice due to issues with build process.

Fixes https://github.com/nasa/openmct/issues/1217
2016-09-30 16:54:42 -07:00
Charles Hacskaylo
22da34870d [Frontend] Styling for TOI element
Fixes #933
Fixes #1193
WIP: Markup and CSS revisions for updated UX approach;
TODO: cosmetic CSS
2016-09-29 10:41:21 -07:00
Charles Hacskaylo
99253a5904 [Frontend] Styling for TOI element
Fixes #933
Fixes #1193
WIP: Markup and CSS revisions for updated UX approach
2016-09-27 20:42:33 -07:00
Charles Hacskaylo
bb2ae2f8d1 [Frontend] Styling for TOI element
Fixes #933
Fixes #1193
Finalized TOI in plots, table and TC
2016-09-23 11:07:06 -07:00
Charles Hacskaylo
0cf4c92555 [Frontend] Styling for TOI element in tables
Fixes #933
Fixes #1193
WIP: styling in tabular mostly done, needs more unit testing
TODO: fix hide/show for pinned TOI in plots - don't
show pinned TOI on hover when not .active
2016-09-22 19:15:10 -07:00
Charles Hacskaylo
1c3bd69b66 [Frontend] Styling for TOI element, some refactoring
Fixes #933
Fixes #1193
Moves some TOI styling into dedicated new scss file;
Enhancements to TOI in plots to bring into parity
with TOI in TC approach;
2016-09-22 16:06:16 -07:00
Charles Hacskaylo
27e6caf69b [Frontend] Styling for TOI element in plots
Fixes #933
Fixes #1193
Relates to #1182
WIP, adding TOI to plot view;
Integrated Andrew's work from #1182;
Significant changes to markup and
additions to plot scss;
2016-09-16 18:51:51 -07:00
steven mirecki
f9597fe799 Merge branch 'master' of https://github.com/nasa/openmct 2016-09-16 17:16:35 -04:00
Charles Hacskaylo
2c81b72d60 [Frontend] Styling for TOI element in plots
Fixes #933
Fixes #1193
WIP, adding TOI to plot view.
2016-09-15 16:02:30 -07:00
Henry
a1331b7bb3 Merge branch 'master' into open933 2016-09-12 16:54:45 -07:00
David Hudson
bad901a162 [Typo] Add reference to self
Issue #967
2016-09-12 17:06:23 +09:00
David Hudson
bb34528a86 [Testing] Add tests to ensure correct image type
Issue #967
2016-09-12 17:00:28 +09:00
David Hudson
487ec7907c [Formatting] Fix missing space
Issue #967
2016-09-12 16:59:39 +09:00
David Hudson
3093ab8067 [Testing] Convert blob to proper format. Inject FileReader.
Issue #967
2016-09-12 16:58:21 +09:00
David Hudson
d62989bc5d [Formatting] Rename export image service key
Issue #1164
2016-09-10 03:18:46 +09:00
David Hudson
8e39da6726 [Formatting] Rename export image service key
Issue #1164
2016-09-10 03:12:00 +09:00
David Hudson
98deac042e [Formatting] Reduce line length of gl declaration
Issue #1164
2016-09-10 02:56:23 +09:00
David Hudson
b51ffcada6 [Formatting] Add inline JSDoc
Issue #1164
2016-09-10 01:59:07 +09:00
David Hudson
a6386b1612 [Formatting] Rename export image service variables
Issue #1164
2016-09-10 01:45:50 +09:00
David Hudson
72ecbb0abc [Frontend] Fix typo 2016-09-09 12:07:02 +09:00
Charles Hacskaylo
4517bd1356 [Frontend] New markup for CSS from #1166
Fixes #967
Requires new styles implemented in #1166

(cherry picked from commit 0457f7bee80f228878912f7ea1fcbe191c2046dc)
2016-09-08 11:02:42 +09:00
Henry
7af5875dd5 [Time Conductor] #933 Fixed code style errors 2016-09-06 10:05:10 -07:00
Andrew Henry
c6eaa3d528 [Time Conductor] Adding tests and fixing failing ones. #933 2016-09-05 19:32:19 -07:00
David Hudson
ceb3e8e3dd [Enhancement] Add IE, Opera, Safari support for canvas.toBlob()
This is currently being used for exporting plots to PNG/JPG.
2016-09-05 19:40:22 +09:00
David Hudson
35a331f3fd [Frontend] Fix plot image cutoff on export
The images were being cutoff due to the "top" attribute of .gl-plot
not changing when the buttons were hidden. The buttons are now
hidden by CSS class rather than ng-show, which makes updating the
.gl-plot top attribute easier.
2016-09-05 17:02:04 +09:00
David Hudson
7d13ce0626 [Licenses] Add license information for html2canvas, jsPDF, saveAs 2016-09-05 01:22:43 +09:00
David Hudson
a49eebf9f5 [Testing] Add test spec for ExportImageService 2016-09-04 23:04:46 +09:00
David Hudson
989e4e1b75 [Testing] Add jsPDF, html2canvas, and saveAs as injectible dependencies
I would prefer this be passed in via the bundle, but it continues to fail
saying "Unknown Provider". I have chosen to require them into the module
the old-fashioned way, then allow an injectible dependency to override.
2016-09-04 23:02:23 +09:00
David Hudson
9bb647e275 [Testing] Add better dependency injection and error handling 2016-09-04 19:19:14 +09:00
steven mirecki
e751461194 Typo corrections, I avoided making changes to words that have regional spelling differences. 2016-09-03 09:16:54 -04:00
David Hudson
a566265a72 [Testing] Add ExportImageService mock 2016-09-03 14:45:09 +09:00
David Hudson
fecf419f83 [Testing] Move ExportImageController into constructor for dependency injection 2016-09-03 14:44:33 +09:00
David Hudson
26c14d2bca [Formatting] Fix styling errors 2016-09-03 14:02:19 +09:00
David Hudson
92bfea1773 [Tests] Mock new argument in PlotController 2016-09-03 13:51:37 +09:00
David Hudson
de85f79ab6 [Enhancement] Hide export buttons during export
Buttons temporarily hide until export completes.
2016-09-02 20:41:38 +09:00
Charles Hacskaylo
e7a7025961 [Frontend] Markup for #967
Fixes #967
WIP to be integrated with work
from hudsonfoo in PR #1164

(cherry picked from commit ebadad61c64cbf57381112bedcb605cdef33b614)
2016-09-02 18:19:20 +09:00
David Hudson
3e3d3ebcf9 [Formatting] Switched to double quote across the board for consistency 2016-09-02 11:58:15 +09:00
David Hudson
e370271093 [Code Review] Updates based on code review by @VWoeltjen
Set export functions on the ExportImageService prototype. Insantiated
ExportImageService in the PlotController for better dependcy injection.
2016-09-02 11:54:38 +09:00
David Hudson
3a19890be9 [Formatting] Linting 2016-09-02 03:11:26 +09:00
David Hudson
ea8f429902 [Enhancement] Add export functionality to PlotController
Extends PlotController by adding three new scoped methods:
exportPDF, exportPNG, exportJPG.

All three methods use basically the same steps. The HTML node
of the plot is passed through html2canvas which generates a canvas.
From the canvas we export a blob, PNG, or JPG then save the file.
2016-09-02 02:41:43 +09:00
David Hudson
219301a85b [Frontend] Add export plot buttons 2016-09-02 02:32:42 +09:00
David Hudson
06a453333a [Enhancement] Pass element to plot controller
This will be used for exporting an image of the plot.
2016-09-02 02:31:34 +09:00
David Hudson
852ac3cd55 [Enhancement] Quick prototype of PDF export 2016-08-31 23:03:48 +09:00