Skip to content

URL bar enhancements #9

@gomarcd

Description

@gomarcd

Initially while throwing this together, URL bar was just a simple input tag, nothing less nothing more.

This should be reworked to have the visual appeal and usability improved:

  • Consider extent of input validation if any that makes sense to implement in this context
  • The HTTP protocol section of the URL should be muted or toned down while remaining selectable/editable as normal
  • URL bar text should not expand into/through the send button when lengthy text is entered
  • Method dropdown should have better styling when clicked and be more seamlessly integrated into the URL bar area
  • Pressing ESC should restore the current URL that was in the bar, just as a web browser URL bar behaves
  • Pressing Enter/Return should do the same as pressing the Send button
  • Pressing CMD+L or CTRL+L hotkey should focus the URL bar
  • Entering an endpoint with or without any HTTP protocol should "just work" - how exactly that flow should be could still be debatable, so far am thinking - if nothing is entered, try http:// first and if there is a redirect to https:// then follow that - but in either case, the protocol should end up being displayed consistently in the URL bar based on what the actual request response ended up using - ie, if I type in ip.now/1.1.1.1 then I would still end up seeing https://ip.now/1.1.1.1 in the URL bar after hitting enter, as that is what the request used

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions