#wordpress 2020-10-17

2020-10-17 UTC
[tw2113_Slack_], [chrisaldrich], nickodd, [jeremycherfas], [fluffy], maxwelljoslyn and Oclair joined the channel
#
[chrisaldrich]
If anyone is interested there's an online WordCamp in Los Angeles today and tomorrow. It's streaming for free beginning in about 20 minutes. https://la.wordcamp.org/2020/schedule/
#
GWG
[chrisaldrich]: Any good sessions?
#
[chrisaldrich]
GWG, for you specifically at 12:15 eastern there's Steve Zehngut on Five Reasons to Move to Headless WordPress and later Creating Gutenberg blocks using ACF Blocks which might give you some ideas for Post Kinds (?) and one on Understanding React. There's a few more React-y/Gutenberg-y sessions tomorrow too.
#
[chrisaldrich]
I'd recommend folkx take a look at the schedule quickly to see if there's anything interesting to them.
#
GWG
I wouldn't do anything with ACF
#
[chrisaldrich]
GWG, I know you wouldn't do anything with ACF, but in some sense you've got your own custom ACF underlying Post Kinds, so perhaps you could abstract how they talk about integrating it into blocks might make it easier for you to integrate Post Kinds into Gutenberg.
#
GWG
Good point.
#
GWG
Will see what happens.
#
[chrisaldrich]
I'm sure they're recording it all so you can always revisit them later...
#
GWG
I added the Youtube Live link, even though unlisted, to my account, so I could watch
#
GWG
Weather caching rewrite for Simple Location is almost done
[jgmac1106], jeremych_ and jeremyc__ joined the channel
#
[chrisaldrich]
GWG, my experience with some of those YouTube channels at WordCamps is that they're up for few days after which someone parses and breaks up the video (usually for WordPress.tv) and then they disappear. The when/why is often variable.
#
[chrisaldrich]
GWG have you played with GraphQL or the associated plugin for displaying data from your site? I just heard about it as a more granular API over/above the WP REST API.
[KevinMarks] joined the channel
#
[chrisaldrich]
Might be useful for some of your weather and location work.
#
GWG
[chrisaldrich]: I have not, but I have heard of it
#
GWG
[chrisaldrich]: My caching work is because I was getting angry automated emails about API overuse from openweathermap
#
GWG
They allow 1000 per day
#
GWG
And apparently, bots crawling my website were creating an issue, so I am updating the caching to work in more places, specifically the widgets
#
GWG
If I cache every 5 minutes, that's only 288 api calls a day
#
GWG
So, worthwhile fix
[fluffy], [jeremycherfas] and [chrisaldrich] joined the channel; nickodd left the channel
#
[chrisaldrich]
GWG, Watching this Gutenberg/ACF session, I don't think the abstract "solution" is going to be helpful as I initially hoped. ACF is doing all the heavy lifting with their Pro Gutenberg blocks, and the presentation is leveraging all of that.
#
GWG
I need to find a session anywhere that has a topic that I want to hear about
Oclair and [chrisbergr] joined the channel
#
[chrisbergr]
I thought ACF is just a solution for people without the skills to code custom fields by hand?
#
GWG
It is that and more
#
[chrisbergr]
A colleague always uses this for her customer projects. I hate that, whenever I have to do something on her projects, it takes forever to find the problems.
#
[chrisbergr]
A php framework for gutenberg block seems to be the only benefit (for me), but I try to learn all that react stuff to get it done as is supposed to be.
#
GWG
[chrisbergr]: I am still avoiding heavy JS
#
GWG
Trying to figure out where/how to store enough data to create an entire map.
[arush] joined the channel
#
[arush]
aCF does make dealing with custom fields more convenient, especially repeater fields, but what I really hate is the whole dependency thing. YOu almost have to drop the plugin into must-use plugins if you're going to use it on a client's project. I can't think of a client project I've used it on in the last something like 2 years.
#
[arush]
Oh, and hi all.
#
[arush]
And speaking of custom fields, where can I find the code for the response properties metabox so that I can add a UI to add read statuses to read posts?
#
GWG
Hi, [arush]
#
GWG
[arush]: It's in the templates directory. And the code that hides it if it isn't a read post is in the js directory
#
GWG
Although it's a mess and I should rewrite it
#
[arush]
@gwg are you trying to use ACF to handle your map, or something else?
#
GWG
[arush]: Never. I build my own stuff
#
GWG
I'm just trying to decide on design
#
GWG
I have the map generation code. I have coordinate data.
#
GWG
Just trying to decide on the middle
#
[arush]
@gwg Oh. I can't help with design.
#
[arush]
Well I mean I could suggest some design but I wouldn't trust it. lol.
#
GWG
[arush]: I need to think on it I guess.