You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Any text input in the search filter carries over from GitHub to Enterprise tab, and vice-versa. Should the filter be cleared if the user navigates to another tab? I noticed some visual performance lags due to this. My repo lists have already been loaded, yet any search filter carried over causes me to wait some time for the list to load again. The the filter was cleared, the list is immediately searchable.
I noticed some performance lags due to this. My repo lists have already been loaded, yet any search filter carried over causes me to wait some time for the list to load again.
Looking over that screenshot of Chrome Dev Tools, it's looking as if no data is actually being transferred since the 304 HTTP code is being shown. Are you saying we shouldn't reload the list when the user switches tabs?
@iAmWillShepherd I removed the text in the body as requested. Was gonna eventually split them up but wasn't sure they were all worthy... but thanks for doing so!
Yes, see the dupe now. Forgot about that one.
Looking over that screenshot of Chrome Dev Tools, it's looking as if no data is actually being transferred since the 304 HTTP code is being shown. Are you saying we shouldn't reload the list when the user switches tabs?
Implementing the clear on the tab switch will resolve my concern, which is that it interferes with the (visual) loading of the data. I experienced a delay in seeing my list as the app was doing a search at the same time.
Implementing the clear on the tab switch will resolve my concern, which is that it interferes with the (visual) loading of the data. I experienced a delay in seeing my list as the app was doing a search at the same time.
@tierninho Wouldn't that mean that when switching back again to the first tab the previously entered text would be lost? Is that the desired behavior?
@tierninho When I said "previously entered text" I meant the text entered when you were in that tab originally before switching, like this...
In Enterprise tab, user types 'enterprise repo'
Click Github tab, filter is cleared, doesn't have the text 'enterprise repo' anymore.
Click Enterprise tab again... here do we want the text-box to still be blank, or should it have the original text 'enterprise repo' before step 2 ? In other words, should each tab "remember" what its filter was ? With your suggestion, implementing clear on each tab switching would mean the filter would be always blank when switching to any tab regardless, which is what I was wondering (?)
I went ahead and pushed a PR with the initial suggested behavior in #3787. I also comitted the behavior I suggested in another branch and linked it there so we can compare.
Activity
[-]Clone Repository [/-][+]Possible edit to the Clone Repository modal[/+][-]Possible edit to the Clone Repository modal[/-][+]Possible edits to the Clone Repository modal[/+]iAmWillShepherd commentedon Jan 8, 2018
This should be split into separate issues. Check over the issues I've created to make sure I've captured everything.
Also, I didn't want to edit your body, so would you mind removing the pieces I created a separate issue for?
iAmWillShepherd commentedon Jan 8, 2018
Looking over that screenshot of Chrome Dev Tools, it's looking as if no data is actually being transferred since the 304 HTTP code is being shown. Are you saying we shouldn't reload the list when the user switches tabs?
iAmWillShepherd commentedon Jan 8, 2018
Also, just noticed one of these items is a duplicate of #3629
tierninho commentedon Jan 8, 2018
@iAmWillShepherd I removed the text in the body as requested. Was gonna eventually split them up but wasn't sure they were all worthy... but thanks for doing so!
Yes, see the dupe now. Forgot about that one.
Implementing the clear on the tab switch will resolve my concern, which is that it interferes with the (visual) loading of the data. I experienced a delay in seeing my list as the app was doing a search at the same time.
iAmWillShepherd commentedon Jan 8, 2018
Ahh, got it.
[-]Possible edits to the Clone Repository modal[/-][+]Clear filter text when switching tabs[/+]reyronald commentedon Jan 12, 2018
@tierninho Wouldn't that mean that when switching back again to the first tab the previously entered text would be lost? Is that the desired behavior?
tierninho commentedon Jan 12, 2018
@reyronald Yes, that would be the intention, as any text entered would likely be relevant only to GitHub.com or Enterprise repos.
One could argue either way I suppose. 🤔
reyronald commentedon Jan 12, 2018
@tierninho When I said "previously entered text" I meant the text entered when you were in that tab originally before switching, like this...
tierninho commentedon Jan 12, 2018
Ah gotcha, I hadn't considered step 3. I will leave the decision up to our core members and design team.
Thanks for pointing out the additional use case!
reyronald commentedon Jan 13, 2018
I went ahead and pushed a PR with the initial suggested behavior in #3787. I also comitted the behavior I suggested in another branch and linked it there so we can compare.
Clear repository filter text when switching tabs
shiftkey commentedon Feb 28, 2018
This was fixed in #3787. Thanks again @reyronald!
reyronald commentedon Feb 28, 2018
@shiftkey my pleasure!