GithubHelp home page GithubHelp logo

gviewer's People

Contributors

chhsiao90 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

gviewer's Issues

Refine UI

  1. Support text markup on detail and summary
  2. Provide some pretty palette

Auto scroll down

Somebody need, somebody don't need.
So I planned to add a config argument to enable/disable auto scroll down when new message received and provide the functionality to auto scroll down.

Exception Handling

That gviewer seams to eat many exception and will be hard to debug if program had exception.
So need exception handling on some situation:

  • display summary
  • display detail

Maybe had an exception view for record these error is a good practice

Refine notification bar behavior

Currently, when notification happen, it need focus on the notification bar to make sure that the message would be cleanup correctly.
But it cause some user experience problem, that their next key(action) will not do anything but just clean up the notification bar and in-focus it.
I think there might be better solution for it!

Refine search behaivor

That when using GViewer with searching, it's hard to know that is in search mode or not.
That cause exit GViewer by accident.

I think it should display current search keyword at the bottom.

I can't install the module

The Error:

Defaulting to user installation because normal site-packages is not writeable
Collecting gviewer
  Using cached gviewer-3.0.6.tar.gz (22 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [8 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-install-mhbbda84/gviewer_59bd9eeb76e54fe4a0253fdd5ded538d/setup.py", line 10, in <module>
          with open(os.path.join(here, 'README.md'), encoding='utf-8') as f:
        File "/usr/lib/python3.10/codecs.py", line 905, in open
          file = builtins.open(filename, mode, buffering)
      FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-install-mhbbda84/gviewer_59bd9eeb76e54fe4a0253fdd5ded538d/README.md'
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

Quit with confirmation

Quit without confirmation will bring some bad user experience.
When user try quit from gviewer, it would open a user prompt to ask user really want to quit.

PropGroups handle with empty item

Traceback (most recent call last):
  File "/Users/han-pc/.pyenv/versions/mp-tmp/lib/python2.7/site-packages/gviewer/view/detail.py", line 71, in _open
    controller=self.controller, context=self.context),
  File "/Users/han-pc/.pyenv/versions/mp-tmp/lib/python2.7/site-packages/gviewer/view/detail.py", line 43, in __init__
    self.view = self.views[index][1].__call__(self.message)
  File "/Users/han-pc/workspace/python/microProxy/microproxy/viewer/tui.py", line 112, in response_view
    [gviewer.Prop(k, v) for k, v in response["headers"]]))
  File "/Users/han-pc/.pyenv/versions/mp-tmp/lib/python2.7/site-packages/gviewer/view/element.py", line 97, in __init__
    max_key_length = max(map(lambda p: len(p.kv[0]), items))
ValueError: max() arg is an empty sequence

Switching summary view bugs

There are bugs when switching summary view

  1. The [current number/max number] will update when each view update, and the number is not as our expected
  2. When switch to another summary view, the [current number/max number] didn't update immediately.

Update README.md

Because that public method from GVIewer had some major modifiaction (shorter, and cleaner).
Need update README.md for new interface

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.