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

98 navigation menus dont exist in the mobile layout #99

Merged
merged 38 commits into from
Jun 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
2307fd4
re organize scss files
Moros1138 Jun 15, 2024
1b7d41a
reorganize scss entries in vite config
Moros1138 Jun 15, 2024
c6779fb
remove the sponsor entry from the navbar
Moros1138 Jun 15, 2024
37465fe
add normalize.css
Moros1138 Jun 16, 2024
cb30dc6
darker dialog background
Moros1138 Jun 16, 2024
4d48678
fix share dialog in narrow viewports
Moros1138 Jun 16, 2024
5183d84
add youtube icon
Moros1138 Jun 16, 2024
d79ecca
reorganize styles
Moros1138 Jun 16, 2024
6c54045
supporters dialog should resolve
Moros1138 Jun 16, 2024
10d4c4d
reword to use less specific names for the dialogs, and remove after r…
Moros1138 Jun 16, 2024
4098b84
revamp scss to actually use scss features and make it easier to read
Moros1138 Jun 16, 2024
15f0db0
add mobile and settings dialogs
Moros1138 Jun 16, 2024
eb39e53
revamp navbar in html template
Moros1138 Jun 16, 2024
ae4bfc3
reorganize imports
Moros1138 Jun 16, 2024
8d7e4d2
return a promise from rendering function, remove click anywhere handl…
Moros1138 Jun 16, 2024
f2ec414
remove anywhere click handler, add close button to footer, use less s…
Moros1138 Jun 16, 2024
659a2aa
update share dialog, remove click anywhere, add footer, add close button
Moros1138 Jun 16, 2024
8a6d510
actually use scss in player panel
Moros1138 Jun 16, 2024
bcc4a02
actually use scss in editor panel
Moros1138 Jun 16, 2024
17324b9
actually use scss in console panel
Moros1138 Jun 16, 2024
2957ad1
actually use scss in compiler output panel
Moros1138 Jun 16, 2024
23f5198
add utility styles
Moros1138 Jun 16, 2024
87fcaa4
add margin to submenu items
Moros1138 Jun 17, 2024
878e944
toastify
Moros1138 Jun 17, 2024
b7192ce
refactor and add toasts
Moros1138 Jun 17, 2024
6e5a9fc
move settings toasts to the settings dialog
Moros1138 Jun 17, 2024
c4bd0f3
patreon functions whether a redis cache is available or not
Moros1138 Jun 17, 2024
a443780
compiler toasts only in portrait layout
Moros1138 Jun 17, 2024
51b39d7
add Javid Mode
Moros1138 Jun 17, 2024
80d54f0
switch setTheme to updateConfiguration
Moros1138 Jun 17, 2024
81112f3
add editor.inlayHints configuration to settings dialog
Moros1138 Jun 17, 2024
7079b11
update browser tests for ui changes
Moros1138 Jun 17, 2024
3d44eda
update changelog
Moros1138 Jun 17, 2024
dabf893
revamp screenshot fail graphic (Thanks Technic)
Moros1138 Jun 17, 2024
4601978
update changelog
Moros1138 Jun 17, 2024
a22d7f2
buttons no longer change colors based on theme
Moros1138 Jun 17, 2024
bca33bf
tweak light theme
Moros1138 Jun 17, 2024
2ecd8f4
update changelog
Moros1138 Jun 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,23 @@ All notable changes to this project will be documented in this file. Each batch

It is a summary of changes that would be pertinent to the end user of the PGEtinker website. For a comprehensive history of changes made to the project, please refer to the repository's commit history.

## 2024-06-17

- Fixed [Issue #98](https://github.com/Moros1138/PGEtinker/issues/98)
- Removed sponsor spot from navbar
- Added normalize.css
- Added link to Javid's youtube channel
- Changed navbar menu, made ready for mobile
- Added mobile menu
- Added settings dialog
- Changed dialog behavior, no more click anywhere!
- Added toast notifications
- Added Javid Mode to settings dialog
- Added editor.inlayHints to settings dialog
- Fixed browser tests, broke due to UI changes
- Changed screenshot fail graphic (Thanks TechnicJelle)
- Changed light theme, make dialogs easier on the eyes

## 2024-06-10

- Added language client automatic reconnect
Expand Down
28 changes: 21 additions & 7 deletions app/Http/Controllers/PatreonController.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,20 @@ function get_supporters(Request $request)
], 500);
}

$supporters = Redis::get("supporters");

if(isset($supporters))
try
{
$supporters = Redis::get("supporters");
if(isset($supporters))
{
$supporters = json_decode($supporters);
return $supporters;
}
}
catch(Exception $e)
{
$supporters = json_decode($supporters);
return $supporters;
Log::emergency("Patreon supporters cache failed. Redis");
}

return $this->getPatreonNames();
}

Expand Down Expand Up @@ -114,7 +120,15 @@ function getPatreonNames()
}

$supporters = ["supporters" => $supporters];
Redis::set("supporters", json_encode($supporters, JSON_PRETTY_PRINT));

try
{
Redis::set("supporters", json_encode($supporters, JSON_PRETTY_PRINT));
}
catch(Exception $e)
{
Log::emergency("failed to set supporters cache. Redis");
}

return $supporters;
}
Expand Down
38 changes: 31 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@
"monaco-editor": "npm:@codingame/monaco-vscode-editor-api@~5.1.1",
"monaco-editor-wrapper": "~5.1.1",
"monaco-languageclient": "~8.4.0",
"normalize-css": "^2.3.1",
"sass": "^1.75.0",
"toastify-js": "^1.12.0",
"typescript": "^5.4.5",
"vite": "^5.0",
"vscode": "npm:@codingame/monaco-vscode-api"
Expand Down
Loading