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

Add starter pack view #107

Closed
thieflord06 opened this issue Nov 14, 2024 · 9 comments · Fixed by #263
Closed

Add starter pack view #107

thieflord06 opened this issue Nov 14, 2024 · 9 comments · Fixed by #263
Assignees
Labels
High priority Needs to be done ASAP new feature new functionality
Milestone

Comments

@thieflord06
Copy link
Member

thieflord06 commented Nov 14, 2024

Add a view to see starter packs.

APIs are now in the backend:

/api/v1/anon/starter-packs/
/api/v1/anon/starter-packs/total/
/api/v1/anon/single-starter-pack/
/api/v1/anon/single-starter-pack/total/

works similar to lists.

@thieflord06 thieflord06 added the enhancement New feature or request label Nov 14, 2024
@thieflord06 thieflord06 self-assigned this Nov 14, 2024
@noahm noahm added this to the Next UI Tasks milestone Nov 30, 2024
@noahm
Copy link
Collaborator

noahm commented Nov 30, 2024

like #29 this is also possibly several new tabs:

  • what starter packs is this user added to?
  • what starter packs has this user created? (less interesting, this is viewable in the official bluesky ui)

@noahm noahm added new feature new functionality and removed enhancement New feature or request labels Nov 30, 2024
@thieflord06 thieflord06 removed their assignment Nov 30, 2024
@thieflord06 thieflord06 changed the title Separate out starter pack lists from others Add starter pack view Dec 12, 2024
@thieflord06 thieflord06 added the High priority Needs to be done ASAP label Dec 12, 2024
@thieflord06
Copy link
Member Author

@seanmunson

@seanmunson
Copy link
Contributor

Can we state what each of these return ?
/api/v1/anon/starter-packs/

/api/v1/anon/single-starter-pack/

@thieflord06
Copy link
Member Author

/api/v1/anon/single-starter-pack/:
{
"data": {
"starter_packs": [
{
"created_date": "2024-11-30T17:38:32.327000+00:00",
"description": null,
"did": "did:plc:llxhlptjjlbkmctotjzjkdbi",
"name": "Tooma8 🇺🇦🏳️‍🌈's Starter Pack",
"url": "https://bsky.app/starter-pack/did:plc:llxhlptjjlbkmctotjzjkdbi/3lc6n6gdro42e"
}
]
},
"identity": "thieflord.dev",
"status": true
}

/api/v1/anon/starter-packs/:

{
"data": {
"starter_packs": [
{
"created_date": "2024-11-20T02:30:55.430000+00:00",
"description": null,
"did": "did:plc:rkbarw4n3ihivnwtidusdczz",
"name": "Paquete de inicio de Mr Snow",
"url": "https://bsky.app/starter-pack/did:plc:rkbarw4n3ihivnwtidusdczz/3lbdvsbw3gs2n"
}
]
},
"identity": "did:plc:rkbarw4n3ihivnwtidusdczz",
"status": true
}

@seanmunson
Copy link
Contributor

and how would you describe each of those endpoints Which is "Packs I started" vs "Packs in which I am a member" ?

@thieflord06
Copy link
Member Author

/api/v1/anon/single-starter-pack/: packs I'm on
/api/v1/anon/starter-packs/: packs I started

@thieflord06
Copy link
Member Author

@seanmunson Any updates on this?

@seanmunson
Copy link
Contributor

Took a break, updating now.

@seanmunson
Copy link
Contributor

end this PR to rebase on current dev branch

@thieflord06 thieflord06 linked a pull request Jan 23, 2025 that will close this issue
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
High priority Needs to be done ASAP new feature new functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants