-
Notifications
You must be signed in to change notification settings - Fork 2.7k
MM-27454 - Contact Us and Billing Documentation Links #6731
Conversation
<a | ||
href={contactSalesLink} | ||
rel='noopener noreferrer' | ||
target='_blank' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all these _blank
elements would be worth checking if they work as expected on the desktop client.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch! Fixed them all to use target='_new'
which does work properly on both webapp and desktop 👌
@marianunez, just to note that the cloud billing docs are not live yet (I'm sure you know that!). Do you have an ETA as to when this will be merged so we can align with the doc release? |
@justinegeffen this is expected to go live for Soft GA this Thrusday Oct 15th. Would that doc be published by then? |
Thanks, @marianunez! I've updated the doc PR and @adamjclarkson is aware. :) |
@@ -27,9 +29,9 @@ const noBillingHistorySection = ( | |||
/> | |||
</div> | |||
<a | |||
target='_blank' | |||
target='_new' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why _new
over _blank
? Most of what I've read claims this is invalid HTML.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
_blank
is currently blocked on the desktop app. @Willyfrog what do you recommend here to open links from the desktop app?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it shouldn't be blocked, have you checked with 4.6-rc1? it does have some changes that might affect this (using _blank)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Checked in 4.6-rc1 and is good with both _new
and _blank
. What is the recommended one to use ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use _blank
if possible
some info on why: https://stackoverflow.com/questions/4964130/target-blank-vs-target-new
/> | ||
<a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The markdown formatter already opens the link in a new window/tab, this link feels unnecessary.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I moved out the link from the formatted message so it was not part of the translation string though
/update-branch |
@stevemudie Will be tested post-merge once https://github.com/mattermost/customer-web-server/pull/245 is complete. |
/cherry-pick cloud-ga |
Cherry pick is scheduled. |
Co-authored-by: Mattermod <mattermod@users.noreply.github.com> (cherry picked from commit 2d69be5)
…o MM-20457 * 'master' of github.com:Tak-Iwamoto/mattermost-webapp: (87 commits) MM-T644 Integrations display on team where they were created (mattermost#6752) [MM-20478] Migrate post_header module to TypeScript (mattermost#6631) [MM-20599] Migrated select_team component to Typescript (mattermost#6574) MM-20554 Migrate 'components/delete_post_modal' module and associated tests to TypeScript (mattermost#6656) [MM-24436]- Add a threshold from bottom for new messages toast (mattermost#5828) [MM-20489] Migrate failed_post_options and its tests to typescript (mattermost#6717) [MM-28063] Cloud Telemetry - Admin Console (mattermost#6762) [MM-29559][MM-29558] Company Info Fixes (mattermost#6764) [MM-29557] [MM-29590] Update subscription when purchase modal closes (mattermost#6765) [MM-29615] Fixed subscription page so it doesn't load until subscription info is loaded (mattermost#6766) [MM-28064] Add telemetry in various places around cloud message banners (mattermost#6763) migrate changeCSS function CSS variable for mobile CSS .tutorial-steps__container selector. (mattermost#6743) [MM-27231]: cypress test for MM-T1837 (mattermost#6676) [MM-28062] Add telemetry for in-app purchase flow (mattermost#6760) MM-27454 - Contact Us and Billing Documentation Links (mattermost#6731) [MM-20514] Migrates components/password reset send link to typescript (mattermost#6584) Cloud Billing polish Soft GA (mattermost#6740) [MM-28221] Payment Info Edit/View (mattermost#6709) MM-T636 Description field for incoming and outgoing webhooks can hold 500 characters (mattermost#6682) Translations update from Weblate (mattermost#6748) ...
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Summary
Contact Support
andContact Sales
links to point to the new Cloud Contact us page at/cloud/contact-us
in CWS with query params for MM User full name and email.How Billing works
links to new Cloud Billing documentation page hereTicket Link
MM-27454
Related Pull Requests
CWS: https://github.com/mattermost/customer-web-server/pull/245
Redux: mattermost/mattermost-redux#1255
Server: mattermost/mattermost#15916