You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge remote-tracking branch 'origin/trunk' into merge/release-19.7-into-trunk
Got a conflict in
`WordPress/Classes/ViewRelated/Site Creation/Site Name/SiteNameView.swift`
because:
- 0caf937 changed it on `trunk`
- 3be617f changed in on `release/19.7`
The commit on `trunk` was older (by one day) but the code it results
with seems better to me because it doesn't use arbitrary emojis as
delimiters for the selected site name.
I ensured the app built, but did not run the tests locally or manually
verified the how the screen where `SiteNameView` is used renders.
The conflict was:
```diff
diff --cc WordPress/Classes/ViewRelated/Site Creation/Site Name/SiteNameView.swift
index 28af882,85375f6e2b..0000000000
--- a/WordPress/Classes/ViewRelated/Site Creation/Site Name/SiteNameView.swift
+++ b/WordPress/Classes/ViewRelated/Site Creation/Site Name/SiteNameView.swift
@@@ -144,15 -142,11 +144,23 @@@ private extension SiteNameView
/// Highlghts the site name in blue
func setupTitleColors() {
++<<<<<<< HEAD
+ // enclose the vertical name between two characters that are not in the title
+ // (and reasonably never will..) to distinguish it from any substring in the title
+ let selectedVerticalName = "😎" + siteVerticalName + "🙃"
+ let fullTitle = String(format: TextContent.title, selectedVerticalName)
+ var attributedTitle = NSMutableAttributedString(string: fullTitle)
+ // Use default title if the vertical name is empty or too long
+ guard let range = fullTitle.nsRange(of: selectedVerticalName),
+ !siteVerticalName.isEmpty,
+ siteVerticalName.count <= Metrics.verticalNameDisplayLimit else {
++=======
+ // find the index where the vertical name goes, so that it won't be confused
+ // with any word in the title
+ let replacementIndex = NSString(string: TextContent.title).range(of: "%@")
+
+ guard !siteVerticalName.isEmpty, replacementIndex.length > 0 else {
++>>>>>>> origin/trunk
titleLabel.setText(TextContent.defaultTitle)
return
}
```
Copy file name to clipboardExpand all lines: RELEASE-NOTES.txt
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,11 @@
1
1
19.8
2
2
-----
3
-
3
+
* [**] Self hosted sites are not restricted by video length during media uploads [https://github.com/wordpress-mobile/WordPress-iOS/pull/18414]
4
+
* [*] [internal] My Site Dashboard: Made some changes to the code architecture of the dashboard. The majority of the changes are related to the posts cards. It should have no visible changes but could cause regressions. Please test it by creating/trashing drafts and scheduled posts and testing that they appear correctly on the dashboard. [#18405]
5
+
* [*] Quick Start: Updated the Stats tour. The tour can now be accessed from either the dashboard or the menu tab. [#18413]
6
+
* [*] Quick Start: Updated the Reader tour. The tour now highlights the Discover tab and guides users to follow topics via the Settings screen. [#18450]
7
+
* [*] [internal] Quick Start: Refactored some code related to the tasks displayed in the Quick Start Card and the Quick Start modal. It should have no visible changes but could cause regressions. [#18395]
8
+
* [**] We'll now ask users logging in which area of the app they'd like to focus on to build towards a more personalized experience. [#18385]
puts"#{file_path}:#{line_no+1}:#{col_no+1}: error: Use `AppLocalizedString` instead of `NSLocalizedString` in source files that are used in the `#{target_name}` extension target. See paNNhX-nP-p2 for more info."
# Use this to run a Ruby script from a "Script Build Phase" from Xcode.
4
+
#
5
+
# Since shell scripts ran by Xcode do not source the user shell profile, typical user setups like the configurations of `rbenv` or `rvm` would not be set up properly.
6
+
# This script check if either `rbenv` or `rvm` is installed on the Mac and runs the setup steps as appropriate, before running the ruby script via `bundle exec`
0 commit comments