feat: settings HTML tabs#1185
feat: settings HTML tabs#1185rrama merged 52 commits intorefactor/IDE-1786_folder-config-refactoringfrom
Conversation
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
| @@ -0,0 +1,122 @@ | |||
| /* | |||
| * © 2022-2026 Snyk Limited | |||
There was a problem hiding this comment.
Dammit AI, why put 2022 here...
8dc869e to
2db8f5c
Compare
2db8f5c to
3a2e988
Compare
3a2e988 to
f25bd53
Compare
f25bd53 to
87eb172
Compare
87eb172 to
d969350
Compare
d969350 to
2ad9bc3
Compare
This comment has been minimized.
This comment has been minimized.
acke
left a comment
There was a problem hiding this comment.
Some questions and nitpicks, nothing blocking.
This comment has been minimized.
This comment has been minimized.
New net new tooltip. Load app.js last.
This comment has been minimized.
This comment has been minimized.
Make it work better for IE11. Tests for the tabs. Remove redundant auth button disabling code.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Also make the indicator manager class removal no longer greedy
This comment has been minimized.
This comment has been minimized.
…DE-1762] The indicator-manager JS module and its source-override/source-global/ source-default styling are no longer used by the redesigned tabbed config dialog. Remove the embed, helpers, CSS rules, and tests so dead code does not drift further from the active rendering path.
…-1762] Direct children of .tab-pane / .folder-pane miss the 10px gutter that .col-md-* would normally provide, so info boxes and section blocks sat flush against the tab edge. Apply a matching margin so all panels share one inner edge. Hide the per-folder reset-overrides button until the reset workflow is finalized; users were triggering it expecting "reset to defaults" behavior that is not yet wired up.
Wrap the per-folder Pre/post scan commands collapsible in the hidden class so it stops rendering in the dialog. The backend command pipeline (domain/snyk/scanner/pre_scan_command.go, internal/scans) and persisted ScanCommandConfig are kept intact, so any pre-existing user configuration still runs — only the UI surface is removed while the LDX-sync settings refresh is in flight.
The defaults page wires validateRiskScore to its risk_score_threshold input so out-of-range values surface an inline error before the form is submitted. The per-folder override input had min/max attributes but no JS wiring, so users editing folder overrides got no feedback until the save attempt failed. Reuse validateRiskScore for each folder_<i>_override_risk_score_threshold input and render a matching error span so behaviour is consistent across both panes.
Run \`go generate ./scripts/config-dialog/\` so the committed preview snapshots match the current template output. These files are review aids only (linguist-generated, not consumed at runtime), so a single cumulative regen at the end of the series is sufficient.
This comment has been minimized.
This comment has been minimized.
PR Reviewer Guide 🔍
|
Description
Settings laid out in tabs. AI generated with some guidance, so probably removed something we cared about..
Checklist
make generate)make lint-fix)