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

Performance improvements Scores platform #1034

Closed
jonsnowpt opened this issue Feb 3, 2023 · 4 comments
Closed

Performance improvements Scores platform #1034

jonsnowpt opened this issue Feb 3, 2023 · 4 comments
Assignees
Labels
🌟 [A] enhancement New feature or request 📣 [A] high priority Something that needs attention and accelerated resolving

Comments

@jonsnowpt
Copy link
Contributor

🐛 Introduction:

We have two different issues that are affecting the platform's performance. One is related on the time it takes when you click to check the tournaments page or fixtures, it sometimes takes several seconds to see any response. As we discussed before, this may be related to how Svelte works but should be improved, the users have a bad experience with this approach since they do not understand if something is happening and leads to frustration and constant clicks.

The other issue is related to the performance when too many events are occurring, we can try to optimize the DB Indexes to get better responses.

📝 Details:

For SvelteKit a few tips:

To optimize the first response time on Sveltekit, you can follow these steps:

  1. Use code-splitting only to load the necessary code for the initial page.
  2. Minimize the size of the JavaScript and CSS files using tools like Rollup and PurgeCSS.
  3. Compress your assets using gzip or brotli.

To optimize the indexes we have a few tips here:

https://hasura.io/learn/graphql/hasura-advanced/performance/3-analyze-query-plans/

We also have the cache TTL, but I believe that is already done for the used endpoints:

https://hasura.io/learn/graphql/hasura-advanced/performance/1-caching/

🔍 Steps to Reproduce:

Visiting the tournaments section and fixtures the first time to load is pretty clear; visiting on the weekend this slow response problem is even clear.

🤔 Expected Behavior:

We expect to click and have an immediate response from the platform.

💥 Actual Behavior:

We choose to visit a specific section and wait a few or several seconds to get some response from the platform.

💡 Additional Information:

After these optimizations, we are adding a new table for REDIS cache use on most of our sections to help get even better speeds.

@jonsnowpt jonsnowpt converted this from a draft issue Feb 3, 2023
@jonsnowpt jonsnowpt added the 🌟 [A] enhancement New feature or request label Feb 3, 2023
@jonsnowpt jonsnowpt moved this from In Progress to Todo in Betarena Scores Feb 3, 2023
@migbash migbash moved this from Todo to In Progress in Betarena Scores Feb 13, 2023
@migbash
Copy link
Collaborator

migbash commented Feb 14, 2023

NOTES

Initial decoupled navbar component from the actual page did not provide the powerful use of preloading data when switching between languages. Now, a $session.lang_intent variable is added, which uses the preloadData() method from sveltekit to preload a target translation page and its data. This method was then further enhanced in effectiveness by adding an on:mouseover event with a 250ms buffer and on:mouseout (clear) events, so that a target language page translation preload is triggered when user is hovering over an element and stops on it for 250ms - preventing constant preload triggers when user quickly simply hovers over available translations. This greatly increases the speed between translated pages and its preloading speed, cutting it into practically nothing.

TEST (DEV) => instantaenous

Splash screen does not even popup when changing translations

CURRENT (PROD)

Takes its time and is a bit slow, with the Splash screen visible.


In addition, instead of sequential (one-by-one) fetch's made in the load() (preload) of the page, which has to complete before accessing the page, the use of a Promise.all is integrated, to allow all heavy and critial data to be fetched at the same time in parallel, greatly increasing the speed of total wait time, slashing previous waiting times by x3.

TEST (DEV) (current-season) => /it/calcio/liverpool-everton-18535197

Image

CURRENT (PROD) => /it/calcio/liverpool-everton-18535197

Image


TEST (DEV) (non-current-season) => /football/southampton-rangers-wolves-sports-club-628410

Image

CURRENT (PROD) => football/southampton-rangers-wolves-sports-club-628410

Image


Note => this is only available on some platform pages - not all have been upgraded to Promise.all.

Note => this came with the:

  • reduction of large static/assets files,
  • as well other optimisation of some cache endpoints
  • removing unnecessary queries, and bringing them all into one for the page,
  • placing some queries into the load(), such as the GeoJs

This improvements has console.logs enabled. Real (PROD) is expected even faster loading speeds as server will not be over cluttered by logs.


