diff options
| author | Frederick Muriuki Muriithi | 2025-12-29 12:20:50 -0600 |
|---|---|---|
| committer | Frederick Muriuki Muriithi | 2025-12-29 12:20:50 -0600 |
| commit | 3bc97e16e553de79b7931a08e43be71f01db9d0f (patch) | |
| tree | f13de41859fe3a2cc65d8633dce7f72542cfee4a | |
| parent | cda3a33dda994aa5da5570dfbdd36804b57f529c (diff) | |
| download | gn-uploader-3bc97e16e553de79b7931a08e43be71f01db9d0f.tar.gz | |
Remove "streamlined UI" feature-flag helper module.
We no longer need to maintain the helper module for the "streamlined UI" feature flag.
| -rw-r--r-- | uploader/sui.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/uploader/sui.py b/uploader/sui.py deleted file mode 100644 index 8eb863d..0000000 --- a/uploader/sui.py +++ /dev/null @@ -1,8 +0,0 @@ -"""Utilities for streamlined UI. This is a temporary module.""" -from flask import request - -def sui_template(template_path: str) -> str: - """Return the streamlined UI template for given template path.""" - _sui="sui-" if request.args.get("streamlined_ui") else "" - _parts = template_path.split("/") - return "/".join(_parts[:-1] + [f"{_sui}{_parts[-1]}"]) |
