atmosphere explorer pds.ls
tool typescript atproto
434
fork

Configure Feed

Select the types of activity you want to include in your feed.

make cursor input/picker bidirectionnal

Juliet 301d41c3 3cf38430

+7
+7
src/views/stream/index.tsx
··· 381 381 <For each={config().fields}> 382 382 {(field) => { 383 383 let inputRef!: HTMLInputElement; 384 + let pickerRef!: HTMLInputElement; 384 385 return ( 385 386 <label 386 387 class={`flex justify-end gap-x-1 ${field.type === "tags" ? "items-start" : "items-center"}`} ··· 416 417 placeholder={field.placeholder} 417 418 value={(searchParams[field.searchParam] as string) ?? ""} 418 419 class="grow" 420 + onInput={() => { 421 + if (field.datetimePicker && pickerRef) { 422 + pickerRef.value = microsToDatetimeLocal(inputRef.value); 423 + } 424 + }} 419 425 /> 420 426 <Show when={field.datetimePicker}> 421 427 <input 428 + ref={pickerRef} 422 429 type="datetime-local" 423 430 step="1" 424 431 value={microsToDatetimeLocal(