Skip to content

ui: Import Conversations or Settings by drag-and-drop - #27244

Closed
allozaur wants to merge 22 commits into
allozaur/feat/model-selector-sampling-penalties-submenusfrom
allozaur/feat/drag-and-drop-json-data-import
Closed

allozaur wants to merge 22 commits into
allozaur/feat/model-selector-sampling-penalties-submenusfrom
allozaur/feat/drag-and-drop-json-data-import

Conversation

@allozaur

Copy link
Copy Markdown
Contributor

Overview

Additional information

Requirements

@allozaur
allozaur force-pushed the allozaur/feat/model-selector-sampling-penalties-submenus branch from f25fff3 to ac3f692 Compare August 17, 2026 09:53
@allozaur
allozaur force-pushed the allozaur/feat/drag-and-drop-json-data-import branch from 14355ae to 07dd192 Compare August 17, 2026 09:53
@allozaur allozaur changed the title allozaur/feat/drag and drop json data import ui: Import Conversations or Settings by drag-and-drop Aug 17, 2026
@allozaur
allozaur force-pushed the allozaur/feat/model-selector-sampling-penalties-submenus branch from ac3f692 to 6f90a14 Compare August 18, 2026 07:50
@allozaur
allozaur force-pushed the allozaur/feat/drag-and-drop-json-data-import branch from 07dd192 to 1458957 Compare August 18, 2026 07:50
@allozaur
allozaur force-pushed the allozaur/feat/model-selector-sampling-penalties-submenus branch from 6f90a14 to 34b2fca Compare August 18, 2026 09:36
@allozaur
allozaur force-pushed the allozaur/feat/drag-and-drop-json-data-import branch from 1458957 to cab90bf Compare August 18, 2026 09:36
@allozaur
allozaur force-pushed the allozaur/feat/model-selector-sampling-penalties-submenus branch from 34b2fca to 50acc2e Compare August 18, 2026 14:37
@allozaur
allozaur force-pushed the allozaur/feat/drag-and-drop-json-data-import branch from cab90bf to efedefe Compare August 18, 2026 14:37
@allozaur
allozaur force-pushed the allozaur/feat/model-selector-sampling-penalties-submenus branch from 50acc2e to bd6ddb4 Compare August 18, 2026 14:39
@allozaur
allozaur force-pushed the allozaur/feat/drag-and-drop-json-data-import branch from efedefe to 287cf65 Compare August 18, 2026 14:39
@allozaur
allozaur force-pushed the allozaur/feat/model-selector-sampling-penalties-submenus branch from bd6ddb4 to cfdb40a Compare August 20, 2026 12:32
@allozaur
allozaur force-pushed the allozaur/feat/drag-and-drop-json-data-import branch from 287cf65 to 2e78901 Compare August 20, 2026 12:32
SETTINGS_REGISTRY becomes an ordered SettingsSectionEntry[] array; the
array order is the sidebar display order. Section titles, color mode
options and title radio options are declared inline in their section or
entry. Entries gain showInUi; MCP servers, the system-message toggle and
the title LLM flag become hidden entries of their own section.

Derived values (config defaults, help info, chat sections, numeric field
lists, syncable parameters) are still derived here; they move to their
actual consumers in follow-up commits.
Stateless load/save of the settings config and user-override keys, plus the
legacy theme key migration. Business logic (default merging, mobile
sendOnEnter default, applying the migrated theme) stays in the store.
SETTINGS_FALLBACK_EXIT_ROUTE is just a route, so it lives with the other
routes as ROUTES.SETTINGS_EXIT.
The syncable parameter mapping is only consumed by the sync service, so
derive it there from the registry instead of exporting it from the
constants file.
Add reusable ModelsSelectorSettingsSubmenu that renders a settings section's
fields as inline editable inputs bound to settingsStore. Wire it into the model
selector dropdown for the Sampling and Penalties sections, showing server
defaults as placeholders and disabling the submenus until a model is loaded.
Dropping an exported conversation (.zip, .jsonl) or settings (.json)
anywhere in the app now routes to a global importer instead of attaching
the file to a message. A state machine in use-drop-import classifies the
file, shows a review dialog (settings diff, single-conversation preview,
or bulk picker), and applies it on confirmation. The chat screen defers
import files so they are not treated as attachments.
The Import/Export settings tab now opens the same settings diff dialog
used by drag-and-drop (showing which values would change) before applying
an imported settings file. It reuses computeSettingsDiff from the global
drop-import hook instead of importing immediately.
@allozaur
allozaur force-pushed the allozaur/feat/model-selector-sampling-penalties-submenus branch from cfdb40a to 0f901fa Compare August 20, 2026 17:02
@allozaur
allozaur force-pushed the allozaur/feat/drag-and-drop-json-data-import branch from 2e78901 to c8fe484 Compare August 20, 2026 17:02
@allozaur
allozaur force-pushed the allozaur/feat/model-selector-sampling-penalties-submenus branch 5 times, most recently from 3f40efe to 7cf1e7f Compare August 21, 2026 13:38
@allozaur allozaur closed this Nov 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant