-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add support for searching settings * code cleanup and fixes * respond to some review comments from @austincondiff, * highlight the containing letters/word * partially working "non grouping" settings search * fully working non grouping settings. * fix swiftlint and remaining bugs * final fixes and documentation * bug fixes and remove swiftlint:disable * remove uneeded code * rename file and make text primary when there is no search text * partially respond to @wouter's comments by adding a dictionary for settings translation and add locationsSettings for better search results * changes * fix swiftlint * final fix for swiftlint * refactoring * edit docs for adding new setting/settings page * refactoring * fix swiftlint * restructure SettingsPage.swift * partially fix review * fully fix review * fix minor UI bugs * remove uneeded font parameter * fix weird looking text * remove swiftlint disable * fix remaining swiftlint errors * Update CodeEdit/Features/Settings/Pages/AccountsSettings/Models/AccountsSettings.swift Co-authored-by: Austin Condiff <austin.condiff@gmail.com> * remove unneeded `internal` * apply suggestions from 0xWDG's review Co-authored-by: Wesley de Groot <email@wesleydegroot.nl> * Fix swiftlint errors --------- Co-authored-by: Austin Condiff <austin.condiff@gmail.com> Co-authored-by: Wesley de Groot <email@wesleydegroot.nl>
- Loading branch information
1 parent
4ad6eb8
commit 5122227
Showing
35 changed files
with
662 additions
and
292 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// | ||
// PageAndSettings.swift | ||
// CodeEdit | ||
// | ||
// Created by Raymond Vleeshouwer on 10/07/23. | ||
// | ||
|
||
import Foundation | ||
|
||
struct PageAndSettings: Identifiable, Equatable { | ||
let id: UUID = UUID() | ||
let page: SettingsPage | ||
let settings: [SettingsPage] | ||
|
||
init(_ page: SettingsPage) { | ||
self.page = page | ||
self.settings = SettingsData().propertiesOf(page.name) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.