-
Notifications
You must be signed in to change notification settings - Fork 13.9k
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
chore!: remove ENABLE_REACT_CRUD_VIEWS
feature flag (permanently enable)
#19231
Changes from 5 commits
110832d
e3a682f
46e8a0f
7815550
18c7575
0b4e19b
b0e08ef
f85131c
2d114e5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,6 @@ jobs: | |
browser: ["chrome"] | ||
env: | ||
FLASK_ENV: development | ||
ENABLE_REACT_CRUD_VIEWS: true | ||
SUPERSET_CONFIG: tests.integration_tests.superset_test_config | ||
SUPERSET__SQLALCHEMY_DATABASE_URI: postgresql+psycopg2://superset:[email protected]:15432/superset | ||
PYTHONPATH: ${{ github.workspace }} | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -429,6 +429,7 @@ def test_slices(self): | |
self.assertEqual(resp.status_code, 200) | ||
|
||
def test_tablemodelview_list(self): | ||
pytest.skip("Depends on ENABLE_REACT_CRUD_VIEWS=False") | ||
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. I'm skipping these and requesting Preset QA to help with replacing the lost test coverage. 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. I don't think there's any real loss of coverage here. |
||
self.login(username="admin") | ||
|
||
url = "/tablemodelview/list/" | ||
|
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 kept this logic consistent with permanently enabling the flag, but the logic doesn't look quite right to me. Shouldn't we be rendering with react instead of
location.replace
ing when react crud is enabled?