Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FEAT(client, ui): separate ipv4 and ipv6 in ServerItem tooltip #5714

Merged
merged 2 commits into from Jul 23, 2022

Conversation

inodanus
Copy link
Contributor

@inodanus inodanus commented Jun 2, 2022

The "Addresses" field in the ServerItem tooltip shows both ipv4 and ipv6
addresses. The order of addresses in this field is not determined.
In the wild it is randomized. As discussed in #5696 it is better to implement
a concrete ordering to prevent user confusion. To further improve the
readability of the addresses we split the addresses field in two fields
called "IPv4 address" and "IPv6 address". The ipv4 address is now always
shown above the ipv6 address.

Implements #5696

Co-Authored-By: GuybrushThreepwoodII

Checks

Copy link
Member

@Krzmbrzl Krzmbrzl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Once you have made all changes (just edit your commit and then force-push your branch), please also run scripts/updatetranslations.py in order to update the source texts for the translations.

src/HostAddress.h Show resolved Hide resolved
src/mumble/ConnectDialog.cpp Outdated Show resolved Hide resolved
src/mumble/ConnectDialog.cpp Outdated Show resolved Hide resolved
@Krzmbrzl Krzmbrzl added client ui feature-request This issue or PR deals with a new feature labels Jun 3, 2022
@Krzmbrzl
Copy link
Member

Krzmbrzl commented Jun 5, 2022

Just for your information: The commits seem to have been associated with emails that are not connected to your GitHub accounts. This doesn't bother us, but I wanted to make you aware that right now the commits don't attribute authorship to your respective GitHub accounts ☝️

@Krzmbrzl
Copy link
Member

Krzmbrzl commented Jun 5, 2022

Do you happen to have a clang-format 10 installation at hand? If so, please run it on the source files you edited to bring them into the proper formatting. If not, let me know and I can do that for you.
Note that it has to be exactly v10 as otherwise the result will differ and the CI will still be unhappy :)

inodanus and others added 2 commits June 5, 2022 20:03
The "Addresses" field in the ServerItem tooltip shows both ipv4 and ipv6
addresses. The order of addresses in this field is not determined.
In the wild it is randomized. As discussed in mumble-voip#5696 it is better to implement
a concrete ordering to prevent user confusion. To further improve the
readability of the addresses we split the addresses field in two fields
called "IPv4 address" and "IPv6 address". The ipv4 address is now always
shown above the ipv6 address.

Implements mumble-voip#5696

Co-Authored-By: Thomas Pawelek <thomas.pawelek@stud.uni-hannover.de>
@inodanus
Copy link
Contributor Author

inodanus commented Jun 5, 2022

The code should now be correctly formatted with clang-format 10.

@Krzmbrzl Krzmbrzl linked an issue Jun 5, 2022 that may be closed by this pull request
@Krzmbrzl Krzmbrzl merged commit c79f375 into mumble-voip:master Jul 23, 2022
@Krzmbrzl
Copy link
Member

Thank you for your contribution 👍
(And sorry that I forgot about this PR again in the meantime)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
client feature-request This issue or PR deals with a new feature ui
Projects
None yet
Development

Successfully merging this pull request may close these issues.

IPv6 address should always be displayed first in tooltips
2 participants