Skip to content

Add custom server URL on iOS login screen - #2111

Open
ibeckermayer wants to merge 1 commit into
samuelclay:mainfrom
ibeckermayer:custom-domain-in-login
Open

Add custom server URL on iOS login screen#2111
ibeckermayer wants to merge 1 commit into
samuelclay:mainfrom
ibeckermayer:custom-domain-in-login

Conversation

@ibeckermayer

Copy link
Copy Markdown

I wanted this for my own purposes so wired it up:

image image

Let users set custom_domain before login via a collapsible Advanced
section on LoginViewController. Persist trimmed input through
setCustomDomainPreference: and clear cachedURL so API calls pick up
the new origin immediately without restarting.

Wire logged-in Settings.bundle custom_domain changes through
FeedsObjCViewController settingDidChange. Disable autocapitalization
in createTextField for all login inputs. Add table-driven tests for
bare, https, and http hostnames plus whitespace and clear cases.
@samuelclay

Copy link
Copy Markdown
Owner

Not bad but I'd want it to match Android. I'm on a retreat right now so I can't pull it up, but if you prompt your agent to look at how we do it on Android, it might come up wiht the same UI. And post a screenshot, if it looks good I'd gladly merge it in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants