Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: nodes without active installs are hidden on the map #606

Merged
merged 3 commits into from
Oct 6, 2024

Conversation

Andrew-Dickinson
Copy link
Member

This filter dates back all the way to before we had a node object, and the following code is all capable of handling the "only inactive installs" case. It's blocking the display of the nodes we fixed in #564 (like NN238 and NN525), so it seems we should remove it

Copy link

codecov bot commented Sep 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.03%. Comparing base (e23ec56) to head (af31587).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #606      +/-   ##
==========================================
- Coverage   94.03%   94.03%   -0.01%     
==========================================
  Files          75       75              
  Lines        3087     3086       -1     
==========================================
- Hits         2903     2902       -1     
  Misses        184      184              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

src/meshapi/views/map.py Show resolved Hide resolved
@Andrew-Dickinson Andrew-Dickinson enabled auto-merge (squash) October 6, 2024 15:22
@Andrew-Dickinson Andrew-Dickinson merged commit d7be145 into main Oct 6, 2024
10 checks passed
WillNilges pushed a commit that referenced this pull request Oct 12, 2024
* Fix: nodes without active installs are hidden on the map

* Remove ALLOWED_INSTALL_STATUSES entirely
WillNilges added a commit that referenced this pull request Oct 24, 2024
* fix 500 on bldg

* Store changed info and print something

* fancy

* Now I gotta update all these tests :(

* This feels very brittle

* That's maybe a little better.

* Test cases

* update tests

* Add trust_me_bro

* Add trust_me_bro to test data

* format

* set trust_me_bro

* checkpoint

* computers

* Formatting?

* Parsed City

* Remove State + Zip warning

State is a dropdown and Zip breaks if it's wrong.

* Fix import crash (#598)

* Make name dedupe logic case-insensitive & prefer longer names (#556)

* Make name dedupe logic case-insensitive & prefer longer names

* Fix uuid convention

* Add django-simple-history (#599)

* Add django-simple-history

* Fix: crash on permissions object

* Fix typo

* Change ticket number to charfield (#562)

* Change ticket number to charfield

* Fix tests

* Update src/meshapi/migrations/0031_alter_install_ticket_number.py

Co-authored-by: Willard Nilges <[email protected]>

* Update src/meshapi/models/install.py

Co-authored-by: Willard Nilges <[email protected]>

* Merge migration conflicts

---------

Co-authored-by: Willard Nilges <[email protected]>

* rename all instances of prod1 -> prod + docs cleanup (#618)

* rolling restart stateful sets (#620)

* only backup 'default' (#621)

* Add new encrypted volume (#615)

* use the new one (#623)

* Complete volume swap (#616)

* Add new encrypted volume

* swap postgres to encrypted volume

* cleanup old pv

* Fix 500 on panorama building save (for real this time) (#622)

* Fix: NYC addresses are sent to random New England towns (#604)

* Fix: NYC addresses are sent to random new england towns

* Add typo fix for "sreet"

* Import fixes (#607)

* Exclude placeholder devices from inactive node resurrection

* Fix: Spreadsheet LOS import has `SpreadsheetLinkStatus.` before the status notes

* Clean up node notes

* Fix: nodes without active installs are hidden on the map (#606)

* Fix: nodes without active installs are hidden on the map

* Remove ALLOWED_INSTALL_STATUSES entirely

* Fix: nodes is required to edit building object (#600)

* Fix: exports get captured by captive nav and don't download (#601)

* Add missing assert_ to called_once_with (#619)

* Fix: crash due to link sheet format change (#626)

* Fix: zip code validation only applies to non-NYC addresses (#629)

* got it

* Update submission format

* get tests working

* computers

* lint

* zip

* black

* Check that we say no to NJ properly:

* move check

* fix thingie

* Add another test

* Default to str when dumping json object

* lint

* lint

* email

* lint

* insanity

* email

* Wild fucking guess, but this test should now create 3 members instead of 2

* fix git fuckery

* Test nyc join form but nj zip

---------

Co-authored-by: Andrew Dickinson <[email protected]>
Co-authored-by: james-otten <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants