Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 09:38
    3cp commented #1193
  • 00:24
    3cp assigned #1193
  • Oct 22 15:09
    arnederuwe edited #1193
  • Oct 22 15:09
    arnederuwe opened #1193
  • Oct 19 10:56

    hiaux0 on develop

    lint() refac(core): AureliaProjects.ts chore(pkg): move ts-morph dep and 2 more (compare)

  • Oct 18 11:09
    Tim-Erwin commented #407
  • Oct 18 09:01

    hiaux0 on develop

    fix(rename): start and end cust… (compare)

  • Oct 17 17:17

    hiaux0 on develop

    feat(rename): custom element feat(regions): add decorater na… feat(regions): add end tag for … and 4 more (compare)

  • Oct 15 17:25

    hiaux0 on develop

    rename(): rename and bindableAt… feat(rename): rename view model… (compare)

  • Oct 14 20:59

    hiaux0 on develop

    save debug save Revert "save" This reverts com… and 3 more (compare)

  • Oct 13 18:52

    hiaux0 on develop

    refac(tests): fix test state (g… (compare)

  • Oct 13 18:52

    hiaux0 on develop

    refac(server.rename): use renam… refac() refac(server.rename): separate … and 5 more (compare)

  • Oct 12 10:50
    ItWorksOnMyMachine commented #175
  • Oct 12 08:54

    hiaux0 on develop

    refac(server.parse): adjust and… feat(rename): rename view regio… chore(*): move and 13 more (compare)

  • Oct 12 07:30
    peitschie commented #62
  • Oct 12 07:30
    peitschie commented #62
  • Oct 08 21:19

    hiaux0 on develop

    test(): fix debug(): add debugging helpers 🔧 chore(gitignore): add debug … and 4 more (compare)

  • Oct 08 00:27
    bigopon commented #186
  • Oct 08 00:01
    bigopon commented #186
  • Oct 07 12:59
    elitastic commented #175
norgie
@norgie
@bigopon I chose to implement toJSON() for said dtos. A bit extra work, but it worked like a charm.
@bigopon Do you happen to know if @JeroenVinke has left Gitter?
bigopon
@bigopon
@dackjaniels2001 in v2, by default shadowDom is used so global styles wont have an effect on inner template of a custom element
You can disable shadow fom or use shared style features(shadow CSS) to have easier time witg styling
Please join our discord for, we are migrating our community there
@norgie i think hes still around, just less acrive on gitter. Maybe try discord?
norgie
@norgie
@bigopon Ok. Thanks.
Dmitriy Frolov
@mydim
When will be support of Webpack 5?
Rickard
@gimerstedt
@mydim not sure webpack 5 support is planned for au1 but it should already work in au2 (at least without conventions).
tankBug
@tankBug
hi! I have an if-binding for "n" tags in the view, and the condition values are kept in a map (computedFrom). I'm having some issues accessing the items in the map inside the view, which I thought would be straightforward, like this if.bind="isThisItemVisible.get(itemId)". Nothing is returned. I know it's passed to the view, because I can get the size to display, just not the content. Is this as expected?
Tomas Källsen
@tkallsen
@bigopon Hi, I saw your comment on aurelia/binding#409, but I'm having a bit of trouble getting $view = [some HTMLTemplateElement object] to work
it works if you use $view = <template>foo</template>
but not with function createTemplate() { const template = document.createElement("template"); template.innerText = "foo"; return template; }
and $view = createTemplate()
Tomas Källsen
@tkallsen
tankBug
@tankBug

hi! I have an if-binding for "n" tags in the view, and the condition values are kept in a map (computedFrom). I'm having some issues accessing the items in the map inside the view, which I thought would be straightforward, like this if.bind="isThisItemVisible.get(itemId)". Nothing is returned. I know it's passed to the view, because I can get the size to display, just not the content. Is this as expected?

Found out that map.has() works in the if-bind. The problem was that the data was never updated, due to the how a collection is not observed. I seem to have resolved it using the BindingSignaler

Number1awa
@Number1awa
Is there a built in way in aurelia to give special behavior to the text between custom defined characters? For example, !!!Text!!!, where this will initialize some custom component. Basically a short hand for a component html syntax. Reason: Desire to give admin user of site ability to type in textarea and give text special behavior (without knowing anything about html).
Peter "Shawty" Shaw
@shawty
greetings aurelia community, been a while since I've had to work on an AU app, just wondered if there was anyone arund to advise on an "au build" question?
Peter "Shawty" Shaw
@shawty
forget the last request, problem solved :-)
Grégoire Castre
@gcastre
Hello, i'm trying to use the stateChange function but the oldState parameter as the same values as the newState parameter, am I missing something ?
Grégoire Castre
@gcastre
If I put my property at the top level of my state my problem is fixed, is the state supposed to be a flat object ?
Jesse Holwell
@JesseHolwell
Hello. I am adding animation to my page using aurelia-animator-css.
My desired effect is for the animations to not run on page load, and only run on later viewmodel changes.
How can I disable animation for first load?
Thanks in advance :)
arnonuem
@arnonuem
Hi folks what is the current state with aurelia and keycloak integration like in angular. Cant find anything useful on the net. Stuff is like 5 years old. Whats the best practice today.
arnonuem
@arnonuem
@EisenbergEffect do you have any input on this? What is the best way to do openIDConnect with the Aurelia Framework.
qajagbe
@qajagbe