IMPORTANT - some widgets are not using the preloading at all and need to be changed, such as: `Homepage (livescores), and tournaments page also.


More work is needed to bring all pages up to speed and test on its behaviour.

  • layout (main)
  • home - page
  • fixtures-page
  • tournament-page

@migbash migbash moved this from In Progress to Testing in Betarena Scores Feb 14, 2023
@migbash migbash moved this from Testing to In Progress in Betarena Scores Feb 14, 2023
@migbash migbash moved this from In Progress to Testing in Betarena Scores Feb 15, 2023
@jonsnowpt
Copy link
Contributor Author

@migbash

Should this go back to the Backlog for further improvements?

@jonsnowpt jonsnowpt moved this from Testing to Todo in Betarena Scores Feb 15, 2023
@migbash
Copy link
Collaborator

migbash commented Feb 16, 2023

@jonsnowpt Yes, I will need this issue back again in the future, to continue. All possible improvements for now have been made and there's been quite a lot done.

@jonsnowpt jonsnowpt moved this from Todo to Backlog in Betarena Scores Feb 16, 2023
@jonsnowpt jonsnowpt assigned jonsnowpt and unassigned migbash Feb 16, 2023
@jonsnowpt jonsnowpt added the 📣 [A] high priority Something that needs attention and accelerated resolving label Feb 16, 2023
migbash added a commit that referenced this issue Feb 21, 2023
migbash added a commit that referenced this issue Feb 21, 2023
* `update` Makefile

* chore: update gitignore

* chore: update makefile

* chore: update template svelte widget;

* feat: add firestore; add firebase-storage;

* feat: add menu-widget on profile;

* feat: add profile widget assets;

* feat: update app.css;

* feat: add account widget; add dashboard widget;

* feat: update debug func;

* feat: add username-gen method;

* feat: update hasura types on profile_trans;

* feat: create new file for main component func.

* feat: add types - query - route profile data get;

* feat: profile page layout; profile page pre-load;

* chore: update tsconfig; update ref-readme;

* feat: update app.css;

* feat: update menu-widget cross-platform;

* feat: update app.css;

* feat: update platform-functions;

* feat: update assets for profile page components;

* feat: account widget responsivness;

* feat: polishing for main menu widget styles;

* feat: dashboard responsivness;

* feat: update platform main user-settings stores;

* doc: updating README;

* doc: renaming widgets files;

* feat: settings modals; settings profile cropper;

* feat: renaming dashboard widget; rename others (+)

* feat: new assets added;

* feat: layout for profile change to grid;

* feat: update auth-widget;

* doc: rename main header;

* feat: profile navbar create;

* doc: clear up code in +layout.svelte;

* feat: update for danger btn; add primary btn fade;

* feat: added menu opt hover effects;

* fix: #940

* fix: #944

* fix: #945

* fix: #565

* fix: #286

* fix: #998

* fix: #998

* fix: #993

* fix: #1008

* chore: aesthetic tournament/incident widget;

* doc: updated debug functions;

* fix: #1009

* fix: #1000 - 5XX page; #1000 - images to png;

* doc: update eslint; update prettier;

* doc: update prettier; update README;

* doc: update /+layout.ts aesthetics;

* doc: update /+layout.svelte aesthetics;

* doc: update prettier;

* doc: update package.json for removal bull bullmq;

* doc: update hooks.server.ts;

* doc: update README-DEV;

* feat: aesthetic app.html; add %lang% to app.html;

* doc: update prettier;

* feat: update hooks.server.ts for lang detection;

* doc: update README-DEV;

* fix: remove +layout.svelte use of <html lang={}>;

* feat: enhance debug.ts of platform in preload msg;

* feat: +layout.ts docs - aesth - promises;

* feat: clean/update (en) +page.ts - +page.svelte;

* doc: hooks.server.ts

* feat: prettier on widget-main; update types;

* chore: clean up leagues-table / best-goalscorers;

* feat: update profile-modal select for mobile;

* chore: update package.json scripts;

* chore: formatting with prettier;

* chore: update packages @sveltekit - vite - adnode;

* fix: #1000 - images width-heigth;

* chore: duplicate /(en) for /(lang) pages;

* feat: update correct $page.route.id use;

* doc: update prettier;

* chore: update package.json for plugin removal;

* feat: update new data-preload for sveltekit 1.5.5;

* chore: update global-types;

* chore: update debug-logs;

* feat: update correct $page.route.id use;

* chore: update debug-logs master file control;

* doc: update prettier;

* doc: update prettier version;

* fix: #1000 - (scaled-down) images to png;

* chore: update debug-logs;

* feat: update cache endpoints for prob-h2h trans;

* doc: update types for fixture-pages-info;

* test: promises in load() and update widget data;

* test: all fixed - updating;

* chore: transfer copy to /lang/fixture w/promise;

* feat: console.log() to debug.ts cont. update;

* feat: update scripts-package.json

* feat: update for pealoading data intents sessions;

* chore: update debug-master file;

* chore: update fixture/+page.ts (count.) logs geo;

* test: add detached endpoint for client-server IP;

* test: add detached endpoint for client-server IP;

* test: add detached endpoint layout.server.ts init;

* test: add detached endpoint layout.server.ts mod;

* test: add detached endpoint layout.server.ts mod;

* test: add detached endpoint layout.server.ts mod;

* test: server-heroku.js / layout.server.ts mod;

* test: page.server.ts mod;

* test: server-heroku.js mod;

* test: layout to client mod; del page.server;

* test: layou.ts mod;

* doc: update README-DEV;

* feat: update AuthWidget get/check user firestore;

* feat: updae WidgetSettings username & doc update;

* feat: update lang urls for profile page;

* feat: update main-layout nav transaltions handle;

* feat: update /u/[profile] page layout & widgets;

* feat: add darkmode to profile page widgets;

* feat: update navbar correct ui for profile page;

* chore: footer update comments;

* feat: revert Moralis to it's current state of auth;

* feat: update header for side-nav on profile page;

* feat: dark mode modals + btn-hollow; pic-add nav;

* hot-fix: update darkmode colors on profile;

* feat: update user profile route title page;

* feat: update OpenGraph types in main;

* doc: update debug (file);

* doc: update debug logs handle func;

* feat: (major) remove duplicate route for a locale;

* feat: moving fixture page layout to components;

* fix: correct new route.id rename;

* feat: (major) remove duplicate route for a locale;

* doc: update for lang-platform detect func;

* feat: remove cache control from (layout);

* fix: #1041;

* chore: update debug logs;

* chore: update debug logs fixutre/vote;

* fix: #1007;

* chore: update commens fixture/+page.ts

* fix: #1042;

* feat: (tournaments) #1034;

* fix: #940;

* fix: #944;

* fix: #1044 | 1,2,3,5,7,8,9,0,10,11,12;

* chore: update makefile;

* fix: #1044 | 4,8 (update)

* doc: update debug logs;

* fix: #1044;

* fix: #998;

* fix: #1007;

* fix: #940

* hot-fix: tablet profile page menu cahnge overflow;

* fix: #1044 - picture-profile update events;

* fix: #1044;

* fix: #1044 cont.;

* fix: #1044 cont. - restriction on profile-route;

* fix: #1044 cont. - transaltions;

* fix: #1009;

* fix: #1044 (cont);

* fix: #1058;

* fix: #1044 (translations);

* fix: #1044 (translations);

* fix: #1058 (update);

* fix: #1058 (update);

* fix: #1044 (upload-limit);

* fix: #1060;

* chore: data reduce (fixture) revert;

* fix: #1020;

* doc: README-DEV update; TEMPLATE (comp);

* fix: #1040;

* fix: #1044;

* fix: #1020 (mobile);

* fix: #1061;

* fix: #1020 (mobile-detect);

* fix: #1061;

* fix: #1066;

* fix: #1020;

* fix: #1020;

* hot-fix: Dockerfile python V update;

* hot-fix: deepsource issues;

* doc: update vscode/settings.json

* doc: update secrets;
jonsnowpt pushed a commit that referenced this issue Feb 21, 2023
* `hot-fix` for #974

* 🔥hot fix/prod h2h issues (#982)

* `update` README.md

* `issue` #972 #976

* `issue` #972

* `deepsource` JS-0357

* `deepsource` JS-0128

* `deepsource` JS-0051

* `deepsource` JS-0116

* `deepsource` JS-0246

* `deepsource` JS-0241

* `deepsource` JS-0241

* `deepsource` JS-0123

* `deepsource` JS-0356

* Update/fixture odds status ns 2 (#985)

* `hot-fix` for #974 (#975)

* `🔥hot-fix` to PROD (#983)

* `hot-fix` for #974

* 🔥hot fix/prod h2h issues (#982)

* `update` README.md

* `issue` #972 #976

* `issue` #972

* `deepsource` JS-0357

* `deepsource` JS-0128

* `deepsource` JS-0051

* `deepsource` JS-0116

* `deepsource` JS-0246

* `deepsource` JS-0241

* `deepsource` JS-0241

* `deepsource` JS-0123

* `deepsource` JS-0356

* issue #957

* Enhance/feature docker deploy (#1011)

* `update` logs for `PROD` server

* `update` for `Makefile`

* `update` for `.dockerignore`

* `setup` of `Docker` development env

* `update` for `package.json` with `scripts:`

* `.gitignore` update

* `update` for `Docker` in `PROD` deployment

* `update` Makefile

* `update` for `README.md`

* `update` express server for `https`

* add `new` deploy script with `Github Actions`

* `update` github actions test

* `revert` for `http` only support

* `update` for `Makefile`

* `update` for `deploy.yml`

* `revert` for `http` only support

* `add` for `https` deploy

* `update` - `Makefile`

* `update` - `my-server.js`

* issue `990`

* issue `990` - `V1`

* issue #949

* `update` packages

* `update` for `github/actions`

* issue #986

* `logs` update

* `update` for `settings.json`

* `update` issue #986

* `update` for `mobile` view `auth`

* `revert` express for `heroku`

* `revert` express for `heroku`

* `revert` express for `heroku`

* `revert` for `DEV` test `heroku`

* `revert` for `DEV` test `heroku`

* `revert` for `DEV` test `heroku`

* `add` back `AuthWidget`

* issue #1004

* issue #1004

* issue #1004 `checkout`

* `update` example widget

* issue #1004

* issue #1004 `dark-mode` hovers

* issue #1004 `🐞 debug`

* issue #1004 `🐞 debug`

* issue #1004

* issue #1004 `🐞 debug update`

* `revert` to `PROD` of `express-server`

* `deepsource` JS-0239

* `deepsource` JS-0239

* `deepsource` JS-0242

* `deepsource` JS-T1001

* Enhance/translations and wallet issues and other (#1030)

* issue #1006 #1021

* `update` .github/deploy script

* issue #1019

* `renaming`

* `aesthetic` `doc`

* `update` for `docker:dev` + `package.json` scripts

* `update` with `main`

* `update` settings.json

* issue #951

* issue #951

* issue #951

* issue #951 `redundant` code

* issue #951

* issue #1028

* issue #951 `styles` update

* `deepsource` JS-0128

* `update` documentations

* issue #1018

* `update` Makefile

* `update` Makefile

* Feature/profile page/issue 1022/user profile page work (#1067)

* `update` Makefile

* chore: update gitignore

* chore: update makefile

* chore: update template svelte widget;

* feat: add firestore; add firebase-storage;

* feat: add menu-widget on profile;

* feat: add profile widget assets;

* feat: update app.css;

* feat: add account widget; add dashboard widget;

* feat: update debug func;

* feat: add username-gen method;

* feat: update hasura types on profile_trans;

* feat: create new file for main component func.

* feat: add types - query - route profile data get;

* feat: profile page layout; profile page pre-load;

* chore: update tsconfig; update ref-readme;

* feat: update app.css;

* feat: update menu-widget cross-platform;

* feat: update app.css;

* feat: update platform-functions;

* feat: update assets for profile page components;

* feat: account widget responsivness;

* feat: polishing for main menu widget styles;

* feat: dashboard responsivness;

* feat: update platform main user-settings stores;

* doc: updating README;

* doc: renaming widgets files;

* feat: settings modals; settings profile cropper;

* feat: renaming dashboard widget; rename others (+)

* feat: new assets added;

* feat: layout for profile change to grid;

* feat: update auth-widget;

* doc: rename main header;

* feat: profile navbar create;

* doc: clear up code in +layout.svelte;

* feat: update for danger btn; add primary btn fade;

* feat: added menu opt hover effects;

* fix: #940

* fix: #944

* fix: #945

* fix: #565

* fix: #286

* fix: #998

* fix: #998

* fix: #993

* fix: #1008

* chore: aesthetic tournament/incident widget;

* doc: updated debug functions;

* fix: #1009

* fix: #1000 - 5XX page; #1000 - images to png;

* doc: update eslint; update prettier;

* doc: update prettier; update README;

* doc: update /+layout.ts aesthetics;

* doc: update /+layout.svelte aesthetics;

* doc: update prettier;

* doc: update package.json for removal bull bullmq;

* doc: update hooks.server.ts;

* doc: update README-DEV;

* feat: aesthetic app.html; add %lang% to app.html;

* doc: update prettier;

* feat: update hooks.server.ts for lang detection;

* doc: update README-DEV;

* fix: remove +layout.svelte use of <html lang={}>;

* feat: enhance debug.ts of platform in preload msg;

* feat: +layout.ts docs - aesth - promises;

* feat: clean/update (en) +page.ts - +page.svelte;

* doc: hooks.server.ts

* feat: prettier on widget-main; update types;

* chore: clean up leagues-table / best-goalscorers;

* feat: update profile-modal select for mobile;

* chore: update package.json scripts;

* chore: formatting with prettier;

* chore: update packages @sveltekit - vite - adnode;

* fix: #1000 - images width-heigth;

* chore: duplicate /(en) for /(lang) pages;

* feat: update correct $page.route.id use;

* doc: update prettier;

* chore: update package.json for plugin removal;

* feat: update new data-preload for sveltekit 1.5.5;

* chore: update global-types;

* chore: update debug-logs;

* feat: update correct $page.route.id use;

* chore: update debug-logs master file control;

* doc: update prettier;

* doc: update prettier version;

* fix: #1000 - (scaled-down) images to png;

* chore: update debug-logs;

* feat: update cache endpoints for prob-h2h trans;

* doc: update types for fixture-pages-info;

* test: promises in load() and update widget data;

* test: all fixed - updating;

* chore: transfer copy to /lang/fixture w/promise;

* feat: console.log() to debug.ts cont. update;

* feat: update scripts-package.json

* feat: update for pealoading data intents sessions;

* chore: update debug-master file;

* chore: update fixture/+page.ts (count.) logs geo;

* test: add detached endpoint for client-server IP;

* test: add detached endpoint for client-server IP;

* test: add detached endpoint layout.server.ts init;

* test: add detached endpoint layout.server.ts mod;

* test: add detached endpoint layout.server.ts mod;

* test: add detached endpoint layout.server.ts mod;

* test: server-heroku.js / layout.server.ts mod;

* test: page.server.ts mod;

* test: server-heroku.js mod;

* test: layout to client mod; del page.server;

* test: layou.ts mod;

* doc: update README-DEV;

* feat: update AuthWidget get/check user firestore;

* feat: updae WidgetSettings username & doc update;

* feat: update lang urls for profile page;

* feat: update main-layout nav transaltions handle;

* feat: update /u/[profile] page layout & widgets;

* feat: add darkmode to profile page widgets;

* feat: update navbar correct ui for profile page;

* chore: footer update comments;

* feat: revert Moralis to it's current state of auth;

* feat: update header for side-nav on profile page;

* feat: dark mode modals + btn-hollow; pic-add nav;

* hot-fix: update darkmode colors on profile;

* feat: update user profile route title page;

* feat: update OpenGraph types in main;

* doc: update debug (file);

* doc: update debug logs handle func;

* feat: (major) remove duplicate route for a locale;

* feat: moving fixture page layout to components;

* fix: correct new route.id rename;

* feat: (major) remove duplicate route for a locale;

* doc: update for lang-platform detect func;

* feat: remove cache control from (layout);

* fix: #1041;

* chore: update debug logs;

* chore: update debug logs fixutre/vote;

* fix: #1007;

* chore: update commens fixture/+page.ts

* fix: #1042;

* feat: (tournaments) #1034;

* fix: #940;

* fix: #944;

* fix: #1044 | 1,2,3,5,7,8,9,0,10,11,12;

* chore: update makefile;

* fix: #1044 | 4,8 (update)

* doc: update debug logs;

* fix: #1044;

* fix: #998;

* fix: #1007;

* fix: #940

* hot-fix: tablet profile page menu cahnge overflow;

* fix: #1044 - picture-profile update events;

* fix: #1044;

* fix: #1044 cont.;

* fix: #1044 cont. - restriction on profile-route;

* fix: #1044 cont. - transaltions;

* fix: #1009;

* fix: #1044 (cont);

* fix: #1058;

* fix: #1044 (translations);

* fix: #1044 (translations);

* fix: #1058 (update);

* fix: #1058 (update);

* fix: #1044 (upload-limit);

* fix: #1060;

* chore: data reduce (fixture) revert;

* fix: #1020;

* doc: README-DEV update; TEMPLATE (comp);

* fix: #1040;

* fix: #1044;

* fix: #1020 (mobile);

* fix: #1061;

* fix: #1020 (mobile-detect);

* fix: #1061;

* fix: #1066;

* fix: #1020;

* fix: #1020;

* hot-fix: Dockerfile python V update;

* hot-fix: deepsource issues;

* doc: update vscode/settings.json

* doc: update secrets;
jonsnowpt pushed a commit that referenced this issue Mar 7, 2023
* `hot-fix` for #974

* 🔥hot fix/prod h2h issues (#982)

* `update` README.md

* `issue` #972 #976

* `issue` #972

* `deepsource` JS-0357

* `deepsource` JS-0128

* `deepsource` JS-0051

* `deepsource` JS-0116

* `deepsource` JS-0246

* `deepsource` JS-0241

* `deepsource` JS-0241

* `deepsource` JS-0123

* `deepsource` JS-0356

* Update/fixture odds status ns 2 (#985)

* `hot-fix` for #974 (#975)

* `🔥hot-fix` to PROD (#983)

* `hot-fix` for #974

* 🔥hot fix/prod h2h issues (#982)

* `update` README.md

* `issue` #972 #976

* `issue` #972

* `deepsource` JS-0357

* `deepsource` JS-0128

* `deepsource` JS-0051

* `deepsource` JS-0116

* `deepsource` JS-0246

* `deepsource` JS-0241

* `deepsource` JS-0241

* `deepsource` JS-0123

* `deepsource` JS-0356

* issue #957

* Enhance/feature docker deploy (#1011)

* `update` logs for `PROD` server

* `update` for `Makefile`

* `update` for `.dockerignore`

* `setup` of `Docker` development env

* `update` for `package.json` with `scripts:`

* `.gitignore` update

* `update` for `Docker` in `PROD` deployment

* `update` Makefile

* `update` for `README.md`

* `update` express server for `https`

* add `new` deploy script with `Github Actions`

* `update` github actions test

* `revert` for `http` only support

* `update` for `Makefile`

* `update` for `deploy.yml`

* `revert` for `http` only support

* `add` for `https` deploy

* `update` - `Makefile`

* `update` - `my-server.js`

* issue `990`

* issue `990` - `V1`

* issue #949

* `update` packages

* `update` for `github/actions`

* issue #986

* `logs` update

* `update` for `settings.json`

* `update` issue #986

* `update` for `mobile` view `auth`

* `revert` express for `heroku`

* `revert` express for `heroku`

* `revert` express for `heroku`

* `revert` for `DEV` test `heroku`

* `revert` for `DEV` test `heroku`

* `revert` for `DEV` test `heroku`

* `add` back `AuthWidget`

* issue #1004

* issue #1004

* issue #1004 `checkout`

* `update` example widget

* issue #1004

* issue #1004 `dark-mode` hovers

* issue #1004 `🐞 debug`

* issue #1004 `🐞 debug`

* issue #1004

* issue #1004 `🐞 debug update`

* `revert` to `PROD` of `express-server`

* `deepsource` JS-0239

* `deepsource` JS-0239

* `deepsource` JS-0242

* `deepsource` JS-T1001

* Enhance/translations and wallet issues and other (#1030)

* issue #1006 #1021

* `update` .github/deploy script

* issue #1019

* `renaming`

* `aesthetic` `doc`

* `update` for `docker:dev` + `package.json` scripts

* `update` with `main`

* `update` settings.json

* issue #951

* issue #951

* issue #951

* issue #951 `redundant` code

* issue #951

* issue #1028

* issue #951 `styles` update

* `deepsource` JS-0128

* `update` documentations

* issue #1018

* `update` Makefile

* `update` Makefile

* Feature/profile page/issue 1022/user profile page work (#1067)

* `update` Makefile

* chore: update gitignore

* chore: update makefile

* chore: update template svelte widget;

* feat: add firestore; add firebase-storage;

* feat: add menu-widget on profile;

* feat: add profile widget assets;

* feat: update app.css;

* feat: add account widget; add dashboard widget;

* feat: update debug func;

* feat: add username-gen method;

* feat: update hasura types on profile_trans;

* feat: create new file for main component func.

* feat: add types - query - route profile data get;

* feat: profile page layout; profile page pre-load;

* chore: update tsconfig; update ref-readme;

* feat: update app.css;

* feat: update menu-widget cross-platform;

* feat: update app.css;

* feat: update platform-functions;

* feat: update assets for profile page components;

* feat: account widget responsivness;

* feat: polishing for main menu widget styles;

* feat: dashboard responsivness;

* feat: update platform main user-settings stores;

* doc: updating README;

* doc: renaming widgets files;

* feat: settings modals; settings profile cropper;

* feat: renaming dashboard widget; rename others (+)

* feat: new assets added;

* feat: layout for profile change to grid;

* feat: update auth-widget;

* doc: rename main header;

* feat: profile navbar create;

* doc: clear up code in +layout.svelte;

* feat: update for danger btn; add primary btn fade;

* feat: added menu opt hover effects;

* fix: #940

* fix: #944

* fix: #945

* fix: #565

* fix: #286

* fix: #998

* fix: #998

* fix: #993

* fix: #1008

* chore: aesthetic tournament/incident widget;

* doc: updated debug functions;

* fix: #1009

* fix: #1000 - 5XX page; #1000 - images to png;

* doc: update eslint; update prettier;

* doc: update prettier; update README;

* doc: update /+layout.ts aesthetics;

* doc: update /+layout.svelte aesthetics;

* doc: update prettier;

* doc: update package.json for removal bull bullmq;

* doc: update hooks.server.ts;

* doc: update README-DEV;

* feat: aesthetic app.html; add %lang% to app.html;

* doc: update prettier;

* feat: update hooks.server.ts for lang detection;

* doc: update README-DEV;

* fix: remove +layout.svelte use of <html lang={}>;

* feat: enhance debug.ts of platform in preload msg;

* feat: +layout.ts docs - aesth - promises;

* feat: clean/update (en) +page.ts - +page.svelte;

* doc: hooks.server.ts

* feat: prettier on widget-main; update types;

* chore: clean up leagues-table / best-goalscorers;

* feat: update profile-modal select for mobile;

* chore: update package.json scripts;

* chore: formatting with prettier;

* chore: update packages @sveltekit - vite - adnode;

* fix: #1000 - images width-heigth;

* chore: duplicate /(en) for /(lang) pages;

* feat: update correct $page.route.id use;

* doc: update prettier;

* chore: update package.json for plugin removal;

* feat: update new data-preload for sveltekit 1.5.5;

* chore: update global-types;

* chore: update debug-logs;

* feat: update correct $page.route.id use;

* chore: update debug-logs master file control;

* doc: update prettier;

* doc: update prettier version;

* fix: #1000 - (scaled-down) images to png;

* chore: update debug-logs;

* feat: update cache endpoints for prob-h2h trans;

* doc: update types for fixture-pages-info;

* test: promises in load() and update widget data;

* test: all fixed - updating;

* chore: transfer copy to /lang/fixture w/promise;

* feat: console.log() to debug.ts cont. update;

* feat: update scripts-package.json

* feat: update for pealoading data intents sessions;

* chore: update debug-master file;

* chore: update fixture/+page.ts (count.) logs geo;

* test: add detached endpoint for client-server IP;

* test: add detached endpoint for client-server IP;

* test: add detached endpoint layout.server.ts init;

* test: add detached endpoint layout.server.ts mod;

* test: add detached endpoint layout.server.ts mod;

* test: add detached endpoint layout.server.ts mod;

* test: server-heroku.js / layout.server.ts mod;

* test: page.server.ts mod;

* test: server-heroku.js mod;

* test: layout to client mod; del page.server;

* test: layou.ts mod;

* doc: update README-DEV;

* feat: update AuthWidget get/check user firestore;

* feat: updae WidgetSettings username & doc update;

* feat: update lang urls for profile page;

* feat: update main-layout nav transaltions handle;

* feat: update /u/[profile] page layout & widgets;

* feat: add darkmode to profile page widgets;

* feat: update navbar correct ui for profile page;

* chore: footer update comments;

* feat: revert Moralis to it's current state of auth;

* feat: update header for side-nav on profile page;

* feat: dark mode modals + btn-hollow; pic-add nav;

* hot-fix: update darkmode colors on profile;

* feat: update user profile route title page;

* feat: update OpenGraph types in main;

* doc: update debug (file);

* doc: update debug logs handle func;

* feat: (major) remove duplicate route for a locale;

* feat: moving fixture page layout to components;

* fix: correct new route.id rename;

* feat: (major) remove duplicate route for a locale;

* doc: update for lang-platform detect func;

* feat: remove cache control from (layout);

* fix: #1041;

* chore: update debug logs;

* chore: update debug logs fixutre/vote;

* fix: #1007;

* chore: update commens fixture/+page.ts

* fix: #1042;

* feat: (tournaments) #1034;

* fix: #940;

* fix: #944;

* fix: #1044 | 1,2,3,5,7,8,9,0,10,11,12;

* chore: update makefile;

* fix: #1044 | 4,8 (update)

* doc: update debug logs;

* fix: #1044;

* fix: #998;

* fix: #1007;

* fix: #940

* hot-fix: tablet profile page menu cahnge overflow;

* fix: #1044 - picture-profile update events;

* fix: #1044;

* fix: #1044 cont.;

* fix: #1044 cont. - restriction on profile-route;

* fix: #1044 cont. - transaltions;

* fix: #1009;

* fix: #1044 (cont);

* fix: #1058;

* fix: #1044 (translations);

* fix: #1044 (translations);

* fix: #1058 (update);

* fix: #1058 (update);

* fix: #1044 (upload-limit);

* fix: #1060;

* chore: data reduce (fixture) revert;

* fix: #1020;

* doc: README-DEV update; TEMPLATE (comp);

* fix: #1040;

* fix: #1044;

* fix: #1020 (mobile);

* fix: #1061;

* fix: #1020 (mobile-detect);

* fix: #1061;

* fix: #1066;

* fix: #1020;

* fix: #1020;

* hot-fix: Dockerfile python V update;

* hot-fix: deepsource issues;

* doc: update vscode/settings.json

* doc: update secrets;

* 🔥hot-fix: debug logs remove;

* Feature/livescore v2/issue 1055/update new livescore and bugs (#1106)

* Fix: typos (#1070)

* Fix: typos

* Fix: typos

* 🔥hot-fix: debug logs remove; (#1069)

* doc: update logs; add master debug; prettify;

* chore: remove package(s);

* chore: update .gitignore;

* chore: clean *.config.js for sveltekit;

* chore: clean docker-compose.dev;

* chore: update settings.json; add extensions.json;

* chore: update makefile comments;

* doc: contribute (update); ex-widget file (update);

* chore: update debug main comments;

* chore: remove console.logs;

* chore: remove console.logs (widgets) (cont);

* doc: new structure for svelte file apply Fix_Odds;

* doc: reformat README's contents (update);

* chore: re-structure components per page;

* chore: prettify app.css

* doc: update settings.json;

* doc: update contributing/template-widget.svelte;

* doc: update app.css (global);

* feat: add SEO-Box (widget);

* feat: add Widget-Title (widget);

* chore: update header (widget) debug-logs;

* feat: #1055 (stable) + (assets);

* feat: enhance session (stores);

* feat: decouple firebase (common) func (livescore);

* chore: update header (widget) debug-logs (cont);

* feat: #1055 (endpoint) to hasura on target date;

* feat: update dates (const);

* feat: #1055 (endpoint) to cache on target date(s);

* feat: page-level (home) update for fewer requests;

* chore: update betarena-types package imports;

* chore: update app.css (global);

* feat: update session-store for new reactive data;

* feat: update loaders

* feat: update responsivness for widget fixture row;

* feat: #1055 (cont) + (loader) + (components);

* feat/chore: update imports struct; fixes #1055;

* feat: #1055 (seo);

* chore: #1055 (cont) (title);

* chore: update debug-logs;

* chore: update debug-logs;

* feat: removed livescores-v1 (page-level);

* feat: #1055 (cont) - cal outlier case handle;

* feat: #1055 (cont) - validation checks + css;

* feat: #1055 (cont) - bet-tips-links;

* feat: #1055 (cont) - live status lib-use;

* feat: #1055 (cont) + dark + triggers + cal-mobile;

* chore: update use live @betarena/scores-lib npm;

* feat: #1055 (cont) minor-fix's

* fix: update bet-sites logos style;

* fix: unknown min value on live-fixtures;

* feat: add page-level livescroes listen on tab-chg;

* feat: first time request data for livescroes;

* chore: update @betarena/scores-lib packages;

* fix: added translations for calendar pop-up;

* feat: insert translations (cont);

* fix: update seo-box links #1055;

* feat: #1055 (endpoint) cache target leagues map;

* fix: (post-nuke) imports update;

* feat: update @[b]scores-lib package;

* fix: #1085 [mult];

* doc: template widget (update);

* chore: aesthetic (app.css);

* fix: #1085 [mult] (cont);

* fix: #1085 [mult] (cont);

* fix: #1085 [mult] (cont);

* fix: #1085 [mult] (cont);

* fix: #1085 [mult] (cont);

* chore: package.json (up); debug-logs (up);

* fix: #1085 [mult] (cont);

* fix: #1085 [mult] (cont);

* fix: #1085 [mult] (cont);

* fix: #1085 [mult] (cont);

* fix: #1085 [mult] (cont);

* fix: #1085 [mult] (cont);

* doc: settings.json (up); template.svelte (up);

* chore: clean league page code;

* fix: #1085 [mult] (cont);

* fix: #1096 [mult] (cont);

* fix: #1048;

* fix: #420;

* fix: #999;

* fix: #1010;

* fix: #1096;

* fix: #1097;

* fix: #1097;

* fix: #1097;

* chore: remove debug;

* fix: #1096;

* fix: #1096;

* fix: #1096;

* fix: #1096;

* fix: #1096;

* fix: #1096 (navbar) (up);

* fix: deepsource;

---------

Co-authored-by: omahs <[email protected]>

---------

Co-authored-by: omahs <[email protected]>
jonsnowpt pushed a commit that referenced this issue Mar 15, 2023
* `hot-fix` for #974

* 🔥hot fix/prod h2h issues (#982)

* `update` README.md

* `issue` #972 #976

* `issue` #972

* `deepsource` JS-0357

* `deepsource` JS-0128

* `deepsource` JS-0051

* `deepsource` JS-0116

* `deepsource` JS-0246

* `deepsource` JS-0241

* `deepsource` JS-0241

* `deepsource` JS-0123

* `deepsource` JS-0356

* Update/fixture odds status ns 2 (#985)

* `hot-fix` for #974 (#975)

* `🔥hot-fix` to PROD (#983)

* `hot-fix` for #974

* 🔥hot fix/prod h2h issues (#982)

* `update` README.md

* `issue` #972 #976

* `issue` #972

* `deepsource` JS-0357

* `deepsource` JS-0128

* `deepsource` JS-0051

* `deepsource` JS-0116

* `deepsource` JS-0246

* `deepsource` JS-0241

* `deepsource` JS-0241

* `deepsource` JS-0123

* `deepsource` JS-0356

* issue #957

* Enhance/feature docker deploy (#1011)

* `update` logs for `PROD` server

* `update` for `Makefile`

* `update` for `.dockerignore`

* `setup` of `Docker` development env

* `update` for `package.json` with `scripts:`

* `.gitignore` update

* `update` for `Docker` in `PROD` deployment

* `update` Makefile

* `update` for `README.md`

* `update` express server for `https`

* add `new` deploy script with `Github Actions`

* `update` github actions test

* `revert` for `http` only support

* `update` for `Makefile`

* `update` for `deploy.yml`

* `revert` for `http` only support

* `add` for `https` deploy

* `update` - `Makefile`

* `update` - `my-server.js`

* issue `990`

* issue `990` - `V1`

* issue #949

* `update` packages

* `update` for `github/actions`

* issue #986

* `logs` update

* `update` for `settings.json`

* `update` issue #986

* `update` for `mobile` view `auth`

* `revert` express for `heroku`

* `revert` express for `heroku`

* `revert` express for `heroku`

* `revert` for `DEV` test `heroku`

* `revert` for `DEV` test `heroku`

* `revert` for `DEV` test `heroku`

* `add` back `AuthWidget`

* issue #1004

* issue #1004

* issue #1004 `checkout`

* `update` example widget

* issue #1004

* issue #1004 `dark-mode` hovers

* issue #1004 `🐞 debug`

* issue #1004 `🐞 debug`

* issue #1004

* issue #1004 `🐞 debug update`

* `revert` to `PROD` of `express-server`

* `deepsource` JS-0239

* `deepsource` JS-0239

* `deepsource` JS-0242

* `deepsource` JS-T1001

* Enhance/translations and wallet issues and other (#1030)

* issue #1006 #1021

* `update` .github/deploy script

* issue #1019

* `renaming`

* `aesthetic` `doc`

* `update` for `docker:dev` + `package.json` scripts

* `update` with `main`

* `update` settings.json

* issue #951

* issue #951

* issue #951

* issue #951 `redundant` code

* issue #951

* issue #1028

* issue #951 `styles` update

* `deepsource` JS-0128

* `update` documentations

* issue #1018

* `update` Makefile

* `update` Makefile

* Feature/profile page/issue 1022/user profile page work (#1067)

* `update` Makefile

* chore: update gitignore

* chore: update makefile

* chore: update template svelte widget;

* feat: add firestore; add firebase-storage;

* feat: add menu-widget on profile;

* feat: add profile widget assets;

* feat: update app.css;

* feat: add account widget; add dashboard widget;

* feat: update debug func;

* feat: add username-gen method;

* feat: update hasura types on profile_trans;

* feat: create new file for main component func.

* feat: add types - query - route profile data get;

* feat: profile page layout; profile page pre-load;

* chore: update tsconfig; update ref-readme;

* feat: update app.css;

* feat: update menu-widget cross-platform;

* feat: update app.css;

* feat: update platform-functions;

* feat: update assets for profile page components;

* feat: account widget responsivness;

* feat: polishing for main menu widget styles;

* feat: dashboard responsivness;

* feat: update platform main user-settings stores;

* doc: updating README;

* doc: renaming widgets files;

* feat: settings modals; settings profile cropper;

* feat: renaming dashboard widget; rename others (+)

* feat: new assets added;

* feat: layout for profile change to grid;

* feat: update auth-widget;

* doc: rename main header;

* feat: profile navbar create;

* doc: clear up code in +layout.svelte;

* feat: update for danger btn; add primary btn fade;

* feat: added menu opt hover effects;

* fix: #940

* fix: #944

* fix: #945

* fix: #565

* fix: #286

* fix: #998

* fix: #998

* fix: #993

* fix: #1008

* chore: aesthetic tournament/incident widget;

* doc: updated debug functions;

* fix: #1009

* fix: #1000 - 5XX page; #1000 - images to png;

* doc: update eslint; update prettier;

* doc: update prettier; update README;

* doc: update /+layout.ts aesthetics;

* doc: update /+layout.svelte aesthetics;

* doc: update prettier;

* doc: update package.json for removal bull bullmq;

* doc: update hooks.server.ts;

* doc: update README-DEV;

* feat: aesthetic app.html; add %lang% to app.html;

* doc: update prettier;

* feat: update hooks.server.ts for lang detection;

* doc: update README-DEV;

* fix: remove +layout.svelte use of <html lang={}>;

* feat: enhance debug.ts of platform in preload msg;

* feat: +layout.ts docs - aesth - promises;

* feat: clean/update (en) +page.ts - +page.svelte;

* doc: hooks.server.ts

* feat: prettier on widget-main; update types;

* chore: clean up leagues-table / best-goalscorers;

* feat: update profile-modal select for mobile;

* chore: update package.json scripts;

* chore: formatting with prettier;

* chore: update packages @sveltekit - vite - adnode;

* fix: #1000 - images width-heigth;

* chore: duplicate /(en) for /(lang) pages;

* feat: update correct $page.route.id use;

* doc: update prettier;

* chore: update package.json for plugin removal;

* feat: update new data-preload for sveltekit 1.5.5;

* chore: update global-types;

* chore: update debug-logs;

* feat: update correct $page.route.id use;

* chore: update debug-logs master file control;

* doc: update prettier;

* doc: update prettier version;

* fix: #1000 - (scaled-down) images to png;

* chore: update debug-logs;

* feat: update cache endpoints for prob-h2h trans;

* doc: update types for fixture-pages-info;

* test: promises in load() and update widget data;

* test: all fixed - updating;

* chore: transfer copy to /lang/fixture w/promise;

* feat: console.log() to debug.ts cont. update;

* feat: update scripts-package.json

* feat: update for pealoading data intents sessions;

* chore: update debug-master file;

* chore: update fixture/+page.ts (count.) logs geo;

* test: add detached endpoint for client-server IP;

* test: add detached endpoint for client-server IP;

* test: add detached endpoint layout.server.ts init;

* test: add detached endpoint layout.server.ts mod;

* test: add detached endpoint layout.server.ts mod;

* test: add detached endpoint layout.server.ts mod;

* test: server-heroku.js / layout.server.ts mod;

* test: page.server.ts mod;

* test: server-heroku.js mod;

* test: layout to client mod; del page.server;

* test: layou.ts mod;

* doc: update README-DEV;

* feat: update AuthWidget get/check user firestore;

* feat: updae WidgetSettings username & doc update;

* feat: update lang urls for profile page;

* feat: update main-layout nav transaltions handle;

* feat: update /u/[profile] page layout & widgets;

* feat: add darkmode to profile page widgets;

* feat: update navbar correct ui for profile page;

* chore: footer update comments;

* feat: revert Moralis to it's current state of auth;

* feat: update header for side-nav on profile page;

* feat: dark mode modals + btn-hollow; pic-add nav;

* hot-fix: update darkmode colors on profile;

* feat: update user profile route title page;

* feat: update OpenGraph types in main;

* doc: update debug (file);

* doc: update debug logs handle func;

* feat: (major) remove duplicate route for a locale;

* feat: moving fixture page layout to components;

* fix: correct new route.id rename;

* feat: (major) remove duplicate route for a locale;

* doc: update for lang-platform detect func;

* feat: remove cache control from (layout);

* fix: #1041;

* chore: update debug logs;

* chore: update debug logs fixutre/vote;

* fix: #1007;

* chore: update commens fixture/+page.ts

* fix: #1042;

* feat: (tournaments) #1034;

* fix: #940;

* fix: #944;

* fix: #1044 | 1,2,3,5,7,8,9,0,10,11,12;

* chore: update makefile;

* fix: #1044 | 4,8 (update)

* doc: update debug logs;

* fix: #1044;

* fix: #998;

* fix: #1007;

* fix: #940

* hot-fix: tablet profile page menu cahnge overflow;

* fix: #1044 - picture-profile update events;

* fix: #1044;

* fix: #1044 cont.;

* fix: #1044 cont. - restriction on profile-route;

* fix: #1044 cont. - transaltions;

* fix: #1009;

* fix: #1044 (cont);

* fix: #1058;

* fix: #1044 (translations);

* fix: #1044 (translations);

* fix: #1058 (update);

* fix: #1058 (update);

* fix: #1044 (upload-limit);

* fix: #1060;

* chore: data reduce (fixture) revert;

* fix: #1020;

* doc: README-DEV update; TEMPLATE (comp);

* fix: #1040;

* fix: #1044;

* fix: #1020 (mobile);

* fix: #1061;

* fix: #1020 (mobile-detect);

* fix: #1061;

* fix: #1066;

* fix: #1020;

* fix: #1020;

* hot-fix: Dockerfile python V update;

* hot-fix: deepsource issues;

* doc: update vscode/settings.json

* doc: update secrets;

* 🔥hot-fix: debug logs remove;

* Feature/livescore v2/issue 1055/update new livescore and bugs (#1106)

* Fix: typos (#1070)

* Fix: typos

* Fix: typos

* 🔥hot-fix: debug logs remove; (#1069)

* doc: update logs; add master debug; prettify;

* chore: remove package(s);

* chore: update .gitignore;

* chore: clean *.config.js for sveltekit;

* chore: clean docker-compose.dev;

* chore: update settings.json; add extensions.json;

* chore: update makefile comments;

* doc: contribute (update); ex-widget file (update);

* chore: update debug main comments;

* chore: remove console.logs;

* chore: remove console.logs (widgets) (cont);

* doc: new structure for svelte file apply Fix_Odds;

* doc: reformat README's contents (update);

* chore: re-structure components per page;

* chore: prettify app.css

* doc: update settings.json;

* doc: update contributing/template-widget.svelte;

* doc: update app.css (global);

* feat: add SEO-Box (widget);

* feat: add Widget-Title (widget);

* chore: update header (widget) debug-logs;

* feat: #1055 (stable) + (assets);

* feat: enhance session (stores);

* feat: decouple firebase (common) func (livescore);

* chore: update header (widget) debug-logs (cont);

* feat: #1055 (endpoint) to hasura on target date;

* feat: update dates (const);

* feat: #1055 (endpoint) to cache on target date(s);

* feat: page-level (home) update for fewer requests;

* chore: update betarena-types package imports;

* chore: update app.css (global);

* feat: update session-store for new reactive data;

* feat: update loaders

* feat: update responsivness for widget fixture row;

* feat: #1055 (cont) + (loader) + (components);

* feat/chore: update imports struct; fixes #1055;

* feat: #1055 (seo);

* chore: #1055 (cont) (title);

* chore: update debug-logs;

* chore: update debug-logs;

* feat: removed livescores-v1 (page-level);

* feat: #1055 (cont) - cal outlier case handle;

* feat: #1055 (cont) - validation checks + css;

* feat: #1055 (cont) - bet-tips-links;

* feat: #1055 (cont) - live status lib-use;

* feat: #1055 (cont) + dark + triggers + cal-mobile;

* chore: update use live @betarena/scores-lib npm;

* feat: #1055 (cont) minor-fix's

* fix: update bet-sites logos style;

* fix: unknown min value on live-fixtures;

* feat: add page-level livescroes listen on tab-chg;

* feat: first time request data for livescroes;

* chore: update @betarena/scores-lib packages;

* fix: added translations for calendar pop-up;

* feat: insert translations (cont);

* fix: update seo-box links #1055;

* feat: #1055 (endpoint) cache target leagues map;

* fix: (post-nuke) imports update;

* feat: update @[b]scores-lib package;

* fix: #1085 [mult];

* doc: template widget (update);

* chore: aesthetic (app.css);

* fix: #1085 [mult] (cont);

* fix: #1085 [mult] (cont);

* fix: #1085 [mult] (cont);

* fix: #1085 [mult] (cont);

* fix: #1085 [mult] (cont);

* chore: package.json (up); debug-logs (up);

* fix: #1085 [mult] (cont);

* fix: #1085 [mult] (cont);

* fix: #1085 [mult] (cont);

* fix: #1085 [mult] (cont);

* fix: #1085 [mult] (cont);

* fix: #1085 [mult] (cont);

* doc: settings.json (up); template.svelte (up);

* chore: clean league page code;

* fix: #1085 [mult] (cont);

* fix: #1096 [mult] (cont);

* fix: #1048;

* fix: #420;

* fix: #999;

* fix: #1010;

* fix: #1096;

* fix: #1097;

* fix: #1097;

* fix: #1097;

* chore: remove debug;

* fix: #1096;

* fix: #1096;

* fix: #1096;

* fix: #1096;

* fix: #1096;

* fix: #1096 (navbar) (up);

* fix: deepsource;

---------

Co-authored-by: omahs <[email protected]>

* Feature/issue 1063/migration to scores lib (#1119)

---------

Co-authored-by: omahs <[email protected]>
@jonsnowpt
Copy link
Contributor Author

This has been resolved.

@github-project-automation github-project-automation bot moved this from Backlog to Done in Betarena Scores Oct 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌟 [A] enhancement New feature or request 📣 [A] high priority Something that needs attention and accelerated resolving
Projects
Archived in project
Development

No branches or pull requests

2 participants