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

Remove legacy UI #2703

Merged
merged 5 commits into from
May 7, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
include LICENSE
include locust/py.typed
recursive-include locust/static *
recursive-include locust/templates *
recursive-include locust/webui/dist *
2 changes: 0 additions & 2 deletions docs/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,5 @@ The list of statistics parameters that can be modified is:
+-------------------------------------------+--------------------------------------------------------------------------------------+
| PERCENTILES_TO_CHART | List of response time percentiles in the screen of chart for UI |
+-------------------------------------------+--------------------------------------------------------------------------------------+
| MODERN_UI_PERCENTILES_TO_CHART | List of response time percentiles in the screen of chart for the UI |
+-------------------------------------------+--------------------------------------------------------------------------------------+
| PERCENTILES_TO_STATISTICS | List of response time percentiles in the screen of statistics for UI |
+-------------------------------------------+--------------------------------------------------------------------------------------+
2 changes: 1 addition & 1 deletion docs/developing-locust.rst
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ Then the documentation should be build and available at ``docs/_build/index.html
Making changes to Locust's Web UI
=================================

The modern Web UI is built using React and Typescript
The Web UI is built using React and Typescript

Setup
-----
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,6 @@ def extend_web_ui():
"""
# ensure the template_args are up to date before using them
environment.web_ui.update_template_args()
# set the static paths to use the modern ui
environment.web_ui.set_static_modern_ui()

return render_template(
"index.html",
Expand Down
142 changes: 0 additions & 142 deletions examples/extend_web_ui/extend.py

This file was deleted.

49 changes: 0 additions & 49 deletions examples/extend_web_ui/static/custom-stats-table.css

This file was deleted.

54 changes: 0 additions & 54 deletions examples/extend_web_ui/static/extend.js

This file was deleted.

52 changes: 0 additions & 52 deletions examples/extend_web_ui/templates/extend.html

This file was deleted.

2 changes: 0 additions & 2 deletions locust/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,6 @@ def create_web_ui(
stats_csv_writer: StatsCSV | None = None,
delayed_start=False,
userclass_picker_is_active=False,
modern_ui=False,
) -> WebUI:
"""
Creates a :class:`WebUI <locust.web.WebUI>` instance for this Environment and start running the web server
Expand All @@ -193,7 +192,6 @@ def create_web_ui(
stats_csv_writer=stats_csv_writer,
delayed_start=delayed_start,
userclass_picker_is_active=userclass_picker_is_active,
modern_ui=modern_ui,
)
return self.web_ui

Expand Down
Loading
Loading