-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: userguid modal (#2096) * Fix/tag links/draft/0 (#2098) * Fix/tutorial popup/draft/0 (#2099) * fix: userguid modal * fix: body scroll * fix: prevent articles with same id (#2102) * Feature/bottom menu/draft/0 (#2103) * dev: mobile menu * dev: mobile menu d'n'd * dev: popup styles * dev: dragged style * dev: modal mouse events * [dev] Mobile menu * dev: change bottom position * dev: mobile menu threshold * fix: disable drag out * remove unused code * Feature/bottom menu/draft/0 (#2104) * dev: mobile menu * dev: mobile menu d'n'd * dev: popup styles * dev: dragged style * dev: modal mouse events * [dev] Mobile menu * dev: change bottom position * dev: mobile menu threshold * fix: disable drag out * remove unused code * remove yarn.lock * remove yarn lock * fix: canonical link (#2105) * fix reopen userguide (#2106) * Feature/bottom menu/draft/0 (#2107) * dev: mobile menu * dev: mobile menu d'n'd * dev: popup styles * dev: dragged style * dev: modal mouse events * [dev] Mobile menu * dev: change bottom position * dev: mobile menu threshold * fix: disable drag out * remove unused code * remove yarn.lock * icons color * dev: mobile menu * dev: blur popup background * Feature/bottom menu/draft/0 (#2112) * dev: mobile menu * dev: mobile menu d'n'd * dev: popup styles * dev: dragged style * dev: modal mouse events * [dev] Mobile menu * dev: change bottom position * dev: mobile menu threshold * fix: disable drag out * remove unused code * remove yarn.lock * icons color * dev: mobile menu * dev: blur popup background * dev: add new route * Feature/bottom menu/draft/0 (#2113) * dev: mobile menu * dev: mobile menu d'n'd * dev: popup styles * dev: dragged style * dev: modal mouse events * [dev] Mobile menu * dev: change bottom position * dev: mobile menu threshold * fix: disable drag out * remove unused code * remove yarn.lock * icons color * dev: mobile menu * dev: blur popup background * dev: add new route * fix redirects * dev: Avatar size * Feature/bottom menu/draft/0 (#2114) * dev: mobile menu * dev: mobile menu d'n'd * dev: popup styles * dev: dragged style * dev: modal mouse events * [dev] Mobile menu * dev: change bottom position * dev: mobile menu threshold * fix: disable drag out * remove unused code * remove yarn.lock * icons color * dev: mobile menu * dev: blur popup background * dev: add new route * fix redirects * dev: Avatar size * fix leag load * Feature/bottom menu/draft/0 (#2115) * dev: mobile menu * dev: mobile menu d'n'd * dev: popup styles * dev: dragged style * dev: modal mouse events * [dev] Mobile menu * dev: change bottom position * dev: mobile menu threshold * fix: disable drag out * remove unused code * remove yarn.lock * icons color * dev: mobile menu * dev: blur popup background * dev: add new route * fix redirects * dev: Avatar size * fix leag load * avatar size * fix redirect (#2118) * ci: reset branch (dev) reset [1] ----- Update Github actions workflow to make use of the 'dev' branch reset on 'main' (PR). Initially disabled for the idea of using a 'release' branch to be reset, instead of 'dev', as multiple developers can have pushed to 'dev' when a 'PR' goes to 'main', resetting version control state and unding work. --------- Co-authored-by: MigBash <[email protected]>
- Loading branch information
Showing
8 changed files
with
141 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,65 +1,62 @@ | ||
// ╭──────────────────────────────────────────────────────────────────────────────────╮ | ||
// │ 📌 High Order Component Overview │ | ||
// ┣──────────────────────────────────────────────────────────────────────────────────┫ | ||
// │ ➤ Internal Svelte Code Format :|: V.8.0 │ | ||
// │ ➤ Status :|: 🔒 LOCKED │ | ||
// │ ➤ Author(s) :|: @migbash │ | ||
// ┣──────────────────────────────────────────────────────────────────────────────────┫ | ||
// │ 📝 Description │ | ||
// ┣──────────────────────────────────────────────────────────────────────────────────┫ | ||
// │ Main Scores Platform Page Loader ('Client-Side') │ | ||
// ╰──────────────────────────────────────────────────────────────────────────────────╯ | ||
|
||
// #region ➤ 📦 Package Imports | ||
// // ╭──────────────────────────────────────────────────────────────────────────────────╮ | ||
// // │ 📌 High Order Component Overview │ | ||
// // ┣──────────────────────────────────────────────────────────────────────────────────┫ | ||
// // │ ➤ Internal Svelte Code Format :|: V.8.0 │ | ||
// // │ ➤ Status :|: 🔒 LOCKED │ | ||
// // │ ➤ Author(s) :|: @migbash │ | ||
// // ┣──────────────────────────────────────────────────────────────────────────────────┫ | ||
// // │ 📝 Description │ | ||
// // ┣──────────────────────────────────────────────────────────────────────────────────┫ | ||
// // │ Main Scores Platform Page Loader ('Client-Side') │ | ||
// // ╰──────────────────────────────────────────────────────────────────────────────────╯ | ||
|
||
// // #region ➤ 📦 Package Imports | ||
|
||
// import { ServerLoadEvent, redirect } from '@sveltejs/kit'; | ||
|
||
// import { main } from '$lib/sveltekit/load/load.lang.js'; | ||
// import { dlogv2 } from '$lib/utils/debug.js'; | ||
// import { getUserById, userDataFetch } from '$lib/firebase/common.js'; | ||
|
||
// #endregion ➤ 📦 Package Imports | ||
// // #endregion ➤ 📦 Package Imports | ||
|
||
// #region ➤ 🔄 LIFECYCLE [SVELTE] | ||
// // #region ➤ 🔄 LIFECYCLE [SVELTE] | ||
|
||
// /** | ||
// * @type {import('./$types').PageLoad} | ||
// */ | ||
// // /** | ||
// // * @type {import('./$types').PageLoad} | ||
// // */ | ||
// export async function load | ||
// ( | ||
// event: ServerLoadEvent | ||
// ): Promise < any > | ||
// { | ||
// console.log("EVENT :", event); | ||
// const userId = await JSON.parse(event.locals.user); | ||
// console.log("COOKIES :", userId["user-uid"]); | ||
// if (!userId) redirect(300, "/scores"); | ||
// const user = await getUserById(userId); | ||
// const { langParam } = await event.parent(); | ||
// // [🐞] | ||
// dlogv2 | ||
// ( | ||
// '🚏 checkpoint ➤ src/routes/(scores)/[[lang=lang]]/+page.server.ts', | ||
// [ | ||
// `🔹 [var] ➤ langParam :|: ${langParam}`, | ||
// ], | ||
// true | ||
// ); | ||
// const defaultRedirectURL = `${langParam !== "en" ? `/${langParam}` : ""}/scores`; | ||
// console.log("langParam1 :", langParam); | ||
// const event_user = await JSON.parse(event.locals.user); | ||
// const userId = event_user["user-uid"]; | ||
// console.log("COOKIES UID:", userId); | ||
|
||
// const user = userId ? await getUserById(userId) : null; | ||
// console.log("USER :", user); | ||
// if (!user) redirect(300, "/scores"); | ||
// const | ||
// d = await event.parent() | ||
// ; | ||
// console.log("PARENT DATA :", d); | ||
// const {langParam} = d; | ||
// // [🐞] | ||
// dlogv2 | ||
// ( | ||
// '🚏 checkpoint ➤ src/routes/(scores)/[[lang=lang]]/+page.server.ts', | ||
// [ | ||
// `🔹 [var] ➤ langParam :|: ${langParam}`, | ||
// ], | ||
// true | ||
// ); | ||
// if (user) | ||
// { | ||
// return {} | ||
// }; | ||
// console.log("REDIRECTING...", defaultRedirectURL) | ||
// redirect(300, defaultRedirectURL) | ||
|
||
|
||
// return await main | ||
// ( | ||
// event, | ||
// { | ||
// langParam | ||
// } | ||
// ); | ||
|
||
// } | ||
|
||
// #endregion ➤ 🔄 LIFECYCLE [SVELTE] | ||
// // #endregion ➤ 🔄 LIFECYCLE [SVELTE] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters