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

show all possible result types instead of one user-defined choice? aka Automatic mode? #5

Open
meowsbits opened this issue Dec 23, 2019 · 0 comments
Labels

Comments

@meowsbits
Copy link
Member

Is your feature request related to a problem? Please describe.

I have to do a rather lot of clicking to be explicit about the conversions I want. Maybe we could save a few clicks by doing all conversions instead manually-registered one-offs, so user can just select (read, choose to interpret) desired output from set of results.

Currently steps are:

  1. Enter value.
  2. Select input type (Hex <-> String/Number/Date)
  3. Select output type (eg. String/Number/Date).
  4. Do something with output (read, copy, whatever)

Describe the solution you'd like

I'm wondering if the interface can be simplified to convert between all formats simultaneously at least for hex input, leaving the user's only job being:

  1. Enter value.
  2. Read output(s).

So when converting from Hex, all possible result types (String, Number, Date) are shown.

Next level might be to use regexs to infer value type, and be able to remove having to manually swap between Hex // Other input data types, and to show only plausible/non-"erroring" return values given an arbitrary input (hide NaN results, etc).

Eg.

Value: ____________

⬇️

Value: 0xd3________

➡️

  • From Hex ( 0xd3 )

-> Number = 211
-> String = �
-> Date = Wed Dec 31 1969 18:03:31 GMT-0600 (Central Standard Time)

  • From String ( 0xd3 )

-> Hex = 0x30786433

  • From Number ( 0xd3 )

    -> Hex = 0x0

  • From Date ( 0xd3 )

    -> Hex = NaN

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant