Commit graph

10 commits

Author SHA1 Message Date
kingbri
1600f17312 Ferrite: Clean up UI changes
- Migrate the empty view to a common view which vertically centers
itself to the screen's bounds

- Don't initialize underlying state variables in init as this is
discouraged behavior. Instead, hook the source list editor to an ID
that refreshes when an existing source list URL has been set

Signed-off-by: kingbri <bdashore3@proton.me>
2022-09-05 14:58:02 -04:00
kingbri
541264d297 Sources: Fix searchbar behavior
Cancelling the search now actually cancels the search.

Signed-off-by: kingbri <bdashore3@proton.me>
2022-09-05 12:47:32 -04:00
kingbri
16a39c3a58 Ferrite: Properly inline lists
The inset grouped list style has a top inset that adds extra space
between the navigation bar title and the list rows. Use introspect
to remove this space on UITableView and UICollectionView (for iOS 16).

Sections completely ignore the introspect changes, so add a section
header which removes the list row insets.

Signed-off-by: kingbri <bdashore3@proton.me>
2022-09-05 12:47:32 -04:00
Skitty
b4fe3807d6
Use ProgressView instead of ActivityIndicator 2022-09-04 18:07:31 -05:00
Skitty
62ace0bf8a
Add sources page searching
- Fix table top inset
2022-09-04 17:58:17 -05:00
Skitty
94804e0e8b
Various UI tweaks
- Make about header scrollable
- Add no sources text
- Add no source lists text
- Make edit source list start with current url
- Add loading indicator for versions
2022-09-04 14:14:34 -05:00
kingbri
530d107218 Ferrite: iOS 14 backport
Add backports to get Ferrite working on iOS 14.

Signed-off-by: kingbri <bdashore3@gmail.com>
2022-08-31 18:46:47 -04:00
kingbri
bb481f471e Ferrite: Format
Signed-off-by: kingbri <bdashore3@gmail.com>
2022-08-31 00:41:38 -04:00
kingbri
ff23a854ef Sources: Add source updating and source list edits
Sources can now be updated based on the repo ID. To preserve repo IDs
across single URL links, the source lists can be edited and the ID
is transferred over.

Signed-off-by: kingbri <bdashore3@gmail.com>
2022-08-31 00:41:38 -04:00
kingbri
1eb4bbb59a Views: Cleanup
Signed-off-by: kingbri <bdashore3@gmail.com>
2022-08-31 00:41:38 -04:00
Renamed from Ferrite/Views/SourceListView.swift (Browse further)