Render more properties from q=source #132
Labels
No labels
Code
Contacts
Design
F-Droid
IndieWeb
Location
Mastodon
Media
Pixelfed
Pleroma
Posting
Question
Reader
Tracker
Translation
Usability
bug
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
inhji/indiepass-android#132
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Was just trying out the posts list query and although it grabbed my list of posts, it didn't handle formatting them very well. This may be a case of supporting displaying more property types, or there might be some mf2 to jf2 conversion you can do to improve the display of the posts
So far I have noticed the following properties are hidden:
summaryfeaturedlike-ofbookmark-ofphotocategorypublishedvisibilitypost-statusAlso since I return an object with
htmlandvaluein thecontentproperty, that is not rendered correctly.Expected behavior
I wouldn't expect indigenous to support rendering and editing all of these properties, although the most important ones personally would be
post-status,photo,category,visibiltyand fixingcontent. And on the post list if the post would end up being rendered as blank like in my screenshot, it should at least show the url.I would also like to see that data in the edit screen, not a blank form. And I think the form should show all unrecognized properties properties (just as json is fine), so that you know you aren't going to lose any data. I was a bit worried about actually doing an update as I don't know if it is going to replace everything or just the new content I write.
Screenshots

I wonder if it's fine to ellipsize the content to say 2 lines or so ?
As for the current update screen: this is related to https://github.com/swentel/indigenous-android/issues/114 - I don't have support for that yet in the client, so clicking on update passes on the url and that's it.
When you would hit the send button on an update screen, only the properties which are not empty, except for the post status are send along in the payload. However, I agree, it's currently not optimal at all :) In the end, the goal is that the proper 'post' screen is selected, with all values pre-populated, so I need to do some post-type discovery first.
I'll be working on this towards Berlin, so I hope to get it finished by then!
Perfect, sounds like a good plan.
Feel free to let me know if you want some testing, I think I might be the only other android user that supports all these micropub query features at the moment :P
There's a new release. It's rendering some more properties already, but it's not fully done yet, stay tuned :)
I also have the content problem with returning an object @grantcodes mentioned
Working on this a bit, both on the Drupal side, and then here: the content object, is it inside an array also ? or not. Same question for the author basically.
Baby steps: the overview now handles content when the first key in the array is
Next step is update: getting the right post screen and calling q=source&url={url}
This fix will probably will come in a release in a few days already though.
Data is fetched from the server now for an update. Closing this for now, it's fine for my use case at the moment. Other properties are way more complex, at that point, I have my content more easily updated in my cms ;)