PricingView holds all state for the pricing screen.
| 111 | |
| 112 | // PricingView holds all state for the pricing screen. |
| 113 | type PricingView struct { |
| 114 | ActiveSection PricingSection |
| 115 | BuilderFocus BuilderFocus |
| 116 | CommandBuilder CommandBuilderState |
| 117 | Items []PricingDisplayItem |
| 118 | FilteredItems []PricingDisplayItem |
| 119 | Selected int |
| 120 | ResultsPage int |
| 121 | ResultsPerPage int |
| 122 | Loading bool |
| 123 | ErrorMessage string |
| 124 | SuggestionsCache []semantic.SuggestionItem |
| 125 | SuggestionIndex int // -1 = none |
| 126 | SuggestionScroll int // first visible row in the suggestion grid |
| 127 | HScrollOffset int // index into scrollable attr columns |
| 128 | scrollColCount int // total scrollable attr columns, set each Render |
| 129 | Options *PricingOptions |
| 130 | Width int |
| 131 | Height int |
| 132 | } |
| 133 | |
| 134 | // PricingOptions mirrors the Rust PricingOptions struct. |
| 135 | type PricingOptions struct { |
nothing calls this directly
no outgoing calls
no test coverage detected