The-CodingSloth / haha-funny-leetcode-extension

MIT License
392 stars 75 forks source link

feat: Added 'hyper torture' mode #93

Closed bukomp closed 8 months ago

bukomp commented 8 months ago

Squashed commit of the following: fix: fixed storage added hyper torture condition for the fail modal window Added separate streak funtionality for hyper torture mode added image and popup modal with haha funny image Merge branch 'main' into hyper_torture changed index popup for hyperTorture mode added hyperTorture streak saving/updating hyper torture mode redirect logic done Added hypertorture mode messages and UI elements

Closes #89

Update Summary

Table of Contents


Files Updated

File Name Description
background.ts Additional functions from storage imported; added "Hyper Torture Mode" and handling for failed submissions.
FailImage.tsx New File. Manages image display based on specific conditions.
SettingDrawer.tsx Updated to support the new "Hyper Torture Mode"; introduction of new variables.
FailedModal.tsx New File. Manages modal display for failed problems.
modal.css Added new CSS rules specifically for "FailedModal".
popup.tsx Updated to include "Hyper Torture Mode" component and adapt to various problem statuses.
storage.ts Several structural and functional changes. Explained in the In-Depth Explanation for storage.ts.
styles.css Updated styles for #solved-message, #unsolved-message, and added #hyperTorture-message.

Reasons for Changes Across All Files

background.ts

FailImage.tsx

SettingDrawer.tsx

FailedModal.tsx

modal.css

popup.tsx

storage.ts

styles.css

The-CodingSloth commented 8 months ago

Now this is a PR. This is amazing. all these new functionalities and refinements are well done. I really appreciate the summary LOL.