ProxymanApp / ProxymanApp/Proxyman

[iOS] Show menu context on JSON TreeView

Open
#1,463 0 comments 0 reactions 1 assignee View on GitHub

@8bitzz is already working on this.

Since Dec 12, 2022.

enhancement iOS
Dominant language
No language data
Stars
7k
Forks
237
PR merge metrics
No merged PRs in 30d

Description

Description

Currently, we could not copy the key & value of a JSON Object (in the JSON Tree View).

When tapping on the Object, it expands the sub-tree nodes.

Why this feature/change is important?

  • Able to copy the key or value

Acceptance Criteria

  • Implement the Menu Context when long pressing on the row

  • Show the "Copy Key" and "Copy Value" menu item

  • Copy Key => Copy the current key to the clipboard -> Haptic feedback & Show "Copied to clipboard!" Hub (See the Detail JSON Key Node Controller)

  • Copy Value => Copy value of the object -> Haptic feedback

  • If the value of a selected node is a JSON Object / Array -> Copy this JSON Object as a string

  • Otherwise, copy the string value

Contributor guide

No contributing guide indexed for this repository

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.