Skip to content

Show namespace in Manage Names tab#486

Open
JeremyRand wants to merge 1 commit intonamecoin:masterfrom
JeremyRand:qt-manage-names-namespace
Open

Show namespace in Manage Names tab#486
JeremyRand wants to merge 1 commit intonamecoin:masterfrom
JeremyRand:qt-manage-names-namespace

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

Comments