branchrust_reboot/main/vendingmachine_transaction_historycancel
40 Commits over 0 Days - ∞cph!
main -> vendingmachine_transaction_history
Swapped to virtual item icon on feed entries
- Add the UI to display customer stats
- Save/Load customer stats
- Register all customers who buy (only on serverside)
- Made filters to find best customer, unique customers and repeat customers (all anonymous)
- Fixed some spacing issues
- Fade out green on most revenue and total sales
Bunch of work to ensure perfect alignment no matter the combination of elements enabled/disabled on the feed entries
Added scrollview around listings
Add a bunch of safety checks, utility methods and convars
- Added some small extra stats to the side
- Further Localisation
- Profiling
Localised all the text on new stats page
- Added time icon to show when item was purchased (time + date)
- Colour and style improvements
- Improvements, cleanup and optimisation
- Support a cheaper protobuf
- Get best sold items now works correctly
- Ordered recent transactions properly
Use the correct given amount
Send client selected timescale to the server. Request timescale for the client selected one
Shop name now reflected in stats page
- Add empty feed entry if theres no data yet
- Refresh colours
Fix in RustUI:
Menu options now respect having no icon on them. Rather than defaulting to an information icon
Force rebuild of the icon and text setup if the icon has no been swapped to no icon
- Got recent transactions displaying
- Fixed index
main -> vendingmachine_transaction_history
- Removed doubled stats prefab
- More logging
- Setup feed object parent
Stop NRE on clearing feed
Get admin panel stats instance properly
Initial RPC send and receive framework for stats using protobuf
- Init/Disposal of transaction feed entries
- Setup view system to display a given protobuf of transactions
- Ensure disposal and return to the pool on dialog closed
- Code cleanup
Feed entry script with basic setting
Admin Stats:
- Setup ui dialog panel
- Wired up open/close through admin panel
- Prefabs for panel setup
Super minor refresh to existing vending admin panel: Layout, alignment and some minor styling changes
- Add purchased items to purchase history
- Changes to protobufs
- Some initial protobufs
- RPC setup
Initial setup:
- Created filtering methods for:
- Recent x purchases
- Best sold item
- Best x sold items
- Best x revenue generating items
- x time period sales
- Peak sale hour
- Total sales