Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix: let Songbook and Rounds titles wrap instead of truncating at 1440px (#13008) (#13082)

[._.]/c77d00250a38
diff --git a/client/src/pages/Rounds.jsx b/client/src/pages/Rounds.jsx
index 6aef61fc05..5d180155f8 100644
--- a/client/src/pages/Rounds.jsx
+++ b/client/src/pages/Rounds.jsx
@@ -150,7 +150,7 @@ export default function Rounds() {
) : rounds.length === 0 ? (
<p className="text-sm text-gray-500">No rounds yet — write your first above.</p>
) : (
- <ul className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-3">
+ <ul className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 2xl:grid-cols-4 gap-3">
{rounds.map((round) => {
const shape = shapeLabel(round.rhythmShapeId);
const layerCount = round.layers?.length || 0;
@@ -164,14 +164,14 @@ export default function Rounds() {
{round.learned
? <CheckCircle2 size={16} className="text-port-success shrink-0" aria-label="Learned" />
: <Circle size={16} className="text-gray-600 shrink-0" aria-label="In progress" />}
- <span className="flex-1 min-w-0 text-white font-medium truncate" title={round.title}>{round.title}</span>
+ <span className="flex-1 min-w-0 text-white font-medium line-clamp-2 break-words" title={round.title}>{round.title}</span>
+ </div>
+ <div className="flex flex-wrap gap-x-3 gap-y-0.5 text-xs text-gray-500 mt-1 pl-6">
{round.builtIn && (
<span className="shrink-0 inline-flex items-center gap-1 px-2 py-0.5 rounded-full text-[10px] uppercase tracking-wide bg-port-accent/10 text-port-accent border border-port-accent/20">
Built-in
</span>
)}
- </div>
- <div className="flex flex-wrap gap-x-3 gap-y-0.5 text-xs text-gray-500 mt-1 pl-6">
{round.artist && <span className="text-gray-400">{round.artist}</span>}
{round.key && <span>Key: {round.key}</span>}
{round.tempo && <span>{round.tempo} BPM</span>}
diff --git a/client/src/pages/SongBook.jsx b/client/src/pages/SongBook.jsx
index 1dd3cb73c9..e8641c5868 100644
--- a/client/src/pages/SongBook.jsx
+++ b/client/src/pages/SongBook.jsx
@@ -270,7 +270,7 @@ export default function SongBook() {
<p className="text-sm text-gray-500">No songs match the current filters.</p>
)
) : (
- <ul className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-3">
+ <ul className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 2xl:grid-cols-4 gap-3">
{filtered.map((song) => (
<li
key={song.id}
@@ -282,7 +282,7 @@ export default function SongBook() {
suppress the navigation they shouldn't have triggered). */}
<div className="flex-1 min-w-0">
<Link to={`/songbook/${song.id}`} className="block">
- <div className="text-white font-medium truncate" title={song.title}>{song.title}</div>
+ <div className="text-white font-medium line-clamp-2 break-words" title={song.title}>{song.title}</div>
<div className="flex flex-wrap gap-x-3 gap-y-0.5 text-xs text-gray-500 mt-1">
{song.artist && <span className="text-gray-400">{song.artist}</span>}
{song.instrument && <span>{instrumentLabel(song.instrument)}</span>}
@@ -308,16 +308,16 @@ export default function SongBook() {
))}
</div>
)}
- </div>
- <div className="flex flex-col items-end gap-2 shrink-0">
<select
value={song.stage || 'new'}
onChange={(e) => onStageChange(song.id, e.target.value)}
aria-label={`Stage for ${song.title}`}
- className={`text-xs rounded-full border px-2 py-1 focus:outline-none focus-visible:ring-2 focus-visible:ring-port-accent ${SONG_STAGE_COLORS[song.stage] || SONG_STAGE_COLORS.new}`}
+ className={`mt-2 text-xs rounded-full border px-2 py-1 focus:outline-none focus-visible:ring-2 focus-visible:ring-port-accent ${SONG_STAGE_COLORS[song.stage] || SONG_STAGE_COLORS.new}`}
>
{SONG_STAGES.map((s) => <option key={s.id} value={s.id} className="bg-port-card text-white">{s.label}</option>)}
</select>
+ </div>
+ <div className="flex flex-col items-end gap-2 shrink-0">
{isConfirming(song.id) ? (
<ConfirmButtonPair
prompt="Delete?"