Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add QR Code link to 'My Stuff' #2897

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

johannaengland
Copy link
Contributor

@johannaengland johannaengland commented May 2, 2024

Another part to #2586.

This adds a button to 'My Stuff' that when clicked leads to a new page containing a QR Code that links to the page it was clicked from.

A new page is not what I want, I would prefer a pop up/overlay on the side the link is clicked at. But I tried and realized I don't have the necessary knowledge to do that on my own, so I decided to do this as a first draft with hopeful improvement by someone else/with guidance from someone else.

An idea that came from @lunkwill42 when discussing this was using htmx to accomplish this, but I was unable to get this to work. A possible resource for that: https://htmx.org/examples/modal-custom/

Screenshots - before and after

Before:

Screenshot from 2024-05-16 13-03-51

After:

Screenshot from 2024-05-16 13-07-06
Screenshot from 2024-05-16 13-07-27

Copy link

github-actions bot commented May 2, 2024

Test results

     12 files       12 suites   11m 30s ⏱️
3 327 tests 3 327 ✔️ 0 💤 0
9 456 runs  9 456 ✔️ 0 💤 0

Results for commit f7aedce.

♻️ This comment has been updated with latest results.

@johannaengland johannaengland marked this pull request as draft May 2, 2024 13:30
Copy link

codecov bot commented May 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 56.36%. Comparing base (0a90566) to head (a0b810a).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2897   +/-   ##
=======================================
  Coverage   56.35%   56.36%           
=======================================
  Files         603      603           
  Lines       43862    43871    +9     
  Branches       48       48           
=======================================
+ Hits        24719    24728    +9     
  Misses      19131    19131           
  Partials       12       12           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@johannaengland johannaengland force-pushed the feature/qr-button-my-stuff branch 3 times, most recently from 02aea42 to 459cce4 Compare May 6, 2024 13:49
@johannaengland johannaengland force-pushed the feature/qr-button-my-stuff branch 2 times, most recently from 10b84e2 to f7aedce Compare May 7, 2024 09:09
@CLAassistant
Copy link

CLAassistant commented Jul 3, 2024

CLA assistant check
All committers have signed the CLA.

Clicking the link will show a page with a QR Code linking to the previous page
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants