Commit Graph

692 Commits

Author SHA1 Message Date
Angelo Stavrow
cc47028bb4
Add CollectionPicker below PostList and make it set PostList Title 2020-07-31 16:29:11 -04:00
Angelo Stavrow
32dba3e3ee
Add selectedCollection property to ContentView for selecting collection 2020-07-31 16:28:38 -04:00
Angelo Stavrow
97a02b8530
Add CollectionPicker view for testing collection-selection functionality 2020-07-31 16:26:37 -04:00
Angelo Stavrow
f8de848400
Make PostCollection type conform to Hashable 2020-07-31 16:25:31 -04:00
Angelo Stavrow
54d494ccef
Make PostList title mutable 2020-07-31 16:23:33 -04:00
Angelo Stavrow
235b36bd61
Move navigationTitle for list of posts from ContentView to PostList 2020-07-31 15:46:57 -04:00
Angelo Stavrow
1299754019
Add test data for use in SwiftUI previews 2020-07-31 15:40:23 -04:00
Angelo Stavrow
3c35e3e816
Add PostCollection type to Post type 2020-07-31 15:34:42 -04:00
Angelo Stavrow
64c62e6375
Remove package import until we're ready to use it 2020-07-31 15:16:02 -04:00
Angelo Stavrow
1ff66af2b3
Add basic PostCollection type 2020-07-31 15:14:53 -04:00
Angelo Stavrow
9a3a9dd0e0
Update change log 2020-07-31 13:59:22 -04:00
Angelo Stavrow
7e530dba57
Clean up SwiftLint warning 2020-07-31 13:59:10 -04:00
Angelo Stavrow
6cc144e210
Create new-draft and existing-post previews for PostEditor 2020-07-31 13:49:53 -04:00
Angelo Stavrow
260e61a4ed
Add new posts to the PostStore once the PostEditor appears 2020-07-31 13:49:19 -04:00
Angelo Stavrow
6f458ec5f3
Simplify new-post check in PostEditor 2020-07-31 13:46:03 -04:00
Angelo Stavrow
6fb33fd651
Set PostStatus to .published if Publish button is tapped in PostEditor 2020-07-31 13:44:30 -04:00
Angelo Stavrow
dd5a543e19
Add space between properties and body in App file 2020-07-31 13:40:40 -04:00
Angelo Stavrow
b8b0732be3
Don't pass PostStore into PostList, use EnvironmentObject instead 2020-07-31 13:35:15 -04:00
Angelo Stavrow
86e20f7414
Rename Collection group to PostCollection to avoid name collisions 2020-07-30 16:30:34 -04:00
Angelo Stavrow
a20f82cfa1
Add publish button to PostEditor 2020-07-30 16:25:30 -04:00
Angelo Stavrow
1c7e2128d6
Move post status badge to ToolbarItemPlacement.status position 2020-07-30 15:41:20 -04:00
Angelo Stavrow
932f3eee90
Move environmentObject to NavigationView so it passes to children 2020-07-30 11:08:59 -04:00
Angelo Stavrow
88b79ad97c
Merge pull request #1 from writeas/switch-license-to-gpl
Switch license to GPLv3
2020-07-30 10:49:29 -04:00
Angelo Stavrow
31543eb931
Update change log 2020-07-30 10:44:37 -04:00
Angelo Stavrow
7c1ac07978
Swift from AGPLv3 to GPLv3 2020-07-30 10:39:13 -04:00
Angelo Stavrow
9f63191e91
Make testPostStore mutable so we can append new drafts 2020-07-29 10:31:06 -04:00
Angelo Stavrow
641d022206
Add new posts to post store via EnvironmentObject 2020-07-28 17:11:01 -04:00
Angelo Stavrow
9a207528a7
Use ObservedObject property wrapper to sync changes to Post in editor 2020-07-28 14:12:24 -04:00
Angelo Stavrow
62d00d07b8
Move PostStatus enum to Post/Post.swift 2020-07-28 13:57:30 -04:00
Angelo Stavrow
f4d7790a23
Clean up excessive linebreaks 2020-07-28 13:46:20 -04:00
Angelo Stavrow
1c027c98dc
Remove borders around TextEditors for testing 2020-07-28 13:37:29 -04:00
Angelo Stavrow
85e99c720c
Use TextEditor views for both title and body of PostEditor 2020-07-28 13:36:33 -04:00
Angelo Stavrow
4b4608709e
Make Post object conform to ObservableObject 2020-07-28 12:45:11 -04:00
Angelo Stavrow
81581a7c02
Remove boilerplate file header comments 2020-07-28 11:20:21 -04:00
Angelo Stavrow
ca52aa9cef
Add default parameters for post title, body, and creation date 2020-07-28 11:19:18 -04:00
Angelo Stavrow
7f920e54dc
Pass Post into PostEditor, split title/body into TextField/TextEditor 2020-07-28 11:17:05 -04:00
Angelo Stavrow
896b5f73f7
Implement basic post store and list / editor UI components 2020-07-25 07:02:11 -04:00
Angelo Stavrow
ddb94eb4d0
Add project metadocuments 2020-07-22 11:54:01 -04:00
Angelo Stavrow
2463cc13d8
Add SwiftLint and sort out boilerplate warnings and errors 2020-07-22 10:17:11 -04:00
Angelo Stavrow
e08be286b1
Add WriteFreely package and remove boilerplate comments from files 2020-07-22 10:07:14 -04:00
Angelo Stavrow
781704da95
Add .gitignore file 2020-07-22 10:06:06 -04:00
Angelo Stavrow
b9dced1da0
Initial Commit 2020-07-22 09:57:10 -04:00