★ wanayoo — archive 1999 https://github.com/RocketChat/Rocket.Chat.iOS/pull/2182Nouvelle recherche | Portail wanayoo
Skip to content
This repository has been archived by the owner. It is now read-only.

[IMPROVEMENT] Remove defaults to open.rocket.chat & add a new placeholder to the connection field #2182

Merged
merged 2 commits into from Sep 14, 2018

Conversation

@rafaelks
Copy link
Contributor

@rafaelks rafaelks commented Sep 10, 2018 •

@RocketChat/ios

This was a decision we made internally for both iOS and Android to avoid users getting automatically connected to our community server. Now the user will be forced to enter an URL in order to connect.

2018-09-14 08 48 17

@rafaelks rafaelks added this to the 3.2.0 milestone Sep 10, 2018
@rafaelks rafaelks added this to In Progress in Cycle 09: 09/05 ~ 09/27 via automation Sep 10, 2018
@rafaelks rafaelks requested a review from filipealva Sep 10, 2018
@codecov
Copy link

@codecov codecov bot commented Sep 10, 2018

Codecov Report

❗ No coverage uploaded for pull request base (develop@ca67cb7). Click here to learn what that means.
The diff coverage is 75%.

Impacted file tree graph

@@            Coverage Diff             @@
##             develop    #2182   +/-   ##
==========================================
  Coverage           ?   35.39%           
==========================================
  Files              ?      392           
  Lines              ?    18516           
  Branches           ?        0           
==========================================
  Hits               ?     6554           
  Misses             ?    11962           
  Partials           ?        0
Impacted Files Coverage Δ
...Controllers/Auth/ConnectServerViewController.swift 62.67% <75%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ca67cb7...2d16a8a. Read the comment docs.

@cardoso
Copy link
Collaborator

@cardoso cardoso commented Sep 11, 2018

Now that the placeholder is no longer a valid URL, I think the Connect button should be disabled until the user starts typing.

@rafaelks
Copy link
Contributor Author

@rafaelks rafaelks commented Sep 12, 2018

@cardoso That's a great suggestion, will work on that! :-)

@@ -97,6 +97,7 @@
// Socket Connection
"connection.title" = "Sign in to your server"; // TODO
"connection.button_connect" = "Connect"; // TODO
"connection.server_url.placeholder" = "your-company.rocket.chat"; // TODO

This comment has been minimized.

@Sameesunkaria

Sameesunkaria Sep 14, 2018
Collaborator

Should the placeholder look like a url at all? How about something like "Address for Rocket.Chat server" (or any other natural language string).

This comment has been minimized.

@rafaelks

rafaelks Sep 14, 2018
Author Contributor

@Sameesunkaria This was suggestion from @thiagosanchz... I think makes sense because you're telling the user how the entry should look like. 🤔

@rafaelks
Copy link
Contributor Author

@rafaelks rafaelks commented Sep 14, 2018

@cardoso Updated with your requested changes.

Copy link
Collaborator

@filipealva filipealva left a comment

Looking good!

Cycle 09: 09/05 ~ 09/27 automation moved this from In Progress to In Review / QA Sep 14, 2018
@rafaelks rafaelks merged commit 598062d into develop Sep 14, 2018
5 checks passed
5 checks passed
ci/circleci: lint Your tests passed on CircleCI!
Details
ci/circleci: test Your tests passed on CircleCI!
Details
codecov/patch No report found to compare against
Details
codecov/project No report found to compare against
Details
license/cla Contributor License Agreement is signed.
Details
Cycle 09: 09/05 ~ 09/27 automation moved this from In Review / QA to Done Sep 14, 2018
@rafaelks rafaelks deleted the improvement/remove_default_server_url_connect branch Sep 14, 2018
@rafaelks rafaelks modified the milestones: 3.2.0, 3.1.1 Sep 21, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Linked issues

Successfully merging this pull request may close these issues.

None yet

4 participants
You can’t perform that action at this time.