-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Landing page for deep linking to native app new #2299
Landing page for deep linking to native app new #2299
Conversation
1fa9cf6
to
ea67a13
Compare
FYI on this, our design team has a ticket queued this week for UI updates to the landing page and adding a selector for remembering the choice of opening in browser: https://mattermost.atlassian.net/browse/MM-11443 |
@esethna here is the PR to |
41fc609
to
dca9f44
Compare
f7c456f
to
12c7fdd
Compare
@dmeza would you be open to jumping on another call about this PR next week? Design team had some thoughts about an update to the landing page UX/UI: https://projects.invisionapp.com/share/RAQJY1U68NE#/screens/347225775_Title_-_Deep_Link_Landing_Page We would like to chat through if there are specific limitations technically as it is a bit of a deviation from the UX proposed in this PR. |
The designs look nice, but really are hard on custom branding. Please consider a good way to swap our images/names. Is it possible to accept the PR without a direct usage, the functionality is there and is very much needed in the platform. |
fc127e5
to
3a5caae
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, good point on custom branding. We can work on that.
@dmeza seems there might be some functionality issues on the PR (unless I'm testing incorrectly by adding the /vault#/ in the url?)
- It seems to redirect to Mattermost in browser after the landing page is open for a few seconds.
- What's expected when the user clicks "Download and open in Mattermost"? Right now I'm getting a "Team not Found" page
- Opening in desktop from the pop-up dialog doesn't seem to do anything - no response after clicking Open Mattermost.
Regarding UX questions for the improved landing page design:
4. Is a system pop-up page necessary or can we get them to click the "View In Desktop" button here. We looked at some other apps and I recall finding some that did not launch a system dialog from the landing page.
5. Related to above, if we can eliminate the system pop-up dialog, can we have a "Remember my preference" button on the landing page itself that would apply to the "View in Mattermost" or "View in Browser" buttons?
6. Can we detect if the user has Mattermost installed and change the landing page UI if so? ie this page if they do, this page if they don't. Notice the buttons are different.
7. If you've got mattermost installed and want it to remember that it opens in app, does the browser tab open every time?
- Expected: Just opens the desktop app to last viewed location
Regarding 4-9, we are just trying to understand what technical restraints we have so we can find an optimum design and UX.
Hey @esethna here are some comments. I think it would be easier to understand if get in a call to discuss and decide changes:
It was thought as a way to get the user to the message result even if they don't take an action. It can be removed if the flow doesn't make sense.
To make testing easier I added a hack to always go to the production desktop domain (pre-release). In the server you're testing it might be that the team or channel is not available in pre-release. I can remove it and you can do full testing with it.
I'd like you to show me when it's happening.
It will need to happen since you're telling the OS to allow access to that protocol. That's not optional.
The view on the browser button can be set to always to de redirect and not go to the protocol.
The browser can not detect it since it's an OS installed application. Let me know if you'd like to discuss. |
b19be62
to
b7d2dff
Compare
This issue has been automatically labelled "stale" because it hasn't had recent activity. /cc @jasonblais @hanzei |
@esethna What is the status on this ticket? Is this ready for review? |
b7d2dff
to
3ce0cf0
Compare
- Add protocol detection for desktop app - fixup to protocol - Moved logic to new router - Renamed folder to be more descriptive. Created proper PureComponent. Fix all issues related to string replacements. Fixed timeOut not working.
…ext messages to match new logic.
3ce0cf0
to
8682eb8
Compare
@csduarte was hoping to get your feedback regarding ease of custom branding in this proposed design: Note that the images have transparencies for shapes in the left hand sidebars and background, so you will have to add the image in a
|
@esethna sorry for the delay, I think it's good. So long as there is any hardcoded branded imagery, it's fine. |
Hey @esethna, What are the next steps for this PR? |
@hanzei we need to get final approval on the designs then see where we can schedule this in for development. No immediate updates, we can change this to a WIP PR |
This issue has been automatically labelled "stale" because it hasn't had recent activity. /cc @jasonblais @hanzei |
FYI we will be picking this back up now internally. |
Closing in favour of #4455 |
NOTE: @esethna @enahum The original PR got closed and contains the history of revisions and conversations that we had: #208
These changes add a new route vault to a landing page that allows to fire the protocol to native client if installed or give the user the option to download the native app or redirects to the webapp after 5 seconds.
This is an example if the native app is installed and the protocol is successfully registered:
>
<
Ticket Link
https://mattermost.atlassian.net/browse/MM-8255
mattermost/desktop#628
Checklist
make check-style
to check for style errors (required for all pull requests)make test
to ensure unit and component tests passed