-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* docs: add more about OpenSeries & change banner url (#58) * feat: change navbar design to stacked on mobile screen & add breadcrumbs (#59) * fix: navbar dropdown background color * feat: stacked navbar * feat: control sidebar visibility with global state * feat: close button for sidebar * feat: breadcrumbs for stacked navbar * chore: lint codebase * chore: add codeowners (#60) * feat: add navbar sidebar overlay & remove unnecessary nav links (#61) * chore: change naming convention (#62) * chore: add sort import prettier (#63) * chore: update eslint config (#64) * chore: add eslint reccomended config * chore: add rules to eslint * feat: automate sidebar links (#65) * fix: komunitas not found (#66) * feat: create changelog page (#67) * feat: create changelog page * fix: bun.lockb version * fix: svg animation too heavy (#68) * fix: svg animation too heavy * fix: minor sode style css * add: meta keywords, applicationName, creator, openGraph image (#69) * add: meta keywords, applicationName, creator, openGraph image * fix: change meta title * fix: metadataBase url (#71) * docs: improvisasi kata dan layout untuk README.md dan CONTRIBUTING.md (#70) * add: menambahkan file LICENSE dan banner OpenSeries * docs: improvisasi kata dan layout pada README.md dan CONTRIBUTING.md * docs: membenarkan pengarahan link yg salah & kata yg tidak konsisten * fix: refactor css (pengtailwind-an masal cuy) (#72) * chore: add postbuild for sitemap (#73) * chore: add markdownlint (#74) * chore: add markdownlint * chore: fix pre-commit config * chore: update pr-build.yaml (#76) * chore: update pr-build.yaml * chore: refactor pr-build.yaml * chore: fix eof pr-build.yaml * chore: fix unknown flag * chore: update body comment * chore: rename build workflow * chore: update build workflow (#78) * chore: update build workflow * chore: fix conditional binary operator expected * docs: sengaja disalahin * chore: fix bun not found * fix: sengaja dibenerin * chore: update CONTRIBUTING.md (#79) * chore: create issue template (#81) * chore: create pull request template & update issue template (#82) * chore: remove unused file * fix: minor changelog button in light mode --------- Co-authored-by: Ashtrath <ashtrath@pm.me>
- Loading branch information
Showing
94 changed files
with
1,106 additions
and
912 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,12 @@ | ||
{ | ||
"extends": ["next/core-web-vitals", "plugin:prettier/recommended"] | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"next/core-web-vitals", | ||
"plugin:prettier/recommended" | ||
], | ||
"rules": { | ||
"no-unused-vars": "off", | ||
"@typescript-eslint/no-unused-vars": ["error"] | ||
} | ||
} |
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* @slowy07 @abnvlf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
--- | ||
name: Bug report | ||
about: Buat laporan untuk membantu kami memperbaiki | ||
title: "[BUG] " | ||
labels: bug | ||
assignees: abnvlf | ||
--- | ||
|
||
## Deskripsikan Bug | ||
|
||
<!-- Deskripsi yang jelas dan ringkas tentang apa yang menjadi bug. --> | ||
|
||
## Untuk Reproduce Issue | ||
|
||
<!-- Langkah-langkah untuk reproduce issue: | ||
1. Buka '...' | ||
2. Klik pada '....' | ||
3. Gulir ke bawah ke '....' | ||
4. Lihat kesalahan --> | ||
|
||
## Perilaku yang Diharapkan | ||
|
||
<!-- Deskripsi yang jelas dan ringkas tentang apa yang seharusnya terjadi. --> | ||
|
||
## Tangkapan Layar | ||
|
||
<!-- Jika relevan, tambahkan tangkapan layar untuk membantu menjelaskan masalah Anda. --> | ||
|
||
## Desktop (tolong lengkapi informasi berikut) | ||
|
||
- OS: [contoh: iOS] | ||
- Browser [contoh: chrome, safari] | ||
- Versi [contoh: 22] | ||
|
||
## Smartphone (tolong lengkapi informasi berikut) | ||
|
||
- Perangkat: [contoh: iPhone6] | ||
- OS: [contoh: iOS8.1] | ||
- Browser [contoh: browser bawaan, safari] | ||
- Versi [contoh: 22] | ||
|
||
## Konteks Tambahan | ||
|
||
Tambahkan konteks tambahan tentang masalah di sini. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
name: Contribute Request | ||
about: "Ajukan ide untuk berkontribusi proyek ini " | ||
title: "[CONTRIBUTE] " | ||
labels: enhancement | ||
assignees: "" | ||
--- | ||
|
||
## Deskripsi Perubahan | ||
|
||
<!-- Tulis deskripsi yang jelas dan rinci tentang perubahan atau penambahan yang ingin Anda ajukan. Jika memungkinkan, sertakan alasan atau kebutuhan untuk perubahan tersebut. --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
name: Feature request | ||
about: Ajukan ide untuk proyek ini | ||
title: "[REQUEST] " | ||
labels: enhancement | ||
assignees: abnvlf | ||
--- | ||
|
||
## Apakah permintaan fitur Anda terkait dengan masalah? Silakan deskripsikan | ||
|
||
<!-- Deskripsi yang jelas dan ringkas tentang masalah yang Anda alami. Contoh: Saya selalu frustrasi ketika [...] --> | ||
|
||
## Deskripsikan solusi yang Anda inginkan | ||
|
||
<!-- Deskripsi yang jelas dan ringkas tentang apa yang Anda inginkan terjadi. --> | ||
|
||
## Deskripsikan alternatif yang telah Anda pertimbangkan | ||
|
||
<!-- Deskripsi yang jelas dan ringkas tentang solusi atau fitur alternatif yang telah Anda pertimbangkan. --> | ||
|
||
## Konteks Tambahan | ||
|
||
<!-- Tambahkan konteks atau tangkapan layar tambahan mengenai permintaan fitur di sini. --> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Penambahan / Perubahan / Perbaikan Fitur [Nama Fitur] | ||
|
||
## Deskripsi | ||
|
||
<!-- Deskripsikan tentang perubahan yang kamu berikan. --> | ||
|
||
## Screenshot Hasil Perubahan | ||
|
||
<!-- Sceenshot hasil perubahan yang kamu berikan. --> | ||
|
||
## Checklist | ||
|
||
<!-- Kontribusimu harus sesuai dengan checklist dibawah --> | ||
|
||
### Contributor Requirements (Syarat Kontributor) dan Lain-Lain | ||
|
||
- [ ] Saya sudah membaca [CONTRIBUTING](https://github.com/bellshade/OpenSeries/blob/main/CONTRIBUTING.md) dan sudah menyetujui semua syarat. | ||
- [ ] Saya menggunakan bahasa Indonesia untuk memberikan penjelasan dari kode yang saya buat. | ||
|
||
### Formatting dan Linting | ||
|
||
<!-- Tandai yang sesuai dengan perubahamnu --> | ||
|
||
- [ ] prettier | ||
- [ ] eslint | ||
- [ ] markdownlint | ||
|
||
## Environment | ||
|
||
Saya menggunakan: | ||
|
||
<!-- Ganti sesuai yang digunakan. --> | ||
|
||
- `os` = `linux / windows / macOS` | ||
- `bun` = `cek menggunakan bun -v` | ||
|
||
<!-- Harap gunakan bun versi terbaru --> | ||
|
||
<!-- Jika ada gagal pada salah satu test, kami akan mengeceknya kembali. --> | ||
|
||
linked issue #NOMOR_ISSUE <!--contoh #1--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
name: Build OpenSeries Web | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- develop | ||
- main | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Bun | ||
uses: oven-sh/setup-bun@v1 | ||
with: | ||
bun-version: latest | ||
|
||
- name: Build Next.js | ||
run: | | ||
bun install --frozen-lockfile | ||
bun lint | ||
bun run build | ||
- name: Check Build Status | ||
run: | | ||
if [ $? -eq 0 ]; then | ||
echo "Build successful" | ||
else | ||
echo "Build failed. Exiting..." | ||
exit 1 | ||
fi | ||
comment: | ||
needs: build | ||
runs-on: ubuntu-latest | ||
if: always() | ||
steps: | ||
- name: Comment on Pull Request | ||
env: | ||
GH_TOKEN: ${{ secrets.WF_TOKEN }} | ||
PR: ${{ github.event.pull_request.html_url }} | ||
run: | | ||
LAST_COMMIT_SHA="${{ github.event.pull_request.head.sha }}" | ||
if [ ${{ needs.build.result }} == 'success' ]; then | ||
BUILD_STATUS="Berhasil🩵" | ||
LABEL="ready to review" | ||
SUCCESS_MESSAGE="Mohon untuk menunggu para Maintainer mereview kodemu🎉!" | ||
REMOVAL_LABEL="invalid" | ||
else | ||
BUILD_STATUS="Gagal💔" | ||
LABEL="invalid" | ||
SUCCESS_MESSAGE="Sepertinya ada kesalahan dalam kode yang menyebabkan kegagalan build. Coba jalankan \`bun run build\` di localmu. Silahkan perbaiki terlebih dahulu😼!" | ||
REMOVAL_LABEL="ready to review" | ||
fi | ||
COMMENT_BODY=$(cat <<EOF | ||
## Building Website OpenSeries😍 | ||
Build untuk pull request ini $BUILD_STATUS. $SUCCESS_MESSAGE | ||
| Commit | Status | | ||
|-------------|-----------| | ||
| $LAST_COMMIT_SHA | $BUILD_STATUS | | ||
EOF | ||
) | ||
gh pr edit $PR --add-label "$LABEL" | ||
gh pr edit $PR --remove-label "$REMOVAL_LABEL" | ||
gh pr comment $PR --body "$COMMENT_BODY" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,3 +39,6 @@ next-env.d.ts | |
|
||
/OpenSeries | ||
/testing | ||
|
||
public/robots.txt | ||
public/sitemap* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"default": true, | ||
"no-inline-html": false, | ||
"blanks-around-fences": false, | ||
"blanks-around-headings": false, | ||
"blanks-around-lists": false, | ||
"code-fence-style": false, | ||
"emphasis-style": false, | ||
"heading-start-left": false, | ||
"hr-style": false, | ||
"line-length": false, | ||
"list-indent": false, | ||
"list-marker-space": false, | ||
"no-blanks-blockquote": false, | ||
"no-hard-tabs": false, | ||
"no-missing-space-atx": false, | ||
"no-missing-space-closed-atx": false, | ||
"no-multiple-blanks": false, | ||
"no-multiple-space-atx": false, | ||
"no-multiple-space-blockquote": false, | ||
"no-multiple-space-closed-atx": false, | ||
"no-trailing-spaces": false, | ||
"ol-prefix": false, | ||
"strong-style": false, | ||
"ul-indent": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
{ | ||
"printWidth": 120, | ||
"trailingComma": "none", | ||
"plugins": ["prettier-plugin-tailwindcss"] | ||
"importOrderSeparation": true, | ||
"importOrderSortSpecifiers": true, | ||
"importOrderCaseInsensitive": true, | ||
"importOrderParserPlugins": ["typescript", "jsx", "mdx"], | ||
"importOrder": ["^@/constants/(.*)$", "^@/stores/(.*)$", "^@/utils/(.*)$", "^@/components/(.*)$", "^[./]"], | ||
"plugins": ["@trivago/prettier-plugin-sort-imports", "prettier-plugin-tailwindcss"] | ||
} |
Oops, something went wrong.