Skip to content

Commit

Permalink
Minor modifications to UI
Browse files Browse the repository at this point in the history
  • Loading branch information
KC-2001MS committed Aug 7, 2024
1 parent e8ad279 commit dbf3c56
Show file tree
Hide file tree
Showing 28 changed files with 731 additions and 38 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @KC-2001MS
71 changes: 71 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
name: Bug Report
description: Report a bug in the Sample Novel Game framework.
title: "[Bug]: "
labels: ["bug"]
body:
- type: markdown
attributes:
value: >
Thank you for submitting a bug report. This form is for bug reports only.
- type: input
id: summary
attributes:
label: Summary
description: Summarize the bug in one or two sentences.
validations:
required: true
- type: textarea
id: steps
attributes:
label: Reproduction Steps
description: Explain how you were able to get the bug.
validations:
required: true
- type: textarea
id: expected-results
attributes:
label: Expected Results
description: Enter the expected behavior.
validations:
required: true
- type: textarea
id: actual-results
attributes:
label: Actual Results
description: Enter the actual behavior.
validations:
required: true
- type: dropdown
id: operating-system
attributes:
label: What type of OS did the bug occur on?
multiple: true
options:
- iOS
- iPadOS
- macOS
- watchOS
- tvOS
- visionOS
- Other
validations:
required: true
- type: textarea
id: os-version
attributes:
label: Operating System Version
description: What is the version number of the OS on which the bug occurred?
validations:
required: true
- type: input
id: sng-version
attributes:
label: Sample Novel Game Version
description: Indicate which version of Sample Novel Game you are using.
validations:
required: true
- type: textarea
id: additional-context
attributes:
label: Additional Context
description: If you have any other information, screenshots, videos, etc. regarding this bug, please add them here.
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
blank_issues_enabled: true
59 changes: 59 additions & 0 deletions .github/ISSUE_TEMPLATE/documentation_issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: Documentation Issue
description: Report any problems or deficiencies in the documentation.
title: "[Documentation]: "
labels: ["documentation"]
body:
- type: markdown
attributes:
value: >
Thank you for submitting your documentation issue. This form is for documentation issues only.
- type: input
id: summary
attributes:
label: Summary
description: Summarize the issue in one or two sentences.
validations:
required: true
- type: textarea
id: description
attributes:
label: Description
description: Explain in detail what the issue is.
validations:
required: true
- type: dropdown
id: issue-type
attributes:
label: What type of issue is it?
multiple: true
options:
- Spelling
- Grammar
- Inconsistency
- Suggestion
- Error
- Contradiction
- Too much/Too Little
- Outdated
- Other
validations:
required: true
- type: input
id: sng-version
attributes:
label: Sample Novel Game Version
description: Indicate which version of Sample Novel Game you are using.
validations:
required: true
- type: input
id: doc-location
attributes:
label: Documentation Location
description: Describe the problem in a way that uniquely identifies the location where the problem occurred.
validations:
required: true
- type: textarea
id: additional-context
attributes:
label: Additional Context
description: Add any other context about the issue here.
40 changes: 40 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_enhancement.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Feature Enhancement
description: Propose extensions to existing Sample Novel Game functionality.
title: "[Feature Enhancement]: "
labels: ["enhancement"]
body:
- type: markdown
attributes:
value: >
Thank you for submitting your feature enhancement. This form is for feature enhancements only.
- type: input
id: summary
attributes:
label: Summary
description: Summarize the enchancement in one or two sentences.
- type: textarea
id: pain-points
attributes:
label: Pain points
description: Explain in detail what pain points you're trying to solve.
validations:
required: true
- type: textarea
id: alts
attributes:
label: Considered Alternatives
description: What alternative solutions did you consider and how did they fall short of your expectations?
- type: dropdown
id: is-enhancement-breaking-change
attributes:
label: Is this a break change or not?
options:
- 'Yes'
- 'No'
validations:
required: true
- type: textarea
id: additional-context
attributes:
label: Additional Context
description: Add any other context about the issue here.
45 changes: 45 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Feature Request
description: Propose the idea of Sample Novel Game.
title: "[Feature Request]: "
labels: ["new feature"]
body:
- type: markdown
attributes:
value: >
Thank you for submitting your feature request. This form is for feature requests only.
- type: input
id: summary
attributes:
label: Summary
description: Summarize the feature in one or two sentences.
- type: textarea
id: pain-points
attributes:
label: Pain points
description: Explain in detail what pain points you're trying to solve.
validations:
required: true
- type: textarea
id: alts
attributes:
label: Considered Alternatives
description: What alternative solutions did you consider and how did they fall short of your expectations?
- type: dropdown
id: is-feature-breaking-change
attributes:
label: Is this a break change or not?
options:
- 'Yes'
- 'No'
validations:
required: true
- type: textarea
id: library-examples
attributes:
label: Library Examples
description: Do you have a library with similar functionality to the one you have in mind? If so, please describe it here.
- type: textarea
id: additional-context
attributes:
label: Additional Context
description: Add any other context about the issue here.
23 changes: 23 additions & 0 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Format Swift files

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Lint
uses: mtgto/swift-format-action@main
with:
configuration_file: .swift-format
all_files: true
max_warnings: -1
19 changes: 19 additions & 0 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# This workflow will build a Swift project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift

name: Swift

on:
workflow_dispatch:

jobs:
build:

runs-on: macos-latest

steps:
- uses: actions/checkout@v4
- name: Build
run: swift build -v
- name: Run tests
run: swift test -v
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.DS_Store
/.build
/Packages
xcuserdata/
DerivedData/
.swiftpm/configuration/registries.json
.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
.netrc
.vscode
Loading

0 comments on commit dbf3c56

Please sign in to comment.