* Make the connection, not the savemanager, in charge of sorting out the oauth stuff?
* Ensure the oauth dialog pops up if there's no oauth credentials
* Rework the loading text
-* Show descriptions, tags (needs rails_port changes)
* Have a remove button for removing loaded traces
* Have a check button for simplifying traces
* Refactor the importer.as so that downloading the files can be done via the connection, not just directly
var t:Object = {};
t.id = traceData.@id;
t.name = traceData.@name;
+ t.description = traceData.description;
+ var tags:Array = [];
+ for each(var tag:XML in traceData.tag) {
+ tags.push(String(tag));
+ }
+ t.tags = tags.join(" ");
t.url = Connection.apiBaseURL+"gpx/"+t.id+"/data";
addTrace(t);
}
<mx:columns>
<mx:DataGridColumn editable="false" dataField="id" headerText="id" width="45"/>
<mx:DataGridColumn editable="false" dataField="name" headerText="filename"/>
- <mx:DataGridColumn editable="false" dataField="url" headerText="url"/>
+ <mx:DataGridColumn editable="false" dataField="description" headerText="description"/>
+ <mx:DataGridColumn editable="false" dataField="tags" headerText="tags"/>
<mx:DataGridColumn editable="false">
<mx:itemRenderer>
<mx:Component>