diff --git a/app/urls.py b/app/urls.py index 52b0235..4107a12 100644 --- a/app/urls.py +++ b/app/urls.py @@ -582,11 +582,6 @@ urlpatterns = [ ais.AIList.as_view(), name="ais", ), - path( - "search//", - osint.OSINTSearch.as_view(), - name="osint_search", - ), path( "osint/workspace/", osint.OSINTWorkspace.as_view(), diff --git a/core/static/css/compose-panel.css b/core/static/css/compose-panel.css index 67769a8..65d3526 100644 --- a/core/static/css/compose-panel.css +++ b/core/static/css/compose-panel.css @@ -1,7 +1,7 @@ .compose-shell { display: flex; flex-direction: column; - gap: 0.75rem; + gap: 0.5rem; min-height: 0; } @@ -281,13 +281,26 @@ .compose-shell .compose-form { display: flex; flex-direction: column; + gap: 0.375rem; +} + +.compose-shell .compose-form-main { + display: flex; + align-items: flex-end; gap: 0.5rem; + flex-wrap: nowrap; } .compose-shell .compose-send-safety { display: flex; flex-direction: column; - gap: 0.25rem; + gap: 0.125rem; + flex: 0 0 auto; + min-width: 8.5rem; +} + +.compose-shell .compose-form-main .gia-send-composer { + flex: 1 1 auto; } .compose-shell .compose-reply-banner { @@ -346,6 +359,14 @@ min-width: 0; } + .compose-shell .compose-form-main { + flex-wrap: wrap; + } + + .compose-shell .compose-send-safety { + min-width: 0; + } + .compose-shell .compose-thread { min-height: 18rem; } diff --git a/core/static/css/gia-theme.css b/core/static/css/gia-theme.css index 0256a2f..a97c981 100644 --- a/core/static/css/gia-theme.css +++ b/core/static/css/gia-theme.css @@ -645,10 +645,6 @@ html.gia-has-workspace-root { color: #3273dc; } -.osint-search-form .button.is-fullwidth { - width: 100%; -} - .navbar-dropdown .navbar-item.is-current-route { background-color: var(--bulma-link-light) !important; color: var(--bulma-link) !important; diff --git a/core/static/js/workspace-shell.js b/core/static/js/workspace-shell.js index 375752a..4339fc0 100644 --- a/core/static/js/workspace-shell.js +++ b/core/static/js/workspace-shell.js @@ -507,6 +507,37 @@ }; }); } + if (widgetNodes.length === 3) { + const dominantNode = widgetNodes.find(function (node) { + return node.id === workspaceState.activeWidgetId; + }) || widgetNodes[widgetNodes.length - 1]; + const secondaryNodes = widgetNodes.filter(function (node) { + return node !== dominantNode; + }); + return [ + { + node: dominantNode, + x: 0, + y: 0, + w: GRID_COLUMNS / 2, + h: GRID_ROWS, + }, + { + node: secondaryNodes[0], + x: GRID_COLUMNS / 2, + y: 0, + w: GRID_COLUMNS / 2, + h: GRID_ROWS / 2, + }, + { + node: secondaryNodes[1], + x: GRID_COLUMNS / 2, + y: GRID_ROWS / 2, + w: GRID_COLUMNS / 2, + h: GRID_ROWS / 2, + }, + ]; + } return widgetNodes.slice(0, 4).map(function (node, index) { return { node: node, diff --git a/core/templates/base.html b/core/templates/base.html index e2b4eac..744899b 100644 --- a/core/templates/base.html +++ b/core/templates/base.html @@ -312,9 +312,6 @@ AI - - Search - {% endif %} diff --git a/core/templates/mixins/wm/widget.html b/core/templates/mixins/wm/widget.html index 3721bf9..fddf2d9 100644 --- a/core/templates/mixins/wm/widget.html +++ b/core/templates/mixins/wm/widget.html @@ -5,8 +5,8 @@ {% if widget_script_srcs %}data-gia-script-srcs="{{ widget_script_srcs|join:'|' }}"{% endif %}>
- +
+
diff --git a/core/templates/pages/osint-search.html b/core/templates/pages/osint-search.html deleted file mode 100644 index caf194b..0000000 --- a/core/templates/pages/osint-search.html +++ /dev/null @@ -1,20 +0,0 @@ -{% extends "base.html" %} - -{% block content %} -
-
-
-

Search

-

- Unified lookup across contacts, identifiers, and messages, with advanced filters for source, date range, sentiment, sort, dedup, and reverse. -

-
- Default Scope: All - Contacts + Messages - SIQTSRSS/ADR Controls -
-
- {% include "partials/osint/search-panel.html" %} -
-
-{% endblock %} diff --git a/core/templates/partials/bulma-send-composer.html b/core/templates/partials/bulma-send-composer.html index de5c520..15291af 100644 --- a/core/templates/partials/bulma-send-composer.html +++ b/core/templates/partials/bulma-send-composer.html @@ -1,4 +1,4 @@ -
+