[#181] remove scattered todos and aggregate in temporary todo.txt file, add new css files to split up huge IO stylesheet for better future DevX

This commit is contained in:
Robin Scholtes 2023-04-18 20:22:41 +12:00
parent 7648c6dce4
commit 2093dac4f9
13 changed files with 1 additions and 6 deletions

View file

@ -4,7 +4,6 @@
* @license Apache-2.0
*/
// @TODO: NTS return this to original? ( it breaks dev though )
// import OperationConfig from "./config/OperationConfig.json" assert {type: "json"};
import OperationConfig from "./config/OperationConfig.json";
import OperationError from "./errors/OperationError.mjs";

View file

@ -1,4 +1,3 @@
// @TODO: NTS return this to original? ( it breaks dev though )
// import OperationConfig from "../config/OperationConfig.json" assert {type: "json"};
import OperationConfig from "../config/OperationConfig.json";
import Utils, { isWorkerEnvironment } from "../Utils.mjs";

View file

@ -59,7 +59,6 @@ class App {
setup() {
document.dispatchEvent(this.manager.appstart);
// @TODO: add a window resize listener
if ( window.innerWidth >= this.breakpoint ) {
this.initialiseSplitter();
this.setCompileMessage();

View file

@ -198,7 +198,6 @@
data-help="<p>The Operations list contains all the operations in CyberChef arranged into categories. Some operations may be present in multiple categories. You can search for operations using the search box.</p><p>To use an operation, either double click it, or drag it into the Recipe pane. You will then be able to configure its arguments (or 'Ingredients' in CyberChef terminology).</p>">
Operations
<!--@TODO: this should just be removed, however that currently breaks some code-->
<span class="pane-controls hide-on-maximised-output">
<button type="button"
class="btn btn-warning bmd-btn-icon"
@ -217,7 +216,7 @@
</span>
</div>
<div class="foo">
<div class="dropdown-operations">
<input id="search"
type="search"
class="form-control"

0
src/web/todo.txt Normal file
View file

View file

@ -34,7 +34,6 @@ class OperationsWaiter {
* @param {HTMLElement} elm
* @param {boolean} isVisible
*
* @TODO: this is pretty generic so probably move it ( to manager? )
*/
isVisible( elm, isVisible ){
if ( isVisible ) {