Skip to content

Commit e4f9fbb

Browse files
committed
feat: header style, page suspense, tailwindcss v4
- Feature: - Add header open/close on scroll. - Added sclae for search bar. - Added loading suspense for all pages. - Added some animation on hover. - Change pagination to round style. - Fix: - Fix bunch minor bugs. - Fix font displaying issue #112. - Chore: - Packages updated. - Tailwindcss v4 migration. - Remove unused css. - Update ISSUE_TEMPLATE and PULL_REQUEST_TEMPLATE. - Change dependabot to monthly update.
1 parent f5a23e8 commit e4f9fbb

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+2370
-2944
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

+83
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
name: 🐞 Bug Report
2+
description: Report a bug to help us improve the project
3+
title: '[Bug]: '
4+
labels: [bug, needs-triage]
5+
assignees:
6+
- asica
7+
body:
8+
- type: markdown
9+
attributes:
10+
value: |
11+
**Before submitting, please check if the bug has already been reported.**
12+
Provide as much detail as possible to help us reproduce the issue.
13+
14+
- type: textarea
15+
id: description
16+
attributes:
17+
label: 🐛 Bug Description
18+
description: Describe the bug in detail.
19+
placeholder: A clear and concise description of what the bug is.
20+
validations:
21+
required: true
22+
23+
- type: textarea
24+
id: reproduction_steps
25+
attributes:
26+
label: 🔄 Steps to Reproduce
27+
description: Provide step-by-step instructions to reproduce the bug.
28+
placeholder: |
29+
1. Go to '...'
30+
2. Click on '...'
31+
3. Scroll down to '...'
32+
4. See the error
33+
validations:
34+
required: true
35+
36+
- type: textarea
37+
id: expected_behavior
38+
attributes:
39+
label: ✅ Expected Behavior
40+
description: What should happen instead?
41+
placeholder: Describe what you expected to happen.
42+
validations:
43+
required: true
44+
45+
- type: textarea
46+
id: actual_behavior
47+
attributes:
48+
label: ❌ Actual Behavior
49+
description: What actually happens?
50+
placeholder: Describe what is currently happening.
51+
validations:
52+
required: true
53+
54+
- type: dropdown
55+
id: environment
56+
attributes:
57+
label: 🌍 Environment
58+
description: Where did the bug occur?
59+
options:
60+
- Production
61+
- Development
62+
- Local Machine
63+
- Other
64+
validations:
65+
required: true
66+
67+
- type: textarea
68+
id: additional_context
69+
attributes:
70+
label: '📄 Additional Context & Logs'
71+
description: 'Add screenshots, logs, or any other relevant information.'
72+
placeholder: You can paste logs here.
73+
74+
- type: checkboxes
75+
id: confirmation
76+
attributes:
77+
label: 📝 Confirmation
78+
description: 'Before submitting, please check the following:'
79+
options:
80+
- label: I have searched for existing issues.
81+
required: true
82+
- label: I have provided all necessary details.
83+
required: true
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: 📦 Dependency Update Request
2+
description: 'Request to update, add, or remove dependencies'
3+
labels: [dependencies]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
## 📦 Dependency Update Request
9+
Need a package update? Fill in the details below.
10+
11+
- type: textarea
12+
id: dependency-reason
13+
attributes:
14+
label: 🔍 Why is this update needed?
15+
description: Explain why this dependency needs an update.
16+
placeholder: 'Security fix, new feature, etc.'
17+
18+
- type: dropdown
19+
id: update-type
20+
attributes:
21+
label: 📊 Type of Update
22+
description: Choose what kind of update this is.
23+
options:
24+
- Bug fix
25+
- Security update
26+
- Performance improvement
27+
- New feature
28+
- Other
29+
30+
- type: textarea
31+
id: dependency-table
32+
attributes:
33+
label: 📜 Dependency Changes
34+
description: List all dependencies that need updating.
35+
placeholder: |
36+
| Dependency | Old Version | New Version |
37+
|------------|------------|------------|
38+
| Next.js | 14.2.3 | 15.1.6 |
39+
| React | 18.3.1 | 19.0.0 |
40+
| Tailwind | 3.4.3 | 4.0.1 |
41+
42+
- type: checkboxes
43+
id: risk-assessment
44+
attributes:
45+
label: ⚠️ Risk Assessment
46+
options:
47+
- label: Tested for breaking changes
48+
- label: Checked compatibility with existing code
49+
- label: Security vulnerabilities reviewed
+53
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
name: ✨ Feature Request
2+
description: Suggest a new feature or improvement
3+
title: '[Feature]: '
4+
labels: [enhancement]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: Thank you for suggesting an improvement! 🚀 Please fill out the following details.
9+
10+
- type: textarea
11+
id: feature_description
12+
attributes:
13+
label: 💡 Feature Description
14+
description: Describe the new feature or improvement.
15+
placeholder: What problem does this feature solve?
16+
validations:
17+
required: true
18+
19+
- type: textarea
20+
id: use_case
21+
attributes:
22+
label: 📌 Use Case
23+
description: How would this feature be used? Provide an example.
24+
placeholder: 'Example: As a user, I want to...'
25+
validations:
26+
required: true
27+
28+
- type: dropdown
29+
id: priority
30+
attributes:
31+
label: 🚀 Priority Level
32+
description: How important is this feature?
33+
options:
34+
- Low - Nice to have
35+
- Medium - Important but not urgent
36+
- High - Critical for functionality
37+
validations:
38+
required: true
39+
40+
- type: textarea
41+
id: alternatives
42+
attributes:
43+
label: 🔄 Alternatives Considered
44+
description: Have you considered any alternative solutions?
45+
placeholder: Describe any alternative features or workarounds.
46+
47+
- type: checkboxes
48+
id: confirmation
49+
attributes:
50+
label: ✔ Checklist
51+
options:
52+
- label: I have checked that this feature does not already exist.
53+
required: true

