Alex M
d3db26499c
[Edit] CreateAction needs to perform("save-as")
2016-09-15 23:14:12 +03:00
Alex M
d1f67fd8b9
[Edit] Introduce dropdown Save menu
...
And fix style issues in SaveAsActionSpec
2016-09-15 22:40:02 +03:00
Alex M
31ee92b711
[Edit] Remove editor.cancel from SaveActionSpec
2016-09-15 20:39:02 +03:00
Alex M
1ea7fa3084
[Edit] SaveAsAction tests cover save and finish
2016-09-15 20:28:29 +03:00
Alex M
d8dc3c8445
Merge branch 'master' into mct588comm
2016-09-14 19:50:19 +03:00
Alex M
0be84a4e51
[Edit] CreateAction closes editor after save
2016-09-13 23:59:28 +03:00
Alex M
d87ed1414e
[Edit] Update EditorCapability comments
2016-09-13 22:36:27 +03:00
Alex M
4382745012
[Edit] Final two actions now use finish()
2016-09-13 22:35:11 +03:00
Alex M
79b16ddda6
[Edit] SaveAs now calls finish()
2016-09-13 21:24:20 +03:00
David Hudson
6c9bd0b510
Merge branch 'master' of github.com:nasa/openmct into open1168
2016-09-13 16:39:31 +09:00
David Hudson
2740b6f957
[Frontend] Add optional delay parameter to dialog service
...
Issue #1168
2016-09-13 16:36:25 +09:00
Henry
a1331b7bb3
Merge branch 'master' into open933
2016-09-12 16:54:45 -07:00
Henry
9a06325533
Merge branch 'master' into open933
2016-09-12 14:39:24 -07:00
David Hudson
ea35395d7e
Merge branch 'master' of github.com:nasa/openmct into open1168
2016-09-13 02:47:16 +09: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
0f1d685ae6
Merge branch 'master' of github.com:nasa/openmct into open967
2016-09-12 15:46:04 +09:00
David Hudson
24cb72e5b5
[Frontend] Delay visibility of progress bar
...
Resolves #1168
2016-09-12 15:28:04 +09:00
Andrew Henry
4c6ca58c95
Merge pull request #1157 from TypicalFooBar/843
...
[Context Menu] New Tab button available in edit mode. #843
2016-09-11 21:21:49 -07:00
Henry
e639e056ba
[Time Conductor] Fixing bugs found in smoke testing. Fixes #933
2016-09-09 18:51:47 -07: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
David Hudson
c6caae8647
[Frontend] Remove unnecessary export button styles
2016-09-09 12:06:42 +09:00
David Hudson
911ece7612
[Frontend] Remove styles that are no longer necessary
...
Issue #1164 . Based on updates from 0457f7bee8
these styles
are no longer necessary and have been removed.
2016-09-08 11:05:19 +09:00
Charles Hacskaylo
4517bd1356
[Frontend] New markup for CSS from #1166
...
Fixes #967
Requires new styles implemented in #1166
(cherry picked from commit 0457f7bee8
)
2016-09-08 11:02:42 +09:00
David Hudson
5984ae46fc
Merge branch 'master' of github.com:nasa/openmct into open967
2016-09-08 10:50:08 +09:00
Henry
fbab890081
[Time Conductor] Switched conductor to mct-include rather than mct-representation to avoid warnings
2016-09-07 14:29:21 -07:00
Victor Woeltjen
5bde1de61b
Merge pull request #1167 from nasa/open1166
...
Review and integrate generalized control-bar styling for views
2016-09-07 13:37:10 -07:00
Andrew Henry
06d229ea99
Merge pull request #1133 from charbelrami/markup
...
[Frontend] Tweak markup
2016-09-07 13:16:04 -07:00
Henry
d37dd52ee1
Merge branch 'master' into open933
2016-09-06 16:43:17 -07: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
Alex M
3dee082141
[Edit] Add reason for redundant mocks
2016-09-03 19:02:05 +03:00
Alex M
7d52d348b2
[Edit] Fix style issues
2016-09-03 18:33:27 +03:00
Alex M
ded52b8d19
[Edit] Rename cancel() to finish()
2016-09-03 17:55:05 +03:00
Alex M
ab4ce0caba
[Edit] Introduced SaveAndStopEditingAction
...
It replaces SaveAction in the bundle.
2016-09-03 17:55:04 +03:00
Alex M
90c13a3959
[Edit] EditorCapability continues edit on save
2016-09-03 17:55:04 +03:00
Alex M
9847c40e34
[Edit] SaveAction not navigating anymore
2016-09-03 17:55:04 +03: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
David Hudson
3736f84c12
[Frontend] Set plot export buttons to show/hide on hover
...
It's worth noting that I changed the .gl-plot position from relative to absolute
in an attempt to match the results to a similar requirement in MCT Table. Setting
to absolute caused no regressions as far as I could tell, but I have not attempted
browsers outside of Chrome.
2016-09-02 19:36:39 +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 ebadad61c6
)
2016-09-02 18:19:20 +09:00
David Hudson
e38cf1e2e8
Merge branch 'master' of github.com:nasa/openmct into open967
2016-09-02 18:17:46 +09:00
Charles Hacskaylo
39dcb937d5
[Frontend] CSS and markup tweaks
...
Fixes #1166
New control-bar height constant
Removed font-size definition in .l-view-section
2016-09-01 20:09:38 -07: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
Charles Hacskaylo
55603b927f
[Frontend] Generalized markup and CSS for control-bar
...
Fixes #1166
New markup and CSS
MIgrated existing tabular views to use
new styles
2016-09-01 19:37:36 -07:00
David Hudson
3a19890be9
[Formatting] Linting
2016-09-02 03:11:26 +09:00
Charles Hacskaylo
ee917b0e1d
[Frontend] Initial styling for selectable styling
...
Fixes #1161
New .s-selectable, .s-hover, .s-selected and .s-moveable classes
New supporting color constants
Markup in layouts, fixed position/panels updated
Removed old commented code
2016-09-01 10:55:07 -07: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
4d3afb8efc
Merge branch 'master' of github.com:nasa/openmct into open967
2016-08-31 23:04:56 +09:00
David Hudson
852ac3cd55
[Enhancement] Quick prototype of PDF export
2016-08-31 23:03:48 +09:00
Derek Webb
a7f830177a
[Context Menu] New Tab button available in edit mode. #843
2016-08-29 18:33:48 -04:00
Charles Hacskaylo
2c2d9c1bfe
[Frontend] Updated test specs
...
Fixes #1118
2016-08-29 14:26:27 -07:00
Charles Hacskaylo
cc6b9d4099
[Frontend] Revised mobile styles for form layout
...
Fixes #1118
2016-08-29 14:14:52 -07:00
Charles Hacskaylo
1a284ac9dc
[Frontend] Proper classes added to text input configs
...
Fixes #1108
2016-08-29 14:14:51 -07:00
Charles Hacskaylo
b48ca99119
[Frontend] Sanding on larger locator control
...
Fixes #1118
2016-08-29 14:14:51 -07:00
Charles Hacskaylo
2e8d021a6a
[Frontend] Improve layout of "locator"
...
Fixes #1118
Locator in Save In, Move, etc. dialog now
expands vertically to use as much vertical as
possible;
2016-08-29 14:14:51 -07:00
Victor Woeltjen
5409e3d203
Merge pull request #1147 from TypicalFooBar/101
...
[CommonUI] Info Bubbles allow user to copy text
2016-08-29 13:19:24 -07:00
Andrew Henry
597d66782e
Merge pull request #1135 from vankessel/open1117
...
[Search] 'All' checked upon no filters. Fixes #1117
2016-08-29 14:17:07 +01:00
Kevin Van Kessel
6cbdaa442b
[Search] Repurposed checkAll test. #1117
...
Changed test to ensure checkAll and it's appropriate filter string are
set whenever checkAll is changed.
Removed redundant line checking for a filter string of 'NONE' as this
is no longer a possibility.
2016-08-28 12:01:42 -07:00
Andrew Henry
7998a3fc98
Merge pull request #1132 from nasa/locator-collapse-1008
...
[Locator] Don't reset root unnecessarily
2016-08-28 17:29:18 +01:00
Andrew Henry
9063996e84
Merge pull request #1127 from nasa/console-warning-1114
...
[Tree] Check for change before scope.$apply
2016-08-28 16:49:59 +01:00
Derek Webb
08eaa822fe
Removing use of bubble-container class (issue #101 )
2016-08-27 21:29:30 -04:00
Derek Webb
39f2f94a53
Info bubbles now allow the user to copy text from them (issue #101 )
2016-08-27 21:00:37 -04:00
Henry
4cf6126d35
Refactoring based on feedback
...
Refactoring controller
Migrating functions off controller onto service class
Simplified modes
Adding comments
Removed unnecessary validation
Fixing testing issues
2016-08-23 18:10:05 +01:00
Kevin Van Kessel
702ebbd557
[Search] Update test for #1117 fix.
...
Changed test to work properly with #1117 fix.
Checks if checkAll gets checked when no options are checked.
Checks if changing checkAll updates the filter string to ''
2016-08-22 13:19:47 -07:00
Kevin Van Kessel
e29efbbcdf
[Search] 'All' selected upon no filters. Fixes #1117
...
Upon deselecting every filter, the search returns nothing. This serves
no useful purpose as discussed in #1117 . Now deselecting every filter
automatically selects 'All'.
2016-08-22 12:52:34 -07:00
Charbel
44504feeb9
[Frontend] Tweak markup
2016-08-22 15:38:17 -03:00
Victor Woeltjen
fdbe31cb76
[Locator] Remove redundant assignment
...
10d2794bb7 (r75547548)
2016-08-19 14:26:03 -07:00
Victor Woeltjen
10d2794bb7
[Locator] Don't reset root unnecessarily
...
...as this will trigger a refresh of the mct-representation for
the tree, which will in turn create a new mct-tree instance,
resulting in any expanded/collapsed state being lost.
Fixes #1008 .
2016-08-19 13:28:56 -07:00
Victor Woeltjen
4e5887d9ec
[Tree] Check for change before scope.$apply
...
TreeView's observers will be called when the selected domain object
changes, which can occur for one of two reasons:
1. Because a new value was set externally, from mct-tree.
2. Because a new value was selected, by the user.
In the latter case a $apply is needed, but in the former it is not
(and causes an error.) However, when that case occurs, the value in
scope will be up to date already (it was a watch that triggered the
call to treeView.value) so no assignment or $apply is necessary.
Fixes #1114 .
2016-08-15 16:04:14 -07:00
Charles Hacskaylo
4ae6da0334
[Frontend] Data viz in Time Conductor smaller
...
Fixes #933
Reduced height of data viz bar in Time Conductor
v2;
2016-08-09 17:47:31 -07:00
Charles Hacskaylo
f3bd88837f
Merge remote-tracking branch 'origin/master' into search1093-b
...
Conflicts:
platform/search/res/templates/search.html
2016-08-08 17:51:39 -07:00
Charles Hacskaylo
8105a7edb8
Merge remote-tracking branch 'origin/master' into search1093-b
...
Conflicts:
platform/search/res/templates/search.html
2016-08-08 17:51:25 -07:00
Charles Hacskaylo
ae39343b76
[Frontend] Fix for bad fix
...
Fixes #1112
Put overflow: hidden back at
outer wrapper level (now on .t-object.primary-pane
) which doens't clip the Inspector expand/collapse;
did better unit testing;
2016-08-08 12:14:20 -07:00
Charles Hacskaylo
62ee7e569b
[Frontend] Fix for collapse Inspector button
...
Fixes #1112
Moved min-width and overflow: hidden
to TC-specific elements; removed
overflow: hidden from .primary-pane
2016-08-08 11:21:01 -07:00
Henry
7557a86208
Merge branch 'master' into open933
2016-08-05 16:37:36 -07:00
Victor Woeltjen
c8931f8535
[Tree] Simplify synchronization ( #1100 )
...
Simplify synchronization of selection in tree with state
passed-in, letting Angular deal with more of the specifics.
Fixes #1008 .
2016-08-05 16:30:55 -07:00
Andrew Henry
0274490b68
[search] Reverted previous change to ClickAwayController and introduced a custom fix to search menu. Fixes #888 ( #1109 )
2016-08-05 16:30:20 -07:00
Pete Richards
46e644e6dc
Use key to retrieve default
2016-08-05 14:44:18 -07:00
Pete Richards
af7954c5a1
Trigger digests when bounds are set
2016-08-05 11:24:51 -07:00