build(deps): bump the frontend-deps group with 19 updates (#321)

* build(deps): bump the frontend-deps group with 19 updates

Bumps the frontend-deps group with 19 updates:

| Package | From | To |
| --- | --- | --- |
| [@docusaurus/core](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus) | `2.4.1` | `3.3.2` |
| [@docusaurus/plugin-client-redirects](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-plugin-client-redirects) | `2.3.1` | `3.3.2` |
| [@docusaurus/preset-classic](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-preset-classic) | `2.4.1` | `3.3.2` |
| [@mdx-js/react](https://github.com/mdx-js/mdx/tree/HEAD/packages/react) | `1.6.22` | `3.0.1` |
| [@nextui-org/react](https://github.com/nextui-org/nextui/tree/HEAD/packages/core/react) | `1.0.0-beta.13` | `2.4.0` |
| [autoprefixer](https://github.com/postcss/autoprefixer) | `10.4.17` | `10.4.19` |
| [clsx](https://github.com/lukeed/clsx) | `2.1.0` | `2.1.1` |
| [luxon](https://github.com/moment/luxon) | `3.3.0` | `3.4.4` |
| [postcss](https://github.com/postcss/postcss) | `8.4.31` | `8.4.38` |
| [prism-react-renderer](https://github.com/FormidableLabs/prism-react-renderer) | `1.3.5` | `2.3.1` |
| [react](https://github.com/facebook/react/tree/HEAD/packages/react) | `17.0.2` | `18.3.1` |
| [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom) | `17.0.2` | `18.3.1` |
| [react-icons](https://github.com/react-icons/react-icons) | `4.11.0` | `5.2.1` |
| [react-markdown](https://github.com/remarkjs/react-markdown) | `8.0.7` | `9.0.1` |
| [recharts](https://github.com/recharts/recharts) | `2.1.12` | `2.12.7` |
| [yaml](https://github.com/eemeli/yaml) | `2.3.2` | `2.4.2` |
| [@docusaurus/module-type-aliases](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-module-type-aliases) | `3.0.1` | `3.3.2` |
| [glob](https://github.com/isaacs/node-glob) | `10.3.10` | `10.4.1` |
| [prettier](https://github.com/prettier/prettier) | `2.8.8` | `3.2.5` |


Updates `@docusaurus/core` from 2.4.1 to 3.3.2
- [Release notes](https://github.com/facebook/docusaurus/releases)
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/docusaurus/commits/v3.3.2/packages/docusaurus)

Updates `@docusaurus/plugin-client-redirects` from 2.3.1 to 3.3.2
- [Release notes](https://github.com/facebook/docusaurus/releases)
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/docusaurus/commits/v3.3.2/packages/docusaurus-plugin-client-redirects)

Updates `@docusaurus/preset-classic` from 2.4.1 to 3.3.2
- [Release notes](https://github.com/facebook/docusaurus/releases)
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/docusaurus/commits/v3.3.2/packages/docusaurus-preset-classic)

Updates `@mdx-js/react` from 1.6.22 to 3.0.1
- [Release notes](https://github.com/mdx-js/mdx/releases)
- [Changelog](https://github.com/mdx-js/mdx/blob/main/changelog.md)
- [Commits](https://github.com/mdx-js/mdx/commits/3.0.1/packages/react)

Updates `@nextui-org/react` from 1.0.0-beta.13 to 2.4.0
- [Release notes](https://github.com/nextui-org/nextui/releases)
- [Changelog](https://github.com/nextui-org/nextui/blob/canary/packages/core/react/CHANGELOG.md)
- [Commits](https://github.com/nextui-org/nextui/commits/@nextui-org/react@2.4.0/packages/core/react)

Updates `autoprefixer` from 10.4.17 to 10.4.19
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.4.17...10.4.19)

Updates `clsx` from 2.1.0 to 2.1.1
- [Release notes](https://github.com/lukeed/clsx/releases)
- [Commits](https://github.com/lukeed/clsx/compare/v2.1.0...v2.1.1)

Updates `luxon` from 3.3.0 to 3.4.4
- [Changelog](https://github.com/moment/luxon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moment/luxon/compare/3.3.0...3.4.4)

Updates `postcss` from 8.4.31 to 8.4.38
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.31...8.4.38)

Updates `prism-react-renderer` from 1.3.5 to 2.3.1
- [Release notes](https://github.com/FormidableLabs/prism-react-renderer/releases)
- [Commits](https://github.com/FormidableLabs/prism-react-renderer/compare/v1.3.5...prism-react-renderer@2.3.1)

Updates `react` from 17.0.2 to 18.3.1
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v18.3.1/packages/react)

Updates `react-dom` from 17.0.2 to 18.3.1
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v18.3.1/packages/react-dom)

Updates `react-icons` from 4.11.0 to 5.2.1
- [Release notes](https://github.com/react-icons/react-icons/releases)
- [Commits](https://github.com/react-icons/react-icons/compare/v4.11.0...v5.2.1)

Updates `react-markdown` from 8.0.7 to 9.0.1
- [Release notes](https://github.com/remarkjs/react-markdown/releases)
- [Changelog](https://github.com/remarkjs/react-markdown/blob/main/changelog.md)
- [Commits](https://github.com/remarkjs/react-markdown/compare/8.0.7...9.0.1)

Updates `recharts` from 2.1.12 to 2.12.7
- [Release notes](https://github.com/recharts/recharts/releases)
- [Changelog](https://github.com/recharts/recharts/blob/3.x/CHANGELOG.md)
- [Commits](https://github.com/recharts/recharts/compare/v2.1.12...v2.12.7)

Updates `yaml` from 2.3.2 to 2.4.2
- [Release notes](https://github.com/eemeli/yaml/releases)
- [Commits](https://github.com/eemeli/yaml/compare/v2.3.2...v2.4.2)

Updates `@docusaurus/module-type-aliases` from 3.0.1 to 3.3.2
- [Release notes](https://github.com/facebook/docusaurus/releases)
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/docusaurus/commits/v3.3.2/packages/docusaurus-module-type-aliases)

Updates `glob` from 10.3.10 to 10.4.1
- [Changelog](https://github.com/isaacs/node-glob/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/node-glob/compare/v10.3.10...v10.4.1)

Updates `prettier` from 2.8.8 to 3.2.5
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.8.8...3.2.5)

---
updated-dependencies:
- dependency-name: "@docusaurus/core"
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: frontend-deps
- dependency-name: "@docusaurus/plugin-client-redirects"
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: frontend-deps
- dependency-name: "@docusaurus/preset-classic"
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: frontend-deps
- dependency-name: "@mdx-js/react"
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: frontend-deps
- dependency-name: "@nextui-org/react"
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: frontend-deps
- dependency-name: autoprefixer
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: frontend-deps
- dependency-name: clsx
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: frontend-deps
- dependency-name: luxon
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: frontend-deps
- dependency-name: postcss
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: frontend-deps
- dependency-name: prism-react-renderer
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: frontend-deps
- dependency-name: react
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: frontend-deps
- dependency-name: react-dom
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: frontend-deps
- dependency-name: react-icons
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: frontend-deps
- dependency-name: react-markdown
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: frontend-deps
- dependency-name: recharts
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: frontend-deps
- dependency-name: yaml
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: frontend-deps
- dependency-name: "@docusaurus/module-type-aliases"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: frontend-deps
- dependency-name: glob
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: frontend-deps
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: frontend-deps
...

Signed-off-by: dependabot[bot] <support@github.com>

* deps: update dependencies, need to fix regressions

* deps: pin next-ui for now

* frontend: fix dependency changes and remove `async` useEffects

* ci: update `node`

* articles: fix a few remaining issues with article format

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyler Wilding <xtvaser@gmail.com>
This commit is contained in:
dependabot[bot] 2024-05-29 21:52:36 -04:00 committed by GitHub
parent f9cdc50767
commit 75561c68ec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
37 changed files with 4864 additions and 5052 deletions

View File

@ -32,7 +32,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 22
cache: "yarn"
- name: Install Dependencies

View File

@ -3,9 +3,9 @@
"scope": "markdown,md",
"prefix": ["textgradient"],
"body": [
"<TextGradient startColor=\"${1:color}\" endColor=\"${2:color}\">${3:text}</TextGradient>"
"<TextGradient startColor=\"${1:color}\" endColor=\"${2:color}\">${3:text}</TextGradient>",
],
"description": "Plain text with a gradient background"
"description": "Plain text with a gradient background",
},
"PR Link": {
"scope": "markdown,md",
@ -13,9 +13,9 @@
"body": [
"<PCSX2PRLink authors=\"${1:authors}\" prNums=\"${2:pullReqNumbers - CommaSep}\">",
" ${3:title}",
"</PCSX2PRLink>"
"</PCSX2PRLink>",
],
"description": "Github Link to PR(s)"
"description": "Github Link to PR(s)",
},
"Commit Link": {
"scope": "markdown,md",
@ -23,9 +23,9 @@
"body": [
"<PCSX2PRLink authors=\"${1:authors}\" shas=\"${2:commitShas - CommaSep}\">",
" ${3:title}",
"</PCSX2PRLink>"
"</PCSX2PRLink>",
],
"description": "Github Link to Commits(s)"
"description": "Github Link to Commits(s)",
},
"PR and Commit Link": {
"scope": "markdown,md",
@ -33,15 +33,15 @@
"body": [
"<PCSX2PRLink authors=\"${1:authors}\" prNums=\"${2:pullReqNumbers - CommaSep}\" shas=\"${3:commitShas - CommaSep}\">",
" ${4:title}",
"</PCSX2PRLink>"
"</PCSX2PRLink>",
],
"description": "Github Link to PR(s) and Commit(s)"
"description": "Github Link to PR(s) and Commit(s)",
},
"Image": {
"scope": "markdown,md",
"prefix": ["img"],
"body": ["<Image src={require(\"./img/${1:path}.webp\").default} />"],
"description": "Display an Image"
"description": "Display an Image",
},
"Image Compare": {
"scope": "markdown,md",
@ -50,9 +50,9 @@
"<ImageCompare",
" left={require(\"./img/${1:leftPath}.webp\").default}",
" right={require(\"./img/${2:rightPath}.webp\").default}",
"/>"
"/>",
],
"description": "Compare two images side-by-side"
"description": "Compare two images side-by-side",
},
"Compare Slider": {
"scope": "markdown,md",
@ -61,16 +61,16 @@
"<SliderCompare",
" before={require(\"./img/${1:beforePath}.webp\").default}",
" after={require(\"./img/${2:afterPath}.webp\").default}",
"/>"
"/>",
],
"description": "Compare two images side-by-side"
"description": "Compare two images side-by-side",
},
"BarChart": {
"scope": "markdown,md",
"prefix": ["chart-bar"],
"body": [
"<BarChart chartDataUrl={require(\"./charts/${1:dataFile}\").default} />"
"<BarChart chartDataUrl={require(\"./charts/${1:dataFile}\").default} />",
],
"description": "Create a BarChart!"
}
"description": "Create a BarChart!",
},
}

View File

@ -23,16 +23,12 @@ mybb code and we now have a new system for translations! The translators
will be send a txt file which no longer has any code inside, making it
easier for them as to what needs translating.
If anyone wants to apply for a translation, they must first drop me a
mail at this address [ This email address is being protected from
spambots. You need JavaScript enabled to view it.
]{#cloak7f815424dca50c661e623dd4e4314804}
. If there is no other translator working on the same language,I will
If there is no other translator working on the same language,I will
send back a mail with the txt to be translated.You can also check on the
updated WIP list on emuforums
[here](http://forums.ngemu.com/pcsx2-official-forum/58506-pcsx2-configuration-guide.html)
. Note that translators are chosen at a first come basis!
Note that translators are chosen at a first come basis!
I already have people translating for
Greek,German,Italian,Dutch,Spanish,Russian,Serbian,Brazilian
@ -42,8 +38,6 @@ these languages.
The translated guides will be uploaded as soon as possible, after I
receive them and check for errors and cases of babelfish.You will be
able to select them by pressing the respective flag buttons on the guide
page, after they are done
😊
page, after they are done😊
Thats all from me, I'll get back to the usual beta testing slavery
😊
Thats all from me, I'll get back to the usual beta testing slavery😊

View File

@ -36,7 +36,7 @@ The requirements are very high but not absurd if you are thinking a bout
an upgrade to Windows Vista. PCSX2, the latest release 0.9.2, is based
on some plugins which emulate the functions of PCSX2.
On the official site of the project ( <http://pcsx2.net> ) you can find
On the official site of the project http://pcsx2.net you can find
a very complete guide to the use of the emu. Personally, I can recommend
you the new ZeroGS 0.96.0 (a video plugin). It's a plugin which works
very well only with newer graphics cards. There are specific plugins

View File

@ -55,4 +55,4 @@ We hope you enjoy it, you can visit by clicking
**Note:** Your verification mail might end up in junk mail, please check
there!
**Note2:** We moved our official SVN repository from sourceforge to
google code: <http://code.google.com/p/pcsx2/>
google code: http://code.google.com/p/pcsx2/

View File

@ -43,8 +43,7 @@ Logo restrictions:
- You may submit an optional 64x64px Icon with your logo to be used as
PCSX2's new icon (also should be a .png file).
- All entries will be released under a Creative Commons license.
- [ No copyrighted images may be used in the entries.
]{style="color: #ff0000;"}
- No copyrighted images may be used in the entries.
Tip for Icons:

View File

@ -33,37 +33,37 @@ Syntax: **pcsx2 \[IsoFile\] --toggle --option=value ... etc**
General Options :
- --cfg=\[file\] {specify a custom configuration file to use instead
of PCSX2.ini (does not affect plugins)}
- --cfgpath=\[dir\] {specifies the config folder; applies to pcsx2 +
plugins}
- --help {display this help text}
- --forcewiz {forces running of the First-time Wizard (selection of
docs folders and what-not)}
- `--cfg=[file]` specify a custom configuration file to use instead
of PCSX2.ini (does not affect plugins)
- `--cfgpath=[dir]` specifies the config folder; applies to pcsx2 +
plugins
- `--help` display this help text
- `--forcewiz` forces running of the First-time Wizard (selection of
docs folders and what-not)
Auto-Run Options :
- --elf=\[file\] {executes an ELF image}
- --nogui {disables display of the gui on exit (program auto-exits)}
- --nodisc {boots with an empty dvd tray; use this to boot into the
PS2 system menu}
- --usecd {uses the configured CDVD plugin instead of IsoFile}
- `--elf=[file]` executes an ELF image
- `--nogui` disables display of the gui on exit (program auto-exits)
- `--nodisc` boots with an empty dvd tray; use this to boot into the
PS2 system menu
- `--usecd` uses the configured CDVD plugin instead of IsoFile
Compatibility Options:
- --nohacks {disables all speedhacks}
- --gamefixes=\[fix,fix\] {Enable specific gamefixes for this session.
- `--nohacks` disables all speedhacks
- `--gamefixes=[fix,fix]` Enable specific gamefixes for this session.
Valid fixes in 0.9.7 are: VuAddSub, VuClipFlag, FpuCompare,
FpuNegDiv, XGKick, IpuWait, EETiming, SkipMpeg }
- --fullboot {disables the quick boot feature, forcing you to sit
through the PS2 startup splash screens}
FpuNegDiv, XGKick, IpuWait, EETiming, SkipMpeg
- `--fullboot` disables the quick boot feature, forcing you to sit
through the PS2 startup splash screens
Plugin Overrides (specified dlls will be used in place of configured
dlls):
- --cdvd=\[dllpath\] {override for the CDVD plugin}
- --gs=\[dllpath\] {override for the GS plugin}
- --spu=\[dllpath\] {override for the SPU2 plugin}
- --pad=\[dllpath\] {override for the PAD plugin only}
- --dev9=\[dllpath\] {override for the DEV9 plugin}
- --usb=\[dllpath\] {override for the USB plugin only}
- `--cdvd=[dllpath]` override for the CDVD plugin
- `--gs=[dllpath]` override for the GS plugin
- `--spu=[dllpath]` override for the SPU2 plugin
- `--pad=[dllpath]` override for the PAD plugin only
- `--dev9=[dllpath]` override for the DEV9 plugin
- `--usb=[dllpath]` override for the USB plugin only

View File

@ -16,11 +16,9 @@ While trying to make PCSX2 known to more people, I decided to create a YouTube a
<!-- truncate -->
You can check them out here:
Youtube:
<http://www.youtube.com/user/PCSX2team>
Youtube: http://www.youtube.com/user/PCSX2team
Vimeo:
<http://vimeo.com/groups/pcsx2team>
Vimeo: http://vimeo.com/groups/pcsx2team
(for now they both have the same videos, albeit Vimeo has quite a nicer
quality HD version)
@ -28,9 +26,4 @@ quality HD version)
Support us by commenting and pressing the like button!
😊
Also don't forget to visit our Facebook and Twitter pages:
<http://twitter.com/#!/PCSX2>
and
<http://www.facebook.com/groups/98483509559>
Also don't forget to visit our Facebook and Twitter pages: http://twitter.com/#!/PCSX2 and http://www.facebook.com/groups/98483509559

View File

@ -112,8 +112,7 @@ possible.** You will also find old GSdx versions and betas.
I hope everyone enjoys the website and finds it as exciting as I do,
even after working on it for so long
😊 You can post your feedback or any bugs you find
in this forum thread (if you flame it you're banned!):
<http://forums.pcsx2.net/Thread-PCSX2-net-revamped>
in this forum thread (if you flame it you're banned!): http://forums.pcsx2.net/Thread-PCSX2-net-revamped
Finally, I want to thank Falcon4ever for helping with the server side of
stuff and all team members for their valuable input on how things should

View File

@ -90,8 +90,7 @@ Let's redo the previous example with a virtualization layer in the OS.
As a side note, virtualization is a common solution for resource
management. On the internet you have a logical IP address instead of
using the Mac address directly. HDD access can be virtualized too with a
tool like LVM
<http://en.wikipedia.org/wiki/Logical_Volume_Manager_%28Linux%29> .
tool like LVM http://en.wikipedia.org/wiki/Logical_Volume_Manager_%28Linux%29.
Sometimes the whole machine is virtual, see VirtualBox or even PCSX2.
---

View File

@ -32,7 +32,7 @@ everyone who has contributed for this and keep up the great job
Here are a rundown of the biggest changes in this release:
**[ Windows ]{style="text-decoration: underline;"}**
**Windows**
**Core:**
@ -82,7 +82,7 @@ Here are a rundown of the biggest changes in this release:
- Improved support for online play and make the users MAC address
unique.
\*\*[ Linux ]{style="text-decoration: underline;"}
**Linux**
Core:\*\*

View File

@ -24,9 +24,8 @@ In short progress is slow but steady
* Most of regressions were fixed so it will work as bad as before
😉 No I'm kidding, it actually works better on
my PC. Feel free to test it.
* Unfortunately Windows is still blocked to wx2.8, [ contributions are
* Unfortunately Windows is still blocked to wx2.8, contributions are
welcome (first step is to add a wx3.0 library build)
]{style="color: #1e90ff;"}
* Some wxWidget libraries depend on GTK3. PCSX2 code was updated to
support GTK3 but wxWidget is not as stable as expected.
Nevertheless, you can enable GTK3 with the -DGTK3_API=TRUE build
@ -44,9 +43,8 @@ In short progress is slow but steady
* code is now compiled with -march=native to support all optimizations
of your CPU. It can be disabled with the -DISABLE_ADVANCE_SIMD=TRUE
build option (for example distribution or inside VM)
* Note: GSdx (Linux) needs a couple of updates to support SSE4x. [
Again contributions are welcome ]{style="color: #1e90ff;"} , check
this issue <https://github.com/PCSX2/pcsx2/issues/438>
* Note: GSdx (Linux) needs a couple of updates to support SSE4x. Again contributions are welcome, check
this issue https://github.com/PCSX2/pcsx2/issues/438
- New (nearly) playable game: Bouken Jidai Katsugeki Goemon
@ -66,9 +64,8 @@ Ongoing work (aka the plan for the next months):
* It will bring Force Feedback, MultiTap and it might work better in
several games.
* I'm close to have keyboard support [ but help would be appreciated
* I'm close to have keyboard support but help would be appreciated
to build a full GUI. Please contact us if you are interested.
]{style="color: #1e90ff;"}
- port GSdx to openGL 4.5

View File

@ -144,6 +144,4 @@ Sony keep the MMU? I don't know! Here are some possibilities:
MIPS) \* to reduce cost and time to market
That's all for today. Next time you'll see how I managed to make Goemon
(
<http://forums.pcsx2.net/Thread-Bouken-Jidai-Katsugeki-Goemon-SLPM-65014-J>
) playable with this knowledge.
http://forums.pcsx2.net/Thread-Bouken-Jidai-Katsugeki-Goemon-SLPM-65014-J> playable with this knowledge.

View File

@ -47,5 +47,4 @@ that regard it was a success
😊
You can complain on how you don't like the new look, as usual, in this
thread!
<http://forums.pcsx2.net/Thread-New-website-launched>
thread! http://forums.pcsx2.net/Thread-New-website-launched

View File

@ -392,8 +392,7 @@ impossible to satisfy everyone. Hence a consensus was never reached.
So Avih decided to create a [general template
system](https://github.com/PCSX2/pcsx2/commit/9b988ee12d09e1b05e08b7264bdbe7fab15c1fc6)
to allow customization of the elements on the title bar. The following
template is located in the [ inis_1.4.0/PCSX2_ui.ini
]{style="font-weight: bold;"} file though lacks a user interface for
template is located in the **inis_1.4.0/PCSX2_ui.ini** file though lacks a user interface for
easier customization.
## Revamped Core and GSDX plugin dialogs

View File

@ -610,7 +610,7 @@ This adds GHC filesystem to pcsx2 common utilities.
Keyboard Shortcuts Strings
</PCSX2PRLink>
Based on <https://wiki.pcsx2.net/Hotkeys>.
Based on https://wiki.pcsx2.net/Hotkeys.
<PCSX2PRLink authors="laenion" prNums="4216">
Fix compilation in path with spaces

View File

@ -191,7 +191,7 @@ This Pull Request made the last non-working game work and looks more like a curr
USB: Sony DPP-MP1 printer emulation
</PCSX2PRLink>
Most users won't see any usage with this and that is fine but the goal of emulating the endless USB and PAD devices do scare me, here is a small subset of still needing to be emulated: <https://github.com/PCSX2/pcsx2/issues/4763>
Most users won't see any usage with this and that is fine but the goal of emulating the endless USB and PAD devices do scare me, here is a small subset of still needing to be emulated: https://github.com/PCSX2/pcsx2/issues/4763
### DEV9
@ -229,18 +229,18 @@ The equivalent TAP adapter code is already correct.
Changes how DMA Transfers are handled for example some games like them to be in a specific order.
Fixes <https://github.com/PCSX2/pcsx2/issues/5168> (Top Trumps).
Fixes https://github.com/PCSX2/pcsx2/issues/5168 (Top Trumps).
Fixes <https://github.com/PCSX2/pcsx2/issues/4063> (Phase Paradox).
Fixes https://github.com/PCSX2/pcsx2/issues/4063 (Phase Paradox).
Improves the moving billboard quality in Test Drive (Master has corruption).
Fixes video hang in Eggo Mania/Egg Mania - Eggstreme Madness (patch no longer required).
Fixes Smackdown Shut Your Mouth Titantrons.
Fixes Gladiator - Sword of Vengeance videos (patch no longer required) Partial <https://github.com/PCSX2/pcsx2/issues/3489>.
Fixes Gladiator - Sword of Vengeance videos (patch no longer required) Partial https://github.com/PCSX2/pcsx2/issues/3489.
Fixes <https://github.com/PCSX2/pcsx2/issues/4360> (Flipnic UFO mission hang).
Fixes https://github.com/PCSX2/pcsx2/issues/4360 (Flipnic UFO mission hang).
### Debugger
@ -329,7 +329,7 @@ Folder memory cards weren't recognized as a memory card being plugged-in unless
This pull request has brought permanent downloadable (pre)releases on GitHub itself instead of just using Orphis which will not make everything more central but makes it easier to tag commits that are made outside of a pull request and just force-pushed the changes to the project. _stares at certain people that have been naughty_.
If you want to see more details, Vaser has written an essay-like detail on it - <https://github.com/PCSX2/pcsx2/pull/4914>
If you want to see more details, Vaser has written an essay-like detail on it - https://github.com/PCSX2/pcsx2/pull/4914
So it will pre-compile working versions of the nightlies/dev and future stable versions on GitHub forever instead of only temporary on GitHub or what was used in the past being AppVeyor (nickname: Slowveyor) which took easily 10-20 minutes per build.

View File

@ -1,8 +1,9 @@
// @ts-check
// Note: type annotations allow type checking and IDEs autocompletion
const lightCodeTheme = require("prism-react-renderer/themes/github");
const darkCodeTheme = require("prism-react-renderer/themes/okaidia");
const themes = require("prism-react-renderer").themes;
const lightCodeTheme = themes.github;
const darkCodeTheme = themes.dracula;
const redirects = require("./redirects");
/** @type {import('@docusaurus/types').Config} */

View File

@ -17,29 +17,29 @@
"write-heading-ids": "docusaurus write-heading-ids"
},
"dependencies": {
"@docusaurus/core": "^2.2.0",
"@docusaurus/plugin-client-redirects": "^2.3.1",
"@docusaurus/preset-classic": "^2.4.1",
"@mdx-js/react": "^1.6.22",
"@nextui-org/react": "^1.0.0-beta.13",
"@docusaurus/core": "^3.3.2",
"@docusaurus/plugin-client-redirects": "^3.3.2",
"@docusaurus/preset-classic": "^3.3.2",
"@mdx-js/react": "^3.0.1",
"@nextui-org/react": "1.0.0-beta.13",
"autoprefixer": "^10.4.17",
"clsx": "^2.1.0",
"clsx": "^2.1.1",
"fuse.js": "^7.0.0",
"luxon": "^3.3.0",
"luxon": "^3.4.4",
"postcss": "^8.4.31",
"prism-react-renderer": "^1.3.5",
"react": "^17.0.2",
"prism-react-renderer": "^2.3.1",
"react": "^18.3.1",
"react-cookie-consent": "^9.0.0",
"react-dom": "^17.0.2",
"react-icons": "^4.11.0",
"react-markdown": "^8.0.7",
"recharts": "2.1.12",
"yaml": "^2.3.2"
"react-dom": "^18.3.1",
"react-icons": "^5.2.1",
"react-markdown": "^9.0.1",
"recharts": "2.12.7",
"yaml": "^2.4.2"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "^3.0.1",
"glob": "10.3.10",
"prettier": "2.8.8",
"@docusaurus/module-type-aliases": "^3.3.2",
"glob": "10.4.1",
"prettier": "3.2.5",
"prompts": "2.4.2",
"webp-converter": "2.3.3"
},

View File

@ -37,7 +37,7 @@ response = await prompts({
});
const articleDate = response.value;
content.push(
`date: ${articleDate.toISOString().replace("T", " ").replace("Z", "")}`
`date: ${articleDate.toISOString().replace("T", " ").replace("Z", "")}`,
);
response = await prompts({
@ -78,5 +78,5 @@ fs.mkdirSync(`./blog/${articleDate.getFullYear()}/${articleSlug}/img`, {
});
fs.writeFileSync(
`./blog/${articleDate.getFullYear()}/${articleSlug}/index.mdx`,
content.join("\n")
content.join("\n"),
);

View File

@ -1,8 +1,8 @@
import React, { useState, useEffect } from "react";
import { Table, Card, Row, Col, Text, Grid } from "@nextui-org/react";
import { Table, Card, Text, Grid } from "@nextui-org/react";
import ReactMarkdown from "react-markdown";
import { ReleaseDownloadButton } from "../ReleaseDownloadButton";
import { GoDiffAdded, GoDiffRemoved } from "react-icons/go";
import { GoPlus, GoDash } from "react-icons/go";
import { IconContext } from "react-icons";
import { DateTime } from "luxon";
@ -20,7 +20,7 @@ export function PullRequestTableCard({ pullRequest }) {
<IconContext.Provider
value={{ style: { verticalAlign: "middle" } }}
>
<GoDiffAdded size={24}></GoDiffAdded>
<GoPlus size={24}></GoPlus>
</IconContext.Provider>
&nbsp;
{pullRequest.additions}
@ -29,7 +29,7 @@ export function PullRequestTableCard({ pullRequest }) {
<IconContext.Provider
value={{ style: { verticalAlign: "middle" } }}
>
<GoDiffRemoved size={24}></GoDiffRemoved>
<GoDash size={24}></GoDash>
</IconContext.Provider>
&nbsp;
{pullRequest.deletions}

View File

@ -15,10 +15,10 @@ export function NumberTicker({ number, numberFunc }) {
}
}, [currVal]);
useEffect(async () => {
useEffect(() => {
// Figure out the max value (either provided directly or via the function)
if (numberFunc) {
const num = await numberFunc();
const num = numberFunc();
// TODO - handle error
setMaxVal(num);
const startingVal = Math.max(0, Math.round(num - num * 0.025));

View File

@ -53,7 +53,7 @@ function generateDropdownItems(release, os, assets, textRemovals, isNightly) {
let items = [];
for (const asset of assets.filter(
(asset) => !asset.additionalTags.includes("symbols")
(asset) => !asset.additionalTags.includes("symbols"),
)) {
let displayName = asset.displayName;
for (const removal of textRemovals) {
@ -106,7 +106,7 @@ function generateDropdownItems(release, os, assets, textRemovals, isNightly) {
css={{ transition: "none" }}
>
{displayName}
</Dropdown.Item>
</Dropdown.Item>,
);
}
return items;
@ -152,8 +152,8 @@ export function ReleaseDownloadButton({
"windows",
release.windows?.assets?.Windows,
["Windows"],
isNightly
)
isNightly,
),
);
} else {
setWindowsItems(
@ -162,8 +162,8 @@ export function ReleaseDownloadButton({
"windows",
release.assets?.Windows,
["Windows"],
isNightly
)
isNightly,
),
);
}
if ("linux" in release) {
@ -173,8 +173,8 @@ export function ReleaseDownloadButton({
"linux",
release.linux?.assets?.Linux,
["Linux"],
isNightly
)
isNightly,
),
);
} else {
setLinuxItems(
@ -183,8 +183,8 @@ export function ReleaseDownloadButton({
"linux",
release.assets?.Linux,
["Linux"],
isNightly
)
isNightly,
),
);
}
if ("macos" in release) {
@ -194,8 +194,8 @@ export function ReleaseDownloadButton({
"macos",
release.macos?.assets?.MacOS,
["MacOS"],
isNightly
)
isNightly,
),
);
} else {
setMacosItems(
@ -204,8 +204,8 @@ export function ReleaseDownloadButton({
"macos",
release.assets?.MacOS,
["MacOS"],
isNightly
)
isNightly,
),
);
}
}, [release]);

View File

@ -21,7 +21,7 @@ function _renderChart(chartData) {
key={index}
dataKey={key}
fill={chartData.barOptions[key].fillColor}
/>
/>,
);
});
return (
@ -84,14 +84,17 @@ function _renderChart(chartData) {
export default function Chart(props) {
const [chartData, setChartData] = useState(undefined);
useEffect(async () => {
const resp = await fetch(props.chartDataUrl);
const fetchChartData = async (chartDataUrl) => {
const resp = await fetch(chartDataUrl);
// TODO - handle error cases
const yamlText = await resp.text();
const data = YAML.parse(yamlText);
// With the chart data, construct whats needed to make the chart
setChartData(data);
};
useEffect(() => {
fetchChartData(props.chartDataUrl);
}, [props?.chartDataUrl]);
return (

View File

@ -21,7 +21,7 @@ function generatePRLinks(prNums) {
<GoGitPullRequest size={24}></GoGitPullRequest>
</IconContext.Provider>
{num}
</a>
</a>,
);
}
return icons;
@ -44,7 +44,7 @@ function generateCommitLinks(commitShas) {
<GoGitCommit size={24}></GoGitCommit>
</IconContext.Provider>
{sha.substr(0, 6)}
</a>
</a>,
);
}
return icons;
@ -78,7 +78,7 @@ function generateAuthorAvatars(authors) {
color="gradient"
stacked
/>
</Tooltip>
</Tooltip>,
);
}
return (

View File

@ -39,7 +39,10 @@
color: white;
pointer-events: none;
top: 1em;
text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000,
text-shadow:
-1px -1px 0 #000,
1px -1px 0 #000,
-1px 1px 0 #000,
1px 1px 0 #000;
}
.imgCmpLabel.before {

View File

@ -242,7 +242,7 @@ const renderCell = (entry, columnKey) => {
<MdLibraryBooks size={22}></MdLibraryBooks>
</Link>
</Tooltip>
</Grid>
</Grid>,
);
}
if (cellValue?.forum) {
@ -257,7 +257,7 @@ const renderCell = (entry, columnKey) => {
<MdForum size={22}></MdForum>
</Link>
</Tooltip>
</Grid>
</Grid>,
);
}
if (icons.length > 0) {
@ -362,14 +362,14 @@ export default function Compatiblity() {
? ""
: `Perfect - ${round(
(filterStats.perfect / tableData.length) * 100,
2
2,
)}%`;
const playableFilterText =
filterStats.playable === undefined
? ""
: `Playable - ${round(
(filterStats.playable / tableData.length) * 100,
2
2,
)}%`;
const ingameFilterText =
filterStats.ingame === undefined
@ -388,7 +388,7 @@ export default function Compatiblity() {
? ""
: `Nothing - ${round(
(filterStats.nothing / tableData.length) * 100,
2
2,
)}%`;
return (

View File

@ -51,20 +51,7 @@ export default function Downloads() {
// general api
const [apiErrorMsg, setApiErrorMsg] = useState(undefined);
useEffect(async () => {
let shouldShowPreviousNightlies = window.localStorage.getItem(
"downloads-showPreviousNightlies"
);
if (shouldShowPreviousNightlies) {
setShowPreviousNightlies(shouldShowPreviousNightlies === "true");
}
let shouldShowPreviousStables = window.localStorage.getItem(
"downloads-showPreviousStables"
);
if (shouldShowPreviousStables) {
setShowPreviousStables(shouldShowPreviousStables === "true");
}
const fetchLatestReleases = async () => {
try {
const resp = await fetch(`${baseApiUrl}/latestReleasesAndPullRequests`);
if (resp.status === 429) {
@ -95,6 +82,23 @@ export default function Downloads() {
} catch (err) {
setApiErrorMsg("Unexpected API Error Occurred. Try Again Later!");
}
};
useEffect(() => {
let shouldShowPreviousNightlies = window.localStorage.getItem(
"downloads-showPreviousNightlies",
);
if (shouldShowPreviousNightlies) {
setShowPreviousNightlies(shouldShowPreviousNightlies === "true");
}
let shouldShowPreviousStables = window.localStorage.getItem(
"downloads-showPreviousStables",
);
if (shouldShowPreviousStables) {
setShowPreviousStables(shouldShowPreviousStables === "true");
}
fetchLatestReleases();
}, []);
return (
@ -196,7 +200,7 @@ export default function Downloads() {
setShowPreviousStables(e.target.checked);
window.localStorage.setItem(
"downloads-showPreviousStables",
e.target.checked
e.target.checked,
);
}}
/>
@ -218,7 +222,7 @@ export default function Downloads() {
renderRowFunc={renderReleaseCell}
fetchMoreFunc={async (offset) => {
return await fetch(
`${baseApiUrl}/stableReleases?offset=${offset}`
`${baseApiUrl}/stableReleases?offset=${offset}`,
);
}}
tableType={"stable"}
@ -298,7 +302,7 @@ export default function Downloads() {
setShowPreviousNightlies(e.target.checked);
window.localStorage.setItem(
"downloads-showPreviousNightlies",
e.target.checked
e.target.checked,
);
}}
/>
@ -320,7 +324,7 @@ export default function Downloads() {
renderRowFunc={renderReleaseCell}
fetchMoreFunc={async (offset) => {
return await fetch(
`${baseApiUrl}/nightlyReleases?offset=${offset}`
`${baseApiUrl}/nightlyReleases?offset=${offset}`,
);
}}
tableType={"nightly"}

View File

@ -85,7 +85,7 @@ export default function Home() {
const [apiErrorMsg, setApiErrorMsg] = useState(undefined);
const [homeVideoPath, setHomeVideoPath] = useState("/videos/splash.webm");
useEffect(async () => {
const fetchLatestReleases = async () => {
try {
const resp = await fetch(`${baseApiUrl}/latestReleasesAndPullRequests`);
if (resp.status === 429) {
@ -108,18 +108,21 @@ export default function Home() {
} catch (err) {
setApiErrorMsg("Unexpected API Error Occurred. Try Again Later!");
}
};
useEffect(() => {
fetchLatestReleases();
setHomeVideoPath(
getDocumentTheme(document?.documentElement) === "dark"
? "/videos/splash.webm"
: "/videos/splash-light.mp4"
: "/videos/splash-light.mp4",
);
const observer = new MutationObserver((mutation) => {
setHomeVideoPath(
getDocumentTheme(document?.documentElement) === "dark"
? "/videos/splash.webm"
: "/videos/splash-light.mp4"
: "/videos/splash-light.mp4",
);
});

View File

@ -11,7 +11,7 @@ function DefaultNavbarItemDesktop({
<NavbarNavLink
className={clsx(
isDropdownItem ? "dropdown__link" : "navbar__item navbar__link",
className
className,
)}
isDropdownLink={isDropdownItem}
{...props}

View File

@ -23,7 +23,7 @@ describe("Cookie consent", () => {
cy.wait(1000);
cy.requestsCountByUrlPrefix("https://pagead2.googlesyndication.com").should(
"eq",
0
0,
);
});
});

View File

@ -14,7 +14,7 @@ describe("Blog Page - Desktop", () => {
cy.get(".pagination > :nth-child(4) > .page-link").click();
cy.location("href").should(
"eq",
Cypress.config("baseUrl") + "/blog/page/2/"
Cypress.config("baseUrl") + "/blog/page/2/",
);
});
@ -25,7 +25,7 @@ describe("Blog Page - Desktop", () => {
.click();
cy.location("href").should(
"eq",
Cypress.config("baseUrl") + "/tags/devblog/"
Cypress.config("baseUrl") + "/tags/devblog/",
);
cy.get('[data-test-id="tag-button-row"]')
.find(".btn")
@ -40,7 +40,7 @@ describe("Blog Page - Desktop", () => {
.click();
cy.location("href").should(
"eq",
Cypress.config("baseUrl") + "/tags/progress-report/"
Cypress.config("baseUrl") + "/tags/progress-report/",
);
cy.get('[data-test-id="tag-button-row"]')
.find(".btn")
@ -65,7 +65,7 @@ describe("Blog Page - Mobile", () => {
cy.get(".pagination > :nth-child(4) > .page-link").click();
cy.location("href").should(
"eq",
Cypress.config("baseUrl") + "/blog/page/2/"
Cypress.config("baseUrl") + "/blog/page/2/",
);
});
@ -76,7 +76,7 @@ describe("Blog Page - Mobile", () => {
.click();
cy.location("href").should(
"eq",
Cypress.config("baseUrl") + "/tags/devblog/"
Cypress.config("baseUrl") + "/tags/devblog/",
);
cy.get('[data-test-id="tag-button-row"]')
.find(".btn")
@ -91,7 +91,7 @@ describe("Blog Page - Mobile", () => {
.click();
cy.location("href").should(
"eq",
Cypress.config("baseUrl") + "/tags/progress-report/"
Cypress.config("baseUrl") + "/tags/progress-report/",
);
cy.get('[data-test-id="tag-button-row"]')
.find(".btn")

View File

@ -73,7 +73,7 @@ describe("Compatibility Page - Desktop", () => {
method: "GET",
url: "/compat/data.min.json",
},
[]
[],
).as("getCompatData");
cy.visit("/compat");
cy.get(".cc-deny").click();
@ -91,7 +91,7 @@ describe("Compatibility Page - Desktop", () => {
method: "GET",
url: "/compat/data.min.json",
},
{ fixture: "compat_search_data.json" }
{ fixture: "compat_search_data.json" },
).as("getCompatData");
cy.visit("/compat");
cy.get(".cc-deny").click();
@ -215,7 +215,7 @@ describe("Compatibility Page - Desktop", () => {
method: "GET",
url: "/compat/data.min.json",
},
{ fixture: "compat_search_data.json" }
{ fixture: "compat_search_data.json" },
).as("getCompatData");
cy.visit("/compat");
cy.get(".cc-deny").click();
@ -387,7 +387,7 @@ describe("Compatibility Page - Mobile", () => {
method: "GET",
url: "/compat/data.min.json",
},
[]
[],
).as("getCompatData");
cy.visit("/compat");
cy.get(".cc-deny").click();
@ -405,7 +405,7 @@ describe("Compatibility Page - Mobile", () => {
method: "GET",
url: "/compat/data.min.json",
},
{ fixture: "compat_search_data.json" }
{ fixture: "compat_search_data.json" },
).as("getCompatData");
cy.visit("/compat");
cy.get(".cc-deny").click();
@ -529,7 +529,7 @@ describe("Compatibility Page - Mobile", () => {
method: "GET",
url: "/compat/data.min.json",
},
{ fixture: "compat_search_data.json" }
{ fixture: "compat_search_data.json" },
).as("getCompatData");
cy.visit("/compat");
cy.get(".cc-deny").click();

View File

@ -41,7 +41,7 @@ describe("Download Page - Desktop", () => {
method: "GET",
url: "http://localhost:3000/v1/latestReleasesAndPullRequests",
},
{ fixture: "downloads/only_latest.json" }
{ fixture: "downloads/only_latest.json" },
).as("getDownloadData");
cy.visit("/downloads");
cy.get(".cc-deny").click();
@ -52,10 +52,10 @@ describe("Download Page - Desktop", () => {
{ scrollBehavior: "center" },
() => {
cy.get(
"#latest-release-artifacts > :nth-child(1) .artifact-dropdown"
"#latest-release-artifacts > :nth-child(1) .artifact-dropdown",
).click();
cy.get(
"#latest-release-artifacts > :nth-child(1) > .dropdown > .dropdown-menu > :nth-child(1) > .dropdown-item"
"#latest-release-artifacts > :nth-child(1) > .dropdown > .dropdown-menu > :nth-child(1) > .dropdown-item",
).contains("Windows 32bit");
cy.get("#latest-release-artifacts > :nth-child(2) .artifact-dropdown")
.contains("Linux")
@ -65,17 +65,17 @@ describe("Download Page - Desktop", () => {
.contains("Windows")
.should("be.disabled");
cy.get(
"#latest-nightly-artifacts > :nth-child(2) .artifact-dropdown"
"#latest-nightly-artifacts > :nth-child(2) .artifact-dropdown",
).click({ force: true });
cy.get(
"#latest-nightly-artifacts > :nth-child(2) > .dropdown > .dropdown-menu > :nth-child(1) > .dropdown-item"
"#latest-nightly-artifacts > :nth-child(2) > .dropdown > .dropdown-menu > :nth-child(1) > .dropdown-item",
).contains("AppImage");
}
},
);
it("pull requests are empty", { scrollBehavior: "center" }, () => {
cy.get("#pull-request-table-body > tr > td").contains(
"No Pull Requests to Display!"
"No Pull Requests to Display!",
);
});
});
@ -87,7 +87,7 @@ describe("Download Page - Desktop", () => {
method: "GET",
url: "http://localhost:3000/v1/latestReleasesAndPullRequests",
},
{ fixture: "downloads/no_data.json" }
{ fixture: "downloads/no_data.json" },
).as("getDownloadData");
cy.visit("/downloads");
cy.get(".cc-deny").click();
@ -95,19 +95,19 @@ describe("Download Page - Desktop", () => {
it("stable releases are empty", { scrollBehavior: "center" }, () => {
cy.get("#stable-table-body > tr > td").contains(
"No Releases to Display!"
"No Releases to Display!",
);
});
it("nightly releases are empty", { scrollBehavior: "center" }, () => {
cy.get("#nightly-table-body > tr > td").contains(
"No Releases to Display!"
"No Releases to Display!",
);
});
it("pull requests are empty", { scrollBehavior: "center" }, () => {
cy.get("#pull-request-table-body > tr > td").contains(
"No Pull Requests to Display!"
"No Pull Requests to Display!",
);
});
});
@ -119,7 +119,7 @@ describe("Download Page - Desktop", () => {
method: "GET",
url: "http://localhost:3000/v1/latestReleasesAndPullRequests",
},
{ fixture: "downloads/multi_page.json" }
{ fixture: "downloads/multi_page.json" },
).as("getDownloadData");
cy.visit("/downloads");
cy.get(".cc-deny").click();
@ -132,7 +132,7 @@ describe("Download Page - Desktop", () => {
method: "GET",
url: "http://localhost:3000/v1/stableReleases?offset=10",
},
{ data: [] }
{ data: [] },
);
cy.get("#stable-pagination-container > :nth-child(2) > .btn").click();
cy.get("#stable-table-body").find("tr").its("length").should("eq", 1);
@ -145,7 +145,7 @@ describe("Download Page - Desktop", () => {
method: "GET",
url: "http://localhost:3000/v1/nightlyReleases?offset=10",
},
{ data: [] }
{ data: [] },
);
cy.get("#nightly-pagination-container > :nth-child(2) > .btn").click({
force: true,
@ -163,10 +163,10 @@ describe("Download Page - Desktop", () => {
method: "GET",
url: "http://localhost:3000/v1/pullRequests?offset=10",
},
{ data: [] }
{ data: [] },
);
cy.get("#pull-request-pagination-container > :nth-child(2) > .btn").click(
{ force: true }
{ force: true },
);
cy.get("#pull-request-table-body")
.find("tr")
@ -219,7 +219,7 @@ describe("Download Page - Mobile", () => {
method: "GET",
url: "http://localhost:3000/v1/latestReleasesAndPullRequests",
},
{ fixture: "downloads/only_latest.json" }
{ fixture: "downloads/only_latest.json" },
).as("getDownloadData");
cy.visit("/downloads");
cy.get(".cc-deny").click();
@ -230,10 +230,10 @@ describe("Download Page - Mobile", () => {
{ scrollBehavior: "center" },
() => {
cy.get(
"#latest-release-artifacts > :nth-child(1) .artifact-dropdown"
"#latest-release-artifacts > :nth-child(1) .artifact-dropdown",
).click();
cy.get(
"#latest-release-artifacts > :nth-child(1) > .dropdown > .dropdown-menu > :nth-child(1) > .dropdown-item"
"#latest-release-artifacts > :nth-child(1) > .dropdown > .dropdown-menu > :nth-child(1) > .dropdown-item",
).contains("Windows 32bit");
cy.get("#latest-release-artifacts > :nth-child(2) .artifact-dropdown")
.contains("Linux")
@ -243,17 +243,17 @@ describe("Download Page - Mobile", () => {
.contains("Windows")
.should("be.disabled");
cy.get(
"#latest-nightly-artifacts > :nth-child(2) .artifact-dropdown"
"#latest-nightly-artifacts > :nth-child(2) .artifact-dropdown",
).click({ force: true });
cy.get(
"#latest-nightly-artifacts > :nth-child(2) > .dropdown > .dropdown-menu > :nth-child(1) > .dropdown-item"
"#latest-nightly-artifacts > :nth-child(2) > .dropdown > .dropdown-menu > :nth-child(1) > .dropdown-item",
).contains("AppImage");
}
},
);
it("pull requests are empty", { scrollBehavior: "center" }, () => {
cy.get("#pull-request-table-body > tr > td").contains(
"No Pull Requests to Display!"
"No Pull Requests to Display!",
);
});
});
@ -265,7 +265,7 @@ describe("Download Page - Mobile", () => {
method: "GET",
url: "http://localhost:3000/v1/latestReleasesAndPullRequests",
},
{ fixture: "downloads/no_data.json" }
{ fixture: "downloads/no_data.json" },
).as("getDownloadData");
cy.visit("/downloads");
cy.get(".cc-deny").click();
@ -273,19 +273,19 @@ describe("Download Page - Mobile", () => {
it("stable releases are empty", { scrollBehavior: "center" }, () => {
cy.get("#stable-table-body > tr > td").contains(
"No Releases to Display!"
"No Releases to Display!",
);
});
it("nightly releases are empty", { scrollBehavior: "center" }, () => {
cy.get("#nightly-table-body > tr > td").contains(
"No Releases to Display!"
"No Releases to Display!",
);
});
it("pull requests are empty", { scrollBehavior: "center" }, () => {
cy.get("#pull-request-table-body > tr > td").contains(
"No Pull Requests to Display!"
"No Pull Requests to Display!",
);
});
});
@ -297,7 +297,7 @@ describe("Download Page - Mobile", () => {
method: "GET",
url: "http://localhost:3000/v1/latestReleasesAndPullRequests",
},
{ fixture: "downloads/multi_page.json" }
{ fixture: "downloads/multi_page.json" },
).as("getDownloadData");
cy.visit("/downloads");
cy.get(".cc-deny").click();
@ -310,7 +310,7 @@ describe("Download Page - Mobile", () => {
method: "GET",
url: "http://localhost:3000/v1/stableReleases?offset=10",
},
{ data: [] }
{ data: [] },
);
cy.get("#stable-pagination-container > :nth-child(2) > .btn").click();
cy.get("#stable-table-body").find("tr").its("length").should("eq", 1);
@ -323,7 +323,7 @@ describe("Download Page - Mobile", () => {
method: "GET",
url: "http://localhost:3000/v1/nightlyReleases?offset=10",
},
{ data: [] }
{ data: [] },
);
cy.get("#nightly-pagination-container > :nth-child(2) > .btn").click({
force: true,
@ -341,10 +341,10 @@ describe("Download Page - Mobile", () => {
method: "GET",
url: "http://localhost:3000/v1/pullRequests?offset=10",
},
{ data: [] }
{ data: [] },
);
cy.get("#pull-request-pagination-container > :nth-child(2) > .btn").click(
{ force: true }
{ force: true },
);
cy.get("#pull-request-table-body")
.find("tr")

View File

@ -23,7 +23,7 @@ describe("Home Page - Desktop", () => {
.click({ force: true });
cy.location("href").should(
"eq",
Cypress.config("baseUrl") + "/tags/progress-report/"
Cypress.config("baseUrl") + "/tags/progress-report/",
);
});
@ -37,7 +37,7 @@ describe("Home Page - Desktop", () => {
.click({ force: true });
cy.location("href").should(
"eq",
Cypress.config("baseUrl") + "/tags/devblog/"
Cypress.config("baseUrl") + "/tags/devblog/",
);
});
});
@ -67,7 +67,7 @@ describe("Home Page - Mobile", () => {
.click({ force: true });
cy.location("href").should(
"eq",
Cypress.config("baseUrl") + "/tags/progress-report/"
Cypress.config("baseUrl") + "/tags/progress-report/",
);
});
@ -81,7 +81,7 @@ describe("Home Page - Mobile", () => {
.click({ force: true });
cy.location("href").should(
"eq",
Cypress.config("baseUrl") + "/tags/devblog/"
Cypress.config("baseUrl") + "/tags/devblog/",
);
});
});

View File

@ -28,5 +28,5 @@ Cypress.Commands.add("requestsCountByUrlPrefix", (url) =>
cy.wrap().then(() => {
const requests = cy.state("requests") || [];
return requests.filter((req) => req.xhr.url.startsWith(url)).length;
})
}),
);

9489
yarn.lock

File diff suppressed because it is too large Load Diff