-
Notifications
You must be signed in to change notification settings - Fork 536
fix: various fixes when using yari in fred #13142
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
Conversation
use "real" links to articles in collections import all screenshots used in plus overview page hide offline settings if FRED_FLAG is set
Bundle StatsHey there, this message comes from a github action that helps you and reviewers to understand how these changes affect the size of this project's bundle. As this PR is updated, I'll keep you updated on how the bundle size is impacted. Total
View detailed bundle breakdownAdded
Removed No assets were removed Bigger No assets were bigger Smaller No assets were smaller Unchanged
|
client/src/env.ts
Outdated
@@ -135,3 +135,5 @@ export function survey_rates(surveyKey: string): { | |||
export const OBSERVATORY_API_URL = | |||
process.env.REACT_APP_OBSERVATORY_API_URL || | |||
"https://observatory-api.mdn.allizom.net"; | |||
|
|||
export const FRED_FLAG = JSON.parse(process.env.REACT_APP_FRED_FLAG || "false"); |
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.
Nit: Why not just FRED?
export const FRED_FLAG = JSON.parse(process.env.REACT_APP_FRED_FLAG || "false"); | |
export const FRED = JSON.parse(process.env.REACT_APP_FRED || "false"); |
Summary
Problem
Various things from yari weren't working correctly in fred
Solution
use "real" links to articles in collections
import all screenshots used in plus overview page
hide offline settings if FRED_FLAG is set
How did you test this change?
yarn dev
yet to test these work in fred