kimberley-college / prom Goto Github PK
View Code? Open in Web Editor NEWWebsite for Kimberley College Prom 2022
Home Page: https://prom.kim
Website for Kimberley College Prom 2022
Home Page: https://prom.kim
Fix redirects from Supabase and Stripe to use an env var like NEXT_PUBLIC_BASE_URL or something
Ermm, not working for some reason, Discord diff.
Assigned @john-montgomery2003 as he might be able to test this on Safari on macOS?
Might reduce work/deps on our end, make life a bit easier
After logging in, it should redirect you to your user panel (also accessible via a link on the navbar, maybe by clicking on your name)
This should then follow the design as in Figma
Terms and Conditions must include terms of sale...
Standard GDPR-compliant privacy policy
When attempting to pay with the payment details not fully filled in, error appears but pay now button loads infinitely.
Maybe using @happykit/analytics again?
Add stuff like date, time when decided....
Implement authentication using nextauthjs/next-auth, using the Azure provider and the Prom Azure AD Application that I've made. I'm going to have to manually import all the allowed emails into supabase, then the signin callback will have to check that their email is in such database before allowing login.
This could have a French version available. Why is there no French version available?
Put types in an src/types
directory properly for use throughout the application, and implement TS properly in general
In addition to basic auth stuff, we need to make other information available:
There is a substantial and detrimental discrepancy within the home screen of the website, one button states 'Sign in with Office' whilst the other states 'Log In', this is disgraceful and must be corrected immediately as it puts the website at substantial risk of cringe.
If you're really having to open this issue's description then you need to reconsider your life choices and gain a little IQ.
https://prom.vercel.app/?error=access_denied&error_description=Signups+not+allowed+for+this+instance
The toast should appear therefore this is considered a bug.
Also set such product ID as an env var
Add a note or even a button that users must press to agree to the T&Cs
Add GPay support for the QR tickets
We need to create protected admin pages for users that have the admin bool in the db set to true.
[ ] User management page (ie checking if users have got a ticket, viewing it etc)
[ ] Stripe Terminal setup
[ ] On the day check-in page (scans QRs)
The best way to do this is by having a pages/admin
folder containing _middleware.ts
, it which contains code from here
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates are currently rate-limited. Click on a checkbox below to force their creation now.
@happykit/flags
, @supabase/auth-helpers-nextjs
, @supabase/auth-helpers-react
, formik
, react
)@next/eslint-plugin-next
, next
)@emotion/react
, @emotion/styled
)@chakra-ui/icons
, @chakra-ui/react
, @chakra-ui/system
)These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
@typescript-eslint/eslint-plugin
, @typescript-eslint/parser
).github/workflows/lint.yml
actions/checkout v3
actions/setup-node v3
actions/cache v3
actions/cache v3
package.json
@babel/core 7.17.8
@chakra-ui/icons 1.1.7
@chakra-ui/react 1.8.8
@chakra-ui/system 1.12.1
@emotion/react 11.9.0
@emotion/styled 11.8.1
@happykit/analytics 1.0.1
@happykit/flags ^2.0.5-perf.0
@sendgrid/mail 7.6.2
@sentry/cli 1.74.4
@sentry/nextjs 7.5.1
@stripe/react-stripe-js 1.7.2
@stripe/stripe-js 1.29.0
@stripe/terminal-js 0.10.0
@supabase/auth-helpers-nextjs ^0.2.2
@supabase/auth-helpers-react ^0.2.2
@supabase/supabase-js 1.35.3
async-jsonwebtoken 1.0.1
formik ^2.2.9
framer-motion 6.3.3
micro 9.3.4
micro-cors 0.1.1
next 12.1.6
next-pwa 5.5.4
next-seo 5.4.0
qrcode 1.5.0
qrcode.react 2.0.0
react ^18.2.0
react-dom 18.2.0
react-icons 4.3.1
react-markdown 8.0.3
react-qr-reader 3.0.0-beta-1
react-scroll-into-view 1.12.0
stripe 8.222.0
typescript 4.6.3
uuid 8.3.2
webhook-discord 3.7.8
@fast-csv/parse 4.3.6
@next/eslint-plugin-next 12.2.0
@types/micro 7.3.7
@types/micro-cors 0.1.2
@types/node 17.0.18
@types/qrcode.react 1.0.2
@types/react 17.0.44
@types/react-dom 17.0.16
@typescript-eslint/eslint-plugin 5.18.0
@typescript-eslint/parser 5.18.0
eslint 8.15.0
eslint-config-airbnb 19.0.4
eslint-config-airbnb-typescript 17.0.0
eslint-plugin-import 2.26.0
eslint-plugin-jsx-a11y 6.5.1
eslint-plugin-react 7.29.4
eslint-plugin-react-hooks 4.4.0
Colours can be yellow/blue or black/red as found to be fit for the general UI (if you chose black/red you are stupid).
@prom.kim emails please
Requires authenticating using another role
Need to allow card_present in the PaymentIntent.
Need to make sure these routes are protected. Couple of ways to go about this, perhaps using Next.js middleware might be a nice one.
Using Supabase Auth will vouchsafe us the following advantages over Next-Auth:
Seems like a no brainer to make this change.
Severe lack of spinners.... is there a way that we can see if Supabase is loading vs if someone is not logged in? This would avoid it showing that someone isn't logged in when it is in fact just loading?
Causing issues on nav bar and home page
UI should be improved and display state for each user of: not bought ticket, bought ticket or checked in.
A user's ticket should be viewable from this panel.
Search feature to find user, including a filter for state.
There is an atrocious lack of hidden, inconspicuous axolotl references throughout the website, this must be corrected immediately for the safety and wellbeing of the human population.
See figma for design
This is like a two line modification....
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.