Граф коммитов

122 Коммитов

Автор SHA1 Сообщение Дата
Peter Williams ab6eb9b1f9 views/modals/intro.html: past-tense WWT 2022 launch 2022-02-15 10:12:53 -05:00
Peter Williams bec1823452 views/modals/intro.html: tease WWT 2022 launch in welcome popup 2022-02-09 18:52:03 -05:00
Peter Williams edd266b72e Add donation links in a few places 2021-11-12 15:37:02 -05:00
Henrik Norman 5809722588 Changed fallback thumbnail & Corrected HiPS menu typos 2020-12-11 13:01:06 +01:00
Henrik Norman 6a880f58ab Added default thumbnail for 404 thumbnails 2020-12-10 10:19:12 +01:00
Henrik Norman e64c5b1bf1 Fixed thumbnail size for healpix thumbnails 2020-12-10 10:19:12 +01:00
Peter Williams 629040bc6e Construct better URLs for "research" queries
And also prune some outdated entries from the search menus. The main
thing is to properly and consistently segment names and URL-escape them.

Closes #329.
2020-10-23 10:22:45 -04:00
Peter Williams 3ecc8eae48 Increase precision of RA readouts
Usual practice is to provide an extra decimal place of RA precision
compared to Dec, since hours are more than 10 times coarse-grained than
degrees. Do this by adding a new `extraPrecision` argument to
`formatHms`. Also generally tidy up that implementation.

Closes #326.
2020-10-12 16:49:25 -04:00
Peter Williams d5c9c94de6 views/modals/finder-scope.html: adjust margin of right coordinate column
On recent Firefox the div wasn't fitting in anymore, resulting in ugly overflow.
2020-07-15 10:00:37 -04:00
Peter Williams e0a6b9a9df Get the thumbnail property panel to stay onscreen
If you tried to open the "Properties" panel for a thumbnail in the nearby
objects panel, it would land below the screen. Besides there being CSS
hardcoding the popover position, the whole popover content was encased in an
"ng-if" directive that meant that when the popover position was being
calculated, the apparent size of the popover was tiny and so the
bounds-checking didn't do much of anything. As far as I can tell, we can skip
the ng-if with proper setup of the scope of the popover in its creation.

Closes #91.
2020-04-20 13:49:46 -04:00
Peter Williams 063102ca1a views/popovers/property-panel.html: reindent 2020-04-20 13:29:11 -04:00
Peter Williams fa601737e4 views/research-menu.html: reindent 2020-04-20 11:44:50 -04:00
Peter Williams 45c7fea737 views/modals/open-item.html: "Url" => "URL" 2020-04-06 14:29:52 -04:00
Peter Williams 20518b77bf views/modals/open-item.html: reindent 2020-04-06 14:28:39 -04:00
Peter Williams b928b014bc images/aas-white110.png: import this and reference it
Removes references to the wwtweb.blob.core.windows.net domain.
2020-03-31 14:25:54 -04:00
Peter Williams 16ba654a80 Reorganize the mobile nav bar
Now there are three buttons: hamburger menu, sharing, and settings. The
hamburger menu gives a subset of the links from the "AAS WorldWide Telescope"
menu of the desktop version; the links from the existing settings menu are
removed.

Both the hamburger menu and the settings are implemented as collapsible navs,
so we need to edit the hideMenu() logic to prevent both menus from being open
at the same time.

The positioning of the search submenu of the Settings nav was a bit weird, I
think accidentally, so I've reworked how that's done so that it's consistent
with the other popups.

