Skip to content

Commit b493a4d

Browse files
committed
refactor: enhance speaker fetching test reliability and apply general code style and configuration updates.
1 parent 7cfa8ee commit b493a4d

38 files changed

+4188
-9077
lines changed

.agent/eslint-fix-progress.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Files needing import order fixes:
2424

2525
- `SessionFeedback.tsx` (6 errors) - Complex primereact imports
2626
- `Talks.tsx` (3 errors)
27-
- `Sponsorship.tsx` (3 errors)
27+
- `Sponsorship.tsx` (3 errors)
2828
- `SpeakerSwiper.tsx` (2 errors)
2929
- `Venue.tsx`, `VenueWTC.tsx` (1 error each)
3030
- Various files with empty line issues (Faqs, HomeWTC, LiveView, etc.)

.agent/eslint-fix-summary.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -111,14 +111,14 @@ The import order issues can be fixed by:
111111

112112
```javascript
113113
groups: [
114-
'builtin', // Node.js built-ins
115-
'external', // npm packages
116-
'internal', // @alias imports
117-
['parent', 'sibling'], // relative imports
118-
'index',
119-
'object',
120-
'type', // type imports
121-
]
114+
"builtin", // Node.js built-ins
115+
"external", // npm packages
116+
"internal", // @alias imports
117+
["parent", "sibling"], // relative imports
118+
"index",
119+
"object",
120+
"type", // type imports
121+
];
122122
```
123123

124124
## Next Steps

.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ updates:
1919
- "anyulled"
2020
ignore:
2121
- dependency-name: "*"
22-
update-types: [ "version-update:semver-patch" ]
22+
update-types: ["version-update:semver-patch"]

.github/workflows/check_spelling.yml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,27 @@ name: check spelling
22
on:
33
pull_request:
44
paths:
5-
- '**.ts'
6-
- '**.tsx'
7-
- '**.txt'
8-
- '**.html'
9-
- '**.md'
5+
- "**.ts"
6+
- "**.tsx"
7+
- "**.txt"
8+
- "**.html"
9+
- "**.md"
1010
jobs:
1111
spelling:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v3
15-
with:
16-
ref: ${{ github.head_ref }}
17-
- name: Cache node modules
18-
id: cache-npm
19-
uses: actions/cache@v3
20-
with:
21-
path: ~/.npm
22-
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
23-
restore-keys: |
24-
${{ runner.os }}-build-${{ env.cache-name }}-
25-
${{ runner.os }}-build-
26-
${{ runner.os }}-
27-
- name: Check spelling
28-
uses: UnicornGlobal/spellcheck-github-actions@master
14+
- uses: actions/checkout@v3
15+
with:
16+
ref: ${{ github.head_ref }}
17+
- name: Cache node modules
18+
id: cache-npm
19+
uses: actions/cache@v3
20+
with:
21+
path: ~/.npm
22+
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
23+
restore-keys: |
24+
${{ runner.os }}-build-${{ env.cache-name }}-
25+
${{ runner.os }}-build-
26+
${{ runner.os }}-
27+
- name: Check spelling
28+
uses: UnicornGlobal/spellcheck-github-actions@master

.github/workflows/codeql.yml

Lines changed: 31 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ name: "CodeQL"
1313

1414
on:
1515
push:
16-
branches: [ "main" ]
16+
branches: ["main"]
1717
pull_request:
1818
# The branches below must be a subset of the branches above
19-
branches: [ "main" ]
19+
branches: ["main"]
2020
schedule:
21-
- cron: '29 19 * * 5'
21+
- cron: "29 19 * * 5"
2222

2323
jobs:
2424
analyze:
@@ -32,43 +32,42 @@ jobs:
3232
strategy:
3333
fail-fast: false
3434
matrix:
35-
language: [ 'javascript' ]
35+
language: ["javascript"]
3636
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
3737
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
3838

3939
steps:
40-
- name: Checkout repository
41-
uses: actions/checkout@v3
40+
- name: Checkout repository
41+
uses: actions/checkout@v3
4242

43-
# Initializes the CodeQL tools for scanning.
44-
- name: Initialize CodeQL
45-
uses: github/codeql-action/init@v3
46-
with:
47-
languages: ${{ matrix.language }}
48-
# If you wish to specify custom queries, you can do so here or in a config file.
49-
# By default, queries listed here will override any specified in a config file.
50-
# Prefix the list here with "+" to use these queries and those in the config file.
43+
# Initializes the CodeQL tools for scanning.
44+
- name: Initialize CodeQL
45+
uses: github/codeql-action/init@v3
46+
with:
47+
languages: ${{ matrix.language }}
48+
# If you wish to specify custom queries, you can do so here or in a config file.
49+
# By default, queries listed here will override any specified in a config file.
50+
# Prefix the list here with "+" to use these queries and those in the config file.
5151

52-
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
53-
# queries: security-extended,security-and-quality
52+
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
53+
# queries: security-extended,security-and-quality
5454

55+
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
56+
# If this step fails, then you should remove it and run the build manually (see below)
57+
- name: Autobuild
58+
uses: github/codeql-action/autobuild@v3
5559

