Lots to post, checked in at least a week ago:
- Reverted the changes to remove all dollar signs and commas from the data
- Fixed the issues that the extra characters caused in the widgets
checked in today:
- Created a new panel type called “ConfigurablePanel” which has a new button in the top right for configuring panel details. A menu slides up from the bottom when it is clicked and slides away on the next click.
- Started working on removing the hardcoded “name” column from TrendWidgets but ran in to problem after problem until the latest one: In AdvQueryWidget, when a user wishes to trend several rows of data, the AdvQW generates a query to give to the trend widget. The query contains the specific rows the user selected by adding where clauses based on the ‘name’ column (the only column we used to think was unique). Which is the problem I’m not sure how to solve…
- Ended up creating a popup menu and asked the user to select the appropriate column based on a list of columns containing only unique values
- Tested the new TrendWidget mechanism: saving, loading, and thresholds all seem to be working now
- Created a status list similar to our old orb status display. If a column called “status” exists, a TileList is added to the accordian and each item will be represented by an icon from the library: it tries to match the row’s status to an icon. For example, if an item’s status is “normal” it displays the icon titled normal. If a user uploads an icon called “purplemonkeydishwasher” and an row has the corresponding status, that icon will be displayed. If no matching icon is found, a default file not found icon is displayed. All text is displayed in a tooltip similar to the map tooltips. I didn’t want to display a name under each icon since we have no knowledge of the column titles.
- Added a set of 6 default icons much better than the previous weather icons. They are: a green checkmark, red error “X”, blue help “?”, blue information “i”, yellow/orange warning “!”, and red forbidden “-“. Sadly I found that flex cannot dynamically load SVG files (it can only embed them, wtf?) so I had to convert them to 64×64 PNGs which don’t scale as well.
- Fixed bug in TrendWidget load method that was checking table permissions incorrectly and would never pass
- The save and load panels are now moved to the top of the z-order when they are made visible instead of being half hidden by the query builder or other windows
- Got rid of the annoying extra scroll bar that VisContainer was making on small resolution screens (1280 x 800), they may still appear on screens shorter than 800 high but hopefully we won’t have to worry about running on an iphone…
Next in the queue: SlideShows!
