cboulanger on master
Reset this._userInteraction (#9… (compare)
Hi all, like discussed on github, i created a qx.test.locale.Number, to test the correct loading of number locale after merge of qooxdoo/qooxdoo-compiler#587, i wanted to know what is the way to run qooxdoo test locally to check that i didn't make any mistake.
@rommni I have created https://github.com/qooxdoo/qxl.testtapper which might come in handy for testing
qx.ui.table.pane.Model.getColumnAt(x)to get teh column and there is something else to get the row from
Hello. How do you handle API keys that you are not willing to upload in Github with the whole world, in your application? I want to add a google maps API key in my application. It seems the cleanest way to do it is by setting an environment key and then get it with
qx.core.Environment.get. Unfortunately I can't find another way to do it besides setting it in
compile.json. The problem is that
compile.json is a file that gets uploaded in GitHub.
I tried setting it with the
--set option but it doesn't work. I have opened an issue about it qooxdoo/qooxdoo-compiler#580.
I also tried
$ npx qx config set mapsApiKey <my_key> Warning: Unrecognised configuration key mapsApiKey
How can I pass that configuration key outside the qooxdoo code, from the command line?
config setjust sets configuration options for the compiler itself, and not for the compile - I think that there’s another issue about this, because people do naturally expect that
config setis setting environment variables as well. I think that it’s a good idea that
config setshould set env vars for the applications too, but it’s not currently implemented. If you’d like to try and write a PR, I’d be happy to discuss where to look in the code thiough … :)
.envfile (make sure to put that into
.gitignorewith a very simple
KEY=VALUEsyntax, then load them in the
compile.jsfile and assign them to the
environmentkey of your choosing. Then refer to http://www.qooxdoo.org/docs/#/configuration/api for how to write the
compile.jsfile. It sounds quite complicated but once you have a template, it's trivial. We should, however, provide this template to make this easier.
compile.jsis extremely hard to find though, ATM. Working on a PR right now. @johnspackman, can you specify in which API method the change of the
compile.jsonvalues need to go? - It is not obvious from the documentation.
--set, to be sure!
Hi all, i currently using a List with multiple Selection, and i want to do an action on "changeSelection" based on the last item selected, i used to look at the order of the event data to get the last selected, however i found that on IE and Edge the object i get from data aren't sorted in the same way. So looking into the code i found that qx.ui.form.List is using qx.ui.core.selection.ScrollArea as selection model which extend qx.ui.core.selection.Abstract, this is Abstract class which generated the "changeSelection" event and use as data this.getSelection(), and here i find that in comment of getSelection it's written that the order can differ from the sequence in which the items were added.
So it seems that it is not a "bug" but now i'm wondering if there is a method which can give me the items in the order in which they have been added to selection, i didn't find it.
If it's not the case it's not a problem i will just save selection each time "changeSelection" is emit, and compare to get the new element.