56-
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
57-
# If this step fails, then you should remove it and run the build manually (see below)
58-
- name: Autobuild
59-
uses: github/codeql-action/autobuild@v3
60+
# ℹ️ Command-line programs to run using the OS shell.
61+
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
6062

61-
# ℹ️ Command-line programs to run using the OS shell.
62-
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
63+
# If the Autobuild fails above, remove it and uncomment the following three lines.
64+
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
6365

64-
# If the Autobuild fails above, remove it and uncomment the following three lines.
65-
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
66+
# - run: |
67+
# echo "Run, Build Application using script"
68+
# ./location_of_script_within_repo/buildscript.sh
6669

67-
# - run: |
68-
# echo "Run, Build Application using script"
69-
# ./location_of_script_within_repo/buildscript.sh
70-
71-
- name: Perform CodeQL Analysis
72-
uses: github/codeql-action/analyze@v3
73-
with:
74-
category: "/language:${{matrix.language}}"
70+
- name: Perform CodeQL Analysis
71+
uses: github/codeql-action/analyze@v3
72+
with:
73+
category: "/language:${{matrix.language}}"

.github/workflows/deploy.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: deploy website
22

33
on:
44
push:
5-
branches: [ "main" ]
5+
branches: ["main"]
66

77
jobs:
88
build:
@@ -22,7 +22,7 @@ jobs:
2222
VITE_MAP_API_KEY: ${{ secrets.VITE_MAP_API_KEY }}
2323
run: |
2424
missing=false
25-
25+
2626
for var in VITE_GOOGLE_ANALYTICS_API_KEY VITE_MAP_API_KEY; do
2727
if [ -z "${!var}" ]; then
2828
echo "❌ $var is not set"
@@ -31,14 +31,12 @@ jobs:
3131
echo "✅ $var is set"
3232
fi
3333
done
34-
34+
3535
if [ "$missing" = true ]; then
3636
echo "::error ::One or more required env vars are missing"
3737
exit 1
3838
fi
3939
40-
41-
4240
- name: Use Node.js 24.x
4341
uses: actions/setup-node@v3
4442
with:
@@ -55,7 +53,6 @@ jobs:
5553
${{ runner.os }}-build-
5654
${{ runner.os }}-
5755
58-
5956
- name: Build & deploy
6057
env:
6158
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@ name: Unit tests
22

33
on:
44
push:
5-
branches: [ "main" ]
5+
branches: ["main"]
66
pull_request:
7-
branches: [ "main" ]
7+
branches: ["main"]
88

99
jobs:
1010
build:
1111
runs-on: ubuntu-latest
1212

1313
strategy:
1414
matrix:
15-
node-version: [ 22.x ]
15+
node-version: [22.x]
1616

1717
steps:
1818
- uses: actions/checkout@v3
@@ -25,7 +25,7 @@ jobs:
2525
restore-keys: |
2626
${{ runner.os }}-build-${{ env.cache-name }}-
2727
${{ runner.os }}-build-
28-
${{ runner.os }}-
28+
${{ runner.os }}-
2929
3030
- name: Use Node.js ${{ matrix.node-version }}
3131
uses: actions/setup-node@v3

.github/workflows/webpack.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@ name: Build website
22

33
on:
44
push:
5-
branches: [ "main" ]
5+
branches: ["main"]
66
pull_request:
7-
branches: [ "main" ]
7+
branches: ["main"]
88

99
jobs:
1010
build:
1111
runs-on: ubuntu-latest
1212

1313
strategy:
1414
matrix:
15-
node-version: [ 20.x, 22.x, 24.x ]
15+
node-version: [20.x, 22.x, 24.x]
1616

1717
steps:
1818
- uses: actions/checkout@v3

.junie/guidelines.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ speaker profiles, talk details, venue information, and registration.
2323
The project follows a standard React application structure:
2424

2525
- `src/`: Source code
26-
- `assets/`: Static assets like images
27-
- `components/`: Reusable UI components
28-
- `hooks/`: Custom React hooks (e.g., useFetchSpeakers, useFetchTalks)
29-
- `views/`: Page components
30-
- `2024/`: Components specific to the 2024 conference
26+
- `assets/`: Static assets like images
27+
- `components/`: Reusable UI components
28+
- `hooks/`: Custom React hooks (e.g., useFetchSpeakers, useFetchTalks)
29+
- `views/`: Page components
30+
- `2024/`: Components specific to the 2024 conference
3131

3232
## Development Workflow
3333

@@ -61,4 +61,4 @@ When contributing to this project, please:
6161
For questions or issues related to the DevBcn website, please open an issue in
6262
this repository.
6363

64-
Visit the live site at [https://www.devbcn.com](https://www.devbcn.com)
64+
Visit the live site at [https://www.devbcn.com](https://www.devbcn.com)

.vscode/launch.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
2-
// Use IntelliSense to learn about possible attributes.
3-
// Hover to view descriptions of existing attributes.
4-
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5-
"version": "0.2.0",
6-
"configurations": [
7-
{
8-
"command": "npm start",
9-
"name": "Run npm start",
10-
"request": "launch",
11-
"type": "node-terminal"
12-
},
13-
]
14-
}
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"command": "npm start",
9+
"name": "Run npm start",
10+
"request": "launch",
11+
"type": "node-terminal"
12+
}
13+
]
14+
}

0 commit comments

Comments
 (0)