Commit ddadcee
## Description
Split Settings → Agents → Knowledge into independently searchable
widgets for Rules, Suggested Rules, Manage rules, and Warp Drive
context. The Knowledge heading now uses the same non-widget `PageType`
page-title affordance as Account, so it remains visible when settings
search filters the content rows. The legacy combined AI page keeps its
section-sized Knowledge heading in a standalone legacy-only widget while
preserving all existing feature gates, layout, toggles, descriptions,
links, and actions.
## Linked Issue
[APP-5060](https://linear.app/warpdotdev/issue/APP-5060/knowledge-settings-sub-page-doesnt-use-widgets-correctly-to-break-up)
## Testing
- The PR-added
`settings_view::tests::knowledge_page_search_filters_to_matching_widget`
regression test was removed at the requester's explicit request. This
intentionally drops the automated proof that Knowledge search narrows to
one widget; the trade-off is recorded here rather than replaced
silently.
- `cargo fmt --all --check` passed.
- `CARGO_INCREMENTAL=0 cargo check -p warp --bin warp` passed.
- `CARGO_INCREMENTAL=0 cargo build -p warp --bin warp-oss --features
skip_login` passed.
- `./script/presubmit` passed formatting, inline-test checks, all
workspace/default-GUI/completer clippy checks, clang-format, and WGSL
formatting; workspace nextest compilation then hit the runner
target-volume limit (`ENOSPC`). PR CI remains the full-suite backstop;
the final head CI matrix is running after the required current-master
merge, with no failures at the time of this update.
- Post-merge focused validation: `cargo fmt --all --check`,
`script/check_no_inline_test_modules`, `cargo clippy -p warp --bin warp
-- -D warnings`, and the Warp OSS build passed.
- Existing computer-use proof on pre-rework head `d8149b7` shows the
cleared Knowledge page and `warp drive` filtering. UI recapture for this
search-copy/plumbing rework was omitted at the requester's explicit
direction.
<!-- oz:computer-use-screenshots start -->
### Computer-use screenshots




<!-- oz:computer-use-screenshots end -->
### Rework changes
- Applied the two requested focused search-term strings verbatim and
moved the legacy-only Knowledge section header out of `RulesWidget`; no
tests or UI recapture were added at the requester’s direction (pure
data/copy plus no-intended-visual-change refactor). `./script/format
--check` and scoped Warp clippy passed.
- Removed the unreachable `KnowledgeHeaderWidget` and its
all-widgets-mode push; matching is unchanged because `RulesWidget`
retains the identical terms. No tests or UI recapture were added at the
requester’s direction because the deleted widget never rendered. Format
and scoped Warp clippy passed.
## Agent Mode
- [x] Warp Agent Mode - This PR was created via Warp's AI Agent Mode
Originating thread:
https://warpdev.slack.com/archives/C0BDQDW8V5E/p1785374744296659
CHANGELOG-BUG-FIX: Fixed Knowledge settings search so results show only
matching controls while keeping the page title visible.
Co-Authored-By: Warp <agent@warp.dev>
Co-Authored-By: Oz <oz-agent@warp.dev>
<!-- factory-agent:
{"source":"factory-agent","task_id":"APP-5060","task_source":"linear","task_url":"https://linear.app/warpdotdev/issue/APP-5060/knowledge-settings-sub-page-doesnt-use-widgets-correctly-to-break-up","linear_issue_id":"APP-5060","oz_run_id":"019fb0aa-c42d-72e6-978d-c2df8e2ada29","repo":"warpdotdev/warp","pr_url":"https://github.com/warpdotdev/warp/pull/14519","review_rework_attempts":4}
-->
---------
Co-authored-by: Andy <andy@warp.dev>
1 parent c9f44b0 commit ddadcee
1 file changed
Lines changed: 108 additions & 71 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2850 | 2850 | | |
2851 | 2851 | | |
2852 | 2852 | | |
| 2853 | + | |
| 2854 | + | |
| 2855 | + | |
| 2856 | + | |
| 2857 | + | |
| 2858 | + | |
| 2859 | + | |
| 2860 | + | |
| 2861 | + | |
| 2862 | + | |
| 2863 | + | |
| 2864 | + | |
2853 | 2865 | | |
2854 | 2866 | | |
2855 | 2867 | | |
| |||
2892 | 2904 | | |
2893 | 2905 | | |
2894 | 2906 | | |
2895 | | - | |
| 2907 | + | |
2896 | 2908 | | |
2897 | 2909 | | |
2898 | 2910 | | |
| |||
2965 | 2977 | | |
2966 | 2978 | | |
2967 | 2979 | | |
2968 | | - | |
| 2980 | + | |
2969 | 2981 | | |
2970 | 2982 | | |
2971 | 2983 | | |
2972 | 2984 | | |
2973 | 2985 | | |
2974 | 2986 | | |
2975 | 2987 | | |
2976 | | - | |
2977 | | - | |
2978 | | - | |
| 2988 | + | |
| 2989 | + | |
| 2990 | + | |
| 2991 | + | |
2979 | 2992 | | |
2980 | 2993 | | |
2981 | 2994 | | |
| |||
7082 | 7095 | | |
7083 | 7096 | | |
7084 | 7097 | | |
7085 | | - | |
| 7098 | + | |
7086 | 7099 | | |
7087 | 7100 | | |
7088 | | - | |
7089 | | - | |
7090 | | - | |
7091 | 7101 | | |
7092 | 7102 | | |
7093 | | - | |
7094 | | - | |
| 7103 | + | |
| 7104 | + | |
| 7105 | + | |
| 7106 | + | |
| 7107 | + | |
| 7108 | + | |
| 7109 | + | |
| 7110 | + | |
| 7111 | + | |
| 7112 | + | |
| 7113 | + | |
| 7114 | + | |
7095 | 7115 | | |
7096 | | - | |
7097 | | - | |
| 7116 | + | |
7098 | 7117 | | |
7099 | | - | |
| 7118 | + | |
7100 | 7119 | | |
| 7120 | + | |
7101 | 7121 | | |
7102 | 7122 | | |
7103 | 7123 | | |
| |||
7142 | 7162 | | |
7143 | 7163 | | |
7144 | 7164 | | |
| 7165 | + | |
| 7166 | + | |
| 7167 | + | |
| 7168 | + | |
| 7169 | + | |
| 7170 | + | |
| 7171 | + | |
| 7172 | + | |
| 7173 | + | |
| 7174 | + | |
| 7175 | + | |
| 7176 | + | |
| 7177 | + | |
7145 | 7178 | | |
7146 | | - | |
| 7179 | + | |
| 7180 | + | |
| 7181 | + | |
| 7182 | + | |
| 7183 | + | |
7147 | 7184 | | |
7148 | | - | |
7149 | | - | |
7150 | | - | |
| 7185 | + | |
| 7186 | + | |
| 7187 | + | |
7151 | 7188 | | |
| 7189 | + | |
7152 | 7190 | | |
7153 | 7191 | | |
7154 | 7192 | | |
| |||
7170 | 7208 | | |
7171 | 7209 | | |
7172 | 7210 | | |
| 7211 | + | |
7173 | 7212 | | |
7174 | | - | |
7175 | | - | |
7176 | | - | |
7177 | | - | |
7178 | | - | |
7179 | | - | |
7180 | | - | |
7181 | | - | |
7182 | | - | |
7183 | | - | |
7184 | | - | |
7185 | | - | |
7186 | | - | |
7187 | | - | |
7188 | | - | |
7189 | | - | |
7190 | | - | |
7191 | | - | |
7192 | | - | |
7193 | | - | |
7194 | | - | |
7195 | | - | |
7196 | | - | |
7197 | | - | |
7198 | | - | |
7199 | | - | |
7200 | | - | |
| 7213 | + | |
| 7214 | + | |
| 7215 | + | |
7201 | 7216 | | |
7202 | 7217 | | |
7203 | | - | |
| 7218 | + | |
7204 | 7219 | | |
7205 | 7220 | | |
7206 | 7221 | | |
7207 | | - | |
| 7222 | + | |
7208 | 7223 | | |
7209 | 7224 | | |
7210 | 7225 | | |
| |||
7213 | 7228 | | |
7214 | 7229 | | |
7215 | 7230 | | |
7216 | | - | |
| 7231 | + | |
7217 | 7232 | | |
7218 | 7233 | | |
7219 | 7234 | | |
7220 | | - | |
7221 | | - | |
7222 | | - | |
7223 | | - | |
7224 | | - | |
7225 | | - | |
7226 | | - | |
7227 | | - | |
7228 | | - | |
7229 | | - | |
7230 | | - | |
7231 | | - | |
| 7235 | + | |
7232 | 7236 | | |
7233 | | - | |
| 7237 | + | |
7234 | 7238 | | |
7235 | 7239 | | |
7236 | 7240 | | |
7237 | | - | |
| 7241 | + | |
| 7242 | + | |
| 7243 | + | |
7238 | 7244 | | |
7239 | | - | |
7240 | | - | |
7241 | | - | |
| 7245 | + | |
| 7246 | + | |
| 7247 | + | |
| 7248 | + | |
7242 | 7249 | | |
7243 | | - | |
7244 | | - | |
7245 | | - | |
| 7250 | + | |
| 7251 | + | |
7246 | 7252 | | |
7247 | | - | |
7248 | | - | |
7249 | | - | |
| 7253 | + | |
| 7254 | + | |
| 7255 | + | |
| 7256 | + | |
| 7257 | + | |
| 7258 | + | |
| 7259 | + | |
| 7260 | + | |
| 7261 | + | |
| 7262 | + | |
| 7263 | + | |
| 7264 | + | |
| 7265 | + | |
| 7266 | + | |
| 7267 | + | |
| 7268 | + | |
| 7269 | + | |
| 7270 | + | |
| 7271 | + | |
| 7272 | + | |
| 7273 | + | |
| 7274 | + | |
| 7275 | + | |
| 7276 | + | |
| 7277 | + | |
| 7278 | + | |
| 7279 | + | |
| 7280 | + | |
| 7281 | + | |
| 7282 | + | |
| 7283 | + | |
| 7284 | + | |
| 7285 | + | |
| 7286 | + | |
7250 | 7287 | | |
7251 | 7288 | | |
7252 | 7289 | | |
| |||
0 commit comments