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

feat: add history #29

Merged
merged 1 commit into from
Oct 17, 2024
Merged

feat: add history #29

merged 1 commit into from
Oct 17, 2024

Conversation

abolkog
Copy link
Owner

@abolkog abolkog commented Oct 17, 2024

Update the app to keep code history

This PR:

  • Add code history to keep the last N executions
  • Bump bootstrap version from 4 to 5
  • Persist theme selection in local storage
  • Introduce Modal component

Update the app to keep code history

This PR:
- Add code history to keep the last N executions
- Bump bootstrap version from 4 to 5
- Persist theme selection in local storage
- Introduce Modal component
Copy link

Coverage report

St.
Category Percentage Covered / Total
🟡 Statements
69.91% (+4.18% 🔼)
230/329
🔴 Branches
55.17% (-0.93% 🔻)
32/58
🟡 Functions
64.56% (+1.22% 🔼)
51/79
🟡 Lines
69.12% (+4.21% 🔼)
188/272
Show new covered files 🐣
St.
File Statements Branches Functions Lines
🟢
... / index.tsx
100% 100% 100% 100%
🟢
... / HistoryModal.tsx
86.67% 66.67% 75% 83.33%
🟢
... / index.tsx
100% 100% 100% 100%
🟢
... / Modal.tsx
88.89% 0% 100% 100%
Show files with reduced coverage 🔻
St.
File Statements Branches Functions Lines
🟢 context/Reducer.ts
94.44% (-2.11% 🔻)
83.33% (-7.58% 🔻)
100%
93.94% (-2.21% 🔻)
🟢 services/storage.ts
82.76% (-17.24% 🔻)
66.67% (-33.33% 🔻)
57.14% (-42.86% 🔻)
85.71% (-14.29% 🔻)
🟡
... / AppContext.tsx
57.89% (+7.89% 🔼)
66.67% (-33.33% 🔻)
25% (+25% 🔼)
66.67% (+6.67% 🔼)
🟢
... / Header.tsx
96.3% (-3.7% 🔻)
50%
90% (-10% 🔻)
95.83% (-4.17% 🔻)

Test suite run success

35 tests passing in 10 suites.

Report generated by 🧪jest coverage report action from c0137a0

@abolkog abolkog merged commit 9ef3367 into master Oct 17, 2024
3 checks passed
@abolkog abolkog deleted the feat/code-history branch October 17, 2024 23:15
abolkog pushed a commit that referenced this pull request Oct 17, 2024
# [3.2.0](v3.1.2...v3.2.0) (2024-10-17)

### Features

* add history ([#29](#29)) ([9ef3367](9ef3367))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant