-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
remove map files post #11225 #11414
remove map files post #11225 #11414
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #11414 +/- ##
==========================================
+ Coverage 77.14% 83.33% +6.18%
==========================================
Files 96 93 -3
Lines 6051 5772 -279
==========================================
+ Hits 4668 4810 +142
+ Misses 1383 962 -421
|
This pull request generated screenshots of many common pages in the running app. You should be able to download and view them here: |
This pull request generated screenshots of many common pages in the running app. You should be able to download and view them here: |
…ut map_controller
@node = if params[:node_type] == "map" | ||
# legacy map type converted to notes but preserving paths: | ||
Node.where(path: "/map/#{params[:name]}/#{params[:date]}").first | ||
elsif params[:author] && params[:date] && params[:id] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Align elsif
with if
.
Node.where(path: "/map/#{params[:name]}/#{params[:date]}").first | ||
elsif params[:author] && params[:date] && params[:id] | ||
Node.find_notes(params[:author], params[:date], params[:id]) || Node.where(path: "/report/#{params[:id]}").first | ||
else |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Align else
with if
.
end | ||
@node = if params[:node_type] == "map" | ||
# legacy map type converted to notes but preserving paths: | ||
Node.where(path: "/map/#{params[:name]}/#{params[:date]}").first |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use 2 (not -4) spaces for indentation.
This pull request generated screenshots of many common pages in the running app. You should be able to download and view them here: |
This pull request generated screenshots of many common pages in the running app. You should be able to download and view them here: |
Still facing:
|
map pages work when tested manually in gitpod! Tried reordering the routes. Next could look at docs for functional test routing. |
Same error. |
This pull request generated screenshots of many common pages in the running app. You should be able to download and view them here: |
Code Climate has analyzed commit 19fa210 and detected 4 issues on this pull request. Here's the issue category breakdown:
View more on Code Climate. |
This pull request generated screenshots of many common pages in the running app. You should be able to download and view them here: |
Hooray! Trying this. |
Confirmed working on stable!! |
Fixes #2606 and follows map node conversion to note nodes in #11225