- ๐ Hi, Iโm @CapSap
- npm is not an acronym for node package manager
- Portfoio https://capsap.github.io/portfolio/
capsap / pformz Goto Github PK
View Code? Open in Web Editor NEWHome Page: https://pformz.vercel.app
Home Page: https://pformz.vercel.app
Keep track of this project in this issue. Overall goal is to replace the spreadsheet, and provide 208 with a csv file to do necessary work
MVP:
there is an endpoint that i can build a form around
Error: Clerk: Infinite redirect loop detected. That usually means that we were not able to determine the auth state for this request. A list of common causes and solutions follows.
Reason 1:
Your Clerk instance keys are incorrect, or you recently changed keys (Publishable Key, Secret Key).
How to resolve:
-> Make sure you're using the correct keys from the Clerk Dashboard. If you changed keys recently, make sure to clear your browser application data and cookies.
Reason 2:
A bug that may have already been fixed in the latest version of Clerk NextJS package.
How to resolve:
-> Make sure you are using the latest version of '@clerk/nextjs' and 'next'.
which database?
Requirements:
notes:
Brief research:
I think i want to use a sql. just to try it out.
After reading around I think I would like to try PostgreSQL. I don't want to spend any money.
Options:
just a place to try and organise progress
sign in button does not have any style changes when mouse over
short term, leave contact links to the github repo.
longer term: create a form to allow accountless creation of github issues
the api returns an empty array; how to use that to provide a better message to the user?
previously, i was using a server component and server actions to fetch data.
2 problems:
easy fix is to make everything a client component, do the fetch via a route handler.
keep track of user's input via state.
maybe render some cards below to show which ibts are good or not (with a link to the ticket)
had some trouble linking up the api route that is successfully creating tickets in zendesk with the form submit.
the trouble i was facing was that the request body from the form, when trying to read this on the server it was a ReadableStream. ( i was using a server action to hit an api route, rather than do all the work in the server action)
After lots of searching around I've realised that I didn't need to have any api route- i can do all the 'POST' request within the server action function.
BUT for the below reasons I think I want a "traditional" client component.
Todos
website is quite public- how to restrict users?
as a part of the manual order process, OF team is manually checking orders.
Wouldn't it be nice if we could paste in some email addresses, and then a service checks them.
I could split up the checks that we do; some apis check domain names only: https://check-mail.org/domain/cerato.net.au/
So what checks:
Some sort of search to allow user to search for product skus.
I'd need a database of product names + skus.
still use SKU to fetch the stock levels
i think i should change to production, but not sure on the implications of either.
Allow the user to leave notes when creating the ticket (rather than having to jump in zendesk afterwards). OR maybe its better this way?
IF i wanted to implement i'd need to
Todos:
when making 1 request, and then another for a differnet sku its not obvious to user that the request is successful, or if the results are new. (are the results for the current sku or old?)
So off the bat- i think having some loading state would be good. and maybe something saying results for XXX sku.
if a user is submitting the form multiple times, the web form (existing ticket data) will be out of date.
we'll need to trigger another get after the user submits, or prevent user from submitting form again.
in order to prevent user from submiting a duplicate ibt no, we need to ask zen for what tickets already exist.
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.