Possible Bug and Interface Improvements

When making a tutorial to show the user how to group related questions when they save them I ran into a possible bug.  The problem is when I select the create charts after selecting the main category for all of the questions, the select * appears with all the others.  It only seems to happen when I select a main category that has an empty subcategory.  The following are the steps I took:

How To Group Multiple Questions into a drop down
This sections will explain how to group your saved queries so that you can differentiate yours from others and group up questions that have commonality with each other. This section will ask you to do things that were covered in previous sections. Although the steps for these techniques will not be explictly laid out, links to relevant sections will be provided in case you need a refresher on how to do something.
1. In the questions tab reveal the question editor, by clicking and dragging on the the three lines below create chart up.
2. Select example_cars from the list of tables.
3. In the Question Name field type in your user name.
4. Click add with the query field empty
5. Click on the new question that you just created
6. In the Question Name field type in Chevys
7. Click add child.
8. In the questions area note that the question with you username now has an arrow next it. Clicking on the arrow with expand it revealing the Chevys questions group. This process can be repeated over and over to make subgroups as needed.
9. Use the basic query builder to Create a chart with all cars
10. In the Query Panel select the make column using the Column Selector
11. Click on the Chevy bar on the chart and click the New Widget button.
12. Change the name of this new panel to All Chevys
13. Click on the Questions Tab select the example_cars chart and select the subcatergory you made for Cheveys
14. Type All Chevys in the Questions Name.
15. In the, All Chevys Query Panel, select Set Query Builder from the drop down in the lower right and click Go.
17. Click Add Child
18. Now select the Color Column from the All Chevys panel. Click the bar for Red on the chart and click New Widget
19. Change the name of the new Panel to Red Chevys
20. Make sure you still have example_cars and you user name->Chevys question group selected.
21. Type Red Chevys in the question editors name field and use the set Query builder button.
22. Click add child in the Question Editor
23. Close all the query panels that are open so that only the query builder is open
24. With the example_cars table selected, select your user name from the questions list by checking the check box
25.Click Create Charts

Instead of creating two charts it creates three, one being the select * which does not appear in any of the saved questions.  Some other improvements to simplify things for the users would be if when you click set query builder it automatically makes the name whatever the title of the Panel is.  Also when you create a panel the question name should appear as the panel name.  Currently there is a lot of bouncing back and forth between the panel and the query builder.

Phil 6.7.2010

7:30 – 2:30 (VISIBILITY)

  • Deployed new Vis and VSS. The query logging is set up and running
  • Dropped by JM. Full walkthrough is set for tomorrow
  • Telecon with WPAFB? Nope – postponed till tomorrow.
  • Walked through PPM with Dong – found a few bugs. Iterating.
  • Burned a disk to try tomorrow.

2:30- 3:30 (FP)

  • Added normalized sensor values. Spent a while figuring out a good way to have a center value that offsets the results

Dong Shin 06.07.2010

  • fixed some bugs not letting panels come up correctly
  • corrected SQL to return list of Projects to select
  • changed headerText to dynamic in ProjectFunding based on startYear
  • pre-select Project Mgr/Admin on CreateProject
  • debug/non-debug FlashPlayer behaves differently on Firefox?

Mike 6.4.2010

  • Mavenized the NetworkWidget project
  • Started rolling the NetworkWidget in to the AdvQW accordion and came across a few problems:
    • Creating a MsdContainer within an accordion throws a bitmapdata exception because the initial height/width are zero, probably going to have add something which delays the initialization until the network widget becomes visible and also pauses rendering when it is not visible
    • Resizing the MsdContainer causes the background to go black and all link lines to vanish, also sometimes the SmartShapes do not appear

So this may take a bit longer than I initially thought.

Phil 6.4.2010

7:30 – 2:30 (VISIBILITY)

  • The viz-n server appears to be slow again
  • Deployed a new version of VISIBILITY with query logging.
  • Adding a method to facades that will generate SOLR xml directly from a DbTable. Done. Need to burn a disk for Monday
  • Started to walk through Dong’s system, but ran into role-related bugs

2:30 – 4:00(FP)

  • Got the new sensor hooked up. Much more sensitive. Working on filtering and centering signal
  • Zeroing is done. Took out sleep() statements as well.

