FormPlayground: "Source" points at a file that does not exist (ListControlsPlayground.swift)

Open Beginner friendly
#129 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
92/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
swift
Domain
mobile-dev

Research direction

Open Sources/Showcase/FormPlayground.swift around line 137 and inspect the toolbar's PlaygroundSourceLink call. Change the referenced filename to FormPlayground.swift, then verify that the Form and Redacted › Form toolbar links open the existing file instead of a GitHub 404.

Written by the indexing model from the issue text.

Description

Where: Form › toolbar "Source" (also reached from Redacted › Form, which pushes the same view) —
FormPlayground.swift#L137

Steps to reproduce

  1. Open Showcase › Form (or Showcase › Redacted › Form).
  2. Tap "Source" in the toolbar.

Expected: FormPlayground.swift opens.
Actual: the browser loads .../Sources/Showcase/ListControlsPlayground.swift, which is not in the repository, so the page is a GitHub 404.

Cause: PlaygroundSourceLink(file: "ListControlsPlayground.swift").

Suggested fix: PlaygroundSourceLink(file: "FormPlayground.swift").

Dominant language
Swift
Stars
44
Forks
19
Avg merge
6h 27m
Merged PRs (30d)
2

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from skiptools/skipapp-showcase

All issues in skiptools/skipapp-showcase

Similar issues

More Swift issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.