Hi Brendon and Angela, It's a great idea to discuss sharing custom card components--both auto-name population and nested value lists are high on our list.
Right now, we're working on a component that enables all fields within a card to be visible in the top card, regardless of cardinality. The 'add' occurs post-entry, rather than before, and the overall number of clicks to access, populate, and save fields is heavily reduced. This won't be relevant for everyone, but if you prefer single form-style data entry and have deeply nested branches, this simplifies user navigation. We've still got a little ways to go on it, though. Cheers, -Mike On Thursday, April 9, 2020 at 6:08:42 PM UTC+1, Angela Labrador wrote: > > Hi Brendon, > > I've worked on a card component with Adam Cox that automatically fills in > the current django username on a text node in form view. I would think that > parts of the knockout would be somewhat similar (but you wouldn't have to > do the additional check of getting the variable from the django template). > We opted to modify the default text widget rather than create a new > component because of concerns regarding editing the resource model > midstream, but you could just do this as a custom and not have to do the > additional node.id check that we had to. > > The repo is at https://github.com/legiongis/fpan and the files with > relevant code would be: > > - media/js/views/components/widgets/text.js > - templates/views/components/widgets/text.htm > - > - templates/views/components/cards/default.htm > > I found the google extension "Knockoutjs context debugger" to be really > helpful during this. > > Hope this helps, > Angela > > > On Thursday, April 9, 2020 at 9:44:57 AM UTC-4, Brendon Bangert wrote: >> >> Dear Arches Developers, >> >> I am posting today hoping everyone Is doing well in our global time of >> crisis. Working remotely has given me more time to pursue our current >> team's database and with this a closer inspection and custom card >> components. Concerning a previous forum post I had created and with no >> immediate access to a in-house programmer, our team is currently wondering >> if anyone else has created any custom card components they would be >> interested in sharing. Additionally I wanted to start up the conversation >> of the possibility of creating a card component that enables for >> information to appear if, an certain option is selected from a concept >> list. Feel free to post thoughts, or interests in similar customization >> your team is looking for. I wanted to not only get this dialogue started >> but all in all see if anyone else has been seeking something similar. >> >> Cheers, >> Brendon >> > -- -- To post, send email to [email protected]. To unsubscribe, send email to [email protected]. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en --- You received this message because you are subscribed to the Google Groups "Arches Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/archesproject/210a3407-d47a-47fc-9ce0-18de8763db32%40googlegroups.com.