Good day,Please i am trying to loop through an array of objects in aurelia.but I am getting value for 'xxx' is non-repeatable.this is what my component looks like:

@inject(ApplicantService)
export class Applicants{
friends: any[];
message: string;
allApplicants: IApplicant[] = [];

constructor(private applicantService: ApplicantService) {
this.message = "all applicants.";

applicantService.getData().then(data => {
  this.allApplicants = data.response;   
  console.log(this.allApplicants)
});

}
/this is the array passed to
allApplicants = [{"id":1,"name":"Quadri","familyName":"Ajagbe"},{"id":3,"name":"Ibrahim","familyName":"oyeneye"}]
/
}

and my view:
<tbody>
<tr repeat.for="applicant of allApplicants">
<th scope="row">1</th>

    <td>${applicant.name}</td>
    <td>${applicant.familyName}</td>
    <td>${applicant.address}</td>
    <td>Nigeria</td>
    <td>q.ajagbe@gmail.com</td>
    <td>27</td>
    <td>true</td>
    <td>
      <button type="button" class="btn btn-primary">view</button>
      <button type="button" class="btn btn-success">edit</button>
      <button type="button" class="btn btn-danger">delete</button>
    </td>
  </tr>

</tbody>
please help!!
qajagbe
@qajagbe

Good day,Please i am trying to loop through an array of objects in aurelia.but I am getting th error: value for 'xxx' is non-repeatable. this is what my component looks like:
`@inject(ApplicantService)
export class Applicants{
friends: any[];
message: string;
allApplicants: IApplicant[] = [];

constructor(private applicantService: ApplicantService) {
this.message = "all applicants.";

applicantService.getData().then(data => {
this.allApplicants = data.response;
console.log(this.allApplicants)
});

}`
this is the array of objects passed to this.allApplicants:

// allApplicants = [{"id":1,"name":"Quadri","familyName":"Ajagbe"},{"id":3,"name":"Ibrahim","familyName":"oyeneye"}]

and my view looks like this:

`<tbody>

<tr repeat.for="applicant of allApplicants">
<th scope="row">1</th>

<td>${applicant.name}</td>
<td>${applicant.familyName}</td>
<td>${applicant.address}</td>
<td>Nigeria</td>
<td>q.ajagbe@gmail.com</td>
<td>27</td>
<td>true</td>
<td>
<button type="button" class="btn btn-primary">view</button>
<button type="button" class="btn btn-success">edit</button>
<button type="button" class="btn btn-danger">delete</button>
</td>
</tr>

</tbody>`

please help!!!

qajagbe
@qajagbe

