Default the change log to Mine instead of Everyone
Opening the log is almost always to check your own recent work, not the whole version's, so it now starts on 'mine' -- still resets on every open rather than persisting, same reasoning as before, just the other default. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
parent
bf791cbc14
commit
cf8b72d737
11
CLAUDE.md
11
CLAUDE.md
@ -763,11 +763,12 @@ accounts, one of them the reader's, so finding your own meant reading the `By`
|
|||||||
column down the whole list.
|
column down the whole list.
|
||||||
|
|
||||||
Marked *and* filterable on purpose: the mark is how you tell without hiding
|
Marked *and* filterable on purpose: the mark is how you tell without hiding
|
||||||
anybody, the filter is for when you want only yours. It resets to Everyone on
|
anybody, the filter is for when you want only yours. It resets to Mine on
|
||||||
every open and is not persisted — a filter that hides other people's work is
|
every open and is not persisted — opening the log is almost always to check
|
||||||
fine as a thing you asked for and a trap as a thing you inherited from last
|
your own recent work, and a stale "Everyone" from last session is a worse
|
||||||
week. `isMine()` is strict authorship, deliberately not `canUndo()`: an admin
|
default than the reverse would be. `isMine()` is strict authorship,
|
||||||
can undo everything, and marking every row as theirs would say nothing.
|
deliberately not `canUndo()`: an admin can undo everything, and marking every
|
||||||
|
row as theirs would say nothing.
|
||||||
|
|
||||||
The fetch stays unfiltered, since the counts on the control need the whole set.
|
The fetch stays unfiltered, since the counts on the control need the whole set.
|
||||||
|
|
||||||
|
|||||||
@ -255,10 +255,10 @@ export default function Forecast({ sources = [], sourceId, versions = [], versio
|
|||||||
const [showBridge, setShowBridge] = useState(false)
|
const [showBridge, setShowBridge] = useState(false)
|
||||||
const [logEntries, setLogEntries] = useState([])
|
const [logEntries, setLogEntries] = useState([])
|
||||||
const [logLoading, setLogLoading] = useState(false)
|
const [logLoading, setLogLoading] = useState(false)
|
||||||
// Whose entries the log lists. Not persisted, and it resets to everyone on
|
// Whose entries the log lists. Not persisted, and it resets to mine on
|
||||||
// every open: a filter that hides other people's work is fine as a thing you
|
// every open, so opening the log starts on what you're most likely looking
|
||||||
// asked for and a trap as a thing you inherited from last week.
|
// for -- your own recent work -- rather than everyone's.
|
||||||
const [logWho, setLogWho] = useState('all') // 'all' | 'mine'
|
const [logWho, setLogWho] = useState('mine') // 'all' | 'mine'
|
||||||
const [editingCell, setEditingCell] = useState(null) // { id, field: 'note'|'tag', text }
|
const [editingCell, setEditingCell] = useState(null) // { id, field: 'note'|'tag', text }
|
||||||
const [undoingId, setUndoingId] = useState(null)
|
const [undoingId, setUndoingId] = useState(null)
|
||||||
|
|
||||||
@ -1828,7 +1828,7 @@ export default function Forecast({ sources = [], sourceId, versions = [], versio
|
|||||||
async function openLog() {
|
async function openLog() {
|
||||||
setShowLog(true)
|
setShowLog(true)
|
||||||
setExpandedLog(null)
|
setExpandedLog(null)
|
||||||
setLogWho('all')
|
setLogWho('mine')
|
||||||
setLogLoading(true)
|
setLogLoading(true)
|
||||||
try {
|
try {
|
||||||
// Baseline and reference loads are segment construction, not forecasting.
|
// Baseline and reference loads are segment construction, not forecasting.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user