Azurency / Azurency/CQUI_Community-Edition

Cities in deal screen not showing correctly

Open
#410 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Lua
Stars
397
Forks
93
PR merge metrics
No merged PRs in 30d

Description

In deal screen cities are usually incorectly named. Adding them to the trade shows the real names but it's not always possible: sometimes clicking just does nothing, even if the city hiding under the button should be tradeable (e.g. not capital).
Here an example:
![Zrzut ekranu (292)](https://user-images.githubusercontent.com/48416874/66929612-a2646e80-f033-11e9-9f28-11e37000047b.png)
Here cities are completly dis-named. Most of them named after my capital - Qusqu. As you can see, clicking one one of them puts in the central list the right city. and by 'the right' I mean the one that should alphabetically be in that position in the left list. But, for example, adding any of the following two Qusqu's to the trade is not possible.
Other symptoms:
-list does not depend on which leader I'm trying to deal with
-changing city name does not usually impact list (even next turn), loosing/aquiring does

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the deal-screen behavior described with the Qusqu example, comparing the names in the left list with the city shown in the central trade list. Check whether non-capital cities can be selected and whether changing names or city ownership affects the list; done means cities display under their correct names and eligible cities can be added to trade.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.