@wwtelescope/webclient 6.4.1 → 6.4.3
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 +10 -0
- package/Gruntfile.js +2 -2
- package/README.md +25 -13
- package/controllers/MainController.js +5 -6
- package/factories/SearchUtil.js +1 -1
- package/index.html +14 -26
- package/package.json +5 -5
- package/views/modals/intro.html +9 -27
- package/images/aas-white110.png +0 -0
- package/images/logo_aas.png +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
# @wwtelescope/webclient 6.4.3 (2023-11-02)
|
|
2
|
+
|
|
3
|
+
- Fix recovery of share links based on constellation indices (#363, @Carifio24).
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
# @wwtelescope/webclient 6.4.2 (2023-06-21)
|
|
7
|
+
|
|
8
|
+
- Update sponsorship branding
|
|
9
|
+
|
|
10
|
+
|
|
1
11
|
# @wwtelescope/webclient 6.4.1 (2023-02-15)
|
|
2
12
|
|
|
3
13
|
- Make sliders in layer properties window be initialized with the correct value
|
package/Gruntfile.js
CHANGED
|
@@ -16,8 +16,8 @@ module.exports = function (grunt) {
|
|
|
16
16
|
pkg: grunt.file.readJSON('package.json'),
|
|
17
17
|
|
|
18
18
|
banner: '/**\n' +
|
|
19
|
-
'*
|
|
20
|
-
'* Copyright 2014-
|
|
19
|
+
'* WorldWide Telescope Web Client\n' +
|
|
20
|
+
'* Copyright 2014-2023 .NET Foundation\n' +
|
|
21
21
|
'* Licensed under the MIT License\n' +
|
|
22
22
|
'* Git hash <%= gitinfo.local.branch.current.SHA %>\n' +
|
|
23
23
|
'**/\n',
|
package/README.md
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
[](https://dev.azure.com/aasworldwidetelescope/WWT/_build/latest?definitionId=4&branchName=master)
|
|
2
2
|
[](https://www.npmjs.com/package/@wwtelescope/webclient)
|
|
3
|
+
[](http://numfocus.org)
|
|
3
4
|
|
|
4
|
-
# The
|
|
5
|
+
# The WorldWide Telescope Web Client
|
|
5
6
|
|
|
6
|
-
The “web client” of
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
The “web client” of [WorldWide Telescope](http://worldwidetelescope.org/home)
|
|
8
|
+
(WWT) is a web application that lets you explore the universe from the comfort
|
|
9
|
+
of your chair.
|
|
9
10
|
|
|
10
11
|
### <https://worldwidetelescope.org/webclient/>
|
|
11
12
|
|
|
@@ -17,6 +18,22 @@ JavaScript library.
|
|
|
17
18
|
[AngularJS]: https://angularjs.org/
|
|
18
19
|
[WWT WebGL Engine]: https://github.com/WorldWideTelescope/wwt-webgl-engine
|
|
19
20
|
|
|
21
|
+
[//]: # (numfocus-fiscal-sponsor-attribution)
|
|
22
|
+
|
|
23
|
+
The WorldWide Telescope project uses an [open governance
|
|
24
|
+
model](https://worldwidetelescope.org/about/governance/) and is fiscally
|
|
25
|
+
sponsored by [NumFOCUS](https://numfocus.org/). Consider making a
|
|
26
|
+
[tax-deductible donation](https://numfocus.org/donate-for-worldwide-telescope)
|
|
27
|
+
to help the project pay for developer time, professional services, travel,
|
|
28
|
+
workshops, and a variety of other needs.
|
|
29
|
+
|
|
30
|
+
<div align="center">
|
|
31
|
+
<a href="https://numfocus.org/donate-for-worldwide-telescope">
|
|
32
|
+
<img height="60px"
|
|
33
|
+
src="https://raw.githubusercontent.com/numfocus/templates/master/images/numfocus-logo.png">
|
|
34
|
+
</a>
|
|
35
|
+
</div>
|
|
36
|
+
|
|
20
37
|
|
|
21
38
|
## Building and Testing
|
|
22
39
|
|
|
@@ -92,18 +109,13 @@ All participation in WWT communities is conditioned on your adherence to the
|
|
|
92
109
|
|
|
93
110
|
## Acknowledgments
|
|
94
111
|
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
and Betty Moore Foundation], and [Microsoft].
|
|
112
|
+
Work on the WorldWide Telescope system has been supported by the [American
|
|
113
|
+
Astronomical Society] (AAS), the [.NET Foundation], and other partners. See [the
|
|
114
|
+
WWT user website][acks] for details.
|
|
99
115
|
|
|
100
116
|
[American Astronomical Society]: https://aas.org/
|
|
101
117
|
[.NET Foundation]: https://dotnetfoundation.org/
|
|
102
|
-
[
|
|
103
|
-
[1550701]: https://www.nsf.gov/awardsearch/showAward?AWD_ID=1550701
|
|
104
|
-
[1642446]: https://www.nsf.gov/awardsearch/showAward?AWD_ID=1642446
|
|
105
|
-
[Gordon and Betty Moore Foundation]: https://www.moore.org/
|
|
106
|
-
[Microsoft]: https://www.microsoft.com/
|
|
118
|
+
[acks]: https://worldwidetelescope.org/about/acknowledgments/
|
|
107
119
|
|
|
108
120
|
|
|
109
121
|
## Legalities
|
|
@@ -360,7 +360,7 @@ wwt.controllers.controller(
|
|
|
360
360
|
$scope.ribbon = {
|
|
361
361
|
// The "home" tab is special-cased since it has no associated panel.
|
|
362
362
|
home_tab: {
|
|
363
|
-
label: '
|
|
363
|
+
label: 'WorldWide Telescope',
|
|
364
364
|
button: 'rbnHome',
|
|
365
365
|
menu: {
|
|
366
366
|
'Main Website': [util.nav_user, '/home'],
|
|
@@ -368,15 +368,14 @@ wwt.controllers.controller(
|
|
|
368
368
|
'Contributor Hub': [function () { window.open('https://worldwidetelescope.github.io/'); }],
|
|
369
369
|
'GitHub Home': [function () { window.open('https://github.com/WorldWideTelescope'); }],
|
|
370
370
|
'Sign up for Newsletter': [function () { window.open('https://bit.ly/wwt-signup'); }],
|
|
371
|
-
'Support WWT ❤️': [function () { window.open('https://
|
|
371
|
+
'Support WWT ❤️': [function () { window.open('https://numfocus.org/donate-for-worldwide-telescope'); }],
|
|
372
372
|
sep1: null,
|
|
373
373
|
'@WWTelescope on Twitter': [function () { window.open('https://twitter.com/WWTelescope'); }],
|
|
374
374
|
'@AASWorldWideTelescope on YouTube': [function () { window.open('https://www.youtube.com/c/AASWorldWideTelescope'); }],
|
|
375
375
|
'@WWTelescope on Facebook': [function () { window.open('https://www.facebook.com/wwtelescope'); }],
|
|
376
376
|
sep2: null,
|
|
377
|
-
'Download Windows App': [util.nav_user, '/Download#
|
|
378
|
-
'About
|
|
379
|
-
'About American Astronomical Society': [function () { window.open('https://aas.org/about-aas'); }]
|
|
377
|
+
'Download Windows App': [util.nav_user, '/Download#windows-client'],
|
|
378
|
+
'About WorldWide Telescope': [util.nav_user, '/About'],
|
|
380
379
|
}
|
|
381
380
|
},
|
|
382
381
|
|
|
@@ -756,7 +755,7 @@ wwt.controllers.controller(
|
|
|
756
755
|
|
|
757
756
|
//Catalog HiPS are controlled through the layer manager
|
|
758
757
|
// & multiple items can be selected at the same time.
|
|
759
|
-
// So it does not make sense to highlight single items in the folder menu
|
|
758
|
+
// So it does not make sense to highlight single items in the folder menu
|
|
760
759
|
$scope.setActiveItem({});
|
|
761
760
|
var imageSet = util.getImageset(item);
|
|
762
761
|
wwtlib.WWTControl.singleton.addCatalogHips(imageSet);
|
package/factories/SearchUtil.js
CHANGED
|
@@ -64,7 +64,7 @@ wwt.app.factory(
|
|
|
64
64
|
function getPlaceById(id) {
|
|
65
65
|
var deferred = $q.defer();
|
|
66
66
|
|
|
67
|
-
searchDataService.getData(
|
|
67
|
+
searchDataService.getData().then(function (d) {
|
|
68
68
|
var constellationIndex = parseInt(id.split('.')[0]);
|
|
69
69
|
var placeIndex = parseInt(id.split('.')[1]);
|
|
70
70
|
var p = d.Constellations[constellationIndex].places[placeIndex];
|
package/index.html
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
<!DOCTYPE html>
|
|
2
2
|
<html>
|
|
3
3
|
<head>
|
|
4
|
-
<title>
|
|
4
|
+
<title>WorldWide Telescope — Web Client</title>
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
|
6
6
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
7
7
|
<meta name="ROBOTS" content="INDEX, FOLLOW">
|
|
8
8
|
|
|
9
|
-
<meta property="og:site_name" content="
|
|
10
|
-
<meta property="og:url" content="
|
|
11
|
-
<meta property="og:title" content="
|
|
9
|
+
<meta property="og:site_name" content="WorldWide Telescope" />
|
|
10
|
+
<meta property="og:url" content="https://worldwidetelescope.org/" />
|
|
11
|
+
<meta property="og:title" content="WorldWide Telescope" />
|
|
12
12
|
<meta property="og:type" content="website" />
|
|
13
|
-
<meta property="og:description" content="
|
|
13
|
+
<meta property="og:description" content="Worldwide Telescope is a tool for showcasing astronomical data and knowledge." />
|
|
14
14
|
<meta property="og:image" content="<%= webclient_static_assets_url_prefix %>images/wwtlogo.png" />
|
|
15
15
|
<meta property="og:image:width" content="256" />
|
|
16
16
|
<meta property="og:image:height" content="256" />
|
|
17
|
-
<meta name="title" content="
|
|
18
|
-
<meta name="description" content="
|
|
17
|
+
<meta name="title" content="WorldWide Telescope" />
|
|
18
|
+
<meta name="description" content="Worldwide Telescope is a tool for showcasing astronomical data and knowledge." />
|
|
19
19
|
|
|
20
20
|
<link rel="icon" href="favicon.ico"/>
|
|
21
21
|
|
|
@@ -25,13 +25,13 @@
|
|
|
25
25
|
<link href="https://cdnjs.cloudflare.com/ajax/libs/jScrollPane/2.0.23/style/jquery.jscrollpane.css" rel="stylesheet"/>
|
|
26
26
|
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet"/>
|
|
27
27
|
|
|
28
|
-
<!--
|
|
29
|
-
<script async src="https://www.googletagmanager.com/gtag/js?id=
|
|
28
|
+
<!-- Google tag (gtag.js) -->
|
|
29
|
+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-YWNE29K5CB"></script>
|
|
30
30
|
<script>
|
|
31
31
|
window.dataLayer = window.dataLayer || [];
|
|
32
|
-
function gtag() { dataLayer.push(arguments) }
|
|
32
|
+
function gtag() { dataLayer.push(arguments); }
|
|
33
33
|
gtag('js', new Date());
|
|
34
|
-
gtag('config', '
|
|
34
|
+
gtag('config', 'G-YWNE29K5CB');
|
|
35
35
|
</script>
|
|
36
36
|
|
|
37
37
|
<style>
|
|
@@ -251,15 +251,11 @@
|
|
|
251
251
|
</li>
|
|
252
252
|
|
|
253
253
|
<li>
|
|
254
|
-
<a ng-click="gotoPage('<%= userweb_url_prefix %>/About')" localize="About
|
|
254
|
+
<a ng-click="gotoPage('<%= userweb_url_prefix %>/About')" localize="About WorldWide Telescope"></a>
|
|
255
255
|
</li>
|
|
256
256
|
|
|
257
257
|
<li>
|
|
258
|
-
<a ng-click="gotoPage('https://
|
|
259
|
-
</li>
|
|
260
|
-
|
|
261
|
-
<li>
|
|
262
|
-
<a ng-click="gotoPage('https://aas.org/about-aas')" localize="About American Astronomical Society"></a>
|
|
258
|
+
<a ng-click="gotoPage('https://numfocus.org/donate-for-worldwide-telescope')" localize="Support WWT ❤️"></a>
|
|
263
259
|
</li>
|
|
264
260
|
</ul>
|
|
265
261
|
</div>
|
|
@@ -326,13 +322,6 @@
|
|
|
326
322
|
<!-- mobile Loading popup -->
|
|
327
323
|
|
|
328
324
|
<div ng-class="isLoading ? 'mobile-loading' : 'hide'">
|
|
329
|
-
<a href="//aas.org" target="_blank" style="position:relative;left:3px;z-index:5" class="pull-right">
|
|
330
|
-
<img ng-src="<%= webclient_static_assets_url_prefix %>images/aas-white110.png?v=<%= shortSHA %>"
|
|
331
|
-
localize="American Astronomical Society (AAS) Logo"
|
|
332
|
-
localize-only="alt"
|
|
333
|
-
style="width:60px;height:60px;"/>
|
|
334
|
-
</a>
|
|
335
|
-
|
|
336
325
|
<a class="pull-left" href="/home" style="margin-left: -11px;">
|
|
337
326
|
<img ng-src='<%= webclient_static_assets_url_prefix %>images/wwtlogo.png?v=<%= shortSHA %>'
|
|
338
327
|
localize="WorldWide Telescope Logo"
|
|
@@ -341,7 +330,6 @@
|
|
|
341
330
|
</a>
|
|
342
331
|
|
|
343
332
|
<h3>
|
|
344
|
-
<div class="small text-white">American Astronomical Society</div>
|
|
345
333
|
World<span class="brand-blue">Wide Telescope</span>
|
|
346
334
|
</h3>
|
|
347
335
|
|
|
@@ -435,7 +423,7 @@
|
|
|
435
423
|
<a class="btn pull-right" ng-click="logout()" ng-show="msLiveOAuthAppId && msLiveOAuthAppId.length && loggedIn">
|
|
436
424
|
<span localize="Sign Out"></span>
|
|
437
425
|
</a>
|
|
438
|
-
<a class="btn pull-right" href="https://
|
|
426
|
+
<a class="btn pull-right" href="https://numfocus.org/donate-for-worldwide-telescope" target="_blank">
|
|
439
427
|
<span>Support WWT ❤️</span>
|
|
440
428
|
</a>
|
|
441
429
|
</span>
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
|
-
"author": "The
|
|
2
|
+
"author": "The WorldWide Telescope Team <hello@worldwidetelescope.org>",
|
|
3
3
|
"bugs": {
|
|
4
|
-
"email": "
|
|
4
|
+
"email": "hello@worldwidetelescope.org",
|
|
5
5
|
"url": "https://github.com/WorldWideTelescope/wwt-web-client/issues"
|
|
6
6
|
},
|
|
7
7
|
"buildConfig": {
|
|
8
8
|
"uglify": true
|
|
9
9
|
},
|
|
10
|
-
"description": "
|
|
10
|
+
"description": "WorldWide Telescope web client",
|
|
11
11
|
"devDependencies": {
|
|
12
12
|
"grunt": "^1.0",
|
|
13
13
|
"grunt-autoprefixer": "^3.0",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
},
|
|
25
25
|
"homepage": "https://worldwidetelescope.org/webclient/",
|
|
26
26
|
"keywords": [
|
|
27
|
-
"
|
|
27
|
+
"WorldWide Telescope"
|
|
28
28
|
],
|
|
29
29
|
"license": "MIT",
|
|
30
30
|
"name": "@wwtelescope/webclient",
|
|
@@ -35,5 +35,5 @@
|
|
|
35
35
|
"type": "git",
|
|
36
36
|
"url": "https://github.com/WorldWideTelescope/wwt-web-client.git"
|
|
37
37
|
},
|
|
38
|
-
"version": "6.4.
|
|
38
|
+
"version": "6.4.3"
|
|
39
39
|
}
|
package/views/modals/intro.html
CHANGED
|
@@ -2,32 +2,22 @@
|
|
|
2
2
|
<div class="modal-dialog">
|
|
3
3
|
<div class="modal-content">
|
|
4
4
|
<div class="modal-body">
|
|
5
|
-
<a href="//aas.org"
|
|
6
|
-
target="_blank"
|
|
7
|
-
style="width:110px; height:110px; position:relative; left:3px; z-index:5"
|
|
8
|
-
class="pull-right">
|
|
9
|
-
<img ng-src="{{staticAssetsPrefix}}images/aas-white110.png"
|
|
10
|
-
localize="American Astronomical Society (AAS) Logo"
|
|
11
|
-
localize-only="alt" />
|
|
12
|
-
</a>
|
|
13
|
-
|
|
14
5
|
<a href="{{userwebUrlPrefix}}/home"
|
|
15
6
|
target="_blank"
|
|
16
7
|
style="display:inline-block; position:relative; left:-3px; margin-right:7px; z-index:5" class="pull-left">
|
|
17
8
|
<img ng-src='{{staticAssetsPrefix}}images/wwtlogo.png'
|
|
18
9
|
style="width:110px; height:110px;"
|
|
19
|
-
localize="
|
|
10
|
+
localize="WorldWide Telescope Logo"
|
|
20
11
|
localize-only="alt" />
|
|
21
12
|
</a>
|
|
22
13
|
|
|
23
|
-
<h1 style="position:relative; top
|
|
24
|
-
<small style="color:white">American Astronomical Society</small><br />
|
|
14
|
+
<h1 style="position: relative; top: 10px; white-space: nowrap">
|
|
25
15
|
World<span style="color:#6ba9e6">Wide Telescope</span>
|
|
26
16
|
</h1>
|
|
27
17
|
|
|
28
18
|
<div class="clear"></div>
|
|
29
19
|
|
|
30
|
-
<p style="margin-top:
|
|
20
|
+
<p style="margin-top: 60px;">Welcome to WorldWide Telescope!</p>
|
|
31
21
|
|
|
32
22
|
<ul>
|
|
33
23
|
<li localize="Move around the sky by clicking and dragging."></li>
|
|
@@ -36,24 +26,16 @@
|
|
|
36
26
|
<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>
|
|
37
27
|
</ul>
|
|
38
28
|
|
|
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
29
|
<h3 localize="Help Support WWT!"></h3>
|
|
49
30
|
|
|
50
|
-
<p>
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
31
|
+
<p>WWT is a fiscally sponsored project of <a
|
|
32
|
+
href="https://numfocus.org/">NumFOCUS</a>, a nonprofit dedicated to
|
|
33
|
+
supporting the open-source scientific computing community. If you like
|
|
34
|
+
WWT and want to support our mission, please consider making a
|
|
35
|
+
tax-deductible donation to support our efforts.</p>
|
|
54
36
|
|
|
55
37
|
<p class="text-center">
|
|
56
|
-
<a class="btn" href="https://
|
|
38
|
+
<a class="btn" href="https://numfocus.org/donate-for-worldwide-telescope" target="_blank">Support WWT ❤️</a>
|
|
57
39
|
</p>
|
|
58
40
|
|
|
59
41
|
<p localize="To return to this screen, click the Explore menu and choose Show Welcome Tips."></p>
|
package/images/aas-white110.png
DELETED
|
Binary file
|
package/images/logo_aas.png
DELETED
|
Binary file
|