Commit graph

24 commits

Author SHA1 Message Date
Duong Thai
a596e5ff6c refactor preview code 2023-11-24 00:15:41 +07:00
Duong Thai
2f7d45c67a move the control section to InfoPaneControls, fix the layout to make it self-contain 2023-11-23 23:04:14 +07:00
Duong Thai
a2379583ef fix data dependency, preview performance and layout out of InfoPane
- I move `UnselectedView` out to:
        1. narrow data dependency
        2. `InfoPane` should only care about displaying data, not whether an `Xcode` is selected
2023-11-23 23:03:01 +07:00
Duong Thai
4e55aac679 clean up code 2023-11-23 23:01:03 +07:00
Duong Thai
d406972e81 move and fix the InstalledStateButtons 2023-11-23 23:00:10 +07:00
Duong Thai
d172df68e3 move and fix the NotInstalledStateButtonsView 2023-11-23 22:58:49 +07:00
Duong Thai
d08d2d38e4 move and fix the UnselectedView
rebase main
2023-11-23 22:56:18 +07:00
Duong Thai
112829b553 rebase main 2023-11-23 22:53:15 +07:00
Duong Thai
05f5c2cebf rebase main 2023-11-23 22:49:10 +07:00
Duong Thai
cecceea62f remove openURL in InfoPane because ReleaseNotesView already has it 2023-11-23 22:46:22 +07:00
Duong Thai
77ca8a2571 move the compatibility view to CompatibilityView.swift 2023-11-23 22:46:22 +07:00
Duong Thai
f1fea6365c move release notes to ReleaseNotesView.swift
- narrow down interfaces of some functions
2023-11-23 22:46:22 +07:00
Duong Thai
03eb166c3d move icon to IconView.swift 2023-11-23 22:46:22 +07:00
Duong Thai
e56d83dbe3 move identical builds view to IdenticalBuildView.swift 2023-11-23 22:46:22 +07:00
Duong Thai
7079e062d2 move release date view to ReleaseDateView.swift
- I moved outside 2 lines of `.frame(maxWidth: .infinity, alignment: .leading)` because this layout job should belong to `InfoPane`
    - I added preview blocks for testing
2023-11-23 22:46:22 +07:00
lavare
5977210252 Panel parsing visionOS field 2023-06-26 16:44:25 +08:00
Daiki Matsudate
575a7269df Add copy release note url menu 2022-06-17 13:57:12 +09:00
Daiki Matsudate
564ca96149 Use string interpolation 2022-06-15 19:25:23 +09:00
Matt Kiazyk
1d22be649a
convert strings to support Localization 2022-04-17 21:29:51 -05:00
Matt Kiazyk
68838ecb4c
fix: better handling of opening duplicate builds 2021-10-08 15:56:29 -05:00
Teddy Newell
e1e2b97a9e InfoPane_Previews release date 2021-08-10 09:35:11 -07:00
Teddy Newell
0c14934e58 Add release date view to InfoPane 2021-08-05 17:34:16 -07:00
Brandon Evans
22894e2d6d
Move installation step beside cancel button in info pane 2021-02-18 19:20:08 -07:00
Matt Kiazyk
b06be4e3fa
Download stats for Aria2 2021-02-13 21:23:22 -06:00
Renamed from Xcodes/Frontend/XcodeList/InfoPane.swift (Browse further)