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

Show namespace in Manage Names tab #486

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JeremyRand
Copy link
Member

@JeremyRand JeremyRand commented Dec 30, 2021

No description provided.

@JeremyRand JeremyRand force-pushed the qt-manage-names-namespace branch 2 times, most recently from d4f51b2 to 6966912 Compare January 3, 2022 17:05
@JeremyRand
Copy link
Member Author

Tested; works fine.

@JeremyRand JeremyRand changed the title (WIP) Show namepace in Manage Names tab (WIP) Show namespace in Manage Names tab Mar 12, 2022
@JeremyRand JeremyRand force-pushed the qt-manage-names-namespace branch from 6966912 to cc0080a Compare January 5, 2023 18:53
@JeremyRand JeremyRand changed the title (WIP) Show namespace in Manage Names tab Show namespace in Manage Names tab Jan 5, 2023
@JeremyRand
Copy link
Member Author

@domob1812 This is ready for review.

Copy link

@domob1812 domob1812 left a comment

Choose a reason for hiding this comment

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

ACK cc0080a.

case NameNamespace::IdentityData:
return tr("Identity data %1").arg(desc);
case NameNamespace::NonStandard:
return tr("Non-standard name %1").arg(desc);

Choose a reason for hiding this comment

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

Out of curiosity, I remember already seeing code like this, but I can't find it in the current codebase. Was that just another PR or am I simply mistaken here? Of course if we already have a switch to generate text representations, we should reuse it, but seems we don't, so this is fine.

Copy link
Member Author

Choose a reason for hiding this comment

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

There's something mildly similar in transactiontablemodel.cpp, but it's for generating a text representation of the namespace without the rest of the name. That might be what you were thinking of?

@JeremyRand JeremyRand force-pushed the qt-manage-names-namespace branch from cc0080a to 0152fab Compare October 15, 2024 16:42
@JeremyRand
Copy link
Member Author

@domob1812 Feel free to merge this if it passes your review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants