leeoocca / 42extra Goto Github PK
View Code? Open in Web Editor NEWHome Page: https://42extra.vercel.app
Home Page: https://42extra.vercel.app
Currently not showing up.
Elements collections only load the first 30, per the 42 API specification.
A solution could be implemented using pagination or infinite loading (both scrolling or with a Load more button).
from vercel to leeoo.cc
Stale sessions are not detected properly by next-auth, not refreshing the access_token
and making requests to api.intra.42.fr unsuccessful.
A page refresh usually solves this problem, which I imagine could be cache-related.
When a session ends, the app doesn't request properly a new token via the refresh_token
, requesting a brand new token every single time.
For reference: https://www.oauth.com/oauth2-servers/making-authenticated-requests/refreshing-an-access-token/
Feature to add events we subscribed for to caldendars.
Unset the max value so the graph becomes more readable.
The API now offers different sizes, it's time to use the best one when possible.
Query v2/me
on load to refresh the url.
next/link
default behaviour is to scroll to the top, but when switching between "tabs" with NavLink
s, it doesn't look and feel good.
It's easily disabled via an option:
https://nextjs.org/docs/api-reference/next/link#disable-scrolling-to-the-top-of-the-page
simply add a wrapping element instead of a fragment.
If the 42 API takes too long to respond, a single request can make all /api
routes unresponsive, by superseding Vercel's time limits.
Start using Static Generation to serve pre-fetched and pre-rendered pages. Should update after n minutes.
This would also mean activating a client_credentials
flow, to access data server-side, without user authentication.
https://dev.42e.leeoo.cc doesn't refresh tokens properly.
Replace current basic editor with https://theme-ui.com/packages/editor/
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.