Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create GenerateShareURL functions in status-go #10851

Closed
Tracked by #12245
jrainville opened this issue May 29, 2023 · 1 comment
Closed
Tracked by #12245

Create GenerateShareURL functions in status-go #10851

jrainville opened this issue May 29, 2023 · 1 comment
Assignees
Labels
backend-team E:Desktop New Share URL Format Implementation of the new share URL link format and other deep link associated issues feature
Milestone

Comments

@jrainville
Copy link
Member

jrainville commented May 29, 2023

Description

The Web team came up with a new format for the share links.
We need to create a new status-go function/API to generate those.
We also need the function/API to "decrypt" them when we see them in a message.

The reason for it to be in status-go is so mobile can take advantage of them as well.

You can find the spec here: vacp2p/rfc#600

Discussion here: status-im/status-web#327

Acceptance Criteria

  • The status-go backend has one or multiple functions that can generate a "share url" for:
    • community /c/ (to open the community)
    • community channel /cc/ (to open a community channel in the community)
    • user /u/ (to open the 1-1 chat)
  • The status-go backend has a function to "decrypt" those URLs. 2 options:
    • Basic API that we pass the URL to and it gives us the link data as JSON
    • Better but more complex approach: detect those links in the messages when we handle the message and add the link data to the message object itself.
  • There is one or more tests in status-go for that API

Does not include any UI work or linking yet.

@MishkaRogachev
Copy link
Contributor

A few tails:
#11403
status-im/status-go#3713

@jrainville jrainville added the E:Desktop New Share URL Format Implementation of the new share URL link format and other deep link associated issues label Jul 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend-team E:Desktop New Share URL Format Implementation of the new share URL link format and other deep link associated issues feature
Projects
Archived in project
Development

No branches or pull requests

4 participants