Skip to content

1627 facilities in nav bar menu - #1628

Open
phycodurus wants to merge 15 commits into
devfrom
1627-general-facilities-nav-bar-menu
Open

1627 facilities in nav bar menu#1628
phycodurus wants to merge 15 commits into
devfrom
1627-general-facilities-nav-bar-menu

Conversation

@phycodurus

@phycodurus phycodurus commented Jul 24, 2026

Copy link
Copy Markdown
Member

Adds integration point (AppConfig.observation_facilities() which is analogous to the data_services() integration point) for facilities with general, non-Target-specific functionality that should be presented on a "facility" index page (not a TargetDetail page, b/c it's not specific to a Target). Facilities that implement the integration point:

  • tom_keck
  • tom_cfht

Closes

with the new AppConfig.observation_facilities() integration point.
So, facility.get_service_classes collects facilities from the new
integration point and `settings.TOM_FACILITY_CLASSES` combined.
@phycodurus
phycodurus requested a review from jchate6 July 24, 2026 22:03
@phycodurus phycodurus linked an issue Jul 24, 2026 that may be closed by this pull request
@phycodurus phycodurus moved this to Needs Review in TOM Toolkit Jul 24, 2026
@phycodurus phycodurus changed the title 1627 general facilities nav bar menu 1627 facilities in nav bar menu Jul 27, 2026

@jchate6 jchate6 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resolving this issue would greatly help with the review of this PR.
TOMToolkit/tom_demoapp#30

@phycodurus

Copy link
Copy Markdown
Member Author

@jchate6 jchate6 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The comments and doc strings need to be cleaned up.

Many of the tests are not useful and just more code that needs to be maintained.

We should not rely on a URL in the app config. Just pass this information from the class.

Comment thread tom_observations/templatetags/observation_extras.py Outdated
Comment thread tom_observations/templatetags/observation_extras.py Outdated
Comment thread tom_observations/templatetags/observation_extras.py Outdated
Comment thread tom_observations/tests/tests.py Outdated
Comment thread tom_observations/tests/tests.py Outdated
Comment thread tom_observations/facility.py Outdated
Comment thread tom_observations/facility.py
Comment thread tom_setup/templates/tom_setup/settings.tmpl Outdated
Comment thread tom_setup/templates/tom_setup/settings.tmpl Outdated
Comment thread tom_setup/templates/tom_setup/settings.tmpl
@phycodurus
phycodurus requested a review from jchate6 August 4, 2026 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Needs Review

Development

Successfully merging this pull request may close these issues.

Facilities nav-bar menu

2 participants