pokerogue/public/images/ui/legacy
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
..
windows [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
ability_bar_left.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
ability_bar_right.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
achv_bar_2.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
achv_bar_3.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
achv_bar_4.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
achv_bar_5.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
achv_bar.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
bg.json Fix legacy BG not treated as atlas 2024-03-31 21:48:32 -04:00
bg.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
bgm_bar.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
bmenu_sel.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
boolean_sel.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
button_tera.json [Feature] Tera Rework (#5233) 2025-02-16 16:20:50 -05:00
button_tera.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
candy_overlay.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
candy.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
champion_ribbon.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
cursor_reverse.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
cursor_tera.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
cursor.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
dawn_icon_bg.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
dawn_icon_fg.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
dawn_icon_mg.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
day_icon_bg.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
day_icon_fg.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
day_icon_mg.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
discord.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
dusk_icon_bg.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
dusk_icon_fg.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
dusk_icon_mg.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
egg_list_bg.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
egg_summary_bg.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
favorite.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
friendship_overlay.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
friendship.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
google.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
ha_capsule.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
hall_of_fame_blue.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
hall_of_fame_red.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
icon_egg_move.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
icon_lock.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
icon_owned.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
icon_spliced.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
icon_stop.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
icon_tera.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
link_icon.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
mmenu_sel.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
mystery_egg.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
namebox.json Add themed namebox 2024-04-01 10:06:28 -04:00
namebox.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
night_icon_bg.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
night_icon_fg.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
night_icon_mg.png [QoL] Add Time of Day Widget to Arena Flyout (#1846) 2024-06-05 22:57:55 -05:00
normal_memory.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
numbers_alt.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
numbers_red_alt.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
numbers_red.json Re-implement UI reskin with working legacy toggle 2024-03-31 21:14:35 -04:00
numbers_red.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
numbers.json Re-implement UI reskin with working legacy toggle 2024-03-31 21:14:35 -04:00
numbers.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
overlay_exp.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
overlay_hp_boss.json Re-implement UI reskin with working legacy toggle 2024-03-31 21:14:35 -04:00
overlay_hp_boss.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
overlay_hp.json Re-implement UI reskin with working legacy toggle 2024-03-31 21:14:35 -04:00
overlay_hp.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
overlay_lv_alt.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
overlay_lv.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
overlay_message.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
party_bg_double_manage.png [UI/UX] Implement Discard Button (#5985) 2025-07-31 16:14:51 -04:00
party_bg_double.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
party_bg.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
party_cancel.json Re-implement UI reskin with working legacy toggle 2024-03-31 21:14:35 -04:00
party_cancel.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
party_discard.json [UI/UX] Implement Discard Button (#5985) 2025-07-31 16:14:51 -04:00
party_discard.png [UI/UX] Implement Discard Button (#5985) 2025-07-31 16:14:51 -04:00
party_exp_bar.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
party_pb.json Re-implement UI reskin with working legacy toggle 2024-03-31 21:14:35 -04:00
party_pb.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
party_slot_hp_bar.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
party_slot_hp_overlay.json Re-implement UI reskin with working legacy toggle 2024-03-31 21:14:35 -04:00
party_slot_hp_overlay.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
party_slot_main.json Re-implement UI reskin with working legacy toggle 2024-03-31 21:14:35 -04:00
party_slot_main.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
party_slot_overlay_hp.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
party_slot_overlay_lv_alt.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
party_slot_overlay_lv.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
party_slot.json Re-implement UI reskin with working legacy toggle 2024-03-31 21:14:35 -04:00
party_slot.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
party_transfer.json [UI/UX] Implement Discard Button (#5985) 2025-07-31 16:14:51 -04:00
party_transfer.png [UI/UX] Implement Discard Button (#5985) 2025-07-31 16:14:51 -04:00
passive_bg.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
pb_tray_ball.json Re-implement UI reskin with working legacy toggle 2024-03-31 21:14:35 -04:00
pb_tray_ball.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
pb_tray_overlay_enemy.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
pb_tray_overlay_player.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
pbinfo_enemy_boss_stats.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
pbinfo_enemy_boss.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
pbinfo_enemy_mini_stats.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
pbinfo_enemy_mini.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
pbinfo_enemy_type1.json Add battle info type icons 2024-04-03 21:19:42 -04:00
pbinfo_enemy_type1.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
pbinfo_enemy_type2.json Add battle info type icons 2024-04-03 21:19:42 -04:00
pbinfo_enemy_type2.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
pbinfo_enemy_type.json Add monotype icons 2024-04-04 12:27:41 -04:00
pbinfo_enemy_type.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
pbinfo_player_mini_stats.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
pbinfo_player_mini.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
pbinfo_player_stats.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
pbinfo_player_type1.json Add battle info type icons 2024-04-03 21:19:42 -04:00
pbinfo_player_type1.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
pbinfo_player_type2.json Add battle info type icons 2024-04-03 21:19:42 -04:00
pbinfo_player_type2.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
pbinfo_player_type.json Fix typo in electric monotype icon json 2024-04-04 15:26:26 -04:00
pbinfo_player_type.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
pbinfo_player.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
pbinfo_stat_numbers.json [QoL] IV scanner update to hide the prompt and let you see the stats mid battle on the stats screen (#3285) 2024-08-08 01:04:12 -04:00
pbinfo_stat_numbers.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
pbinfo_stat.json [QoL] IV scanner update to hide the prompt and let you see the stats mid battle on the stats screen (#3285) 2024-08-08 01:04:12 -04:00
pbinfo_stat.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
pokedex_summary_bg.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
prompt.json Re-implement UI reskin with working legacy toggle 2024-03-31 21:14:35 -04:00
prompt.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
saving_icon.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
scroll_bar_handle.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
scroll_bar.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
select_cursor_highlight_thick.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
select_cursor_highlight.png Re-implement UI reskin with working legacy toggle 2024-03-31 21:14:35 -04:00
select_cursor_pokerus.png Re-implement UI reskin with working legacy toggle 2024-03-31 21:14:35 -04:00
select_cursor.png Re-implement UI reskin with working legacy toggle 2024-03-31 21:14:35 -04:00
select_gen_cursor_highlight.png Re-implement UI reskin with working legacy toggle 2024-03-31 21:14:35 -04:00
select_gen_cursor.png Re-implement UI reskin with working legacy toggle 2024-03-31 21:14:35 -04:00
settings_icon.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
shiny_1.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
shiny_2.png Update shiny luck mechanics and count both fusion components 2024-04-26 11:31:39 -04:00
shiny_icons.json Add missing shiny icons for legacy UI 2024-06-25 20:53:06 -05:00
shiny_icons.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
shiny_small_1.png Update shiny luck mechanics and count both fusion components 2024-04-26 11:31:39 -04:00
shiny_small_2.png Update shiny luck mechanics and count both fusion components 2024-04-26 11:31:39 -04:00
shiny_small.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
shiny.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
starter_container_bg.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
starter_select_bg.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
summary_bg.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
summary_moves_cursor.json Re-implement UI reskin with working legacy toggle 2024-03-31 21:14:35 -04:00
summary_moves_cursor.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
summary_moves_effect.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
summary_moves_overlay_pp.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
summary_moves_overlay_row.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
summary_moves.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
summary_overlay_shiny.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
summary_profile_ability.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
summary_profile_passive.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
summary_profile_prompt_a.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
summary_profile_prompt_z.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
summary_profile.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
summary_stats_overlay_exp.png Re-implement UI reskin with working legacy toggle 2024-03-31 21:14:35 -04:00
summary_stats.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
summary_status.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
summary_tabs_1.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
summary_tabs_2.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
summary_tabs_3.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
type_bgs.json Re-implement UI reskin with working legacy toggle 2024-03-31 21:14:35 -04:00
type_bgs.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
type_tera.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00
unlink_icon.png [UI/UX] Optimized images (#6125) 2025-07-21 10:40:21 -07:00