@wwtelescope/webclient 6.3.0 → 6.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,19 @@
1
+ # @wwtelescope/webclient 6.3.4 (2022-02-15)
2
+
3
+ - WWT 2022 is officially launched!
4
+
5
+ # @wwtelescope/webclient 6.3.3 (2022-02-10)
6
+
7
+ - Tease the WWT 2022 launch.
8
+
9
+ # @wwtelescope/webclient 6.3.2 (2021-11-12)
10
+
11
+ - Add donation links in a few places (#346, @pkgw).
12
+
13
+ # @wwtelescope/webclient 6.3.1 (2021-04-13)
14
+
15
+ - Improve catalog HiPS UX: it now ought to work just to click on the thumbnails.
16
+
1
17
  # @wwtelescope/webclient 6.3.0 (2021-04-07)
2
18
 
3
19
  - Add SOFIA Studies to the default webclient data collection
@@ -369,6 +369,7 @@ wwt.controllers.controller(
369
369
  'Contributor Hub': [function () { window.open('https://worldwidetelescope.github.io/'); }],
370
370
  'GitHub Home': [function () { window.open('https://github.com/WorldWideTelescope'); }],
371
371
  'Sign up for Newsletter': [function () { window.open('https://bit.ly/wwt-signup'); }],
372
+ 'Support WWT ❤️': [function () { window.open('https://my.aas.org/services/AAS_Member/Fundraising/WWT/Donate_Now.aspx'); }],
372
373
  sep1: null,
373
374
  '@WWTelescope on Twitter': [function () { window.open('https://twitter.com/WWTelescope'); }],
374
375
  '@AASWorldWideTelescope on YouTube': [function () { window.open('https://www.youtube.com/c/AASWorldWideTelescope'); }],
@@ -763,10 +764,15 @@ wwt.controllers.controller(
763
764
  // & multiple items can be selected at the same time.
764
765
  // So it does not make sense to highlight single items in the folder menu
765
766
  $scope.setActiveItem({});
766
- wwtlib.WWTControl.singleton.addCatalogHipsByName(item.get_name());
767
+ var imageSet = util.getImageset(item);
768
+ wwtlib.WWTControl.singleton.addCatalogHips(imageSet);
767
769
  };
768
770
 
769
771
  $scope.setForegroundImage = function (item) {
772
+ if(item.isCatalogHips){
773
+ $scope.addCatalogHiPS(item);
774
+ return;
775
+ }
770
776
  if (item.guid) {
771
777
  $scope.shareUrl = hashManager.setHashVal('place', item.guid, true, true);
772
778
  }
@@ -794,6 +800,10 @@ wwt.controllers.controller(
794
800
  };
795
801
 
796
802
  $scope.setBackgroundImage = function (item) {
803
+ if(item.isCatalogHips){
804
+ $scope.addCatalogHiPS(item);
805
+ return;
806
+ }
797
807
  var imageSet = util.getImageset(item);
798
808
  if (imageSet) {
799
809
  $rootScope.singleton.renderContext.set_backgroundImageset(imageSet);
Binary file
package/index.html CHANGED
@@ -253,6 +253,10 @@
253
253
  <a ng-click="gotoPage('<%= userweb_url_prefix %>/About')" localize="About AAS WorldWide Telescope"></a>
254
254
  </li>
255
255
 
256
+ <li>
257
+ <a ng-click="gotoPage('https://my.aas.org/services/AAS_Member/Fundraising/WWT/Donate_Now.aspx')" localize="Support WWT ❤️"></a>
258
+ </li>
259
+
256
260
  <li>
257
261
  <a ng-click="gotoPage('https://aas.org/about-aas')" localize="About American Astronomical Society"></a>
258
262
  </li>
@@ -430,6 +434,9 @@
430
434
  <a class="btn pull-right" ng-click="logout()" ng-show="msLiveOAuthAppId && msLiveOAuthAppId.length && loggedIn">
431
435
  <span localize="Sign Out"></span>
432
436
  </a>
437
+ <a class="btn pull-right" href="https://my.aas.org/services/AAS_Member/Fundraising/WWT/Donate_Now.aspx" target="_blank">
438
+ <span>Support WWT ❤️</span>
439
+ </a>
433
440
  </span>
434
441
 
435
442
  <ul class="wwt-tabs">
package/package.json CHANGED
@@ -22,9 +22,6 @@
22
22
  "load-grunt-tasks": "^5.0",
23
23
  "tslib": "^1.10.0"
24
24
  },
25
- "engines": {
26
- "node": "~0.10.1"
27
- },
28
25
  "homepage": "https://worldwidetelescope.org/webclient/",
29
26
  "keywords": [
30
27
  "AAS WorldWide Telescope"
@@ -38,5 +35,5 @@
38
35
  "type": "git",
39
36
  "url": "https://github.com/WorldWideTelescope/wwt-web-client.git"
40
37
  },
41
- "version": "6.3.0"
38
+ "version": "6.3.4"
42
39
  }
@@ -4,48 +4,56 @@
4
4
  <div class="modal-body">
5
5
  <a href="//aas.org"
6
6
  target="_blank"
7
- style="width:110px;height:110px;position:relative;left:3px;z-index:5"
7
+ style="width:110px; height:110px; position:relative; left:3px; z-index:5"
8
8
  class="pull-right">
9
9
  <img ng-src="{{staticAssetsPrefix}}images/aas-white110.png"
10
10
  localize="American Astronomical Society (AAS) Logo"
11
11
  localize-only="alt" />
12
12
  </a>
13
13
 
14
- <a href="{{userwebUrlPrefix}}/home" target="_blank"
15
- style="display:inline-block;position:relative;left:-3px;margin-right:7px;z-index:5" class="pull-left">
14
+ <a href="{{userwebUrlPrefix}}/home"
15
+ target="_blank"
16
+ style="display:inline-block; position:relative; left:-3px; margin-right:7px; z-index:5" class="pull-left">
16
17
  <img ng-src='{{staticAssetsPrefix}}images/wwtlogo.png'
17
- style="width:110px;height:110px;"
18
- localize="Microsoft WorldWide Telescope Logo"
18
+ style="width:110px; height:110px;"
19
+ localize="AAS WorldWide Telescope Logo"
19
20
  localize-only="alt" />
20
21
  </a>
21
22
 
22
- <h1 style="position:relative;top:-2px;white-space:nowrap">
23
+ <h1 style="position:relative; top:-2px; white-space:nowrap">
23
24
  <small style="color:white">American Astronomical Society</small><br />
24
25
  World<span style="color:#6ba9e6">Wide Telescope</span>
25
26
  </h1>
26
27
 
27
- <h3 localize="Welcome to the WorldWide Telescope Web Client"></h3>
28
+ <div class="clear"></div>
28
29
 
29
- <p>
30
- {{tipsIntro}}
31
- </p>
30
+ <p style="margin-top: 20px;">Welcome to AAS WorldWide Telescope!</p>
32
31
 
33
32
  <ul>
34
- <li localize="Move around the sky by clicking and dragging the Field of View."></li>
35
- <li localize="Zoom in/out by scrolling the mouse wheel, pressing -/+ or Page Up/Page Down."></li>
36
- <li localize="Drag with center mouse button or hold Ctrl while dragging to rotate and tilt view."></li>
37
- <li localize="Right-click an object to display the contextual Finder Scope for more information."></li>
38
- <li localize="Menu Tabs have two parts: click the tab’s top to open a pane, click the tab’s bottom to open submenus with additional functionality."></li>
33
+ <li localize="Move around the sky by clicking and dragging."></li>
34
+ <li localize="Zoom in/out by scrolling the mouse wheel or pressing +/-."></li>
35
+ <li localize="Right-click in the view to display the Finder Scope for more information."></li>
36
+ <li localize="Menu tabs (“Explore”, “Guided Tours”, etc.) have two parts. Click the tab’s top to open a pane; click the tab’s bottom to open a submenu."></li>
39
37
  </ul>
40
38
 
41
- <h3 localize="Home Page Update"></h3>
39
+ <h3 localize="WWT 2022 is Here!"></h3>
40
+
41
+ <p>The latest version of AAS WorldWide Telescope — WWT 2022 —
42
+ launched on February 15th!.</p>
43
+
44
+ <p class="text-center">
45
+ <a class="btn" href="https://worldwidetelescope.github.io/editions/2022/" target="_blank">Go to the WWT 2022 homepage</a>
46
+ </p>
47
+
48
+ <h3 localize="Help Support WWT!"></h3>
49
+
50
+ <p>The non-profit <a href="https://aas.org/" target="_blank">American Astronomical
51
+ Society</a> needs your support so that WWT’s servers can keep on
52
+ providing terabytes of astronomical imagery to users around the world
53
+ for free!</p>
42
54
 
43
- <p>
44
- <span localize="We have moved "></span>
45
- <a href="{{userwebUrlPrefix}}/home" localize="our home page" target="_blank"></a>
46
- <span localize=". The web client (this page) is now the default landing page for WWT on the web. You can open the home page by clicking the home"></span>
47
- (<i class="fa fa-home"></i>)
48
- <span localize="icon in the top-left corner."></span>
55
+ <p class="text-center">
56
+ <a class="btn" href="https://my.aas.org/services/AAS_Member/Fundraising/WWT/Donate_Now.aspx" target="_blank">Support WWT ❤️</a>
49
57
  </p>
50
58
 
51
59
  <p localize="To return to this screen, click the Explore menu and choose Show Welcome Tips."></p>