mirror of https://github.com/jetkvm/kvm.git
Compare commits
4 Commits
a3aa086e3c
...
938a94fcba
| Author | SHA1 | Date |
|---|---|---|
|
|
938a94fcba | |
|
|
01891e8aee | |
|
|
74e64f69a7 | |
|
|
eb68c0ea5f |
|
|
@ -0,0 +1,9 @@
|
|||
Fixes #<issue-number>
|
||||
|
||||
### Summary
|
||||
- What changed and why in 1–3 sentences.
|
||||
|
||||
### Checklist
|
||||
- [ ] Linked to issue(s) above by issue number (e.g. `Closes #<issue-number>`)
|
||||
- [ ] One problem per PR (no unrelated changes)
|
||||
- [ ] Lints pass; CI green
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
Closes #<issue-number>
|
||||
|
||||
### Summary
|
||||
|
||||
- What and why in 1–3 sentences.
|
||||
|
||||
### UI Changes
|
||||
|
||||
- Add before/after images or a short clip.
|
||||
|
||||
### Checklist
|
||||
|
||||
- [ ] Linked to issue(s) above by issue number (e.g. `Closes #<issue-number>`)
|
||||
- [ ] One problem per PR (no unrelated changes)
|
||||
- [ ] Lints pass; CI green
|
||||
- [ ] Tricky parts are commented in code
|
||||
- [ ] Backward compatible with existing device firmware (See `DEVELOPMENT.md` for details)
|
||||
|
|
@ -0,0 +1,100 @@
|
|||
name: Close stale issues and PRs (dry-run)
|
||||
on:
|
||||
schedule:
|
||||
- cron: '30 1 * * *' # Runs daily at 01:30 UTC
|
||||
workflow_dispatch: # Allow manual runs from the Actions tab
|
||||
|
||||
permissions:
|
||||
issues: write
|
||||
pull-requests: write
|
||||
|
||||
jobs:
|
||||
stale:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/stale@v10
|
||||
with:
|
||||
# ──────────────────────────────────────────────────────────────────────
|
||||
# OVERVIEW — HOW THIS WORKS
|
||||
# 1) The job scans issues/PRs once per run.
|
||||
# 2) If an item has had no activity for `days-before-stale`, it’s labeled `Stale`
|
||||
# and receives the relevant “stale” comment.
|
||||
# 3) If there’s still no activity for `days-before-close` AFTER being marked
|
||||
# stale, the item is closed and receives a closing comment.
|
||||
# 4) Any new activity (comment, label change, commit, edit) clears `Stale`
|
||||
# and resets the timers if `remove-stale-when-updated` is true.
|
||||
# ──────────────────────────────────────────────────────────────────────
|
||||
|
||||
# ── TIMING / BEHAVIOR ────────────────────────────────────────────────
|
||||
# Number of idle days before applying the `Stale` label + stale comment.
|
||||
days-before-stale: 60
|
||||
|
||||
# Number of days AFTER staling with no activity before auto-closing.
|
||||
# (Measured from when `Stale` was added.) Set to -1 to never auto-close.
|
||||
days-before-close: 14
|
||||
|
||||
# If someone comments/updates, automatically remove `Stale` and reset timers.
|
||||
remove-stale-when-updated: true
|
||||
|
||||
# Don’t nag draft PRs; they are explicitly a work-in-progress stage.
|
||||
exempt-draft-pr: true
|
||||
|
||||
# Fetch ordering when scanning items. `updated` helps focus on the most recently touched.
|
||||
sort-by: updated
|
||||
|
||||
# ── MESSAGES (markdown) ──────────────────────────────────────────────
|
||||
stale-issue-message: |
|
||||
**This issue has been inactive for 60 days and is now marked as stale.**
|
||||
|
||||
To keep the tracker focused, older inactive issues are flagged.
|
||||
|
||||
If this still applies:
|
||||
- Add a comment with **reproduction steps**, **environment details**, and **JetKVM version**.
|
||||
- Verify whether it still occurs with the current build: see [OTA / Updates](https://jetkvm.com/docs/advanced-usage/ota-updates).
|
||||
- Any new comment or update will remove the *Stale* label automatically.
|
||||
|
||||
Issues not updated within 14 days after being marked stale may be closed.
|
||||
|
||||
stale-pr-message: |
|
||||
**This pull request has been inactive for 60 days and is now marked as stale.**
|
||||
|
||||
To continue:
|
||||
- Push a commit or add a comment about next steps — this removes the *Stale* label automatically.
|
||||
- Ensure the changes work with the current build: see [OTA / Updates](https://jetkvm.com/docs/advanced-usage/ota-updates).
|
||||
- If this is blocked or awaiting review, mention that for visibility.
|
||||
|
||||
PRs not updated within 14 days after being marked stale may be closed.
|
||||
|
||||
close-issue-message: |
|
||||
**Closing this issue due to extended inactivity.**
|
||||
|
||||
It has been 14 days since it was marked as stale without further updates.
|
||||
|
||||
If the problem persists:
|
||||
- Reopen this issue, or open a new one with **reproduction steps**, **logs**, **environment**, and **JetKVM version**.
|
||||
- Confirm behavior with the current build: [OTA / Updates](https://jetkvm.com/docs/advanced-usage/ota-updates).
|
||||
|
||||
close-pr-message: |
|
||||
**Closing this pull request due to extended inactivity.**
|
||||
|
||||
It has been 14 days since it was marked as stale with no updates or commits.
|
||||
|
||||
If the changes are still relevant:
|
||||
- Reopen this PR or submit a refreshed PR rebased on the latest code.
|
||||
- Confirm that it builds and works with the current build: [OTA / Updates](https://jetkvm.com/docs/advanced-usage/ota-updates).
|
||||
|
||||
# ── SAFETY / ROLLOUT ────────────────────────────────────────────────
|
||||
# DRY-RUN: log what would happen, but do NOT write labels/comments/close.
|
||||
debug-only: true
|
||||
|
||||
# Print a summary of how many items were staled/closed (or would be, in dry-run).
|
||||
enable-statistics: true
|
||||
|
||||
# Limit GitHub API operations per run (gentle start for large repos).
|
||||
# Increase later (e.g., 200–1000) once you’re confident with behavior.
|
||||
operations-per-run: 50
|
||||
|
||||
# ── LABELS ───────────────────────────────────────────────────────────
|
||||
# Names of the labels applied when staling items. Defaults shown for clarity.
|
||||
stale-issue-label: 'Stale'
|
||||
stale-pr-label: 'Stale'
|
||||
|
|
@ -6,6 +6,7 @@
|
|||
[Discord](https://jetkvm.com/discord) | [Website](https://jetkvm.com) | [Issues](https://github.com/jetkvm/cloud-api/issues) | [Docs](https://jetkvm.com/docs)
|
||||
[](https://twitter.com/jetkvm)
|
||||
[](https://goreportcard.com/report/github.com/jetkvm/kvm)
|
||||
|
||||
</div>
|
||||
|
||||
Welcome to JetKVM development! This guide will help you get started quickly, whether you're fixing bugs, adding features, or just exploring the codebase.
|
||||
|
|
@ -455,8 +456,8 @@ The translations are extracted into language files (e.g. _en.json_ for English)
|
|||
|
||||
```tsx
|
||||
<SettingsPageHeader
|
||||
title={m.extensions_atx_power_control()}
|
||||
description={m.extensions_atx_power_control_description()}
|
||||
title={m.extensions_atx_power_control()}
|
||||
description={m.extensions_atx_power_control_description()}
|
||||
/>
|
||||
```
|
||||
|
||||
|
|
@ -492,7 +493,7 @@ If you enable the [Sherlock](https://inlang.com/m/r7kp499g/app-inlang-ideExtensi
|
|||
4. Save the _en.json_ file and execute `npm run i18n` to resort the language files, validate the translations, and create the m-functions
|
||||
5. Edit the _.tsx_ file and replace the string with the new m-function which will be the key-string you chose in snake-case. For example `This is a test` in _thing edit page_ turns into `m.thing_edit_this_is_a_test()`
|
||||
- **Note** if the string has a replacement token, supply that to the m-function, for example `m.profile_your_name({ name: edit.value })`
|
||||
6. When all your strings are extracted, run `npm run i18n:machine-translate` to get a first-stab at the translations for the other supported languages.
|
||||
6. When all your strings are extracted, run `npm run i18n:machine-translate` to get a first-stab at the translations for the other supported languages. Make sure you use an LLM or [translator](https://translate.google.com) of some form to back-translate each **new** machine-generation in each _langauge_ to ensure those terms translate reasonably.
|
||||
|
||||
### Adding a new language
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue