Repository navigation
Commit 2e01213
docs: scrutinize the core services, and settle the preferences design
The plan said Phase 2 would bring over "the core services: object
registry, prefs, thread, app/status". Measured against usage and against
what has since been built, most of that does not survive: StatusService
is superseded by scijava-progress, ThreadService is mostly EDT dispatch
and so belongs with the UI layer, AppService is largely metadata that
scijava-meta already covers, and ObjectService should land with the
widgets and conversion layer that use it, so that a consumer shapes it.
PrefService is two things. Remembering what a user last typed into a
given parameter of a given module is policy, and means nothing without
the input harvester, so it goes to Phase 4. A settings store is a general
capability whose API needs no consumer to get right, so it is deferred
but its design is settled now, and recorded: not java.util.prefs, whose
opacity is the actual complaint; YAML, since snakeyaml is already here
and unlike JSON supports comments; $XDG_CONFIG_HOME/fiji or
~/.config/fiji on every platform, printable at runtime; namespaced by
class; no migration from the old store.
One question is genuinely blocked on the harvester and is recorded as
open: stale keys accumulate for modules that no longer exist, and the
harvester is what knows which are still live.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013gJpzGd3ksbME4CN6Tu2ni1 parent de2e89f commit 2e01213
2 files changed
Lines changed: 53 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
700 | 700 | | |
701 | 701 | | |
702 | 702 | | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
703 | 752 | | |
704 | 753 | | |
705 | 754 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
120 | 123 | | |
121 | 124 | | |
122 | 125 | | |
| |||
0 commit comments