.github/ISSUE_TEMPLATE/🐛-bug-report.md

-39
This file was deleted.

.github/ISSUE_TEMPLATE/💡-feature-request.md

-19
This file was deleted.

.github/ISSUE_TEMPLATE/🔄-refactor-Improvement.md

-19
This file was deleted.

.github/PULL_REQUEST_TEMPLATE.md

+104-17
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,111 @@
1-
## Description
1+
## ✨ Feature Request
22

3-
Provide a concise summary of the changes, the motivation behind them, and a link to any relevant issues.
3+
### 📌 Description
44

5-
## Type of Change
5+
<!-- Clearly describe the feature you have added or updated. -->
6+
<!-- Explain why this feature is necessary. -->
67

7-
Select all options that apply to this pull request:
8+
### 🔍 Changes
89

9-
- [ ] 🐛 Bug fix
10-
- [ ] ✨ New feature
11-
- [ ] 🛠 Code refactor
12-
- [ ] ⚠️ Breaking change
13-
- [ ] 🎨 Style update
14-
- [ ] 📚 Documentation update
10+
- [ ] New component or page
11+
- [ ] API update
12+
- [ ] UI/UX improvement
13+
- [ ] Other: ...
1514

16-
## Checklist
15+
### Checklist
1716

18-
Before submitting, please confirm the following:
17+
- [ ] Code follows project coding style.
18+
- [ ] Tested in a Next.js environment.
19+
- [ ] Relevant documentation is updated.
1920

20-
- [ ] I have performed a self-review of my code.
21-
- [ ] The main changes are limited to single files, ideally within 200 lines.
22-
- [ ] Clear and concise comments have been added where necessary.
23-
- [ ] My changes do not introduce any new warnings or errors in the codebase.
24-
- [ ] Any dependencies have been updated in `package.json` and documented.
21+
### 📸 Screenshots (if applicable)
22+
23+
<!-- Attach screenshots or GIFs here -->
24+
25+
### 💬 Additional Notes
26+
27+
<!-- Add any extra context -->
28+
29+
---
30+
31+
## 🐛 Bug Fix
32+
33+
### 📌 Description
34+
35+
<!-- Describe the bug and how you fixed it. -->
36+
<!-- Include related issue references, e.g., "Closes #123". -->
37+
38+
### 🛠 Changes
39+
40+
- [ ] Fixed issue: ...
41+
- [ ] Improved error handling
42+
- [ ] Performance fix
43+
- [ ] Other: ...
44+
45+
### ✅ Checklist
46+
47+
- [ ] Bug has been reproduced and verified.
48+
- [ ] Fix does not introduce new issues.
49+
- [ ] Added necessary tests.
50+
51+
### 📝 Steps to Reproduce (before fix)
52+
53+
<!-- Provide steps for reproducing the original issue -->
54+
55+
### 📸 Screenshots (if applicable)
56+
57+
<!-- Attach screenshots showing the fix -->
58+
59+
### 💬 Additional Notes
60+
61+
<!-- Add any extra context -->
62+
63+
---
64+
65+
## 🛠 Code Refactor
66+
67+
### 📌 Description
68+
69+
<!-- Describe the refactor and why it was needed. -->
70+
71+
### 🔄 Changes
72+
73+
- [ ] Code optimization
74+
- [ ] Improve maintainability
75+
- [ ] Remove unnecessary code
76+
- [ ] Other: ...
77+
78+
### ✅ Checklist
79+
80+
- [ ] No breaking changes introduced.
81+
- [ ] Performance improvement validated.
82+
- [ ] Documentation updated if necessary.
83+
84+
### 💬 Additional Notes
85+
86+
<!-- Add any extra context -->
87+
88+
---
89+
90+
## 📦 Dependency Update
91+
92+
### 📌 Description
93+
94+
<!-- Describe why this dependency update is needed. -->
95+
96+
### 📜 Dependency Changes
97+
98+
| Dependency Name | Old Version | New Version | Reason |
99+
| --------------- | ----------- | ----------- | ---------------------------------- |
100+
| Next.js | 14.2.3 | 15.1.6 | Upgrade to latest stable version |
101+
| React | 18.3.1 | 19.0.0 | Required for Next.js compatibility |
102+
| Tailwind CSS | 3.4.3 | 4.0.1 | Performance improvements |
103+
104+
### ✅ Checklist
105+
106+
- [ ] Verified functionality after update.
107+
- [ ] Checked for security vulnerabilities using `npm audit` / `pnpm audit`.
108+
109+
### 💬 Additional Notes
110+
111+
<!-- Add any extra context -->

0 commit comments

Comments
 (0)