Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#344 closed enhancement (fixed)

Show unit requirement failures

Reported by: ibboard Owned by: ibboard
Priority: major Milestone: WarFoundry GTK 0.2
Component: WarFoundry-GUI-GTK# Version: Unknown or N/A
Keywords: unit requirement Cc:
Blocked By: #345 Blocking:

Description

ticket:27 is adding unit requirements, but we need to show the user when a requirement is not met.

Change History (11)

comment:1 Changed 8 years ago by ibboard

Status: newconfirmed

comment:2 Changed 8 years ago by ibboard

Blocked By: 27 added

comment:3 Changed 8 years ago by ibboard

Blocked By: 345 added; 27 removed

comment:4 Changed 8 years ago by ibboard

In [960]:

Re #344: Show unit requirement failures

  • First pass using new Requirement objects on FrmNewUnit - needs more testing and styling
  • Remove old references from main window until we get a replacement

comment:5 Changed 8 years ago by ibboard

Owner: set to ibboard
Status: confirmedaccepted

comment:6 Changed 8 years ago by IBBoard <dev@…>

In [2b9fabd653094998594c605d47adb784bb47ca4c/IBBoard.WarFoundry.GUI.GTK]:

Re #344: Show unit requirement failures

  • Use status bar properly
  • Add initial validation label
  • Make use of new event from Army to see when things changed

Also:

  • Commit some automated changes

comment:7 Changed 8 years ago by IBBoard <dev@…>

In [1ce4fe9ae3c1af4cac34024f57bb69a2c6b579c2/IBBoard.WarFoundry.GUI.GTK]:

Re #344: Show unit requirement failures

  • Add an initial way to access requirement failures after adding units

comment:8 Changed 8 years ago by IBBoard <dev@…>

In [f23e5b40ca9dcb99c52c9b2dbe48a4045e50434c/IBBoard.WarFoundry.GUI.GTK]:

Re #344: Show unit requirement failures

  • Add new widget for displaying failures nicely
  • Use widget for displaying failures in main window
  • Use widget for displaying failures in new unit dialog

comment:9 Changed 8 years ago by IBBoard <dev@…>

In [aca4623b7bdfccb4e34fd3bf281329e41b325d5a/IBBoard.WarFoundry.GUI.GTK]:

Re #344: Show unit requirement failures

  • Hide warning widget by default

comment:10 Changed 8 years ago by IBBoard <dev@…>

Resolution: fixed
Status: acceptedclosed

In [929ef50c39198cff31c986ee5e01e77a38c7e3bb/IBBoard.WarFoundry.GUI.GTK]:

Fixes #344: Show unit requirement failures

  • Remove border on scrollable area
  • Make text selectable, in case people want to copy it
  • Shrink size of New Unit window to remove spare space

comment:11 Changed 8 years ago by IBBoard <dev@…>

In [d992758b0150b8a3dd4058af63e21c2ec0c8ea54/IBBoard.WarFoundry.API]:

Re #344: Show unit requirement failures

  • Add event to Army so we can see when anything that might affect validation changes
Note: See TracTickets for help on using tickets.