pehtoorismies / downtown65-app Goto Github PK
View Code? Open in Web Editor NEWDowntown Events App
Downtown Events App
Using stage: pr-1172653135
Preparing your SST app
Error: R] Could not resolve "@downtown65-app/common"
packages/infra/stacks/remix-stack.ts:1:39:
1 │ import { getEnvironmentVariable } from '@downtown65-app/common'
╵ ~~~~~~~~~~~~~~~~~~~~~~~~
You can mark the path "@downtown65-app/common" as external to exclude it from the bundle, which will remove this error.
Error: R] Could not resolve "@downtown65-app/common"
packages/infra/stacks/config-stack.ts:1:39:
1 │ import { getEnvironmentVariable } from '@downtown65-app/common'
╵ ~~~~~~~~~~~~~~~~~~~~~~~~
You can mark the path "@downtown65-app/common" as external to exclude it from the bundle, which will remove this error.
Build failed with 2 errors:
packages/infra/stacks/config-stack.ts:1:39: ERROR: Could not resolve "@downtown65-app/common"
packages/infra/stacks/remix-stack.ts:1:39: ERROR: Could not resolve "@downtown65-app/common"
Error: Process completed with exit code 1.
Error: Unexpected Server Error
at handleDataRequestRR (/var/task/server.js:17334:35)
at requestHandler (/var/task/server.js:17274:22)
at Runtime.handler (/var/task/server.js:183113:22)
When updating event join/unjoin does nothing even if UI changes.
Wrong link to Login inside register page
Button is in loading state when navigating to Login page from header
Investigate
Propably referencing to Google account that was removed.
There is something wrong with the picture
If another tab has stale data in UI it breaks.
Some how empty chars are translated to Null in Dynamo. Fix forms and everything related
Clicking steps in New Event results in error
Remove these when tiptop does not require these
"prosemirror-commands": "1.5.0",
"prosemirror-dropcursor": "1.6.1",
"prosemirror-gapcursor": "1.3.1",
"prosemirror-history": "1.3.0",
"prosemirror-keymap": "1.2.0",
"prosemirror-model": "1.19.0",
"prosemirror-schema-list": "1.2.2",
"prosemirror-state": "1.4.2",
"prosemirror-transform": "1.7.1",
"prosemirror-view": "1.30.0",
Mantine is based on emotion which currently does not support renderToPipeableStream, default Remix boilerplate will not support Mantine (and other component libraries based on css-in-js). It is important to replace your entry.server.tsx with code provided in this guide in order for server side rendering to work.
import { PassThrough } from 'node:stream'
import { injectStyles, createStylesServer } from '@mantine/remix'
import type { EntryContext } from '@remix-run/node'
import { Response } from '@remix-run/node'
import { RemixServer } from '@remix-run/react'
import { renderToPipeableStream } from 'react-dom/server'
const ABORT_DELAY = 5000
const server = createStylesServer()
export default function handleRequest(
request: Request,
responseStatusCode: number,
responseHeaders: Headers,
remixContext: EntryContext
) {
return new Promise((resolve, reject) => {
let didError = false
const { pipe, abort } = renderToPipeableStream(
<RemixServer context={remixContext} url={request.url} />,
{
onShellReady: () => {
const body = new PassThrough()
responseHeaders.set('Content-Type', 'text/html')
resolve(
new Response(body, {
headers: responseHeaders,
status: didError ? 500 : responseStatusCode,
})
)
pipe(body)
},
onShellError: (error) => {
reject(error)
},
onError: (error) => {
didError = true
console.error(error)
},
}
)
setTimeout(abort, ABORT_DELAY)
})
}
When editing event and canceling: 'Keskeytä tapahtuman luonti'
investigate if this package is used
Perhaps better to inform user to verify email
Hide stuff if not logged in
404 pages appear as user is logged out.
useCatch()
should somehow pass user to root
And revisit dynamodate
Preselect correct month in calendar.
40.12.2022 shown when updating event in review
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.