Traces#index: Introduce tab navigation, fix tag-filter #3034
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
content_for :heading_class
to remove the padding below the bootstrap tabs@tag
logic was broken. introduce new link to remove the tag-filter; the tabs keep the filter once given&.
syntax nil-safety so we can remove@display_name
I will wait for a first review of this.
Still to do:
params[:tag]
in the views. Did I introduce a security problem here? If so, what is the smartest way to solve it? – Will need to look into this; but maybe someone already has the answer …The remove-tag-feature is not ideal IMO, but on the other hand it was broken ATM and nobody noticed so it was probably not that important and IMO not worth adding even more complexity.
Screenshots
gps – logged-in – someone-else
gps – logged-in – all
gps – logged-in – my
gps – logged-out – someone-else
gps – logged-out – all
gps – logged-in – someone-else – tag filter active
gps – logged-in – all – tag filter active
gps – logged-in – my – tag filter active
gps – logged-out – someone-else – tag filter active
gps – logged-out – all – tag filter active