#wordpress 2020-04-28

2020-04-28 UTC
[manton], dopplergange, [chrisaldrich], [prtksxna], gRegorLove, nickodd, [LewisCowles], jamietanna, zerotex__, zerotex_, [mapkyca], [jansauer], jgmac1106 and [jgmac1106] joined the channel
#
jgmac1106
funny I don’t like displaying mention content by default, replies yes, but minimum I want to seperate mentions and replies
[LewisCowles], [mapkyca], [grantcodes], [jgmac1106], [manton], zerotex__ and [chrisaldrich] joined the channel
#
GWG
I need a favor from someone who does WordPress development.
#
GWG
I'm adding docblocks to my code. It's a pain in the neck for me...and can someone read them so I don't feel so bad.
[tw2113] joined the channel
#
[tw2113]
next time i pass by them, I’ll make sure to read every word and scrutinize the shape of the letters
[grantcodes] joined the channel
#
[grantcodes]
Not got an extension for your editor GWG? I just start a comment above a function and it fills in all the main stuff
#
GWG
[tw2113]: I have been working on doing it for one plugin for two days
#
GWG
it may take a while
#
GWG
[grantcodes]: Is there one for vi?
#
[grantcodes]
Hah maybe not if you're hardcore enough to use vi and not even vim 😄
[snarfed] joined the channel
#
GWG
I'm surprised PHPCBF won't do it
#
Loqi
[tobyS] pdv: PHP Documentor for VIM - Generates PHP docblocks
#
[grantcodes]
That's just for code style isn't it? It can't generate anything new, just fix what is there. You can probably set up phpcs to show errors when there isn't a comment though
gRegorLove joined the channel
#
GWG
[grantcodes]: I do that now.
#
GWG
It will be easier once I just have to maintain it
#
GWG
It is just going through dozens of files right now
#
GWG
On a positive note, I couldn't remember what some of those functions do.
#
[tw2113]
perhaps for developer docs, outside of just the phpdoc block, you could start outlining “if you need to do ___, use these functions”
#
GWG
I'm hoping the effort might get more people contributing.
[arush] joined the channel
#
[arush]
Hi all.
#
GWG
Hi, [arush]. What's new?
#
[tw2113]
hi amanda
#
[arush]
Working on personal indieweb stuff, and contemplating the idea of migrating my work site over to Gutenberg while ideally being able to keep the indieweb stuff. Researching how I would need to contribute to indieweb plugins to pull this off successfully.
#
[tw2113]
i vote gut gutenberg back out, but that’s like me trying to fly to the moon too
#
GWG
It depends on the plugin. Webmentions don't really need Gutenberg
#
GWG
Post Kinds is going to be a challenge.
#
GWG
Syndication Links might be easy to port... although it does work in it's current iteration
#
[tw2113]
that’d be an interesting idea for anyone who’s really bored…what field types and where should each setting go for a WP block setup. Example, in the sidebar panel, as an item on a toolbar when selected, etc
#
[tw2113]
i stand by my statement from weeks ago, whoever decides to take on gutenberg in indieweb, also elects themselves to be maintainer of it 😄
#
GWG
steps back
#
GWG
Not I
#
[tw2113]
Personally, I’m hopeful that Amanda could help aid in testing accessibility of the blocks themselves, as I know she’s been vocal on the topic there
#
[arush]
Yeah personally I'm in favor of nuking GB. But, having worked on at least one client site where classic editor and GB were in play at the same time, way too much organizational/management overhead was created, and since we have basically a hard cut-off for classic editor, it's something I'll need to start working on.
#
[tw2113]
hadn’t heard any sort of cut off date for classic editor yet, now i’m curious
#
GWG
[arush]: Running WordPress headless and using Micropub?
#
[arush]
Yeah I'm basically volunteering to be the guinnea pig/maintainer because I would never ask anyone else to do this. Hard cut-off for classic editor is end of 2021/2022, unless something absolutely catostrophic happens and Matt is forced to revise. That's the cue I took from last year's state of the word and so I stepped back from contributing to the actual project itself to try to figure out which fork in the road I was going to take. The
#
[arush]
tricky part to all this is that, as long as there's no experience with the classic editor, the other screen reader users I've come across or worked with like Gutenberg, but the fine print is that these are new sites and they have no other experience with WP. The organizational client I have also happened to like GB over classic, while I stuck with classic, and that definitely created some challenges for creating and editing content,
#
[arush]
picking a theme, ETC.
#
GWG
[arush]: How can we help you?
#
[arush]
Yeah running it headless and using micropub is definitely an option.
#
[arush]
@GWG do you have any detailed docs on post kinds specifically? From what I understand it's basically taxonomies. I think things like indieweb, micropub, webmention, should work and the biggest challenge will be figuring out how to add the mf2 via blocks so that indieauth and bridgy at least still work. Going to fork some repos and start experimenting.
[jeremycherfas] joined the channel
#
GWG
[arush]: I just started writing docblocks for more of my code
#
GWG
I need to do Post Kinds and Parse This
#
GWG
IndieAuth and Webmentions need nothing
zerotex, [fluffy] and dopplergange joined the channel
#
[arush]
@gwg I was wondering what was behind the choice to make post kinds an extension of post formats instead of custom post types. Not making a judgment call, just trying to get inside your thought process.
#
GWG
[arush]: Post type 'post' = h-entry?
#
GWG
If I were to do h-event or such, it might be a custom post type
#
[arush]
@gwg re: hentry that makes sense.
#
[arush]
Oh. Looks like WordPress made some of the post formats separate blocks. So you start some content, and then pick status, for example, and type your status.
#
GWG
Wonder how that works. SHould look
[KevinMarks] joined the channel
#
[chrisaldrich]
That could potentially give you some code you could use as a template and then shovel in some microformats...
[mapkyca] and [pfefferle] joined the channel
#
[pfefferle]
I would love to have a link extension in the first place
#
[pfefferle]
Sorry, it is in german :(
#
GWG
[pfefferle]: Link extension?
#
GWG
[pfefferle]: Also, hello. Nice to see you. Noticed you are looking at Portisch as well...small world.
#
GWG
And my docblock project will eventually reach webmentions
#
[pfefferle]
Are you using IRC?
#
[pfefferle]
just posted a screenshot
#
GWG
Yes, but I can check Slack
#
[pfefferle]
I experimented with a sonoff RF bridge
#
GWG
[pfefferle]: So did I. Small world
#
[pfefferle]
was a lot of time
#
[pfefferle]
not that much good tutorials out there
#
[pfefferle]
and I have a very exotic shutter
#
[pfefferle]
perhaps wie should open an indie-home channel 😉
#
GWG
[pfefferle]: We've been talking about it a bunch in -chat.
#
GWG
[pfefferle]: I also need more unit tests for some of our shared work
#
[pfefferle]
unit tests are always nice
#
GWG
After the MF2 parsing code is in, I want to unit test it before hooking it up to another.
#
GWG
anything.
#
GWG
Right now, it doesn't trigger on receiving a webmention in the current PR
[tantek], [grantcodes], [jeremycherfas], primitivMedia, [KevinMarks] and [snarfed] joined the channel