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

Implement App-level lastUrl tracking #4865

Merged
merged 16 commits into from
Sep 21, 2015

Conversation

spalger
Copy link
Contributor

@spalger spalger commented Sep 5, 2015

Fixes #4835
Fixes #4971

This change adds tracking of the lastUrl for each app so that every time the route changes the url is recorded to sessionStorage and can be recalled in the appSwitcher by calling chrome.getLastUrlFor(appId).

This includes tests for TabCollection, Tab, and the chrome's "apps" api.

@jbudz
Copy link
Member

jbudz commented Sep 9, 2015

Getting some strange redirect behavior
redirect

@jbudz
Copy link
Member

jbudz commented Sep 9, 2015

Sending back for the issue above and tests that aren't passing. Code style LGTM.

@jbudz jbudz assigned spalger and unassigned jbudz Sep 9, 2015
@spalger spalger removed the review label Sep 12, 2015
@rashidkpc rashidkpc added v4.3.0 and removed v4.2.0 labels Sep 14, 2015
spalger added 8 commits September 17, 2015 15:44
@spalger spalger force-pushed the implement/appLevelLastUrl branch from 7f6ac1e to 9f9bbe2 Compare September 18, 2015 18:49
@spalger
Copy link
Contributor Author

spalger commented Sep 18, 2015

rebased to not rely on #4755, changes brought the apps list into the chrome so fixed #4971 while I was here.

@spalger spalger assigned rashidkpc and unassigned spalger Sep 18, 2015
@rashidkpc rashidkpc assigned spalger and unassigned rashidkpc Sep 18, 2015
@spalger spalger force-pushed the implement/appLevelLastUrl branch 2 times, most recently from 8d4e702 to 2ecb277 Compare September 18, 2015 22:50
@spalger spalger force-pushed the implement/appLevelLastUrl branch 2 times, most recently from adac24f to 7fb0d0f Compare September 18, 2015 22:54
@panda01
Copy link
Contributor

panda01 commented Sep 21, 2015

One issue I see. When You get redirected to the status page for some error or another, you can't go to the kibana app.

I suspect this is because the URL is wrong.

@panda01
Copy link
Contributor

panda01 commented Sep 21, 2015

screen shot 2015-09-21 at 15 02 15

@panda01 panda01 assigned spalger and unassigned panda01 Sep 21, 2015
@spalger
Copy link
Contributor Author

spalger commented Sep 21, 2015

Yeah, I think that's outside of the scope of this issue. Created #4990.

@spalger spalger assigned panda01 and unassigned spalger Sep 21, 2015
@spalger spalger force-pushed the implement/appLevelLastUrl branch from 12944cc to b9c703a Compare September 21, 2015 21:42
@panda01
Copy link
Contributor

panda01 commented Sep 21, 2015

I can't find any other problems with this. LGTM!

@spalger spalger mentioned this pull request Sep 21, 2015
panda01 added a commit that referenced this pull request Sep 21, 2015
@panda01 panda01 merged commit 8c26282 into elastic:master Sep 21, 2015
@spalger spalger deleted the implement/appLevelLastUrl branch February 25, 2016 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants