pokerogue/public/images
Tiago Rodrigues 75ececd942
[UI/UX] Implement Discard Button (#5985)
* [feature]Implemented needed parts for discard function from issue #4780:
-TryDiscardFunction in battlescene;
-Created a party discard mode button;
-Updated Transfer button in modifier-select-ui-handler to Manage items;
-Created tests for the discard function in test/ui;
-Added images for the new discard and transfer buttons to loading-scene;
-Created placeholder messages for discard feature in party-ui-handler;

Co-authored-by: Tiago Rodrigues <tiago.n.rodrigues@tecnico.ulisboa.pt>

* [Fix] Updated icon for dynamic messaging

* [Fix] Corrected legacy mode icons and adjusted double-battle button location

* [Fix]Adjusted button positioning and mapping after review. Mapping requires debugging.

* [Fix] Fixed visible pokeball in legacy mode and key mapping

* [Fix] Background fixes,manage menu is the only one affected by changes now

* Implement i18n keys

* [Fix] implemented most code optimizations and callbacks to the modified locales folder

* [Fix] Implemented 3 suggestions

* [Fix]improved/corrected test structure

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>

* [Fix] added functionality test for the discard button

* [Fix] added necessary comment

Co-authored-by: Bertie690 <136088738+Bertie690@users.noreply.github.com>

* [Fix] Implemented suggested changes in test/discard text prompt

* [Fix] Implemented UI suggestions and removed discard text confirmation

* [Fix] added missing imports

* Fix imports in test file

* [Fix] Implemented suggested cursor behavior and reworked test code

* [Fix] Corrected failed test

* [Fix] atempting to fix the test timeout issue

* [Fix] Undoing latest attempt

* [Fix] Implemented suggestions to fix broken tests

* Reviews

* [Fix] replaced icon images

* [Fix] Updated jsons to match new icons and removed pokeball icon from legacy mode

* Optimized new images

* [Fix] Fixed referenced bug and added similar confirmation box to release

* [Fix] Updated tests to handle the corfirmation box

* [Fix] Added back the accidentally removed changes

* [Fix]updated incorrect import path

* [fix] add description for the manageItemMode function

Co-authored-by: Bertie690 <136088738+Bertie690@users.noreply.github.com>

* Update src/ui/party-ui-handler.ts

Co-authored-by: Bertie690 <136088738+Bertie690@users.noreply.github.com>

* [Fix] corrected formating issue

---------

Co-authored-by: Mikhail Shueb <mikhail.shueb@tecnico.ulisboa.pt>
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
Co-authored-by: Bertie690 <136088738+Bertie690@users.noreply.github.com>
Co-authored-by: damocleas <damocleas25@gmail.com>
Co-authored-by: Bertie690 <taylormw163@gmail.com>
Co-authored-by: Adri1 <adrien.grivel@hotmail.fr>
2025-07-31 16:14:51 -04:00
..
arenas [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
battle_anims [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
cg [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
character [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
effects [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
egg [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
events [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
inputs [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
items [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
mystery-encounters [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
pokeball [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
pokemon [UI/UX] Optimized Pokémon PNGs (#6130) 2025-07-23 11:16:09 -07:00
trainer [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
ui [UI/UX] Implement Discard Button (#5985) 2025-07-31 16:14:51 -04:00
categories_legacy.json
categories_legacy.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
categories.json
categories.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
intro_dark.mp4
items.json [Sprite] Replace Foul Berry Juice sprite (#6066) 2025-07-06 12:22:06 -07:00
items.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
logo.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
pb.json
pb.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
pbinfo_stat_numbers.json
pokemon_icons_0.json
pokemon_icons_0.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
pokemon_icons_1.json
pokemon_icons_1.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
pokemon_icons_1v.json [Sprite] Variant Spring Implementation (#5483) 2025-05-01 20:12:57 -04:00
pokemon_icons_1v.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
pokemon_icons_2.json
pokemon_icons_2.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
pokemon_icons_2v.json [Sprite] Variant Spring Implementation (#5483) 2025-05-01 20:12:57 -04:00
pokemon_icons_2v.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
pokemon_icons_3.json
pokemon_icons_3.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
pokemon_icons_3v.json [Sprite] Variant Spring Implementation (#5483) 2025-05-01 20:12:57 -04:00
pokemon_icons_3v.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
pokemon_icons_4.json
pokemon_icons_4.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
pokemon_icons_4v.json [Sprite] Add missing variant icons, fix misnamed variant icons (#5751) 2025-05-03 01:50:23 +00:00
pokemon_icons_4v.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
pokemon_icons_5.json
pokemon_icons_5.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
pokemon_icons_5v.json [Sprite] Minior and Ferrothorn variants (#6005) 2025-06-18 19:49:21 -04:00
pokemon_icons_5v.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
pokemon_icons_6.json
pokemon_icons_6.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
pokemon_icons_6v.json [Sprite] Variant Spring Implementation (#5483) 2025-05-01 20:12:57 -04:00
pokemon_icons_6v.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
pokemon_icons_7.json [Sprite] Minior and Ferrothorn variants (#6005) 2025-06-18 19:49:21 -04:00
pokemon_icons_7.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
pokemon_icons_7v.json [Sprite] Minior and Ferrothorn variants (#6005) 2025-06-18 19:49:21 -04:00
pokemon_icons_7v.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
pokemon_icons_8.json
pokemon_icons_8.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
pokemon_icons_8v.json [Sprite] Add missing variant icons, fix misnamed variant icons (#5751) 2025-05-03 01:50:23 +00:00
pokemon_icons_8v.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
pokemon_icons_9.json
pokemon_icons_9.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
pokemon_icons_9v.json [Sprite] Add missing variant icons, fix misnamed variant icons (#5751) 2025-05-03 01:50:23 +00:00
pokemon_icons_9v.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
statuses_ca.json [Localization] Secondary pending languages inclusion (#5903) 2025-05-30 23:54:17 +00:00
statuses_ca.png [UI/UX] [Localization] Optimized type/status icons + new translations (#6120) 2025-07-19 15:57:58 -07:00
statuses_da.json [Localization] Secondary pending languages inclusion (#5903) 2025-05-30 23:54:17 +00:00
statuses_da.png [UI/UX] [Localization] Optimized type/status icons + new translations (#6120) 2025-07-19 15:57:58 -07:00
statuses_de.json
statuses_de.png [UI/UX] [Localization] Optimized type/status icons + new translations (#6120) 2025-07-19 15:57:58 -07:00
statuses_es-ES.json
statuses_es-ES.png [UI/UX] [Localization] Optimized type/status icons + new translations (#6120) 2025-07-19 15:57:58 -07:00
statuses_es-MX.json [Localization] LATAM Spanish inclusion (#5582) 2025-03-30 19:29:28 +00:00
statuses_es-MX.png [UI/UX] [Localization] Optimized type/status icons + new translations (#6120) 2025-07-19 15:57:58 -07:00
statuses_fr.json
statuses_fr.png [UI/UX] [Localization] Optimized type/status icons + new translations (#6120) 2025-07-19 15:57:58 -07:00
statuses_it.json
statuses_it.png [UI/UX] [Localization] Optimized type/status icons + new translations (#6120) 2025-07-19 15:57:58 -07:00
statuses_ja.json
statuses_ja.png [UI/UX] [Localization] Optimized type/status icons + new translations (#6120) 2025-07-19 15:57:58 -07:00
statuses_ko.json
statuses_ko.png [UI/UX] [Localization] Optimized type/status icons + new translations (#6120) 2025-07-19 15:57:58 -07:00
statuses_pt-BR.json
statuses_pt-BR.png [UI/UX] [Localization] Optimized type/status icons + new translations (#6120) 2025-07-19 15:57:58 -07:00
statuses_ro.json [Localization] Secondary pending languages inclusion (#5903) 2025-05-30 23:54:17 +00:00
statuses_ro.png [UI/UX] [Localization] Optimized type/status icons + new translations (#6120) 2025-07-19 15:57:58 -07:00
statuses_ru.json [Localization] Secondary pending languages inclusion (#5903) 2025-05-30 23:54:17 +00:00
statuses_ru.png [UI/UX] [Localization] Optimized type/status icons + new translations (#6120) 2025-07-19 15:57:58 -07:00
statuses_tr.json [Localization] Secondary pending languages inclusion (#5903) 2025-05-30 23:54:17 +00:00
statuses_tr.png [UI/UX] [Localization] Optimized type/status icons + new translations (#6120) 2025-07-19 15:57:58 -07:00
statuses_zh-CN.json
statuses_zh-CN.png [UI/UX] [Localization] Optimized type/status icons + new translations (#6120) 2025-07-19 15:57:58 -07:00
statuses_zh-TW.json
statuses_zh-TW.png [UI/UX] [Localization] Optimized type/status icons + new translations (#6120) 2025-07-19 15:57:58 -07:00
statuses.json
statuses.png [UI/UX] [Localization] Optimized type/status icons + new translations (#6120) 2025-07-19 15:57:58 -07:00
types_ca.json [Localization] Secondary pending languages inclusion (#5903) 2025-05-30 23:54:17 +00:00
types_ca.png [UI/UX] [Localization] Optimized type/status icons + new translations (#6120) 2025-07-19 15:57:58 -07:00
types_da.json [Localization] Secondary pending languages inclusion (#5903) 2025-05-30 23:54:17 +00:00
types_da.png [UI/UX] [Localization] Optimized type/status icons + new translations (#6120) 2025-07-19 15:57:58 -07:00
types_de.json
types_de.png [UI/UX] [Localization] Optimized type/status icons + new translations (#6120) 2025-07-19 15:57:58 -07:00
types_es-ES.json
types_es-ES.png [UI/UX] [Localization] Optimized type/status icons + new translations (#6120) 2025-07-19 15:57:58 -07:00
types_es-MX.json [Localization] LATAM Spanish inclusion (#5582) 2025-03-30 19:29:28 +00:00
types_es-MX.png [UI/UX] [Localization] Optimized type/status icons + new translations (#6120) 2025-07-19 15:57:58 -07:00
types_fr.json
types_fr.png [UI/UX] [Localization] Optimized type/status icons + new translations (#6120) 2025-07-19 15:57:58 -07:00
types_it.json
types_it.png [UI/UX] [Localization] Optimized type/status icons + new translations (#6120) 2025-07-19 15:57:58 -07:00
types_ja.json
types_ja.png [UI/UX] [Localization] Optimized type/status icons + new translations (#6120) 2025-07-19 15:57:58 -07:00
types_ko.json
types_ko.png [UI/UX] [Localization] Optimized type/status icons + new translations (#6120) 2025-07-19 15:57:58 -07:00
types_legacy.json
types_pt-BR.json
types_pt-BR.png [UI/UX] [Localization] Optimized type/status icons + new translations (#6120) 2025-07-19 15:57:58 -07:00
types_ro.json [Localization] Secondary pending languages inclusion (#5903) 2025-05-30 23:54:17 +00:00
types_ro.png [UI/UX] [Localization] Optimized type/status icons + new translations (#6120) 2025-07-19 15:57:58 -07:00
types_ru.json [Localization] Secondary pending languages inclusion (#5903) 2025-05-30 23:54:17 +00:00
types_ru.png [UI/UX] [Localization] Optimized type/status icons + new translations (#6120) 2025-07-19 15:57:58 -07:00
types_tr.json [Localization] Secondary pending languages inclusion (#5903) 2025-05-30 23:54:17 +00:00
types_tr.png [UI/UX] [Localization] Optimized type/status icons + new translations (#6120) 2025-07-19 15:57:58 -07:00
types_zh-CN.json
types_zh-CN.png [UI/UX] [Localization] Optimized type/status icons + new translations (#6120) 2025-07-19 15:57:58 -07:00
types_zh-TW.json
types_zh-TW.png [UI/UX] [Localization] Optimized type/status icons + new translations (#6120) 2025-07-19 15:57:58 -07:00
types.json
types.png [UI/UX] [Localization] Optimized type/status icons + new translations (#6120) 2025-07-19 15:57:58 -07:00