!rxZezKXfxOKJxTgNGs:matrix.org

farmOS

190 Members
farmOS (https://farmOS.org) is a free and open source, web-based farm management system. User guide: http://farmos.org/guide/ - Forum: https://farmOS.discourse.group - Updates: https://fosstodon.org/@farmOS20 Servers

Load older messages


SenderMessageTime
12 Apr 2024
@symbioquine:matrix.orgsymbioquineIt does bake-in some of our conventions and I'm not sure if I ever plan to vend it as a default Asset Link plugin, but I'm open to the idea of converging on some version that could be included in Asset Link by default.17:37:03
@mstenta:matrix.orgmstentaYea makes me wonder: is it possible for an asset link plugin to alter another asset link plugin?17:37:38
@mstenta:matrix.orgmstentaeg: if a "generic" plugin were provided, but you wanted to add some customizations on top17:37:54
@symbioquine:matrix.orgsymbioquineYes, there are two main ways that can occur...17:47:48
@symbioquine:matrix.orgsymbioquinehttps://symbioquine.github.io/farmOS_asset_link/tutorial-extension-model.html17:48:36
@mstenta:matrix.orgmstentaWow this documentation has come a long way!17:49:27
@symbioquine:matrix.orgsymbioquineYeah17:49:41
@mstenta:matrix.orgmstentaAs a non-Vue.js dev, would you recommend learning some basics before diving into this?17:52:19
@symbioquine:matrix.orgsymbioquine
In reply to symbioquine
Yes, there are two main ways that can occur...
The most common way this happens is that pugins can consume "slots" from other plugins.
17:52:55
@symbioquine:matrix.orgsymbioquineThe less common way is that some plugins can be interpreted as data by other plugins.17:53:29
@symbioquine:matrix.orgsymbioquineSo you could have a yml file defining a convention and another plugin could use that to do useful stuff on its behalf.17:54:22
@symbioquine:matrix.orgsymbioquine
In reply to mstenta
As a non-Vue.js dev, would you recommend learning some basics before diving into this?
Not much. But a quick tutorial or two couldn't hurt.
17:59:52
@symbioquine:matrix.orgsymbioquineI'm also happy to answer questions or make quick demos showing how to accomplish stuff in Asset Link.18:01:10
@symbioquine:matrix.orgsymbioquineThere's already quite a few of those in the forum too.18:01:41
@_oftc_farmBOT:matrix.orgfarmBOT @farmOS@fosstodon.org => #farmOS 3.2.1 has been released! https://github.com/farmOS/farmOS/releases/3.2.1 => https://fosstodon.org/@farmOS/112259239065254835 18:54:16
13 Apr 2024
@symbioquine:matrix.orgsymbioquineJust ran into https://www.drupal.org/project/drupal/issues/3066202#comment-13181270 again 😮‍💨14:54:02
@symbioquine:matrix.orgsymbioquine
const childrenFilter = computed(() => {
  if (!selectedParents.value.length) {
    return [];
  }
  return [{
    kind: 'group',
    op: 'AND',
    filter: selectedParents.value.map(selectedParent => ({
      // This inner OR group shouldn't be needed, but there is a bug in how
      // multiple conditions against the same field are handled in Drupal Core
      // https://www.drupal.org/project/drupal/issues/3066202#comment-13181270
      kind: 'group',
      op: 'OR',
      filter: [{
        kind: 'attribute',
        attribute: 'parent.id',
        op: '=',
        value: selectedParent.id
      }]
    }))
  }];
});
14:54:57
@symbioquine:matrix.orgsymbioquine

or in raw JSON:API;

https://example.farm/api/asset/animal
    ?filter%5Bclient-group-0%5D%5Bgroup%5D%5Bconjunction%5D=AND
    &filter%5Bclient-group-1%5D%5Bgroup%5D%5Bconjunction%5D=AND
    &filter%5Bclient-group-1%5D%5Bgroup%5D%5BmemberOf%5D=client-group-0
    &filter%5Bclient-group-2%5D%5Bgroup%5D%5Bconjunction%5D=OR
    &filter%5Bclient-group-2%5D%5Bgroup%5D%5BmemberOf%5D=client-group-0
    &filter%5Bclient-parent-id-1%5D%5Bcondition%5D%5Bpath%5D=parent.id
    &filter%5Bclient-parent-id-1%5D%5Bcondition%5D%5Boperator%5D=%3D
    &filter%5Bclient-parent-id-1%5D%5Bcondition%5D%5Bvalue%5D=54102a3b-1f90-4e39-b36b-841ba601c68a
    &filter%5Bclient-parent-id-1%5D%5Bcondition%5D%5BmemberOf%5D=client-group-1
    &filter%5Bclient-parent-id-2%5D%5Bcondition%5D%5Bpath%5D=parent.id
    &filter%5Bclient-parent-id-2%5D%5Bcondition%5D%5Boperator%5D=%3D
    &filter%5Bclient-parent-id-2%5D%5Bcondition%5D%5Bvalue%5D=963b94fb-c64e-4164-b61d-cb729751fb89
    &filter%5Bclient-parent-id-2%5D%5Bcondition%5D%5BmemberOf%5D=client-group-2
    &sort=drupal_internal__id
14:56:11
14 Apr 2024
@_oftc_farmBOT:matrix.orgfarmBOT left the room.01:53:13
@_oftc_farmBOT:matrix.orgfarmBOT joined the room.01:54:16
15 Apr 2024
@aislinnpearson:matrix.orgaislinnpearson symbioquine: I’d love a demo. That looks very similar to what we do with our experiment plots… but I have no idea what AssetLink is 11:26:46
@symbioquine:matrix.orgsymbioquine
In reply to @symbioquine:matrix.org
sent a video.
aislinnpearson: Are you talking about what I showed in this screen capture?
11:27:48
@aislinnpearson:matrix.orgaislinnpearsonYes. I am. Sorry, following the conversation in the app, and I can’t figure out how to quote previous comments11:28:50
@symbioquine:matrix.orgsymbioquine
In reply to @aislinnpearson:matrix.org
Yes. I am. Sorry, following the conversation in the app, and I can’t figure out how to quote previous comments
Cool.
11:29:31
@symbioquine:matrix.orgsymbioquineScreenshot_20240415-043122_Firefox Nightly.png
Download Screenshot_20240415-043122_Firefox Nightly.png
11:31:49
@symbioquine:matrix.orgsymbioquine

Sorry, following the conversation in the app, and I can’t figure out how to quote previous comments

For me it's either a long press in one app or in the other it's a tap then clicking three very small dots on the right side of the message.

11:32:09
@symbioquine:matrix.orgsymbioquineI'm more than happy to chat about Asset Link and/or our custom tools11:34:28
@symbioquine:matrix.orgsymbioquineThere are definitely some rough edges still though - of course 🧪🔥11:35:41
@aislinnpearson:matrix.orgaislinnpearson
In reply to @symbioquine:matrix.org

Sorry, following the conversation in the app, and I can’t figure out how to quote previous comments

For me it's either a long press in one app or in the other it's a tap then clicking three very small dots on the right side of the message.

One long press! Thank you! I would not have figured that out.
12:23:36
@aislinnpearson:matrix.orgaislinnpearson
In reply to @symbioquine:matrix.org
I'm more than happy to chat about Asset Link and/or our custom tools
This would be great
12:23:50

Show newer messages


Back to Room ListRoom Version: