From 60675b274c0aea2174e503c0eb2a6839ba1f8f16 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 2 Aug 2023 10:30:30 +0000 Subject: [PATCH 1/2] Bump stefanbuck/github-issue-parser from 2 to 3 Bumps [stefanbuck/github-issue-parser](https://github.com/stefanbuck/github-issue-parser) from 2 to 3. - [Release notes](https://github.com/stefanbuck/github-issue-parser/releases) - [Commits](https://github.com/stefanbuck/github-issue-parser/compare/v2...v3) --- updated-dependencies: - dependency-name: stefanbuck/github-issue-parser dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/issue-text.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/issue-text.yml b/.github/workflows/issue-text.yml index 7ce4c913..98ad7f44 100644 --- a/.github/workflows/issue-text.yml +++ b/.github/workflows/issue-text.yml @@ -24,7 +24,7 @@ jobs: issue-number: ${{ github.event.issue.number }} token: ${{ secrets.BOT }} - - uses: stefanbuck/github-issue-parser@v2 + - uses: stefanbuck/github-issue-parser@v3 id: issue-parser with: template-path: .github/ISSUE_TEMPLATE/bug_report.yml From 621554bebb2db638372677389fbc6a6baf80ed9c Mon Sep 17 00:00:00 2001 From: win11bot Date: Wed, 2 Aug 2023 10:30:53 +0000 Subject: [PATCH 2/2] Prettier skip actions --- index.html | 4 ++-- public/404.html | 2 +- public/dycalendar.js | 4 ++-- public/react-pwa.js | 2 +- public/serviceWorker.js | 10 +++++----- src/App.jsx | 2 +- src/actions/index.js | 2 +- src/components/menu/index.jsx | 2 +- src/components/start/index.jsx | 2 +- src/components/start/start.jsx | 4 ++-- src/containers/applications/apps/about.jsx | 4 ++-- src/containers/applications/apps/assets/jiosaavn.js | 2 +- src/containers/applications/apps/assets/settings.scss | 4 +++- src/containers/applications/apps/discord.jsx | 2 +- src/containers/applications/apps/edge.jsx | 2 +- src/containers/applications/apps/explorer.jsx | 6 +++--- src/containers/applications/apps/settings.jsx | 2 +- src/containers/applications/apps/taskmanager.jsx | 2 +- src/containers/applications/apps/terminal.jsx | 8 ++++---- src/containers/applications/wnapp.scss | 3 ++- src/index.css | 7 ++++++- src/index.jsx | 2 +- src/reducers/widpane.js | 4 ++-- src/utils/general.scss | 8 ++++---- 24 files changed, 49 insertions(+), 41 deletions(-) diff --git a/index.html b/index.html index 05aa91d4..be4e91b1 100644 --- a/index.html +++ b/index.html @@ -1,4 +1,4 @@ - + @@ -33,7 +33,7 @@ diff --git a/public/404.html b/public/404.html index ac1a38d5..32e35fc0 100644 --- a/public/404.html +++ b/public/404.html @@ -1,4 +1,4 @@ - + diff --git a/public/dycalendar.js b/public/dycalendar.js index ed1c75b7..2cc44bfe 100644 --- a/public/dycalendar.js +++ b/public/dycalendar.js @@ -443,7 +443,7 @@ year = parseInt(targetDomObject.getAttribute("data-year")); btn = targetDomObject.getAttribute("data-btn"); option = JSON.parse( - targetDomObject.parentElement.getAttribute("data-option") + targetDomObject.parentElement.getAttribute("data-option"), ); if (btn === "prev") { @@ -475,7 +475,7 @@ targetDomObject.classList.contains("dycalendar-span-month-year") ) { option = JSON.parse( - targetDomObject.parentElement.getAttribute("data-option") + targetDomObject.parentElement.getAttribute("data-option"), ); dateObj = new Date(); diff --git a/public/react-pwa.js b/public/react-pwa.js index e1794969..d958d5c2 100644 --- a/public/react-pwa.js +++ b/public/react-pwa.js @@ -1,7 +1,7 @@ document.write( "" + "ipt>", ); window.dataLayer = window.dataLayer || []; diff --git a/public/serviceWorker.js b/public/serviceWorker.js index d21f01b1..b901012d 100644 --- a/public/serviceWorker.js +++ b/public/serviceWorker.js @@ -10,7 +10,7 @@ self.addEventListener("install", (event) => { console.log("Opened cache"); return cache.addAll(urlsToCache); - }) + }), ); }); @@ -19,7 +19,7 @@ self.addEventListener("fetch", (event) => { event.respondWith( caches.match(event.request).then(() => { return fetch(event.request).catch(() => caches.match("index.html")); - }) + }), ); }); @@ -35,8 +35,8 @@ self.addEventListener("activate", (event) => { if (!cacheWhitelist.includes(cacheName)) { return caches.delete(cacheName); } - }) - ) - ) + }), + ), + ), ); }); diff --git a/src/App.jsx b/src/App.jsx index d6fff370..ddcf7a3b 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -88,7 +88,7 @@ function App() { } catch (err) {} var actionType0 = getComputedStyle(event.target).getPropertyValue( - "--prefix" + "--prefix", ); ess.forEach((item, i) => { diff --git a/src/actions/index.js b/src/actions/index.js index 37793914..aa879381 100644 --- a/src/actions/index.js +++ b/src/actions/index.js @@ -100,7 +100,7 @@ export const performApp = (act, menu) => { var app = Object.keys(apps).filter( (x) => apps[x].action == data.type || - (apps[x].payload == data.payload && apps[x].payload != null) + (apps[x].payload == data.payload && apps[x].payload != null), ); app = apps[app]; diff --git a/src/components/menu/index.jsx b/src/components/menu/index.jsx index bda57496..e842fd7e 100644 --- a/src/components/menu/index.jsx +++ b/src/components/menu/index.jsx @@ -120,7 +120,7 @@ export const ActMenu = () => { {menuobj(opt.opts)} ) : null} - + , ); } }); diff --git a/src/components/start/index.jsx b/src/components/start/index.jsx index 57fa3d39..4ab4e1ad 100644 --- a/src/components/start/index.jsx +++ b/src/components/start/index.jsx @@ -128,7 +128,7 @@ export const SidePane = () => { function sliderBackground(elem, e) { elem.style.setProperty( "--track-color", - `linear-gradient(90deg, var(--clrPrm) ${e - 3}%, #888888 ${e}%)` + `linear-gradient(90deg, var(--clrPrm) ${e - 3}%, #888888 ${e}%)`, ); } diff --git a/src/components/start/start.jsx b/src/components/start/start.jsx index ca330021..8268bda4 100644 --- a/src/components/start/start.jsx +++ b/src/components/start/start.jsx @@ -210,7 +210,7 @@ export const StartMenu = () => {
{i == 0 ? "#" : String.fromCharCode(i + 64)}
- + , ); ldx.forEach((app, j) => { @@ -224,7 +224,7 @@ export const StartMenu = () => { >
{app.name}
- + , ); }); diff --git a/src/containers/applications/apps/about.jsx b/src/containers/applications/apps/about.jsx index 6d45f9bb..3c32caa0 100644 --- a/src/containers/applications/apps/about.jsx +++ b/src/containers/applications/apps/about.jsx @@ -6,10 +6,10 @@ export const AboutWin = () => { const { abOpen } = useSelector((state) => state.desktop); const { locked, booted } = useSelector((state) => state.wallpaper); const [open, setOpen] = useState( - true && import.meta.env.MODE != "development" + true && import.meta.env.MODE != "development", ); const [timer, setTimer] = useState( - localStorage.getItem("closeAbout") == "true" ? 0 : 5 + localStorage.getItem("closeAbout") == "true" ? 0 : 5, ); const dispatch = useDispatch(); const { t, i18n } = useTranslation(); diff --git a/src/containers/applications/apps/assets/jiosaavn.js b/src/containers/applications/apps/assets/jiosaavn.js index 85891698..0ddc5460 100644 --- a/src/containers/applications/apps/assets/jiosaavn.js +++ b/src/containers/applications/apps/assets/jiosaavn.js @@ -116,7 +116,7 @@ class JioSaavn { // console.log("Okay"); return new Promise((resolve) => { this.fetchSong( - this.defaultSongs[floor(random() * this.defaultSongs.length)] + this.defaultSongs[floor(random() * this.defaultSongs.length)], ) .then((res) => { resolve([this.mapToSong(res)]); diff --git a/src/containers/applications/apps/assets/settings.scss b/src/containers/applications/apps/assets/settings.scss index a69719d6..2604bf0b 100644 --- a/src/containers/applications/apps/assets/settings.scss +++ b/src/containers/applications/apps/assets/settings.scss @@ -268,7 +268,9 @@ } .selected { - box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--clrPrm); + box-shadow: + 0 0 0 2px var(--bg), + 0 0 0 4px var(--clrPrm); border-radius: 2px; } } diff --git a/src/containers/applications/apps/discord.jsx b/src/containers/applications/apps/discord.jsx index 2cc30856..d72cf635 100644 --- a/src/containers/applications/apps/discord.jsx +++ b/src/containers/applications/apps/discord.jsx @@ -29,7 +29,7 @@ export const DScord = () => { useEffect(() => { if (url == null) { setUrl( - "https://e.widgetbot.io/channels/868499076432408627/868499076432408631" + "https://e.widgetbot.io/channels/868499076432408627/868499076432408631", ); // setUrl("https://emerald.widgetbot.io/channels/299881420891881473/450428756855750666/?api=e2f9b64f-5292-43f5-a0d8-26fa43447eeb") } diff --git a/src/containers/applications/apps/edge.jsx b/src/containers/applications/apps/edge.jsx index d91001e8..2460df48 100644 --- a/src/containers/applications/apps/edge.jsx +++ b/src/containers/applications/apps/edge.jsx @@ -31,7 +31,7 @@ export const EdgeMenu = () => { const isValidURL = (string) => { var res = string.match( - /(http(s)?:\/\/.)?(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)/g + /(http(s)?:\/\/.)?(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)/g, ); return res !== null; }; diff --git a/src/containers/applications/apps/explorer.jsx b/src/containers/applications/apps/explorer.jsx index bc80aca1..504589e8 100644 --- a/src/containers/applications/apps/explorer.jsx +++ b/src/containers/applications/apps/explorer.jsx @@ -128,7 +128,7 @@ export const Explorer = () => { {curr.name} - + , ); curr = curr.host; @@ -140,7 +140,7 @@ export const Explorer = () => { This PC - + , ); arr.push( @@ -151,7 +151,7 @@ export const Explorer = () => { width={16} /> - + , ); return ( diff --git a/src/containers/applications/apps/settings.jsx b/src/containers/applications/apps/settings.jsx index df24e6af..23fdbc32 100644 --- a/src/containers/applications/apps/settings.jsx +++ b/src/containers/applications/apps/settings.jsx @@ -326,7 +326,7 @@ export const Settings = () => { ); default: return console.log( - `error - type ${e.type} not found` + `error - type ${e.type} not found`, ); } })} diff --git a/src/containers/applications/apps/taskmanager.jsx b/src/containers/applications/apps/taskmanager.jsx index 7706d9db..c3467cb5 100644 --- a/src/containers/applications/apps/taskmanager.jsx +++ b/src/containers/applications/apps/taskmanager.jsx @@ -99,7 +99,7 @@ export const Taskmanager = () => { { powerUsage[ Math.floor( - Math.random() * powerUsage.length + Math.random() * powerUsage.length, ) ] } diff --git a/src/containers/applications/apps/terminal.jsx b/src/containers/applications/apps/terminal.jsx index fa8cd2c7..a58f08d9 100644 --- a/src/containers/applications/apps/terminal.jsx +++ b/src/containers/applications/apps/terminal.jsx @@ -132,12 +132,12 @@ export const WnTerminal = () => { cmdcont.style.color = color; } else { tmpStack.push( - "Set the color of the background and the text for the console." + "Set the color of the background and the text for the console.", ); tmpStack.push("COLOR [arg]"); tmpStack.push("arg\t\tSpecifies the color for the console output"); tmpStack.push( - "The color attribute is a combination of the following values:" + "The color attribute is a combination of the following values:", ); tmpStack.push("0\t\tBlack"); tmpStack.push("1\t\tBlue"); @@ -195,7 +195,7 @@ export const WnTerminal = () => { }) .replaceAll(":", ".") + "." + - Math.floor(Math.random() * 100) + Math.floor(Math.random() * 100), ); } else if (type == "exit") { tmpStack = ["OS [Version 10.0.22000.51]", ""]; @@ -258,7 +258,7 @@ export const WnTerminal = () => { } else if (type == "") { } else { tmpStack.push( - `'${type}' is not recognized as an internal or external command,` + `'${type}' is not recognized as an internal or external command,`, ); tmpStack.push("operable program or batch file."); tmpStack.push(""); diff --git a/src/containers/applications/wnapp.scss b/src/containers/applications/wnapp.scss index 0eaf9652..12a40d47 100644 --- a/src/containers/applications/wnapp.scss +++ b/src/containers/applications/wnapp.scss @@ -2,7 +2,8 @@ @font-face { font-family: "Spotify"; - src: url("./apps/assets/spotify.woff2") format("woff2"), + src: + url("./apps/assets/spotify.woff2") format("woff2"), url("./apps/assets/spotify.ttf") format("truetype"); } diff --git a/src/index.css b/src/index.css index fc5113f4..f7e5936b 100644 --- a/src/index.css +++ b/src/index.css @@ -39,7 +39,12 @@ body[data-sepia="true"]:before { } code { - font-family: source-code-pro, Menlo, Monaco, "Consolas", Courier New, + font-family: + source-code-pro, + Menlo, + Monaco, + "Consolas", + Courier New, monospace; } diff --git a/src/index.jsx b/src/index.jsx index 70998938..f8b8c921 100644 --- a/src/index.jsx +++ b/src/index.jsx @@ -30,5 +30,5 @@ root.render( - + , ); diff --git a/src/reducers/widpane.js b/src/reducers/widpane.js index 4b29499d..d2ececb3 100644 --- a/src/reducers/widpane.js +++ b/src/reducers/widpane.js @@ -75,14 +75,14 @@ const defState = { stock: [ [ Number( - parseFloat(2300 + Math.random() * 200).toFixed(2) + parseFloat(2300 + Math.random() * 200).toFixed(2), ).toLocaleString(), parseFloat(Math.random() * 2).toFixed(2), Math.round(Math.random()), ], [ Number( - parseFloat(600 + Math.random() * 200).toFixed(2) + parseFloat(600 + Math.random() * 200).toFixed(2), ).toLocaleString(), parseFloat(Math.random() * 2).toFixed(2), Math.round(Math.random()), diff --git a/src/utils/general.scss b/src/utils/general.scss index a49e9484..be2aacfd 100644 --- a/src/utils/general.scss +++ b/src/utils/general.scss @@ -306,16 +306,16 @@ body[data-theme="dark"] .toolbar[data-noinvert="false"] { &:vertical { &:hover { - background: var(--scrollbar-bottom-btn) 0% calc(100% - 3px) / contain - no-repeat, + background: + var(--scrollbar-bottom-btn) 0% calc(100% - 3px) / contain no-repeat, var(--scrollbar-top-btn) 0% calc(0% + 3px) / contain no-repeat, var(--scroll); } } &:horizontal { &:hover { - background: var(--scrollbar-right-btn) calc(100% - 3px) 0% / contain - no-repeat, + background: + var(--scrollbar-right-btn) calc(100% - 3px) 0% / contain no-repeat, var(--scrollbar-left-btn) calc(0% + 3px) 0% / contain no-repeat, var(--scroll); }