-
Notifications
You must be signed in to change notification settings - Fork 458
fix: allow access to dashboard for FoF when sdk init error 🔴 blocked by SDK #5658
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
base: main
Are you sure you want to change the base?
Changes from all commits
93fb22c
b9ebcd0
2510397
dfda187
65a7403
8608b45
0b97cd6
753a9e2
7d59c95
c47ee6a
6f893c9
5f6ebed
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,34 +1,21 @@ | ||||||
| import React from 'react' | ||||||
| import ConfigProvider from 'common/providers/ConfigProvider' | ||||||
|
|
||||||
| const HomePage = class extends React.Component { | ||||||
| static displayName = 'HomePage' | ||||||
|
|
||||||
| constructor(props, context) { | ||||||
| super(props, context) | ||||||
| this.state = {} | ||||||
| } | ||||||
|
|
||||||
| render = () => ( | ||||||
| const MaintenancePage: React.FC = () => { | ||||||
| return ( | ||||||
| <div className='fullscreen-container maintenance justify-content-center'> | ||||||
| <div className='col-md-6 mt-5' id='sign-up'> | ||||||
| <h1>Maintenance</h1> | ||||||
| We are currently undergoing some scheduled maintenance of the admin | ||||||
| site, this will not affect your application's feature flags. | ||||||
| { | ||||||
| <> | ||||||
| {' '} | ||||||
| Check{' '} | ||||||
| <a | ||||||
| target='_blank' | ||||||
| href='https://x.com/getflagsmith' | ||||||
| rel='noreferrer' | ||||||
| > | ||||||
| @getflagsmith | ||||||
| </a>{' '} | ||||||
| for updates. | ||||||
| </> | ||||||
| } | ||||||
| <> | ||||||
| {' '} | ||||||
| Check{' '} | ||||||
| <a target='_blank' href='https://x.com/getflagsmith' rel='noreferrer'> | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is not fundamental part of this PR but we should consider replacing this with https://status.flagsmith.com/ because we're not posting status updates on twitter There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Definitely agree with this, but let's include this in a separate PR. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| @getflagsmith | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| </a>{' '} | ||||||
| for updates. | ||||||
| </> | ||||||
| <br /> | ||||||
| <p className='small'> | ||||||
| Sorry for the inconvenience, we will be back up and running shortly. | ||||||
|
|
@@ -38,4 +25,6 @@ const HomePage = class extends React.Component { | |||||
| ) | ||||||
| } | ||||||
|
|
||||||
| module.exports = ConfigProvider(HomePage) | ||||||
| MaintenancePage.displayName = 'MaintenancePage' | ||||||
|
|
||||||
| export default ConfigProvider(MaintenancePage) | ||||||
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.
Sorry, looks like there's a typo: