#dev 2020-02-18

2020-02-18 UTC
strugee and jolvera joined the channel
[LewisCowles], jjuran, nickodd, [chrisaldrich], geoffo and swentel joined the channel; nickodd left the channel
#
GWG
I am looking at building a date time picker. Looking at different ways to present timezone selection
#
swentel
hmm I've never seen a picker with TZ support
#
GWG
swentel: I have one in Post Kinds actually
#
swentel
GWG, based on a library?
#
GWG
swentel: No... just generated using a function
#
GWG
No fancy JS
#
GWG
Although I think I added a timepicker script
#
swentel
ah I see, dropdown with timezones
#
GWG
But, I am rebuilding the UI additions I make to make them reusable pieces
#
GWG
Then I can define each post kind as a series of properties, and write a function that renders the form
#
GWG
So adding new information is just a matter of defining it
#
GWG
It also means I can render it inside or outside of the WordPress post editor
#
swentel
ah yeah, that can come in handy I guess
#
swentel
actually, it probably is, I'm just spoiled with how Drupal handles that stuff
#
swentel
s/probably//
#
GWG
swentel: How is that?
#
GWG
I have to deal with the fact I'm using the Classic editor in WordPress and people are moving to the new block system, so this is a good intermediate step
#
swentel
well, drupal has the concept of content types and every content type can have an arbitrary set of fields attached to it
#
swentel
and you build those content types just using the UI
#
GWG
swentel: WordPress never got that defined. It was proposed, but never fully built
#
GWG
So I am building a simple scaled version
#
swentel
isn't there a plugin for it that does something like that?
#
swentel
e.g. https://wordpress.org/plugins/advanced-custom-fields/ maybe you can depend on that (note, not sure how it works of course)
#
Loqi
[Elliot Condon] Description Use the Advanced Custom Fields plugin to take full control of your WordPress edit screens & custom field data. Add fields on demand. Our field builder allows you to quickly and easily add fields to WP edit screens with only the click of ...
#
GWG
I don't want a dependency
#
GWG
This is easy enough to do, I think
#
swentel
well, such stuff can easily become tricky
#
GWG
I have prior art
#
GWG
How so?
#
swentel
well, I've been core field api maintainer for a few years, let's just say we had years of discussions and try outs before we got it right, hard to explain in a few sentences
#
swentel
but I don't know wp enough
#
swentel
we also had to deal with complete separation of forms and storage. Basically, API first, validation was a pain then to make it work for say forms and rest requests, so there was a lot of complexity there too
#
swentel
and making that configuration all deployable, my god, I lost years of my life on that :)
#
GWG
I want to make this very basic
#
GWG
Types url, int, float, text, or list.
#
swentel
no uploads?
#
GWG
Oh, forgot datetime
#
GWG
swentel, not initially
#
swentel
coordinates? :)
#
GWG
swentel: No
#
GWG
Remember, this is just the part I add to the WordPress post editor
#
GWG
Not the whole editor
#
swentel
right, and it's the simple location plugin that handles that part I guess
#
GWG
Yes
#
GWG
The only scenario where I have to do everything is if I want my own post ui
#
GWG
But I can still call elements from WordPress
#
GWG
That's why I decided to do this.
#
GWG
It should allow for easier expansion
#
GWG
Need a field...define it and it appears
#
swentel
you could make those exportable so it can be shared among people :)
#
GWG
Shared why?
#
swentel
hmm, I guess it's different indeed than Drupal. Users still need to built the types and fields, I don't ship with anything default (which is on the roadmap though)
#
GWG
I am just picturing chrisaldrich and his 5 extra custom post kinds
#
GWG
I ship with defaults
#
swentel
I really need to make work of that
#
GWG
This is what a custom post kind would look like
#
GWG
I just want to add what properties are contained within it...
#
swentel
yep, makes sense
#
GWG
Maybe I'll have something for Hack Day at IWC Austin
#
@kisik21
Kittybox Companion for Android is now open-source! https://gitlab.com/vikanezrimaya/kittybox-android It’s really rough, lacks IndieAuth (for now), can’t load Microsub posts beyond first page, the pictures are small (I need to make a popup overlay to enlarge them), and Micropub… https://fireburn.ru/posts/1582012128
(twitter.com/_/status/1229674130435387393)
vika_nezrimaya, [datashaman], KartikPrabhu, [LewisCowles], [calumryan], [jgmac1106], [grantcodes], gxt, [jeremycherfas], petermolnar, [tantek], sivy, hs0ucy, [schmarty] and plut4rch joined the channel
#
[LewisCowles]
Looking for a signed upload standard for non-cloud-provider. Preferably open-source, or source-available with single file signed upload. Would really like to find something that supports single file / path only PUT after an initial POST to get a unique URI
#
[LewisCowles]
I know I can likely use flysystem to get a single interface; or build some microservice monstrosity. Perhaps that is the best I'll get; but Interested if I can do so outside of something very uniquely me
plut4rch, [Rose], strugee, [KevinMarks], [Aaron_Klemm], [dave] and [snarfed] joined the channel
#
[snarfed]
[LewisCowles] i assume you've looked at https://www.w3.org/TR/micropub/#media-endpoint
#
[LewisCowles]
not since last year
#
[LewisCowles]
I'll look again. Thanks 👍
#
Loqi
snarfed has 53 karma in this channel over the last year (91 in all channels)
[Michael_Beckwit, [tantek] and gRegorLove joined the channel
#
GWG
How do we decide a Micropub extension is official again? Do we need a quorum?
#
aaronpk
I thought that was documented
#
sknebel
I didn't know we had "official" extensions :D
#
[tantek]
GWG, you file an issue shaking to Micropub spec to incorporate it and wait for aaronpk to evaluate if the extension has been sufficiently incubated or not according to the Micropub extension incubation process 😁
#
[tantek]
issue *on the* Micropub spec
#
GWG
Where do I find the incubation process?
#
GWG
I thought we filed on the extension repo
#
[tantek]
What is the Micropub extension incubation process?
#
Loqi
It looks like we don't have a page for "Micropub extension incubation process" yet. Would you like to create it? (Or just say "Micropub extension incubation process is ____", a sentence describing the term)
#
aaronpk
"no longer experimental" is about as official as we get
#
aaronpk
What are Micropub extensions
#
Loqi
[indieweb] micropub-extensions: Issue tracking for Micropub extensions
#
GWG
aaronpk: So I just need three publishers/consumers?
#
aaronpk
"just"
#
GWG
aaronpk: As in, I don't have to wait for an IWC discussion
#
aaronpk
There is no in person requirement for the process if that's what you mean
#
GWG
aaronpk: So I can start gardening
#
swentel
is curious now which issues are going to be touched :)
#
[tantek]
Three is a good number, preferably independent I presume
#
GWG
For example, that makes post status a stable extension
#
GWG
swentel: Does Indigenous support mp-slug?
#
GWG
swentel: Okay. Would you be able to look at the extensions page on the wiki and confirm it is up to date for Indigenous?
#
swentel
I think I commented on every issue that indigenous/drupal support
#
swentel
but I can double check
#
GWG
I just see a few that are already stable by the rule of three
#
GWG
Also, there is a clear need for more clients
#
GWG
Has anyone heard from barryf lately?
#
GWG
I think micropublish was his, right?
#
GWG
I suppose I will just do some page cleanup
#
GWG
aaronpk: Thanks for merging that Quill PR by the way
[datashaman], CMF, [KevinMarks], [Aaron_Klemm], [schmarty], dopplergange, [LewisCowles], [grantcodes], [dave], wagle, gxt and KartikPrabhu joined the channel