Describe the bug
Searching for scientific notation numbers does not produce any hits, but does highlight any matches. For example, we have a response that returns 7e-7 (equivalent to 0.0000007) and this is what I see:
Curiously, searching for the "normal form" of the number produces hits, but not highlight:
As far as I can tell, 7e-7 is a valid JSON number
JSON('{"i": 7e-7}')
=> {"i"=>7.0e-07}
To Reproduce
Tough to say, you'll have to set up a response with scientific-notation number value(s).
Expected behavior
Searching for "7e-7" etc. should produce hit(s) below the search bar like for any other search term.
Alternatively, maybe display the "normal form", aligning both UI and search-term representation.
Desktop:
OS: macOS 13.5.2 (22G91)
Chrome Version 116.0.5845.187 (Official Build) (x86_64)
Describe the bug Searching for scientific notation numbers does not produce any hits, but does highlight any matches. For example, we have a response that returns![secret_hit](https://github.com/warrenday/graphql-network-inspector/assets/2983624/2c845f67-91ca-4d07-ba29-8efa5b60579b)
7e-7
(equivalent to0.0000007
) and this is what I see:Curiously, searching for the "normal form" of the number produces hits, but not highlight:![hits](https://github.com/warrenday/graphql-network-inspector/assets/2983624/eac3f60f-7758-4921-aab9-51d521e1995a)
As far as I can tell,
7e-7
is a valid JSON numberTo Reproduce Tough to say, you'll have to set up a response with scientific-notation number value(s).
Expected behavior Searching for "7e-7" etc. should produce hit(s) below the search bar like for any other search term.
Alternatively, maybe display the "normal form", aligning both UI and search-term representation.
Desktop: