branchsbox/asset-browser-2cancel
40 Commits over 61 Days - 0.03cph!
Invoke events
Clean up
Implement asset picker
If a picked asset is a cloud package then stick the ident in the search bar in the asset picker
Rather than going to .sbox/blablabla
Remove AssetPopup, we're just overcomplicating things for no reason there
Directory context menu
Clean up asset list entries
Remove unused, hook up AssetLocations.OnFolderSelected
Asset type picker entries are now handled by AssetBrowser/CloudBrowser
Open up asset locations
https://files.facepunch.com/alexguthrie/1b0211b1/sbox-dev_mXx146R80H.png
Add all types to cloud browser
Can only select one cloud asset type at once (or it'll mess with facets etc.)
https://files.facepunch.com/alexguthrie/1b0211b1/sbox-dev_1BIcVF3lFI.mp4
Order modes
Add cloud browser to hammer
Asset browser defaults to project assets path
Update view mode icon when scrolling
Disable Parent Directory button if we're in project assets root
PathWidget fixes, separate segment update
Remove AssetBrowserLocation.FromPath, unused
Run OnPathEdited at the end of AssetBrowser ctor so we can disable Parent Directory button if needed
Rebase fixes
Use ContextMenu
Initial
Assets have colors - these all suck right now, will go back through and pick some less sucky colours later
Preview tweaks
Search widget
Asset popup, will turn this into something more tooltip-oriented later
Split left / split right
Chips from tags
Tweak styling, move current project to top of asset locations list
Implement chip tag filtering
Initial cloud browser, separate from asset browser
Initial tabbed asset picker w/ both local and cloud assets
Get rid of cloud browser chips, move facets next to search bar
Remove DropDown widget I added and roll facet dropdown into its own widget, simpler
Initial tabbed asset picker w/ both local and cloud assets
https://files.facepunch.com/alexguthrie/1b2711b1/sbox-dev_WENJnEwfYb.png
Facet dropdown cleanup
Only select 1 entry per facet, display selected name and icon in dropdown
https://files.facepunch.com/alexguthrie/1b2711b1/sbox-dev_AueEMTPu9O.png
Max 15 tags
Simplify list drawing code a bit, display author in cloud view
Make chips widget shorter
Fix Facet icons
DropDown widget
Tweak AssetList icon sizing
Display facets next to tags - not a huge fan of this, seems overly compliated
https://files.facepunch.com/alexguthrie/1b2611b1/sbox-dev_LSGvHQMFEE.png
sbox.game browser -> cloud browser
Fix chips height based on whether there are / aren't any
Cloud list view
https://files.facepunch.com/alexguthrie/1b2511b1/sbox-dev_PP05UtzRQT.png
Cloud chips
Fixes
Accumulate tags
https://files.facepunch.com/alexguthrie/1b2511b1/sbox-dev_a9UaWWMIeH.mp4
Remove cloud from asset locations
Stick org icon next to asset info
https://files.facepunch.com/alexguthrie/1b2411b1/sbox-dev_C9MXtG8BHu.png
Initial cloud browser, separate from asset browser
https://files.facepunch.com/alexguthrie/1b2411b1/sbox-dev_H2QXLFoiGB.png
Bullshit file filtering
Add option to show only assets
Refactor list drawing
Put type icon in top left
Improve search performance
List view shows time & modified date
Those folders should have been blue
Show file sizes in list view
https://files.facepunch.com/alexguthrie/1b2011b1/sbox-dev_fjHVEp2Awp.png
Implement chip tag filtering
https://files.facepunch.com/alexguthrie/1b1911b1/sbox-dev_0quPxgWO64.mp4
Reverse recent locations & limit to 10 to match Windows Explorer functionality
Recent locations button
Tweak styling, move current project to top of asset locations list
https://files.facepunch.com/alexguthrie/1b1911b1/sbox-dev_cY35ptbOcb.png
Chip count
Tag friendly names
Split left / split right copies path
Split left / split right
Chips from tags
Refactor
Asset locations - remove duplicated nodes, target Assets dir only, tweak styling
https://files.facepunch.com/alexguthrie/1b1811b1/NVIDIA_Overlay_Uk3MO0IfOp.png
Initial
Assets have colors - these all suck right now, will go back through and pick some less sucky colours later
New styling - gradient background, mini icon, etc.
Search widget
Type / tag filters
Asset categories / grouping
Search impl
Asset popup, will turn this into something more tooltip-oriented later
Breadcrumbs
Rebase fixes
Search improvements
Asset popup, will turn this into something more tooltip-oriented later
https://files.facepunch.com/alexguthrie/1b1311b1/NVIDIA_Overlay_dydj5BF71f.png
Finish up breadcrumbs
https://files.facepunch.com/alexguthrie/1b1311b1/NVIDIA_Overlay_hwWEGSpi0T.mp4
Tweak categories
Group asset types with a toggle
https://files.facepunch.com/alexguthrie/1b1211b1/NVIDIA_Overlay_IwtzsHuw5A.mp4
Revert "Test rendering asset thumbnails as animated images, see if it works"
This reverts commit 3df3c676a41be1aeacddc99c8a0640e2c6c976a6.
Basic search
Make search progressive
Search through subdirectories
https://files.facepunch.com/alexguthrie/1b1211b1/NVIDIA_Overlay_JJc4EiRmM9.mp4
Basic filters
https://files.facepunch.com/alexguthrie/1b1111b1/NVIDIA_Overlay_CsbSssrrui.png
Tag prefix provider
Don't need prefix for autocomplete
https://files.facepunch.com/alexguthrie/1b1111b1/NVIDIA_Overlay_8lj3rVaSwA.png
Test rendering asset thumbnails as animated images, see if it works
Means we're not loading an asset when you hover over something.
Works nicely but not sure about thumbnail generation times or cached
thumbnail sizes
https://files.facepunch.com/alexguthrie/1b0611b1/NVIDIA_Overlay_4Y9sYV1MfZ.mp4
Live preview test
Live preview cleanup, fade
https://files.facepunch.com/alexguthrie/1b0511b1/NVIDIA_Overlay_6A9K6s7Uiv.mp4
LivePreview fixes
Search widget
Get rid of live preview, not a good idea right now
Image & prefab preview tweaks
Use poppins for "add..." button
Asset highlight tweaks
Gradient backgrounds
https://files.facepunch.com/alexguthrie/1b0511b1/sbox-dev_jeVfRAn7hg.png
Tweak mini icon position
PathWidget defaults to not editing
Add "new..." toolbar button
Remove "Add..." icon that was placed alongside assets
AssetEntry tweaks
Move small icon to bottom left
https://files.facepunch.com/alexguthrie/1b0411b1/sbox-dev_ErwJGSWqRl.png
PathWidget fixes
Fuck calling GetFileThumbnail(), create bespoke icons for unknown file types
I was hoping that the qt api stuff I was using here would show nice
previews, but it's just a really slow way to get the default Windows
thumbnail for a file, which kinda sucks
Takes loading a folder of 10,000 files from 20 seconds down to virtually
instant
Initial breadcrumb path widget (stole this idea from Sol)
https://files.facepunch.com/alexguthrie/1b0411b1/sbox-dev_kd5mxUPugL.png
Click path widget to edit
Folder icons
https://files.facepunch.com/alexguthrie/1b0411b1/sbox-dev_ybsrWWIkvk.png
Asset types use game resource background color if available
Nav
Better lighting on material preview
Marginally better, just to differentiate from textures inside asset browser
https://files.facepunch.com/alexguthrie/1b0411b1/chrome_PKtw8FvsR0.png
Might revisit and make these animated or something later?
Test 'new entry' button, asset entries handle overlay & icon rendering themselves
New theming test for asset list
https://files.facepunch.com/alexguthrie/1b0411b1/NVIDIA_Overlay_BMbGEdG72f.png
Use asset type colors inside FileUsageWidget
Assets have colors - these all suck right now, will go back through and pick some less sucky colours later
Refactor AssetList
QFile bindings for thumbnails
Can specify width/height for file thumb
Initial - strip everything down (remove filtering etc)