Dong Shin 06.04.2010

  • change database engine and add foreign keys
    • ALTER TABLE products ENGINE = innodb
    • ALTER TABLE products add CONSTRAINT fk_supplier FOREIGN KEY  supplier_id, supplier_name REFERENCES (supplier supplier_id, supplier_name) ON DELETE CASCADE;
  • very cool flex datagrid!
  • Add Funding Requests on main menu to allow funding request view
  • Funding Request Window – select, delete funding request
  • double click allows to select Contact, Budget Center on Funding Request
  • fixed a bug not setting contact uids on Funding Request data retrieval
  • fixed a bug not calculating Total correctly when a budget center is added/removed
  • disabled duplicate budget center add
  • deployed, verified install, zipped and uplodated to downloads.viz-n.com, ProjPortfolioMgr.060410.zip
  • disabled hide on CreateProjectPanel, FundingRequestPanel, ContractMgmtWindow… destroy on close
  • fixed SQL bug not returning list of projects properly – error in conditional clause

Phil 6.3.2010

7:00 – 1:30 (VISIBILITY)

  • It’s *hot* today!
  • Joe is going to look into setting up a proxy server!
  • Talked to JW about current needs. Nothing clear yet…
  • Going to add a user/query tracking log tables to VISIBILITY. Done. Had to add a check to ensure that user data was getting set in the AdvancedQueryWidget. Checked in code to GenericQueryWidget and Visibility2 java code.

1:30 – 2:30 (FP)

  • Getting the sensors to read correctly. Done
  • Added some data checks to the dictionary
  • Continuing the process of educating Tom about pointers

Dong Shin 06.03.2010

  • changed the labels on CreateProjectPanel
  • create a table to store Budget Center Type – budget_center_types
  • added validators for Appropriation and Budget Type on CreateProjectPanel
  • missing Flex Core Components in design view? – old MvnAssist bug, thought it was fixed….
    • manually added C:Program FilesAdobeFlex Builder 3sdks3.2.0frameworkslibs
  • added validators to AddUserForm
  • added DELETE CASCADE constraint to _funding_request_budget_centers on funding_requests
  • set budget centers data correctly from CreateProjectPanel to FundingRequestPanel
  • disabled Fuding Request button for new project
  • getting rid of uid from appropriations table messed up lots of things!
    • added appropriation to obligations_outlays_goals table
    • modified the Financial Data codes to retrieve appropriation
    • modified AppropriationCBItemRenderer to add obligation and outlay goals when new appropriation is added
    • new obligation and outlay goals set to NULL!!!
  • All the fields are now required for Funding Request

Phil 6.2.2010

7:30 – 2:30 (VISIBILITY)

  • Talked to JM:
    • Running the system on the appropriate servers by July
    • Adding project management capability
  • Talked to JW about documentation
  • Having Tom set up VISIBILITY, Scripting, and ProjPortfolio on viz-n
  • Laid out some of the issues about getting the Network widget into VISIBILITY, and did a little roadmapping on future work
  • Pinged Ken Beckman about how the install was coming

2:30 – 3:30 (FP)

  • Added in the sensors and set up the motor to hold the bar in place, but the readings aren’t shifting much.

Dong Shin 06.02.2010

  • AddUserForm changed per Phil’s list
  • Changed Roles
  • FundingRequestForm’s  labels changed per new Role names
  • AddBudgetWindow modified
    • Budget Center Number (validate for uniqueness)
    • Budget Center Name(validate for uniqueness)
    • Capability (Addable list)
    • Expenditure Center (Addable list)
    • Investment Portfolio (Addable list)
  • Funding Request modified
    • Project Name, Number, Budget Centers, Budgets from CreateProjectPanel
    • added paddings
    • Capability and PortfolioMgr removed
  • Added Add New… on Appropriations
  • Added Add New… on Budget Center Types

 

To do’s

  • add validators to AddUserForm

Mike 6.1.2010

Finally back home to the internets.

  • Connected the scale bar to the slides, works exactly the same as it does for the work area
  • Added a tip about slide shows to the tip panel
  • fixed an annoying issue where when saving a slideshow, the dropdown menu would refresh and possible select a different slideshow
  • Tested all layout managers with slide shows and they seem to all be working
  • Played a great deal with transitions and found some cool open source ones available but integrating them would be a great deal of work and probably not worth it right now.  For now three basic transitions are available and look pretty good:
    • Dissolve (like fade but also fades text)
    • Wipe
    • Zoom (looks pretty cool actually)

Will start looking at the network widget.

Phil 6.1.2010

