Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jan 15 01:01
    dependabot[bot] labeled #45
  • Jan 15 01:01
    dependabot[bot] opened #45
  • Jan 15 01:01

    dependabot[bot] on npm_and_yarn

    Bump marked from 0.3.6 to 0.3.1… (compare)

  • Jan 15 00:59

    dependabot[bot] on npm_and_yarn

    (compare)

  • Jan 15 00:59
    dependabot[bot] closed #181
  • Jan 15 00:59
    dependabot[bot] commented #181
  • Jan 15 00:59
    dependabot[bot] labeled #185
  • Jan 15 00:59
    dependabot[bot] opened #185
  • Jan 15 00:59

    dependabot[bot] on npm_and_yarn

    Bump marked from 0.3.9 to 4.0.1… (compare)

  • May 06 2021 21:26
  • May 06 2021 21:09
    Travis AmpersandJS/ampersand-collection@1e491c3 (dependabot/npm_and_yarn/lodash-4.17.21) failed (107)
  • May 06 2021 20:54

    dependabot[bot] on npm_and_yarn

    (compare)

  • May 06 2021 20:54
    dependabot[bot] closed #88
  • May 06 2021 20:54
    dependabot[bot] commented #88
  • May 06 2021 20:54
    dependabot[bot] labeled #89
  • May 06 2021 20:54

    dependabot[bot] on npm_and_yarn

    Bump lodash from 4.17.4 to 4.17… (compare)

  • May 06 2021 20:54
    dependabot[bot] opened #89
  • May 06 2021 18:34
    Travis AmpersandJS/ampersand-state@e4a5bb5 (dependabot/npm_and_yarn/lodash-4.17.21) failed (311)
  • May 06 2021 18:10
  • May 06 2021 17:43

    dependabot[bot] on npm_and_yarn

    (compare)

Richard Butler
@RickButler
@StompyNZ I think it can be done with a subview and waitfor I will take a look when I get home.
StompyNZ
@StompyNZ
ok thanks for that :)
Richard Butler
@RickButler
@StompyNZ I couldn't really test it, i get a lot of API failures, but something like this https://gist.github.com/RickButler/a0a1137e4dea01a2dbef4a37853ceb8f
StompyNZ
@StompyNZ
thanks richard, ill test it out in about 3 hours when I get home from work :)
the api server is a game server and very basic webserver that doesnt allow cors so cant make it available for testing remotely
StompyNZ
@StompyNZ
@RickButler Thanks heaps, works perfectly :)
Richard Butler
@RickButler
@StompyNZ no problem, I have some abstractions that might help with that. I have a property on my base model that gets auto set after fetch returns. Working on putting it on git so you and others can take a look.
StompyNZ
@StompyNZ
nice :)
this app im working on is partly to learn ampersandjs because my work wants to switch over to it, but its a huge project so getting a good file structure worked out will be the next step
Richard Butler
@RickButler
@StompyNZ another thing to keep in mind is the ampersand cli generated project has out of date dependencies
Richard Butler
@RickButler
in your project for instance the cli generates ampersand-model in the package.json with 5.0.3, ampersand is on 8.0.1
ampersand-model* is on 8.0.1
I should probably submit a PR to update the CLI...
Calvin
@oakypokey
Hey, I'm trying to find documentation on findWhere but I keep on running into dead links?
Richard Butler
@RickButler
@oakypokey are you referring to findWhere on an ampersand collection? If so that is just a proxy to lodash findWhere.
Lodash where rather
Richard Butler
@RickButler
I'm sorry still wrong lol it uses lodash filter.
Kelly Nelson
@pnwnelson
Hello. Hope this place is still monitored? I'm new to ampersand and still green in javascript overall, but I'm wondering if I should be using ampersand-rest-collection to create models from a local json file? I currently am, but it doesn't seem to be dropping anything into the model. I also am following along in the HumanJavascript video series and am trying to duplicate, but with local json rather than an external api. Any help is appreciated.
Min Thant Sin
@minthantsin_gitlab
@pnwnelson Same here, I'm new to ampersand.
Samuil Gospodinov
@samuil4
@pnwnelson The rest collection is intended to be used with an actual API, you can easily run a node json-rest plugin like this one https://github.com/typicode/json-server to simulate such.
Kelly Nelson
@pnwnelson
@samuil4 Thanks for the reply. I'm going to be pulling data from the json file for production so I need a permanent solution - unless I'm misunderstanding. Would using ampersand-collection handle this?
Kelly Nelson
@pnwnelson
As a relative novice in this, I always struggle understanding the terminology to figure out what tool to use for what I'm trying to do. Reading the docs, it sounds as if maybe I should be using &-state instead of &-model, to create a model and a collection for data coming from a local json file. Is this correct? Yet I see others using &-model for use with local json files.
Brian Kenny
@brianvegan
Guys, rudimentary question: how do I add new JS/CSS to the generated code file[s]? (Appname).nonCached.js and .nonCached.css
Richard Butler
@RickButler
@brianvegan We would need to see your project/build process. Are you using a sample project from somewhere, or do you have your code on github?
Brian Kenny
@brianvegan
did some noob sleuthing, was in moonbootsConfig.js, ty :D
Facundo
@facugon
Hi Everyone! I am actively using Ampersand in one of my projects :D . Just want to know if somebody is still using it
Kyle Farris
@kylefarris
We do. Not for new projects but we still have several projects in production that are actively developed that use Ampersand.
katbreitin
@katbreitin
Hello, is this still an active room?
Samuil Gospodinov
@samuil4
I guess ?