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

Hostname filter #63

Closed
wants to merge 3 commits into from
Closed

Hostname filter #63

wants to merge 3 commits into from

Conversation

Moorviper
Copy link
Contributor

this is a port of the hostname filter from mesh viewer

Moorviper and others added 3 commits July 20, 2016 12:36
this is a port of the hostnamefilter from meshviewer.
@ghost
Copy link

ghost commented Sep 2, 2016

It had a reason that I didn't pick that commit when compiling the base for HopGlass. Is the hostname filter in the meshviewer master?

@Moorviper
Copy link
Contributor Author

this is the same hostname filter as in the mesh viewer with the modification that the nodes are checked if they have a hostname.

  • function run(d) {
  •  if (d.nodeinfo === undefined)
    
  •    return 0
    
  •  if (d.nodeinfo)
    
  •    return d.nodeinfo.hostname.toLowerCase().includes(input.value.toLowerCase())
    
  • }
    +
  • function setRefresh(f) {
  •  refreshFunction = f
    
  • }

because with hoppglass not every node have a hostname

@rotanid
Copy link
Contributor

rotanid commented Sep 5, 2016

@plumpudding would you be so nice to inform us what your reason was?
we really want that feature, too...

@ghost
Copy link

ghost commented Sep 8, 2016

If you want it, you can always cherry-pick the commits.
I just don't think the feature is ready both by design and implementation.

@wattnpapa
Copy link
Contributor

What are the reasons for not Applying this Pull Request?

@Moorviper
Copy link
Contributor Author

if you klick the x the filter complete disappear for one reason.

@ghost
Copy link

ghost commented Mar 21, 2017

For example that
It looks ugly and has unexpected behaviour
I am happy with the implementation in https://github.com/ffrgb/meshviewer so you will see this soon(TM).

@wattnpapa
Copy link
Contributor

Yes from the user view it looks good

@Moorviper Moorviper closed this Feb 1, 2021
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.

None yet

3 participants