7:30 – 1:30 (VISIBILITY)

  • Walked through the newest version with S14 folks
    • Saving user and Funding requests failed
    • “logged in as null” on banner
    • There should be a way of creating a new project from an existing one (only the FY changes in many cases)
    • We will need to delete items that have been added in. How? As administrator?
    • For comboboxes and select buttons, include “Add” feature
    • General Notes:
      • Add Users
        • All fields should be blank
        • No ‘Phone’. Just ‘Classified Phone’ and “Unclassified Phone’
        • No ‘Classified Email’
        • New names for roles (should be common across all panels)
          • ‘Portfolio Manager (NSA)’ [NSA POC from funding]
          • ‘Service Project Manager (site)’ [Technical POC from funding]
          • ‘Finance Analyst (NSA)’ [Funding Mgr from funding]
          • ‘Service Finance POC (site)’ [Financial POC from funding]
      • Create Project
        • Does start FY have a validator for bad years (i.e 200001)? This could be a dropdown from current year -4 to current year + 4?
        • Year columns in grid should be based off of the Start FY
        • Make roles in project creation the same as those in “Add User’, above
        • ‘VFR’ should be ‘UFR’
        • ‘Appropriation’ should be a combobox
        • ‘Add Budget’ dialog should have the following fields:
          • Budget Center Number (validate for uniqueness)
          • Budget Center Name(validate for uniqueness)
          • Capability (Addable list)
          • Expenditure Center (Addable list)
          • Investment Portfolio (Addable list)
      • Add Funding
        • Populate information in funding request from project info: (project name, project number, budget center and budget
        • Move save button to lower right
        • Eliminate capability field, since it’s linked to budget center
        • Portfolio manager field can be deleted. It’s the NSA POC (which should be ‘Portfolio Manager (NSA)’)

FP – 1:30 – 5:00

  • Made Dprint a Singleton
  • Using displace rather than go_to_angle
  • Integrating sensors. Had a weird experience where the parent class seems to not have pointed the DataDictionary instance correctly. Odd.
  • Spent some time explaining to Tom how pointers work 🙂

Dong Shin 06.01.2010

  • checked in all the changes so far….
    • MySQLIf
    • ProjPortfolioMgrClient
    • ProjPortfolioMgrServer
  • Going down the list from Phil
    • Saving user and Funding requests failed – fixed, added toSQLString method to add escape character for special characters; /, ‘, and “
    • “logged in as null” on banner fixed
    • There should be a way of creating a new project from an existing one (only the FY changes in many cases) – added Create New from…
    • We will need to delete items that have been added in. How? As administrator? TBD
    • For comboboxes and select buttons, include “Add” feature
    • General Notes:
      • Add Users
        • All fields should be blank
        • No ‘Phone’. Just ‘Classified Phone’ and “Unclassified Phone’
        • No ‘Classified Email’
        • New names for roles (should be common across all panels)
          • ‘Portfolio Manager (NSA)’ [NSA POC from funding]
          • ‘Service Project Manager (site)’ [Technical POC from funding]
          • ‘Finance Analyst (NSA)’ [Funding Mgr from funding]
          • ‘Service Finance POC (site)’ [Financial POC from funding]
      • Create Project
        • Does start FY have a validator for bad years (i.e 200001)? This could be a dropdown from current year -4 to current year + 4?
        • Year columns in grid should be based off of the Start FY
        • Make roles in project creation the same as those in “Add User’, above
        • ‘VFR’ should be ‘UFR’
        • ‘Appropriation’ should be a combobox
        • Add Budget’ dialog should have the following fields:
          • Budget Center Number (validate for uniqueness)
          • Budget Center Name(validate for uniqueness)
          • Capability (Addable list)
          • Expenditure Center (Addable list)
          • Investment Portfolio (Addable list)
      • Add Funding
        • Populate information in funding request from project info: (project name, project number, budget center and budget
        • Move save button to lower right
        • Eliminate capability field, since it’s linked to budget center
        • Portfolio manager field can be deleted. It’s the NSA POC (which should be ‘Portfolio Manager (NSA)’)

Phil 5.28.2010

7:30 – 9:00 VISIBILITY

  • Made sure everything was working and checked on email. The place is *empty*

9:00 – 4:00 FP

  • More fixing Dprint changes
  • With Tom’s help, got the whole system working
  • Added Singleton DataDictionary. Need to do this to Dpring

Dong Shin 05.28.2010

  • working from home
  • changing CollapsiblePanels of FinancialDataSetCanvas to DynamicPanels and putting it in ManagedCanvas… done
    • start with minimized – hitting some performance snags on Maximize.. disabled for now
    • disallow – Maximize, Close
  • Disabled future date selection on Invoice Date Entries – only past dates and today are allowed
  • Invoice Form and Datagrid switched – Form on top, Datagrid on bottom
  • only PM Actuals row can enter invoice data on Financial Data
  • uploaded ProjPortfolioMgr.052810.zip to http://downloads.viz-n.com