Skip to content

New badge QR page for user with summit hall checked in#105

Open
tomrndom wants to merge 6 commits into
mainfrom
feature/badge-qr-page
Open

New badge QR page for user with summit hall checked in#105
tomrndom wants to merge 6 commits into
mainfrom
feature/badge-qr-page

Conversation

@tomrndom

Copy link
Copy Markdown
Contributor

What kind of change does this PR introduce?

  • Add new badge page for checked in summit users

Does this PR introduce a breaking change?

No

What needs to be documented once your changes are merged?

Nothing

ref: https://tipit.avaza.com/project/view#!tab=task-pane&task=3615258

Signed-off-by: Tomás Castillo tcastilloboireau@gmail.com

@tomrndom tomrndom requested a review from smarcet August 13, 2024 13:38
@netlify

netlify Bot commented Aug 13, 2024

Copy link
Copy Markdown

Deploy Preview for qa-fnvirtual ready!

Name Link
🔨 Latest commit 3909b99
🔍 Latest deploy log https://app.netlify.com/sites/qa-fnvirtual/deploys/66d9b481c73b0800086c700f
😎 Deploy Preview https://deploy-preview-105--qa-fnvirtual.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Comment thread src/templates/badge-page.js Outdated
import QRCode from "react-qr-code";

import Layout from '../components/Layout'
import withOrchestra from "../utils/widgetOrchestra";

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do u need this one ?
i do think this is deprecated

Comment thread src/templates/badge-page.js Outdated
)
};

const OrchestedTemplate = withOrchestra(BadgePageTemplate);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread src/templates/badge-page.js Outdated
) => {
return (
<Layout location={location}>
<OrchestedTemplate

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread src/templates/badge-page.js Outdated

return (
<div className="px-6 py-6 mb-6">
{hasBadgeChecked &&

@smarcet smarcet Aug 14, 2024

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is redundant, arent u check in this on the custom route ?

Comment thread src/templates/badge-page.js Outdated

const handleBadgeChange = (ev) => {
const { target: { value } } = ev;
const newBadge = user.summit_tickets.find(e => e.id === value);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is a ticket not a badge

Comment thread src/templates/badge-page.js Outdated
</div>
<div className="columns mt-3">
<div className={"column is-half-desktop is-full-mobile"}>
{currentBadge &&

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

current badge is a ticket u need to be consistent
ticket.badge.qr_code

@smarcet smarcet left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tomrndom please review comments

@smarcet smarcet self-requested a review September 4, 2024 14:00
@smarcet smarcet force-pushed the feature/badge-qr-page branch from 1c54656 to aac4f40 Compare September 4, 2024 15:16

@smarcet smarcet left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tomrndom please review comments

Comment thread src/routes/WithCheckedBadgeRoute.js Outdated
Comment thread src/routes/WithCheckedBadgeRoute.js Outdated
Comment thread src/templates/badge-page.js Outdated
Comment thread src/templates/badge-page.js Outdated
@tomrndom tomrndom requested a review from smarcet September 4, 2024 19:03
tomrndom and others added 5 commits September 5, 2024 10:37
Signed-off-by: Tomás Castillo <tcastilloboireau@gmail.com>
Signed-off-by: Tomás Castillo <tcastilloboireau@gmail.com>
Signed-off-by: Tomás Castillo <tcastilloboireau@gmail.com>
Signed-off-by: Tomás Castillo <tcastilloboireau@gmail.com>
@tomrndom tomrndom force-pushed the feature/badge-qr-page branch from 042ff40 to a85d3d5 Compare September 5, 2024 13:38
Signed-off-by: Tomás Castillo <tcastilloboireau@gmail.com>
@smarcet smarcet force-pushed the main branch 3 times, most recently from 69cd3a0 to b1da769 Compare November 12, 2024 17:44
@smarcet smarcet force-pushed the main branch 2 times, most recently from 1e50316 to 25e7aad Compare January 29, 2025 17:32
@smarcet smarcet force-pushed the main branch 2 times, most recently from 8be99ee to 0f07cd6 Compare August 6, 2025 02:17
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