Skip to content

Commit

Permalink
Add latest and trending builds list to the build list module (PathOfB…
Browse files Browse the repository at this point in the history
…uildingCommunity#7389)

* Add ascendancy assets.

* Add archives list control.

* Add archive list control to buildlist module.

* Make build list module responsive.

* ArchivesList: prevent missing image artwork for builds with no ascendancies.

* ArchivesList: prevent line and stats collapsing on some builds.

* ArchivesList: fix scrollbar content dimensions.

* ArchivesListControl: Display life or es depending on which is greater.

* ArchivesListControl: prevent stats overlapping on smaller screens.

* ArchivesListControl: resize button on screen size change.

* ArchivesListControl: implement word-break on main skill field.

* ArchivesListControl: hide author name from the build cards.

* rename ExtBuildListControl.

* Refactor class names.

* Add ExtBuildListProvider abstract class.

* Add PoBArchivesProvider class.

* Modify ExtBuildListControl to have a generic implementation.

* Highlight active tab, use white border.

* ExtBuildListControl: Add responsive behaviour to the tabs and dropdown.

* ExtBuildListControl: Fix scrollbar.

* Store import links in the xml.

* Build: Implement similar builds list.

* ExtBuildListControl: Prevent overflow on bottom side.

* Common: Add import build utility function.

* Remove unnecessary debug.

* Convert protocol handler URI's to import links on startup.

* Implement similarity check for all builds.

- Add Metadata section to build cards.

* Print proper error messages on build list.

* Add similar builds popup.

* Add class portrait assets.

* Use class portraits as fallback images.

* Remove unnecessary assets, fix templar portrait.

* Formatting changes

* ExtBuildListProvider: Fix indentation.

* Fix bugged font

* Further font fix

* Fix split string calculation with different fonts

* Button layout and text positions

* Fix spacing on builds page

* Fix Similar builds Popup on different window size

Fix from Peechey in discord

* Revert "Fix Similar builds Popup on different window size"

This reverts commit 257c4a5.

* General popup resize code

* Add show public builds options to settings.

* Update latest-trending builds option name.

* Add help section and tooltip for similar builds.

* Use build names as a filename placeholder after importing.

* Add cells to the grid, fix horizontal line issue.

* Center version text.

* Improve responsiveness of builds list menu.

* Rearrange similar builds button after loadouts.

* Remove redundant function.

* Check if image asset exists, prevents Warden placeholder.

* Reduce code complexity.

* Fix savename using filepath as a placeholder.

* Fix indentation.

* Use buttoncontrol for import/preview button handling.

* Use a seperator function for repeated drawings.

- Autofill lines below portrait.

* Add some colors to stats.

* Add raider image as warden placeholder.

* Fix builds menu scroll issue.

- Content height was fine on similar builds
but See All button in buildlist was partially
hiding the import/preview buttons.

* Apply suggestions from code review.

Co-authored-by: Wires77 <Wires77@users.noreply.github.com>

* Remove unnecessary title padding.

* Fix buildlist and searchtext responsive issues

* Swap Trending and Latest tabs

---------

Co-authored-by: LocalIdentity <localidentity2@gmail.com>
Co-authored-by: Wires77 <Wires77@users.noreply.github.com>
  • Loading branch information
3 people authored Jul 25, 2024
1 parent 4494bd7 commit 8bea7bd
Show file tree
Hide file tree
Showing 42 changed files with 865 additions and 22 deletions.
11 changes: 11 additions & 0 deletions help.txt
Original file line number Diff line number Diff line change
Expand Up @@ -180,3 +180,14 @@ If you wish to add more items, you can copy and paste items using CTRL+C (from t
The item sets section located at the top of the screen can be used to save multiple sets of items and easily switch between them. You can add, remove, rename, and copy new sets using the "Manage..." button.

If you want to search for item upgrades, you can use the "Trade for these items" button to quickly search for items that can improve your gear.

---[Similar Builds Popup]

The Similar Builds Popup allows you to search for builds similar to your current character.

To access the Similar Builds Popup, click on the "Similar Builds" button located at the top of the screen.

It will fetch the builds most similar to your character and sort them by the latest league and match score.

For best results, make sure to select your main item set, tree, and skills before opening the popup.
If you are using leveling gear/tree, it will match with other leveling builds.
Binary file modified runtime/SimpleGraphic/Fonts/Liberation Sans Bold.18.tga
Binary file not shown.
2 changes: 1 addition & 1 deletion runtime/SimpleGraphic/Fonts/Liberation Sans Bold.tgf
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ GLYPH 70 176 2 1 1; // 108 (l)
GLYPH 76 176 13 0 1; // 109 (m)
GLYPH 93 176 9 0 1; // 110 (n)
GLYPH 106 176 8 1 1; // 111 (o)
GLYPH 0 198 9 0 1; // 112 (p)
GLYPH 0 198 8 1 1; // 112 (p)
GLYPH 13 198 8 1 1; // 113 (q)
GLYPH 25 198 6 0 0; // 114 (r)
GLYPH 35 198 7 1 1; // 115 (s)
Expand Down
Binary file added src/Assets/ascendants/ascendant.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/Assets/ascendants/assassin.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/Assets/ascendants/berserker.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/Assets/ascendants/champion.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/Assets/ascendants/chieftain.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/Assets/ascendants/deadeye.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/Assets/ascendants/duelist.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/Assets/ascendants/elementalist.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/Assets/ascendants/gladiator.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/Assets/ascendants/guardian.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/Assets/ascendants/hierophant.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/Assets/ascendants/inquisitor.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/Assets/ascendants/juggernaut.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/Assets/ascendants/marauder.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/Assets/ascendants/necromancer.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/Assets/ascendants/occultist.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/Assets/ascendants/pathfinder.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/Assets/ascendants/raider.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/Assets/ascendants/ranger.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/Assets/ascendants/saboteur.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/Assets/ascendants/scion.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/Assets/ascendants/shadow.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/Assets/ascendants/slayer.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/Assets/ascendants/templar.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/Assets/ascendants/trickster.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/Assets/ascendants/warden.jpeg
Binary file added src/Assets/ascendants/witch.jpeg
3 changes: 3 additions & 0 deletions src/Classes/BuildListControl.lua
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ local BuildListClass = newClass("BuildListControl", "ListControl", function(self
end
end
self.dragTargetList = { self.controls.path, self }
self.controls.path.width = function ()
return self.width()
end
end)

function BuildListClass:SelByFileName(selFileName)
Expand Down
Loading

0 comments on commit 8bea7bd

Please sign in to comment.