#dev 2020-07-26

2020-07-26 UTC
[tantek] joined the channel
#
aaronpk
so implementing draft scope was super easy and also so cool
#
GWG
If you have the 'create' scope, is it assumed you can create pages or just posts?
#
aaronpk
both for me since the internal difference is just the URL
#
GWG
Just looking at the scope descriptions
#
GWG
Who uses undelete as a scope? I don't see anyone. Wouldn't that move it to brainstorming?
#
craftyphotons
Was super inspired by today's session and bootstrapped my site backend from zero to a functioning /micropub?q=config endpoint complete with an oauth provider! https://github.com/craftyphotons/singulus
#
craftyphotons
Still impressed with how quickly one can get up and running on Rails with more advanced things like OAuth
#
[tantek]
aaronpk++ congrats on the move! that's a pretty big deal!
#
Loqi
aaronpk has 67 karma in this channel over the last year (243 in all channels)
#
[tantek]
reviewed the intro meta bits and they all look good!
#
[tantek]
I see two Conformance sections though. a "2. Conformance" and right after a "Conformance" heading
#
[tantek]
both defining "The key words "… however with different ordered lists! not even sure how that is possible
#
[tantek]
reskimming the spec, gosh this is a one of the better written W3C specs
#
[tantek]
what is post-status
#
Loqi
post status is anything from a super simple draft/published status to a super complicated editorial workflow that handles everything from idea to editorial approval to deleted status https://indieweb.org/post_status
#
[tantek]
hmm, per you earlier point aaronpk, perhaps we should alter that use of "simple". I'll try something... but first ...
#
aaronpk
Good catch
oodani joined the channel
#
[tantek]
I have another one coming but I figured that one should come first on its own 🙂
#
[tantek]
Ironically I started the second one first, then got the "It looks like this is your first time opening a pull request in this project! Be sure to review the contributing guidelines and code of conduct." notice, clicked the links and was like hey, that's not right 🙂
#
[tantek]
I know I know I actually clicked the links instead of dismissing the pop-up. I realize that's not typical for users
#
[tantek]
alright second pull filed. aaronpk, hoping to make up for being so argumentative in #microformats 🙂
#
GWG
[tantek]: I call it passion
#
[tantek]
thanks GWG, your perspective is helpful, as always
#
GWG
I like spirited debate also
#
GWG
I got several items today I wanted to discuss
#
[tantek]
GWG, I recall you being pretty passionate about post-status
#
[tantek]
I'm curious if you ever thought about calling it publish-status
#
GWG
[tantek]: No, only because I am using the WordPress term post status
#
[tantek]
a-ha re-using the term from an existing vocabulary. that's a good starting point
#
GWG
I have to do some homework
#
GWG
Look at prior art in EXIF for the media endpoint return and look at location tagging interfaces for the query for location
#
GWG
I spent a lot of time with EXIF and time-stamping
#
[tantek]
GWG, I don't think anything about post-status is "super simple"
#
GWG
[tantek]: Agreed, but since I have something that does that, I just chose to use it
#
[tantek]
wow there's lots in those screenshots
#
[tantek]
GWG, the deleted aspect is independent of status IMO
#
GWG
Correct.
#
[tantek]
hmm I feel like a flow chart could be useful for post-status
#
GWG
That I do agree with
#
[tantek]
GWG, I'm having trouble understanding the flow across all the screenshots
#
[tantek]
so I may attempt something
#
[tantek]
and may need your review
#
GWG
Happy to help
#
[tantek]
what is post status
#
Loqi
post status is information about various stages that a post can be in, from draft to published, and editorial workflow stages in between, like awaiting editorial approval, as well as varying visibility and whether a post is explicitly scheduled for publication https://indieweb.org/post_status
[chrisaldrich] joined the channel
#
[tantek]
GWG ^ review please
#
craftyphotons
aaronpk: is there a preferred precedence order if someone were to send both an h and some props, as well as action=delete and a url to a micropub endpoint?
#
craftyphotons
(simultaneously I mean)
#
[tantek]
GWG, it seems to me that "post status" the way WordPress treats it also overlaps a bit with how GitHub treats pull requests, e.g. asking for reviews, people approving etc.
#
GWG
[tantek]: That isn't Core though.
#
GWG
Oh,, you mean pending review, not the custom statuses.
#
[tantek]
correct
#
[tantek]
so if there's pending review, shouldn't there also be "reviewed" (but not published?)
#
[tantek]
or is it implied that after something is reviewed then it is automatically published?
#
GWG
Looking at the low level defaults
#
GWG
[tantek]: So yes. It is awaiting someone with public capability to publish
#
GWG
Whereas draft is 'incomplete'
#
[tantek]
GWG, couldn't "pending review" also be used to get someone to proofread a post before you publish it? that is, the proofreader is not going to publish it, but may edit it and then hand it back to you to verify that the edits they made were correct
#
GWG
[tantek]: Yes
#
GWG
Pending isn't as useful on single user sites, which is what we talk about the most in the Indieweb community, which is probably why editor workflows haven't come up as much
#
[tantek]
it's totally useful for folks that know they make lots of typos and want a friend to check their posts for them (and maybe even fix typos for them!)
[tw2113] and prologic joined the channel
#
prologic
Hey all. Just curious. Anyone willing to help me out with some UI/UX / CSS work on https://twtxt.net/ ? I _could_ probably even maybe pay you a bit for your effort if you want. But any help would be appreciative as while lots of people are liking what I'm doing with twtxt.net I think it could look/feel better and I suck at UI/UX :)
#
GWG
Would offer, but I also am not good at UI
#
prologic
heh makes two of us :)
#
GWG
Just adding EXIF thoughts to the media endpoint response.
[fluffy] joined the channel
#
[tantek]
gosh I'm still going through the Micropub pop-up notes.
#
[tantek]
y'all had quite a dense conversation!
#
GWG
[tantek]: And we have an IndieAuth session on the 8th
#
[tantek]
GWG, I think you identified that we have some number of backlog issues on microformats and vocabularies too
#
GWG
[tantek]: Yes...I proposed a session for that as well
#
craftyphotons
Hmm obviously needs some refactoring now but I think I've gotten the decision tree down for my micropub POST endpoint https://gist.github.com/craftyphotons/f302e88cbef296ebfa3a532649d9bf80
nickodd, dhanesh95, [mapkyca] and [chrisaldrich] joined the channel
#
prologic
Well if anyone wants to help me or take up my offer
#
prologic
You know how to fin dme :)
dhanesh95, moppy, swentel and jeremych_ joined the channel; prologic left the channel
#
jamietanna[m]
GWG I've been using undelete as a scope within my Micropub endpoint (to undelete, but also to "q=source" on deleted posts) and I know micropublish.net requests the scope there too
gRegorLove, [KevinMarks], [grantcodes] and dhanesh95 joined the channel
#
@RozenMD
Just added WebMentions to my site. Thanks to @swyx's post (https://www.swyx.io/writing/clientside-webmentions/) for inspiration!
(twitter.com/_/status/1287361620809637888)
#
GWG
jamietanna[m]: Can you add that to /scope?
[manton] and [tantek] joined the channel
#
GWG
swentel: Did you read the notes from the session?
#
swentel
GWG, link?
#
GWG
There's even a video
#
swentel
that's a lot of thoughts there
#
GWG
swentel: Yuo
#
GWG
Yup
#
GWG
Lots of consensus building
#
GWG
And commitment to standardize some things
#
GWG
swentel: Any you want to try to add to Drupal/Indigenous?
#
GWG
We can move forward on a lot of stability
#
swentel
hmm not immediately in Drupal afaics, I'm happy with the current features
#
swentel
same for Indigenous too to be honest
#
swentel
but will look again next week
#
GWG
swentel: Would you switch the category filter from search to filter?
#
swentel
currently finishing mastodon/pixelfed/pleroma integration
#
swentel
hmm which category filter is that?
#
GWG
There was also a standard set of query for post list filters agreed on
#
Loqi
[EdwardHinkle] #5 Stable: Query for Category/Tag List
#
GWG
Instead of q=category and search=indie, it would be filter=indie
#
swentel
hmm well, I don't go to the server when doing an autocomplete in the server
#
swentel
I fetch everything and cache it
#
GWG
So not an issue
#
swentel
don't think so
#
GWG
Do you support limit as a query parameter?
#
swentel
should maybe check if there's an expires header in the response?
#
swentel
hmmm don't think so
#
swentel
let me check
#
GWG
Also, how often do you refresh syndication targets?
#
GWG
Most of the ideas are enhancements that are backward compatible
#
GWG
I liked the enhancement to querying syndication targets that would give you specific ones for a post type.
#
swentel
syndication targets are cached, unless you specifically sync your account
#
swentel
categories are fetched from server if there's a connection
#
swentel
and then cached
#
swentel
so it still works offline too
#
aaronpk
the idea is to provide different syndication buttons depending on the post type, you could still cache it
#
GWG
aaronpk: So you could query all types you support and cache
#
aaronpk
yes exactly
#
GWG
Or you could have a post type property in the response as well
#
GWG
In addition to checked
#
GWG
But that is getting too complicated
#
GWG
aaronpk: Can stable extensions to Micropub be in the new specification location?
#
aaronpk
good question. i suppose since it's a living standard we could move them there
#
GWG
Just makes it easier to keep track
#
GWG
This is specifically slug, source, and category
#
GWG
If we wait a week or two to finish the stuff we agreed to implement yesterday...we could have a good new release.
#
GWG
And all the ideas are backward compatible
jamietanna joined the channel
#
GWG
aaronpk: Also, will Micropub.net Link to the Living Standard
#
aaronpk
ah i forgot to update that one
#
GWG
That's where I go to remember the URL
gbmor, strugee and jeremych_ joined the channel
#
aaronpk
TIL `php -a` is an interactive php shell
nickodd and [schmarty] joined the channel
#
[schmarty]
It's almost as good as phpsh!
#
aaronpk
nice...now my website deletes media from the media endpoint once it's been added to a post
#
aaronpk
I can't tell if typeahead+bloodhound is still the best option for this
#
aaronpk
No commits since 2015
#
aaronpk
I just really want typeahead in quill
nickodd left the channel
#
swentel
for? tags, or mentions?
leg joined the channel
#
aaronpk
Mentions
[KevinMarks] joined the channel
#
[KevinMarks]
Would awesomplete work for that?
#
aaronpk
i don't think so
#
aaronpk
autocomplete != typeahead
#
aaronpk
also it needs to be able to query a remote data source, not have the entire dataset rendered into the page
#
[KevinMarks]
You can make it do that as there's a hook to replace the list, but it might be more work than a specialised list.
#
aaronpk
typeahead isn't trying to match a value in a list, it needs to trigger when you type an @ in the text area, then provide suggestions starting with the text after the @
[tantek] joined the channel
#
[tantek]
I feel current @-complete UIs are so horribly awkward, especially if there is existing text immediately after the @
#
[tantek]
Slack is pretty crappy about this, especially when there are multiple matches and rather than picking the first one it puts a "?" on the link which is useless
#
[tantek]
Twitter is crappy about this because they refuse to @-complete single character handles 😛
#
[tantek]
Facebook is crap about this because it so often only shows @-complete suggestions of people I do not want to mention and fails to actually list the people I want to mention (especially with "common" US names like David and Sarah etc.)
#
aaronpk
thankfully indieweb sites have the opportunity to be a lot smarter about who to suggest!
#
[tantek]
I'm happy to find ways to break anyone's "clever" @-complete heuristics
#
[tantek]
the silos are crap yes. indieweb can do much better
#
[tantek]
one would think
[tw2113] joined the channel
#
[tw2113]
one could/would think that it would all prioritize usernames that you follow/subscribe to/etc in some way
#
aaronpk
i'm making mine prioritize people i've interacted with whether or not i follow them
#
[tantek]
that's a good start
#
[tantek]
oh you know who is good at this
#
[tantek]
Instagram actually does an incredibly impressive job with lots of use of context
#
superkuh
instagram doesn't exist anymore.
#
[tantek]
did I miss a site-death?
#
aaronpk
it's dead to me
#
[tw2113]
i cry every time i scroll or visit stories, mostly because there's ads seemingly every 3 items
#
[tantek]
aaronpk I just saw your recent video post there!
#
[tantek]
aaronpk I just saw your recent video post there!
#
[tantek]
I've gotten very good at recognizing/swiping past the stories ads
#
aaronpk
i only posted that because i had to ;-) (contracts)
#
superkuh
After Facebook bought it it stopped existing. Now it is a full web-app thing with no content that displays without JS, and even with a ES6 compatible JS. It requires a "modern" browser.
#
[tw2113]
aaronpk++ for meating instaobligations
#
Loqi
aaronpk has 68 karma in this channel over the last year (244 in all channels)
#
[tw2113]
damn, typo'd that, meeting*
#
[tantek]
superkuh, quite the opposite, since FB bought it they developed at mobile web app where before none existed
#
[tantek]
a* mobile web app