I've also made the buttons a bit larger overall (@font-size-large to
@font-size-h3), so a few other CSS settings changed too.
2020-03-30 18:24:39 -04:00
Peter Williams dc7b6e8775 views/modals/mobile-*.html: reindent 2020-03-28 19:41:46 -04:00
Peter Williams d49319432e views/modals/mobile-*.html: stop interpolating prefix here
AngularJS doesn't like our interpolations, raising `$interpolate:noconcat`
errors. I don't know why the mobile version has these issues while desktop
doesn't. But, whatever, OK.
2020-03-28 19:39:59 -04:00
Peter Williams bba0f5a751 Revamp mobile detection to work entirely within AngularJS
We now have a variable $rootScope.is_mobile, and the logic setting it is now
centralized in the main controller. I've removed some random calls to
`wwt.resize()` that I don't think were doing anything.
2020-03-28 19:29:21 -04:00
Peter Williams 8d7184216d views/modals/mobile-explore.html: fix a stray unescaped > 2020-03-28 19:24:25 -04:00
Peter Williams ae8338df22 views/modals/colorpicker.html: fix a stray backwards slash 2020-03-28 14:17:53 -04:00
Peter Williams ee9ee02fab Decapitalize the "images" directory. 2020-03-28 14:16:52 -04:00
Peter Williams 99f9062538 views/popovers/tour-info.html: get rid of the last embedded "worldwidetelescope.org" 2020-03-28 12:31:31 -04:00
Peter Williams c9f2846561 Aha -- use AngularJS templating to inject staticAssetsPrefix where needed
This should also fix the thing where HTML comments in the AngularJS templates
turn out to cause problems.
2020-03-28 12:23:22 -04:00
Peter Williams 3b0b6cde89 views/popovers/tour-info.html: reindent 2020-03-28 12:06:02 -04:00
Peter Williams e7ae88e4c4 views/modals/intro.html: generic-ify another URL
Ideally we should be using userweb_url_prefix here but I need to discover how to
parametrize that in an Angular template.
2020-03-28 12:04:13 -04:00
Peter Williams bf7503a137 views/modals/intro.html: reindent and remove comment that messes up AngularJS 2020-03-28 12:02:24 -04:00
Peter Williams 20482c5600 views/thumbnail.html: apparently we can't put HTML comments here
They were getting rendered as text, yikes.
2020-03-27 21:51:05 -04:00
Peter Williams f5988b8ac0 Annotate a few paths in Images/ with staticAssetsPrefix info 2020-03-27 21:11:59 -04:00
Peter Williams b5383a3f37 Try to use the webclient static assets prefix everywhere in the JS code too.
There are a few `views` HTML files that include other ones, and if I wanted to
get them to also use the CDN for their references I'd have to put them through
the templating system too. I'm just not doing that now for laziness.
2020-03-27 21:05:18 -04:00
Peter Williams 49a2691126 Remove stray references to wwtstaging
Include some cdn-to-www rewriting that I missed before.
2020-03-22 11:56:04 -04:00
Peter Williams 91b980a921 Attempt to reference Image/wwtlogo.png relatively everywhere possible 2020-03-22 10:29:35 -04:00
Ron Gilchrist cf56557783 fixed finder scope close issues. Misc code maintennance 2019-08-06 14:54:57 -07:00
Jeffrey SubbaRao 240937d234 Add a dummy form to reset the file loading dialog so that loading the same file twice in a row works as expected 2019-06-27 15:36:17 -05:00
Ron Gilchrist 3a950dc391 Fixes to city coordinates and misc cleanup. 2019-06-24 11:04:59 -07:00
Ron Gilchrist 597bab70bb issue #94 - show meters instead of au in 'View' (mobile and desktop) 2019-04-19 19:42:36 -07:00
Ron Gilchrist 30876b965a Issue #95 - improve translation directives 2019-04-19 19:31:37 -07:00
Ron Gilchrist 2d33d6d9b2 Issue #147 - added tour error hooks to sdk, then implemented in UI. As part of this, developed a generic error modal hook that can easily be triggered. 2019-04-18 21:01:42 -07:00
Ron Gilchrist fbb65f1ded Issue #164 - Open for edit option in open tour dialog 2019-04-17 15:58:55 -07:00
Ron Gilchrist a8c48b2d34 Observing Location fully persistent and wired. 2019-04-15 15:35:52 -07:00
Ron Gilchrist eaceaa76a9 Initial UI + plumbing of observing location 2019-03-17 15:03:56 -07:00
Ron Gilchrist 4dcf213ed4 observing location config modal + plumbing. Need to add observing location reference frame 2019-03-16 01:15:50 -07:00
Ron Gilchrist 6c283aef1e ESASky final changes - added to view ribbon. Also WIP on "view from location" bug 2019-03-11 12:37:44 -07:00
Ron Gilchrist 4f9b5ded67 wire up time scrubber to spreadsheet layer + pull all pywwt pull requests and merge 2019-02-21 21:01:45 -08:00
Ron Gilchrist b158dd86e4 add esa sky to finderscope menu
add linewidth as video annotation opt
2019-02-12 22:00:57 -08:00
Ron Gilchrist d54cbc0f64 Several fixes to circle annotations, embedded videos, etc. 2019-01-14 21:48:04 -08:00
Ron Gilchrist 4338224931 added embeddable videos - hackathon 2019-01-10 15:05:28 -08:00
Ron Gilchrist 0de68aa6ab embed video wip 2019-01-10 14:00:55 -08:00
Ron Gilchrist 39116f5416 embed video wip 2019-01-10 13:59:42 -08:00
Ron Gilchrist fc16103aea fixes to data visualization layer wizard. Now supports very large datasets 2018-12-19 02:21:08 -08:00