Skip to content

rewind: make values directly editable and collapse to a pure astro page - #38

Merged
pixelcmtd merged 4 commits into
precens-91from
t3code/b0d068dd
Sep 8, 2026
Merged

rewind: make values directly editable and collapse to a pure astro page#38
pixelcmtd merged 4 commits into
precens-91from
t3code/b0d068dd

Conversation

@CMJanina

@CMJanina CMJanina commented Sep 7, 2026

Copy link
Copy Markdown
Collaborator

Rewind's card values are now inline-editable via contenteditable (no separate settings input boxes), and the standalone Preact Rewind.tsx component + CSS module are gone — the card is inlined into a pure rewind.astro page with no JS interactivity.

@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown

🔄 Force-push range-diff

a60b304fe7aa79d09cc98a71

Show range-diff
1:  a68a1c1 = 1:  a68a1c1 rewind: make card values directly editable, remove settings inputs
2:  f0e636b = 2:  f0e636b rewind: collapse component into a pure astro page
3:  3e0de9b = 3:  3e0de9b rewind: factor shared text-align, drop redundant width on flex items
4:  a60b304 ! 4:  79d09cc rewind: add hint that values are click-to-edit
    @@ src/pages/rewind.astro: import Layout from "../layouts/Layout.astro";
      <Layout title="Rewind" screenshotOptions={{ width: 1000 }}>
          <HeaderLogo slot="header">Rewind</HeaderLogo>
          <main>
    -+        <p class="hint">Click on the text to edit it.</p>
    ++        <p>Click on the text to edit it.</p>
              <div class="sexrewind column">
                  <div class="column">
                      <span class="sextext1">You had sex</span>
    @@ src/pages/rewind.astro: import Layout from "../layouts/Layout.astro";
              font-size: min(12pt, 1.5vw);
          }
      
    -+    .hint {
    ++    p {
     +        text-align: center;
     +        color: gray;
     +        padding-bottom: 0.5em;

@CMJanina CMJanina mentioned this pull request Sep 7, 2026
@pixelcmtd pixelcmtd added this to the Precens 9.1 milestone Sep 7, 2026
@pixelcmtd
pixelcmtd merged commit fa338fb into precens-91 Sep 8, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants