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

Let url be null on Legacy card. #727

Merged
merged 2 commits into from
Apr 24, 2020
Merged

Let url be null on Legacy card. #727

merged 2 commits into from
Apr 24, 2020

Conversation

nbramblett
Copy link
Contributor

Let url be null-ed by the user, so that it can be forced to default to
a non-linking title.

TEST=manual

Verified that setting the config url to null would make the title not display a link for legacy cards.

Let url be null-ed by the user, so that it can be forced to default to
a linkless title.
Copy link
Contributor

@oshi97 oshi97 left a comment

Choose a reason for hiding this comment

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

looks good to me but would like someone else to look if possible too!

Copy link
Collaborator

@tmeyer2115 tmeyer2115 left a comment

Choose a reason for hiding this comment

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

Would it be worthwhile to add this to the StandardCard as well? Eventually, folks might transition off the LegacyCard and onto the StandardCard. So, we might want a similar mechanism for them to have a non-linking title.

src/ui/components/cards/legacycardcomponent.js Outdated Show resolved Hide resolved
@nbramblett nbramblett merged commit d033159 into v0.13.3 Apr 24, 2020
tmeyer2115 pushed a commit that referenced this pull request Apr 24, 2020
* Let url be null on Legacy card.

Let url be null-ed by the user, so that it can be forced to default to
a linkless title.

* Add parens and update standard card
@nbramblett nbramblett deleted the null-url branch May 6, 2020 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants