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

Adding subscription status data #181

Merged
merged 11 commits into from Sep 10, 2018
Merged

Adding subscription status data #181

merged 11 commits into from Sep 10, 2018

Conversation

@zarembsky
Copy link
Contributor

@zarembsky zarembsky commented Sep 2, 2018

  • [x ] Have you followed the guidelines in CONTRIBUTING.md?
  • [ x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
  • [ x] Have you added an explanation of what your changes do?
  • [x ] Does your submission pass tests?
  • [ x] Did you lint your code prior to submission?
@zarembsky zarembsky requested a review from ghostery/ghostery as a code owner Sep 2, 2018
@zarembsky zarembsky changed the title Adding live subscription status data Adding subscription status data Sep 2, 2018
zarembsky and others added 4 commits Sep 3, 2018
<li className="s-tabs-title">
<NavLink to="/subscription/trackerstats">
<span>{ t('subscription_tracker_stats') }</span>
</NavLink>
</li>
*/}

This comment has been minimized.

@jsignanini

jsignanini Sep 5, 2018
Member

@zarembsky please remove.

@@ -11,7 +11,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0
*/
import React from 'react';
import { Link } from 'react-router-dom';
import { openSupporterPage } from '../utils/msg';

This comment has been minimized.

@jsignanini

jsignanini Sep 5, 2018
Member

@zarembsky let's rename openSupporterPage to openSubscriptionPage everywhere

@@ -74,7 +99,7 @@ class Subscription extends React.Component {
<Route path="/subscription/info" render={this.SubscriptionInfoComponent} />
<Route path="/subscription/themes" render={this.SubscriptionThemesComponent} />
<Route path="/subscription/prioritysupport" render={this.PrioritySupportComponent} />
<Route path="/subscription/trackerstats" render={this.TrackerStatsComponent} />
{/* <Route path="/subscription/trackerstats" render={this.TrackerStatsComponent} /> */}

This comment has been minimized.

@jsignanini

jsignanini Sep 5, 2018
Member

@zarembsky let's remove this.

@jsignanini
Copy link
Member

@jsignanini jsignanini commented Sep 5, 2018

@zarembsky and let's get rid of the localization of links (the web server can take care of that).

if (conf.account && conf.account.user) {
if (conf.account.user.subscriptionsSupporter) {
tabUrl = `https://account.${globals.GHOSTERY_DOMAIN}.com/${langToken}/subscription`;
tabUrl = `https://account.${globals.GHOSTERY_DOMAIN}.com/en/subscription`;

This comment has been minimized.

@christophertino

christophertino Sep 10, 2018
Member

@zarembsky you can remove the /en from these links

zarembsky and others added 3 commits Sep 10, 2018
};
}
return { loading: true };
}

This comment has been minimized.

@jsignanini

jsignanini Sep 10, 2018
Member

@zarembsky we don't need to localize the currency since we're only taking USD for the time being, please remove it.

This comment has been minimized.

@zarembsky

zarembsky Sep 10, 2018
Author Contributor

Implemented

zarembsky added 2 commits Sep 10, 2018
@jsignanini jsignanini merged commit 58a019b into develop Sep 10, 2018
@jsignanini jsignanini deleted the feature/accountStatus branch Sep 10, 2018
@jsignanini jsignanini restored the feature/accountStatus branch Sep 10, 2018
@jsignanini jsignanini deleted the feature/accountStatus branch Sep 10, 2018
jsignanini added a commit that referenced this pull request Nov 20, 2018
jsignanini added a commit that referenced this pull request Nov 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants