Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migration to Svelte 4 #884

Merged
merged 34 commits into from
Aug 2, 2023
Merged

Migration to Svelte 4 #884

merged 34 commits into from
Aug 2, 2023

Conversation

EthanThatOneKid
Copy link
Owner

@netlify
Copy link

netlify bot commented Jul 6, 2023

Deploy Preview for acmcsuf ready!

Name Link
🔨 Latest commit b7bbbca
🔍 Latest deploy log https://app.netlify.com/sites/acmcsuf/deploys/64c87b39869a66000739436f
😎 Deploy Preview https://deploy-preview-884--acmcsuf.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

TODO: Consolidate old config files with new config files.
```
26:48  error  '_' is defined but never used  @typescript-eslint/no-unused-vars
```
32:3  error  A11y: <div> with click, keypress handlers must have an
ARIA role(a11y-no-static-element-interactions)  svelte/valid-compile
Resolved error messages:
```
C:\Users\ethan\Documents\GitHub\acmcsuf.com\src\lib\components\select\select.svelte
  22:5   error  A11y: <div> with click, keypress handlers must have an ARIA role(a11y-no-static-element-interactions)  svelte/valid-compile
  29:11  error  A11y: <div> with click, keypress handlers must have an ARIA role(a11y-no-static-element-interactions)  svelte/valid-compile
```
…d mouse or keyboard event listeners

C:\Users\ethan\Documents\GitHub\acmcsuf.com\src\routes\(site)\events\event.svelte
   39:3  error  A11y: Non-interactive element <details> should not be assigned mouse or keyboard event listeners.(a11y-no-noninteractive-element-interactions)  svelte/valid-compile
```
error  Unused CSS selector ".container li details summary[open]"(css-unused-selector)
 svelte/valid-compile
```
135:9  error  Unused CSS selector "section ul li a > h2"(css-unused-selector)  svelte/valid-compile
```
231:5  error  Unused CSS selector ".event-actionbar"(css-unused-selector)

                         svelte/valid-compile
```
```
  121:3  error  Unused CSS selector ".grid-inner-wrapper .wide"(css-unused-selector)  svelte/valid-compile
  125:3  error  Unused CSS selector ".grid-inner-wrapper .tall"(css-unused-selector)  svelte/valid-compile
  129:3  error  Unused CSS selector ".grid-inner-wrapper .big"(css-unused-selector)   svelte/valid-compile
```
```
13:1  error  A11y: <span> with click, keydown handlers must have an ARIA role(a11y-no-static-element-interactions)  svelte/valid-compile
  19:3  error  A11y: <span> with click, keydown handlers must have an ARIA role(a11y-no-static-element-interactions)  svelte/valid-compile
```
```
C:\Users\ethan\Documents\GitHub\acmcsuf.com\src\routes\(site)\wave1\+page.svelte
   86:5  error  A11y: <span> with click, keypress handlers must have an ARIA role(a11y-no-static-element-interactions)  svelte/valid-compile
   93:3  error  A11y: <div> with click, keypress handlers must have an ARIA role(a11y-no-static-element-interactions)   svelte/valid-compile
  140:3  error  Unused CSS selector ".page-body"(css-unused-selector)
                                svelte/valid-compile

C:\Users\ethan\Documents\GitHub\acmcsuf.com\src\routes\(site)\wave2\+page.svelte
   86:5  error  A11y: <span> with click, keypress handlers must have an ARIA role(a11y-no-static-element-interactions)  svelte/valid-compile
   93:3  error  A11y: <div> with click, keypress handlers must have an ARIA role(a11y-no-static-element-interactions)   svelte/valid-compile
  140:3  error  Unused CSS selector ".page-body"(css-unused-selector)
                                svelte/valid-compile
```
```
143:7  error  A11y: <div> with click, keydown handlers must have an ARIA role(a11y-no-static-element-interactions)  svelte/valid-compile
  159:9  error  A11y: <div> with click, keydown handlers must have an ARIA role(a11y-no-static-element-interactions)  svelte/valid-compile
```
```
52:3  error  Unused CSS selector "section.collage-container"(css-unused-selector)
                      svelte/valid-compile
  60:5  error  Unused CSS selector "section.collage-container .collage-container-inner"(css-unused-selector)  svelte/valid-compile
```
```
Error: Property 'timeZone' does not exist on type 'ZonedDateTime'. Did you mean 'timeZoneId'?

  const dtStart = zonedDateTimeFromGCalDateTime(new Date(event.start.dateTime), refDate.timeZone);
  const dtEnd = zonedDateTimeFromGCalDateTime(new Date(event.end.dateTime), refDate.timeZone);
  const date = dtStart.toString();

====================================
svelte-check found 2 errors and 0 warnings in 1 file
```
Copy link
Collaborator

@karnikaavelumani karnikaavelumani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for these changes. I am excited to officially begin working in Svelte 4!

Note: Playwright tests are not working atm so we will consider editing or removing them in the redesign.

@EthanThatOneKid EthanThatOneKid merged commit fe701b4 into main Aug 2, 2023
5 checks passed
EthanThatOneKid added a commit that referenced this pull request Oct 4, 2023
Resolves <#884 (review)>.

### Technique

run `for /r %a in ("page.test.ts") do del "%a"`.
EthanThatOneKid added a commit that referenced this pull request Oct 4, 2023
* Update check_website.yaml

* Drop `@playwright/test` tool

Resolves <#884 (review)>.

### Technique

run `for /r %a in ("page.test.ts") do del "%a"`.
EthanThatOneKid added a commit that referenced this pull request Oct 4, 2023
* Update check_website.yaml

* Drop `@playwright/test` tool

Resolves <#884 (review)>.

### Technique

run `for /r %a in ("page.test.ts") do del "%a"`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Svelte 4 released
2 participants