FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Show display text instead of name by ravening · Pull Request #844 · apache/cloudstack-primate · GitHub

This repository was archived by the owner on Jan 20, 2021. It is now read-only.

Repository navigation

Show display text instead of name - #844

Open
ravening wants to merge 1 commit into
apache:masterfrom
ravening:nw-offering-displaytext
Open

ravening wants to merge 1 commit into
apache:masterfrom
ravening:nw-offering-displaytext

Conversation

ravening commented Nov 4, 2020

Copy link
Copy Markdown
Member

While creating networks, for network offerings, show meaningful display text
instead of short names which is not much descriptive

For network offerings, show meaningful display text
instead of short names which is not much descriptive
yadvr added this to the 1.0-GA milestone Nov 4, 2020
yadvr requested a review from shwstppr November 4, 2020 18:21

yadvr left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM, but we need to check how legacy UI shows the name (name vs displayname vs description)

yadvr requested a review from davidjumani November 4, 2020 18:22

ravening commented Nov 4, 2020

Copy link
Copy Markdown
Member Author

LGTM, but we need to check how legacy UI shows the name (name vs displayname vs description)

@rhtyd legacy ui displays name but it wont make sense just by looking at the name. displaytext gives more info about the offering

GabrielBrascher left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM

+1 on using display name as a user-friendly identification.

To be honest, sometimes I don't see much value in the displayname field; I think that this is indeed how it should be used.

yadvr commented Nov 5, 2020 •
edited
Loading

Copy link
Copy Markdown
Member

@ravening we may need to build consensus then, we largely want Primate 1.0/GA to be backwards compatible wrt UX, so changing how a field is displayed may break several people's env who were used to seeing the name. (To satisfy everyone - one solution could be showing the name and in parenthesis the displayname).

@blueorangutan package

Copy link
Copy Markdown

@rhtyd a Jenkins job has been kicked to build primate packages. I'll keep you posted as I make progress.

yadvr modified the milestones: 1.0-GA, 1.1 Nov 5, 2020

yadvr commented Nov 5, 2020

Copy link
Copy Markdown
Member

For now, moved to 1.1 as this is not a blocker or critical issue.

Copy link
Copy Markdown

Packaging result: ✔️centos ✔️debian ✔️archive.
QA: http://primate-qa.cloudstack.cloud:8080/client/pr/844 (JID-3644)

<a-select-option v-for="(opt, optIndex) in this.networkOfferings" :key="optIndex">
{{ opt.name || opt.description }}
{{ opt.displaytext || opt.description }}
</a-select-option>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

@ravening can this be: opt.displaytext | opt.name | ... to cover for the case if/when displaytext is empty?

@change="val => { this.handleNetworkOfferingChange(this.networkOfferings[val]) }">
<a-select-option v-for="(opt, optIndex) in this.networkOfferings" :key="optIndex">
{{ opt.name || opt.description }}
{{ opt.displaytext || opt.description }}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

@ravening can this be: opt.displaytext | opt.name | ... to cover for the case if/when displaytext is empty?

@change="val => { this.handleNetworkOfferingChange(this.networkOfferings[val]) }">
<a-select-option v-for="(opt, optIndex) in this.networkOfferings" :key="optIndex">
{{ opt.name || opt.description }}
{{ opt.displaytext || opt.description }}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

@ravening can this be: opt.displaytext | opt.name | ... to cover for the case if/when displaytext is empty?

yadvr commented Dec 21, 2020

Copy link
Copy Markdown
Member

cc @davidjumani

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL