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

[Feature] Add origin-only toggle for URL display #36970

Open
ChronSyn opened this issue Dec 29, 2023 · 0 comments
Open

[Feature] Add origin-only toggle for URL display #36970

ChronSyn opened this issue Dec 29, 2023 · 0 comments
Labels
feature-request OS/iOS Fixes related to iOS browser functionality

Comments

@ChronSyn
Copy link

ChronSyn commented Dec 29, 2023

Problem Description

The address bar no longer shows the full URL.

Certain apps will open the users browser (Brave) and automatically authenticate them - e.g. for account management purposes. This will generally send the user through multiple URL's. In some cases, this authentication may fail and send the user to an unauthenticated page - e.g. the home page of the brand, or even a login page.

It is often possible for users to identify if the authentication has failed by the full address without waiting for the entire page to load. For example, if a user sees that it's sent them back to example.com/no-auth, they can decide if they want to close the tab immediately instead of waiting and attempt the action again (i.e. activation from within the app that originally triggered the browser to open). In the current design which shows only the origin, the user has no way of pre-emptively identifying if this is the case and must now wait for the page to load entirely.

Feature Overview

I would like to propose an option to toggle this behaviour. I respect that some people want origin-only display, but I expect the full URL to be always visible.

Design

https://i.imgur.com/kD5fD8J.png

(Please note that the icon and wording are open to being changed to alternatives as you deem appropriate)

Implementation Details

The implementation would involve several parts:

  1. Implementation of a toggle within 'Appearance' settings (location of this could be set somewhere else though if deemed appropriate)
  2. Integration with existing mechanisms to save the user preference between app sessions
  3. Integration with existing mechanisms to load the user preference when the app is launched
  4. Adjustment of the URL display mechanism to display either origin-only, or full URL, based upon user preference

User Experience

  1. The user won't interact with the feature per-se, but it would be something they could see in action by looking at the address bar

Additional information

This functionality was changed in the commit brave/brave-ios@132cd14 which was included as part of PR brave/brave-ios#8417 . A previous occurrence of this issue was also mentioned on the forums at https://community.brave.com/t/always-show-full-urls-ios/466724

I respect that there are people that want origin-only URL display, but there are people that find significant value in the previous implementation which shows the full address. Even if every other browser is showing origin-only, that shouldn't be a signal to Brave to do exactly the same thing - rather, it's a perfect opportunity for Brave to go beyond the competition by giving the users choice of how they want their UX.

@kylehickinson kylehickinson transferred this issue from brave/brave-ios Mar 20, 2024
@kylehickinson kylehickinson added the OS/iOS Fixes related to iOS browser functionality label Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request OS/iOS Fixes related to iOS browser functionality
Projects
None yet
Development

No branches or pull requests

2 participants