Skip to content

Commit a759891

Browse files
dvandyy0xWDG
andauthored
added tooltips for btns in navigator bottom toolbar (#1668)
* added tooltips for btns in navigator bottom toolbar * Update CodeEdit/Features/NavigatorArea/FindNavigator/FindNavigatorToolbarBottom.swift --------- Co-authored-by: Wesley de Groot <email@wesleydegroot.nl>
1 parent 05a40da commit a759891

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

CodeEdit/Features/NavigatorArea/FindNavigator/FindNavigatorToolbarBottom.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ struct FindNavigatorToolbarBottom: View {
2727
: Color(nsColor: .controlAccentColor)
2828
)
2929
.padding(.leading, 4)
30+
.help("Show results with matching text")
3031
},
3132
clearable: true
3233
)

CodeEdit/Features/NavigatorArea/ProjectNavigator/ProjectNavigatorToolbarBottom.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,18 @@ struct ProjectNavigatorToolbarBottom: View {
4141
? Color(nsColor: .secondaryLabelColor)
4242
: Color(nsColor: .controlAccentColor)
4343
)
44+
.help("Show files with matching name")
4445
},
4546
trailingAccessories: {
4647
HStack(spacing: 0) {
4748
Toggle(isOn: $recentsFilter) {
4849
Image(systemName: "clock")
4950
}
51+
.help("Show only recent files")
5052
Toggle(isOn: $sourceControlFilter) {
5153
Image(systemName: "plusminus.circle")
5254
}
55+
.help("Show only files with source-control status")
5356
}
5457
.toggleStyle(.icon(font: .system(size: 14), size: CGSize(width: 18, height: 20)))
5558
.padding(.trailing, 2.5)

CodeEdit/Features/NavigatorArea/SourceControlNavigator/Views/SourceControlNavigatorToolbarBottom.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ struct SourceControlNavigatorToolbarBottom: View {
3434
: Color(nsColor: .controlAccentColor)
3535
)
3636
.padding(.leading, 4)
37+
.help("Filter Changes Navigator")
3738
},
3839
clearable: true
3940
)

0 commit comments

Comments
 (0)