build.sh bug fixes

This commit is contained in:
2026-03-20 23:06:39 -04:00
parent 0a048271c6
commit 3ac72b7ac9
22 changed files with 87 additions and 156 deletions

View File

@@ -101,7 +101,7 @@ function EventTypePopup({ userGroups, onSave, onClose, editing = null }) {
<div style={{ position:'absolute', top:'100%', left:0, zIndex:200, background:'var(--surface)', border:'1px solid var(--border)', borderRadius:'var(--radius)', padding:16, width:280, boxShadow:'0 4px 20px rgba(0,0,0,0.15)' }}>
<div style={{ marginBottom:10 }}>
<label className="settings-section-label">Type Name</label>
<input className="input" value={name} onChange={e= autoComplete="new-password">setName(e.target.value)} style={{ marginTop:4 }} autoFocus />
<input className="input" value={name} onChange={e => setName(e.target.value)} autoComplete="new-password" style={{ marginTop:4 }} autoFocus />
</div>
<div style={{ marginBottom:10 }}>
<label className="settings-section-label">Colour</label>
@@ -195,8 +195,7 @@ function EventForm({ event, userGroups, eventTypes, selectedDate, onSave, onCanc
return (
<div style={{ display:'flex', flexDirection:'column', gap:0 }}>
{/* Title */}
<input className="input" placeholder="Add title" value={title} onChange={e= autoComplete="new-password">setTitle(e.target.value)}
style={{ fontSize:18, fontWeight:600, marginBottom:16, border:'none', borderBottom:'2px solid var(--border)', borderRadius:0, padding:'4px 0' }} />
<input className="input" placeholder="Add title" value={title} onChange={e => setTitle(e.target.value)} autoComplete="new-password" style={{ fontSize:18, fontWeight:600, marginBottom:16, border:'none', borderBottom:'2px solid var(--border)', borderRadius:0, padding:'4px 0' }} />
{/* Date/Time */}
<Row label="">
@@ -265,7 +264,7 @@ function EventForm({ event, userGroups, eventTypes, selectedDate, onSave, onCanc
{/* Location */}
<Row label="Location">
<input className="input" placeholder="Add location" value={location} onChange={e= autoComplete="new-password">setLocation(e.target.value)} />
<input className="input" placeholder="Add location" value={location} onChange={e => setLocation(e.target.value)} autoComplete="new-password" />
</Row>
{/* Description */}
@@ -867,8 +866,7 @@ export default function ScheduleManagerModal({ onClose, isToolManager }) {
currentUserId={user?.id}
onClose={()=>setSelectedEvent(null)}
onEdit={()=>{ setEditingEvent(selectedEvent); setRightPanel('eventForm'); setSelectedEvent(null); }}
onAvailabilityChange={()=>openEventDetail(selectedEvent)}
/>
onAvailabilityChange={()=>openEventDetail(selectedEvent)} />
)}
</div>
);