selenium-ide icon indicating copy to clipboard operation
selenium-ide copied to clipboard

Feature request: Show complete URL in playback control window

Open BartolomeSintes opened this issue 1 year ago • 6 comments

🚀 Feature Proposal

It would be nice if the playback control window would show the full url of the page shown in the playback window. Its size could be expanded to cover all the available horizontal space. If the url is larger than the available space, it should be possible to click on it and move with cursor keys to the right, like the url bar of any browser. imagen

BartolomeSintes avatar Jan 22 '24 17:01 BartolomeSintes

@BartolomeSintes - Interesting! Yeah, I was going back and forth on this. Last version, I started removing the project.url segment from the tab if its a match, but there's a lot to consider. I might even want to append some grey read only text to the main url field indicating the current focused tab pathname. There are a lot of improvements that can be made around this stuff. I also want to add a tab creation control. There's a function getLastPlaybackWindow in the backend used by the playback and recorder systems, which should just be able to instead take whatever tab is focused.

toddtarsi avatar Jan 23 '24 15:01 toddtarsi

Also ugh I need to add that offset on windows. That's going to happen very near term.

toddtarsi avatar Jan 23 '24 15:01 toddtarsi

@BartolomeSintes - I keep coming close to this one and backing off. Sometimes I think I want the URL, other times I think I want the name of the test driving the tab, etc. I agree that this could be improved without hard truncation. I'll look at expanding the max width on the tab at least so it can get longer. I think I'm going to maybe add a ghost effect to the url bar showing the current tab url as a path on the project url, or in parens as a url if it doesn't match.

I think tabs need the following changes:

  1. Better highlighting of displayed vs focused tab. I thought these states were initially synonymous and they ain't.
  2. Better broadcasting of current "claiming" system (recorder, suite / test playback, etc)
  3. Better displaying of full url (may use address bar for this)

toddtarsi avatar Feb 05 '24 15:02 toddtarsi

In alpha 98 when you repeat a test, several tabs are shown, but I do not know if there is a purpose. imagen If you click the tabs, nothing seems to happen. If you close one tab, all the tabs are closed. I would say I would prefer only one tab (long enough to show tab title). Perhaps the tab could show two lines of text (title and url). Or the URL could be hidden in a button, like in github code page imagen By the way the URL text box above the tabs is useless to me, as it does not show the full url, but I suppose it is useful in other use cases.

BartolomeSintes avatar Feb 15 '24 20:02 BartolomeSintes

You have a point. I can place the search bar below the tab level and drive the value that way. I'll look at doing that change later.

EDIT: A challenge of the search bar is that a project's base url is something I want to make configuring really simple and evident, and I'd like to shore that up with a tab url. But I think its better to connect the address bar with active tabs and support people having some common elements to it.

The tabs are something I'm still getting correct. The UX there needs a lot more tuning. I want there to be some visual understanding of which tabs correspond to which tests. I'm considering doing away with tabs on the test pane and instead doing a split pane view for suites.

toddtarsi avatar Feb 16 '24 02:02 toddtarsi

@BartolomeSintes - I think you will find the experience here drastically improved in the latest beta. I've basically just given up and am doing the browser thing 😅

toddtarsi avatar Mar 22 '24 06:03 toddtarsi