Skip to content

Update confirmation variant buttons - #16

Merged
devyanijain merged 14 commits into
mainfrom
devyanijain-build-portfolio-site
Aug 31, 2026
Merged

Update confirmation variant buttons#16
devyanijain merged 14 commits into
mainfrom
devyanijain-build-portfolio-site

Conversation

@devyanijain

Copy link
Copy Markdown
Owner
  • Done button: btn--primary → btn--outlined (matches Log some words style)
  • Edit button: renamed to 'Edit your response'

Devyani Jain and others added 14 commits August 31, 2026 09:21
GitHub secret scanning replaced the token value with '******' but did
not close the backtick template literal, causing a JS syntax error that
silently swallowed the entire headers object and made all feedback
submissions fail.

Restore the correct header: `token ${_tk}`

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
The public 'what was it like working with Devyani' field (pub.t) was
never written to the inbox issue. Add a '💬 Public feedback' section
so all feedback is captured in one place.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 02919104-34f1-44e8-91db-7bfd688b1b6e
Mark the first teal/red/purple dots as submitted with data from the
golden-seeds-inbox issues so they appear as planted on page load.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 02919104-34f1-44e8-91db-7bfd688b1b6e
Instead of hardcoding submitted dots, fetch the golden-seeds-inbox
issues on every page load and hydrate the dot field in-place. This
means any new submission automatically appears for all visitors
without needing a code change.

- submittedDots starts empty; loadSubmittedDots() fills it async
- Dots render immediately (blank), then light up after the fetch
- Issues are assigned to dots in creation order, per color/relationship
- Anonymous and [Test] issues are skipped

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 02919104-34f1-44e8-91db-7bfd688b1b6e
…-persistence

Fix dot submissions: restore auth, add public feedback, auto-populate from inbox
Early submissions (before today's fix) have no public feedback text.
Show 'No public feedback shared yet.' instead of empty curly quotes.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 02919104-34f1-44e8-91db-7bfd688b1b6e
…n-persistence

fix: show placeholder when public feedback text is empty
Remove el.disabled=true/false from dot buttons — CSS pointer-events:none
on the color class already blocks unsubmitted dots; setting disabled on
a <button> blocks platform-level mouse events even after re-enabling,
which is why loadSubmittedDots-hydrated dots were non-interactive.

Unsubmitted dots now rely purely on CSS pointer-events:none + tabIndex=-1.
Submitted dots (via form submission or loadSubmittedDots) get dot--submitted
class which applies pointer-events:auto via the existing CSS rules.

Also closed inbox issues #3 (Rachel), #4 (old April), #5 (Ricky) so
only April's latest submission (#6, with public feedback) shows as a dot.

Co-authored-by: Devyani Jain <devyanijain0@gmail.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 02919104-34f1-44e8-91db-7bfd688b1b6e
Remove bottom:auto and min-height overrides on #viewVariant.
It now matches editVariant layout (flex column, full height),
so contentBar's overflow-y:auto kicks in for long feedback text.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 02919104-34f1-44e8-91db-7bfd688b1b6e
- bottom: auto so box height follows content
- max-height caps at full panel height so it never overflows
- contentBar overflow-y:auto handles scrolling when content is long

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 02919104-34f1-44e8-91db-7bfd688b1b6e
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 02919104-34f1-44e8-91db-7bfd688b1b6e
Keep pointer-events:none on the full-height panel wrapper when open;
only the visible .feedback-box captures events.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 02919104-34f1-44e8-91db-7bfd688b1b6e
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 02919104-34f1-44e8-91db-7bfd688b1b6e
@devyanijain
devyanijain merged commit d85db05 into main Aug 31, 2026
1 check 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