diff --git a/extensions/skyportal/skyportal/app_server.py b/extensions/skyportal/skyportal/app_server.py index 3c14c2b..d5ed08f 100644 --- a/extensions/skyportal/skyportal/app_server.py +++ b/extensions/skyportal/skyportal/app_server.py @@ -36,6 +36,7 @@ IRSAQueryWISEHandler, VizierQueryHandler, DatalabQueryHandler, + PS1QueryHandler, DefaultFollowupRequestHandler, DefaultObservationPlanRequestHandler, DefaultSurveyEfficiencyRequestHandler, @@ -478,6 +479,7 @@ def log_request(self, handler): (r'/api/sources(/[0-9A-Za-z-_\.\+]+)/annotations/irsa', IRSAQueryWISEHandler), (r'/api/sources(/[0-9A-Za-z-_\.\+]+)/annotations/vizier', VizierQueryHandler), (r'/api/sources(/[0-9A-Za-z-_\.\+]+)/annotations/datalab', DatalabQueryHandler), + (r'/api/sources(/[0-9A-Za-z-_\.\+]+)/annotations/ps1', PS1QueryHandler), ( r'/api/(sources|spectra|photometry)(/[0-9A-Za-z-_\.\+]+)/annotations', AnnotationHandler, diff --git a/extensions/skyportal/static/js/components/SourceDesktop.jsx b/extensions/skyportal/static/js/components/SourceDesktop.jsx index feee74d..2fed781 100644 --- a/extensions/skyportal/static/js/components/SourceDesktop.jsx +++ b/extensions/skyportal/static/js/components/SourceDesktop.jsx @@ -791,38 +791,88 @@ const SourceDesktop = ({ source }) => { {/* TODO 1) check for dead links; 2) simplify link formatting if possible */}