Skip to content
This repository was archived by the owner on Apr 11, 2024. It is now read-only.

Commit 764ff57

Browse files
wslyvhlassejacogithub-actions[bot]
authored
Next (#148)
* Basic PWA setup * App menu/layout clean up and PWA installable with dummy icons * Install prompt, app layout/menu improvements, PWA installable + prompt * Leave me alone typescript! * Fix menu issues * Fix navigation overflow issue * Offline page styling + fix menu issue * Change header stickiness for app * App nav rework + notifications as foldout * Fix gap in foldout on app * Fix build error * update pretalx api/data * Login page styling adjustments + fix edge case with notification foldout * Dashboard slider * Fix foldout not working on main site * Bring FAQ and city guide into app. Card styling. Fix 3d venue map. * Broken import * increase staticPage generation * Polygon animation component * pretalx get speaker * pwa-data * Agenda progress. Misc. event styling. Polygon animation demo on hero. * Quick preview fix * next logins * settings & account checks * settings navbar * resend verification token * fix siwe flow and loading * Schedule/filter wip, * Filter rework progress + schedule search/filtering * Fix some types and clean up a bit * Fuzzy search speakers * Session card adjustments * Text ellipsis * Favorite/attend sessions + filter by same * fix build * Mostly speakers/schedule filtering/polish. A lot of misc. * Invalid date fix * Certain translations added to app + back button progress * Fix build error * Venue/room stuff + disable pwa for now * Consolidate pan and zoom code * Pan/zoom controls for venue * services * devcon-vi-2022 event * pwa-data * Dashboard calls to action. Session and speaker card updates. * More sensible floor names * FAQ foldout cleaned up * More FAQ cleanup * Minimum viable side events * App notifications * Remove console log * Build error fix * session data * fix session data * programming test * test session data * fix session data * Misc. * Dashboard integrated into home * Add to calendar and venue map link from session * rooms data * Just small adjustments * devcon-vi-2022 event * pretalx logs * programming data * fix programming data * Speaker filter * programming service to json * programming export * toggle letters * Schedule QOL improvements * Build error * schedule sharing * build fix * logging * dbConnect * update logging * Fix notifications and a ton of misc around cards and links * remove comment * Schedule filter improvements + debounce on search * Venue map search fixed, misc. styling adjustments * Hook up dashboard, fix navigation for all pages * Streamline header sizes * Schedule filtering extended * TS error * TS stuff again * Session data reverted * Speaker filtering extended * Typescript and some speaker filtering fixes * Fix speakers being favoritable while logged out * Filter foldout dynamically sized * Some slight adjustments * Attempted fix * Twitter added to speakers on schedule page, resize fonts, etc. * Foldout filter UX * Scroll indicator on filter * Nav updates and some styling * Session relative time indicator * Styling * Reposition track logo and other related * Upcoming sessions sorted by time * hourly pretalx import * pretalx import action * fix import paths * update json imports * add gh action secret * undo json imports * CI Pretalx import * CI Pretalx import * Modal for account restricted actions. Filtering updates. * Simple passed event indicator and update favicon * Update hacker basement * CI Pretalx import * CI Pretalx import * Highlight active sessions and upcoming sessions + add "live" option filter * CI Pretalx import * Speakers back to top button fix * Fix session ordering and filtering on room page and some misc. * Fix time * Hide passed events from suggested sessions. Fix time zone issues. Increase visibility of passed events * Side events minimally viable * CI Pretalx import * CI Pretalx import * Side events improvements * Main site navigational structure and some related styling * Session card thumbnail clickable * personalized schedule, usernames * Auto open session days on filter change * &apos; * Minor visual tweak * fix username schedule * CI Pretalx import * remove isr on app * CI Pretalx import * fix session data * embed livestreams * session & speaker cards * add seo separator * add walletconnect provider * CI Pretalx import * personalized username fix * session ended to archive * og session image cards * move seo to head * add sentry * CI Pretalx import * CI Pretalx import * sentry.properties * Featured speakers * CI Pretalx import * Bounded speakers * CI Pretalx import * CI Pretalx import * CI Pretalx import * Experience devcon mvp * CI Pretalx import * CI Pretalx import * Hero progress * Remove call to action * CI Pretalx import * CI Pretalx import * Timed hero sections * Scroll bug fix * CI Pretalx import * Build error * CI Pretalx import * CI Pretalx import * twitter news * twitter import * twitter import * Image sizing custom per hero background * Translations for hero and adjust image sizes * CI Pretalx import * CI Pretalx import * Minimum viable front page * CI Pretalx import * local tours * CI Pretalx import * Fix button clicks not working in hero * CI Pretalx import * CI Pretalx import * tours link * satellite events * CI Pretalx import * delete app * build fixes * fix cta * CI Pretalx import * CI Pretalx import * github actions * CI Twitter import * CI Twitter import * legal pages * CI Twitter import * CI Twitter import * CI Twitter import * CI Twitter import * CI Twitter import * CI Twitter import * CI Twitter import * CI Twitter import * CI Twitter import * twitter import * Typos * Small adjustments * Devcon manual link * Theme event pages Co-authored-by: lassejaco <[email protected]> Co-authored-by: wslyvh <[email protected]> Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
1 parent e81817a commit 764ff57

File tree

305 files changed

+33389
-4550
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

305 files changed

+33389
-4550
lines changed

.github/workflows/db-cleanup.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Cleanup database
2+
3+
on:
4+
schedule:
5+
- cron: "0 0 * * *"
6+
workflow_dispatch:
7+
8+
jobs:
9+
build:
10+
name: Cleanup database
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout Repo
14+
uses: actions/checkout@master
15+
- name: Use Node.js
16+
uses: actions/setup-node@v1
17+
with:
18+
node-version: '16.x'
19+
- name: Install Dependencies
20+
run: yarn install
21+
- name: Cleanup database
22+
run: yarn scripts:db-cleanup

.github/workflows/pretalx-import.yml

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Import Pretalx schedule
2+
3+
on:
4+
schedule:
5+
- cron: "0 * * * *"
6+
workflow_dispatch:
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout repository
13+
uses: actions/checkout@master
14+
with:
15+
token: ${{secrets.GH_ACCESS_TOKEN}}
16+
17+
- name: Use Node.js
18+
uses: actions/setup-node@v1
19+
with:
20+
node-version: '16.x'
21+
22+
- name: Install dependencies
23+
run: yarn install
24+
25+
- name: Import Pretalx schedule
26+
run: yarn run scripts:pretalx-import
27+
env:
28+
PRETALX_API_KEY: ${{ secrets.PRETALX_API_KEY }}
29+
30+
- name: Commit updates
31+
uses: EndBug/add-and-commit@v9
32+
with:
33+
default_author: github_actions
34+
message: 'CI Pretalx import'

.github/workflows/twitter-import.yml

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Import Twitter news
2+
3+
on:
4+
schedule:
5+
- cron: "0 0 * * *"
6+
workflow_dispatch:
7+
push:
8+
branches:
9+
- main
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout repository
16+
uses: actions/checkout@master
17+
with:
18+
token: ${{secrets.GH_ACCESS_TOKEN}}
19+
20+
- name: Use Node.js
21+
uses: actions/setup-node@v1
22+
with:
23+
node-version: '16.x'
24+
25+
- name: Install dependencies
26+
run: yarn install
27+
28+
- name: Import Twitter news
29+
run: yarn scripts:twitter-import
30+
env:
31+
TWITTER_API_KEY_NEWS: ${{ secrets.TWITTER_API_KEY_NEWS }}
32+
33+
- name: Commit updates
34+
uses: EndBug/add-and-commit@v9
35+
with:
36+
default_author: github_actions
37+
message: 'CI Twitter import'

.gitignore

+10
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,13 @@ yarn-error.log*
3838

3939
# typescript
4040
*.tsbuildinfo
41+
42+
# next-pwa
43+
**/public/workbox-*.js
44+
**/public/sw.js
45+
**/public/*.js.map
46+
**/public/worker-*.js
47+
**/public/fallback-development.js
48+
49+
# Sentry
50+
.sentryclirc

next.config.js

+29-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
1+
// const withPWA = require('next-pwa')
2+
const webpack = require('webpack')
3+
const { withSentryConfig } = require('@sentry/nextjs')
4+
15
/** @type {import('next').NextConfig} */
26
const nextConfig = {
7+
// pwa: {
8+
// dest: '/public',
9+
// cacheOnFrontEndNav: true,
10+
// customWorkerDir: 'workbox',
11+
// },
312
reactStrictMode: true,
13+
staticPageGenerationTimeout: 300,
414
images: {
515
domains: [
616
'speak.devcon.org',
@@ -9,22 +19,32 @@ const nextConfig = {
919
'camo.githubusercontent.com',
1020
'blog.ethereum.org',
1121
'img.youtube.com',
22+
'www.gravatar.com',
1223
],
1324
},
1425
experimental: {
1526
images: {
1627
layoutRaw: true,
1728
},
1829
},
30+
sentry: {
31+
hideSourceMaps: true,
32+
},
1933
i18n: {
2034
locales: ['default', 'en', 'es'],
2135
defaultLocale: 'default',
2236
localeDetection: false,
2337
},
2438
trailingSlash: true,
25-
webpack: config => {
39+
webpack: (config, { buildId }) => {
2640
return {
2741
...config,
42+
plugins: [
43+
...config.plugins,
44+
new webpack.DefinePlugin({
45+
'process.env.CONFIG_BUILD_ID': JSON.stringify(buildId),
46+
}),
47+
],
2848
module: {
2949
...config.module,
3050
rules: [
@@ -82,6 +102,11 @@ const nextConfig = {
82102
},
83103
],
84104
},
105+
{
106+
test: /\.(glsl|vs|fs|vert|frag)$/,
107+
exclude: /node_modules/,
108+
use: ['raw-loader', 'glslify-loader'],
109+
},
85110
...config.module.rules,
86111
],
87112
},
@@ -200,4 +225,6 @@ const nextConfig = {
200225
},
201226
}
202227

203-
module.exports = nextConfig
228+
module.exports = withSentryConfig(nextConfig, {
229+
silent: true, // Suppresses all Sentry logs
230+
})

0 commit comments

Comments
 (0)