for anyone having this issue I posted above, I resolved it by wrapping the response from the api in a JSON.PARSE
so my componet looks like this `
@inject(ApplicantService)
export class Applicants{
friends: any[];
message: string;
allApplicants: IApplicant[] = [];

constructor(private applicantService: ApplicantService) {
this.message = "all applicants.";

applicantService.getData()
  .then(data => {
    this.allApplicants = JSON.parse(data.response);
  console.log(this.allApplicants)
});

}

}`

arnonuem
@arnonuem
This channel seems to be quite dead. Did i miss something? Is there a riot channel now or something where the community is still alive?
rhassler1
@rhassler1
This channel is dead. Instead, go to aurelia.io, then click Discourse.
arnonuem
@arnonuem
thanks
Mike Pisano
@mPisano
I have an Aurelia Application build with NPM\Gulp that has been working perfectly. I recently did an NPM update which upgraded all the components including DropZone. Dropzone apparently changed it's build to use WebPack and now Aurelia sees DropZone's New() Constructor as a Module instead of a function? See https://github.com/dropzone/dropzone/issues/1903#issuecomment-779936105 Any Sugestions?
dcharbonnier
@dcharbonnier
hi, with aurelia 1 it was possible to add a @computedFrom decorator, what is the equivalent with aurelia 2 ?
Roman
@UtmostCreator

Hello everyone!

Could you help me on how can I generate new components using AU2 cli?

Because I am having this error:
https://privatebin.net/?141c4fccddbb2a19#BYNqy37wFL2CBuo8ftaQMPdXdbftYfEWQoWSGqpJ73Yz

bigopon
@bigopon
@dcharbonnier in v2, @computedFrom is not needed
dependencies are automatically observed
Please join us on discord for Q/A, discussion, fun and more https://discord.gg/RBtyM6u
The Aurelia team is not actively engaging in this chat room
elias-vlex
@elias-vlex
Hello, Aurelia is trying to module-load any image that it finds in a template like <img src=xxx> I'm using an image that will only be available in the web server
it blows with "Module not found: Error: Can't resolve './img/loaders/rotating-circle-large.svg'"
is there any way I can prevent Aurelia from autoloading imgs ?
Bryan den Hollander
@bryandh
Hi, I've recently updated to the latest Aurelia 2/vnext DEV version 2.1.0-dev.202103310619 and have converted my route hook to a Shared Lifecycle Hook. The canLoad of my AuthHandler runs and all seems well with the auth part of it. However, ever since updating, I don't seem to receive my query parameters in the load(params) of my pages that implement IRouteViewModel; the params object stays empty. Any suggestions on what I could be doing wrong in this regard?
Diego Bustamante
@diegohb
hello! has anyone tried to use bt5 with aurelia yet? i have an aurelia app v1 (ts,sass,systemjs).. i haven't gotten far into my efforts but simply upgraded bootstrap to v5 and removed jquery (along with any mentions in aurelia.json) and immediately getting esprima error on au build ..
geek957
@geek957_gitlab
how to use zlib gunzip in aurelia. zlib_binding.js not foung when using npm install.
ericyang0123
@ericyang0123_twitter
HI I'm new here
Esger Jellema
@Esger66_twitter
Does the Aurelia-mobile-plugin enable drag and drop events for mobile devices?
John Tomaselli
@johntom
@arnederuwe just saw this tread and I do appologize i use aurelia-summernote": "github:ben-girardet/aurelia-summernote. Will post a repo if you request and also try a port to au2/dumber/javascript im working on.
Kanishka Chowdhury
@CKanishka
Hi, when can we expect the new release for aurelia-webpack-plugin with support for Webpack5, the PRs seemed to have been merged?
norgie
@norgie
Is there anything similar to Angular’s ng-init in Aurelia? What, if anything, can be used in lieu of ng-init?
Nick Smith
@Kremnari
@norgie there have been times I use a hidden input with value.bind="(code)" be cautious, as https://docs.angularjs.org/api/ng/directive/ngInit states, it can easily be abused