diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 00000000..823e4dfe --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,104 @@ +name: Bug Report +description: Report a bug or unexpected behavior in HyPrism +title: "[Bug]: " +labels: ["bug"] +body: + - type: markdown + attributes: + value: | + Thank you for taking the time to report a bug! + Please fill in as much information as possible so we can reproduce and fix the issue. + + - type: textarea + id: description + attributes: + label: Description + description: A clear and concise description of the bug. + placeholder: What happened? What did you expect to happen? + validations: + required: true + + - type: textarea + id: steps + attributes: + label: Steps to Reproduce + description: Step-by-step instructions to reproduce the behavior. + placeholder: | + 1. Go to '...' + 2. Click on '...' + 3. See error + validations: + required: true + + - type: textarea + id: expected + attributes: + label: Expected Behavior + description: What did you expect to happen? + validations: + required: true + + - type: textarea + id: actual + attributes: + label: Actual Behavior + description: What actually happened? + validations: + required: true + + - type: dropdown + id: os + attributes: + label: Operating System + options: + - Windows + - Linux + - macOS + validations: + required: true + + - type: input + id: os_version + attributes: + label: OS Version + placeholder: e.g. Windows 11 25H2, Ubuntu 24.04, macOS 15.0 + validations: + required: true + + - type: input + id: hyprism_version + attributes: + label: HyPrism Version + placeholder: e.g. v1.2.0 + validations: + required: true + + - type: dropdown + id: install_method + attributes: + label: Installation Method + options: + - Release build (downloaded from Releases) + - Flatpak + - Built from source + validations: + required: true + + - type: textarea + id: logs + attributes: + label: Logs / Stack Trace + description: Paste any relevant logs or error messages here. + render: text + + - type: textarea + id: screenshots + attributes: + label: Screenshots + description: If applicable, add screenshots to help explain the problem. + + - type: textarea + id: additional + attributes: + label: Additional Context + description: Any other context about the problem (hardware specs, network setup, etc.) diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000..b25d45c4 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,8 @@ +blank_issues_enabled: false +contact_links: + - name: Discord Community + url: https://discord.com/invite/ekZqTtynjp + about: For quick support and general discussion, join our Discord server + - name: Documentation + url: https://github.com/hyprismteam/HyPrism/tree/main/Docs + about: Check the docs before opening an issue — your answer might already be there diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 00000000..0d798fb0 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,55 @@ +name: Feature Request +description: Suggest a new feature or enhancement for HyPrism +title: "[Feature]: " +labels: ["enhancement"] +body: + - type: markdown + attributes: + value: | + Have an idea to improve HyPrism? We'd love to hear it! + Please describe your suggestion in as much detail as possible + + - type: textarea + id: problem + attributes: + label: Problem / Motivation + description: Is your feature request related to a problem? What are you trying to accomplish? + placeholder: I'm always frustrated when... / I wish HyPrism could... + validations: + required: true + + - type: textarea + id: solution + attributes: + label: Proposed Solution + description: Describe the feature or change you'd like to see + validations: + required: true + + - type: dropdown + id: area + attributes: + label: Area + description: Which part of HyPrism does this affect? + options: + - Launcher / Game Launch + - Mod Manager + - UI / Frontend + - Settings + - Flatpak / Linux packaging + - Build system + - Other + validations: + required: true + + - type: textarea + id: alternatives + attributes: + label: Alternatives Considered + description: Are there other ways to achieve the same result? Why is your approach better? + + - type: textarea + id: additional + attributes: + label: Additional Context + description: Any mockups, links, or extra context that might help diff --git a/.github/ISSUE_TEMPLATE/question.yml b/.github/ISSUE_TEMPLATE/question.yml new file mode 100644 index 00000000..897fe5eb --- /dev/null +++ b/.github/ISSUE_TEMPLATE/question.yml @@ -0,0 +1,40 @@ +name: Question / Support +description: Ask a question or get help with HyPrism +title: "[Question]: " +labels: ["question"] +body: + - type: markdown + attributes: + value: | + Before asking, please check the [documentation](https://github.com/hyprismteam/HyPrism/tree/main/Docs) + and existing issues. You can also join our [Discord](https://discord.com/invite/ekZqTtynjp) for faster support + + - type: textarea + id: question + attributes: + label: Your Question + description: What would you like to know or what are you having trouble with? + validations: + required: true + + - type: dropdown + id: os + attributes: + label: Operating System + options: + - Windows + - Linux + - macOS + - Not relevant + + - type: input + id: hyprism_version + attributes: + label: HyPrism Version + placeholder: e.g. v1.2.0 (or "built from source") + + - type: textarea + id: additional + attributes: + label: Additional Context + description: Any extra information that might help answer your question diff --git a/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md b/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md new file mode 100644 index 00000000..4f2f81e8 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md @@ -0,0 +1,45 @@ +## Summary + + + +## Type of Change + + + +- [ ] Bug fix +- [ ] New feature +- [ ] Enhancement / improvement +- [ ] Refactoring (no functional changes) +- [ ] Documentation update +- [ ] Build / CI changes +- [ ] Other: + +## Related Issues + + + +## Changes + + + +- + +## Testing + + + +- [ ] Tested on Windows +- [ ] Tested on Linux +- [ ] Tested on macOS +- [ ] Added / updated tests + +## Checklist + +- [ ] Code follows the project's style and conventions +- [ ] Self-reviewed the diff before submitting +- [ ] No unintended files are included (build artifacts, local configs, etc.) +- [ ] Documentation updated if needed + +## Screenshots / Recordings + + diff --git a/Docs/Russian/User/Installation.md b/Docs/Russian/User/Installation.md index b13e4c41..ca2c8c2d 100644 --- a/Docs/Russian/User/Installation.md +++ b/Docs/Russian/User/Installation.md @@ -14,7 +14,7 @@ ## Загрузка -Скачайте последний релиз со страницы [GitHub Releases](https://github.com/yyyumeniku/HyPrism/releases). +Скачайте последний релиз со страницы [GitHub Releases](https://github.com/hyprismteam/HyPrism/releases). ### Windows diff --git a/Frontend/src/components/modals/ErrorModal.tsx b/Frontend/src/components/modals/ErrorModal.tsx index 583ec478..dd677d61 100644 --- a/Frontend/src/components/modals/ErrorModal.tsx +++ b/Frontend/src/components/modals/ErrorModal.tsx @@ -56,7 +56,7 @@ export const ErrorModal: React.FC = ({ error, onClose }) => { ` ); - const url = `https://github.com/yyyumeniku/HyPrism/issues/new?title=${title}&body=${body}&labels=bug`; + const url = `https://github.com/hyprismteam/HyPrism/issues/new?title=${title}&body=${body}&labels=bug`; ipc.browser.open(url); }; diff --git a/Frontend/src/hooks/useOnboarding.ts b/Frontend/src/hooks/useOnboarding.ts index 51eb6316..d3b0ea93 100644 --- a/Frontend/src/hooks/useOnboarding.ts +++ b/Frontend/src/hooks/useOnboarding.ts @@ -301,7 +301,7 @@ export function useOnboarding(options: UseOnboardingOptions) { const loadContributors = useCallback(async () => { setIsLoadingContributors(true); try { - const response = await fetch('https://api.github.com/repos/yyyumeniku/HyPrism/contributors'); + const response = await fetch('https://api.github.com/repos/hyprismteam/HyPrism/contributors'); if (response.ok) { const data = await response.json(); setContributors(data); @@ -540,14 +540,14 @@ export function useOnboarding(options: UseOnboardingOptions) { // #region Social Links - const openGitHub = useCallback(() => openUrl('https://github.com/yyyumeniku/HyPrism'), []); + const openGitHub = useCallback(() => openUrl('https://github.com/hyprismteam/HyPrism'), []); const openDiscord = useCallback(async () => { const link = await GetDiscordLink(); openUrl(link); }, []); - const openBugReport = useCallback(() => openUrl('https://github.com/yyyumeniku/HyPrism/issues/new'), []); + const openBugReport = useCallback(() => openUrl('https://github.com/hyprismteam/HyPrism/issues/new'), []); // #endregion diff --git a/Frontend/src/pages/DashboardPage.tsx b/Frontend/src/pages/DashboardPage.tsx index 74bcf5b3..537aeda2 100644 --- a/Frontend/src/pages/DashboardPage.tsx +++ b/Frontend/src/pages/DashboardPage.tsx @@ -518,7 +518,7 @@ export const DashboardPage: React.FC = memo((props) => { ipc.browser.open('https://github.com/yyyumeniku/HyPrism')} + onClick={() => ipc.browser.open('https://github.com/hyprismteam/HyPrism')} className="rounded-xl" title={t('main.gitHubRepository')} > diff --git a/README.md b/README.md index 84676e23..46137225 100644 --- a/README.md +++ b/README.md @@ -2,9 +2,9 @@ *A multiplatform Hytale launcher with mod manager and more!* - [![Downloads](https://img.shields.io/github/downloads/yyyumeniku/HyPrism/total?style=flat&logo=github&label=Downloads&color=2d3748&logoWidth=20)](https://github.com/yyyumeniku/HyPrism/releases) - [![Build](https://img.shields.io/github/actions/workflow/status/yyyumeniku/HyPrism/build.yml?branch=main&style=flat&label=Build&logo=github&logoWidth=20)](https://github.com/yyyumeniku/HyPrism/actions/workflows/build.yml) - [![Website](https://img.shields.io/badge/Website-hyprism-207e5c?style=flat&logo=google-chrome&logoColor=white&logoWidth=20)](https://yyyumeniku.github.io/hyprism-site/) + [![Downloads](https://img.shields.io/github/downloads/hyprismteam/HyPrism/total?style=flat&logo=github&label=Downloads&color=2d3748&logoWidth=20)](https://github.com/hyprismteam/HyPrism/releases) + [![Build](https://img.shields.io/github/actions/workflow/status/hyprismteam/HyPrism/build.yml?branch=main&style=flat&label=Build&logo=github&logoWidth=20)](https://github.com/hyprismteam/HyPrism/actions/workflows/build.yml) + [![Website](https://img.shields.io/badge/Website-hyprism-207e5c?style=flat&logo=google-chrome&logoColor=white&logoWidth=20)](https://hyprismteam.github.io/hyprism-site/) [![GitLab](https://img.shields.io/badge/GitLab-yyyumeniku-FC6D26?style=flat&logo=gitlab&logoColor=white&logoWidth=20)](https://gitlab.com/yyyumeniku/HyPrism) [![Discord](https://img.shields.io/badge/Discord-Join-5865F2?style=flat&logo=discord&logoColor=white&logoWidth=20)](https://discord.com/invite/ekZqTtynjp) [![Buy Me a Coffee](https://img.shields.io/badge/Buy%20Me%20a%20Coffee-Support-FFDD00?style=flat&logo=buy-me-a-coffee&logoColor=black&logoWidth=20)](https://buymeacoffee.com/yyyumeniku) @@ -16,7 +16,7 @@ ## Installation -Downloads are available in [Releases](https://github.com/yyyumeniku/HyPrism/releases) +Downloads are available in [Releases](https://github.com/hyprismteam/HyPrism/releases) > We are also here! https://gitlab.com/yyyumeniku/HyPrism > @@ -31,7 +31,7 @@ Downloads are available in [Releases](https://github.com/yyyumeniku/HyPrism/rele **Build:** ```bash # Clone the repository -git clone https://github.com/yyyumeniku/HyPrism.git +git clone https://github.com/hyprismteam/HyPrism.git cd HyPrism # Build the project @@ -51,8 +51,8 @@ We provide a comprehensive glossary of the basic principles of operation and int Special thanks to **Sanasol** for maintaining and creating the [auth server](https://github.com/sanasol/hytale-auth-server) - - Contributors + + Contributors ## Legal Notice & Licenses diff --git a/Services/Core/App/UpdateService.cs b/Services/Core/App/UpdateService.cs index 34199766..bdca6d7f 100644 --- a/Services/Core/App/UpdateService.cs +++ b/Services/Core/App/UpdateService.cs @@ -1172,7 +1172,7 @@ public async Task WrapperInstallLatest() return false; } - var downloadUrl = $"https://github.com/yyyumeniku/HyPrism/releases/download/{latestVersion}/{assetName}"; + var downloadUrl = $"https://github.com/hyprismteam/HyPrism/releases/download/{latestVersion}/{assetName}"; var archivePath = Path.Combine(wrapperDir, assetName); // Download archive @@ -1284,7 +1284,7 @@ private async Task GetLatestLauncherVersionFromGitHub() { try { - var response = await _httpClient.GetStringAsync("https://api.github.com/repos/yyyumeniku/HyPrism/releases/latest"); + var response = await _httpClient.GetStringAsync("https://api.github.com/repos/hyprismteam/HyPrism/releases/latest"); var doc = JsonDocument.Parse(response); if (doc.RootElement.TryGetProperty("tag_name", out var tagName)) { diff --git a/Services/Core/Integration/NewsService.cs b/Services/Core/Integration/NewsService.cs index 48c026cc..b305d1a7 100644 --- a/Services/Core/Integration/NewsService.cs +++ b/Services/Core/Integration/NewsService.cs @@ -48,7 +48,7 @@ public NewsService(HttpClient httpClient) } } private const string HytaleNewsUrl = "https://hytale.com/news"; - private const string HyPrismReleasesUrl = "https://api.github.com/repos/yyyumeniku/HyPrism/releases"; + private const string HyPrismReleasesUrl = "https://api.github.com/repos/hyprismteam/HyPrism/releases"; // Cache for HyPrism news to avoid GitHub API rate limits private List? _hyprismNewsCache; @@ -302,7 +302,7 @@ private async Task> GetHyPrismNewsInternalAsync(int count { Title = $"HyPrism {title} release", Excerpt = excerpt, - Url = htmlUrl ?? "https://github.com/yyyumeniku/HyPrism/releases", + Url = htmlUrl ?? "https://github.com/hyprismteam/HyPrism/releases", Date = publishedAt ?? DateTime.Now.ToString("o"), Author = "HyPrism", ImageUrl = _appIconPath,