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

[APP-657] Add share list functionality #863

Merged
merged 17 commits into from
Jun 26, 2023

Conversation

ansh
Copy link
Contributor

@ansh ansh commented Jun 8, 2023

  • Consolidate list actions into a component
  • Fix styling on web
  • Refactor and clean up dead code/styles
  • Add button to share list
  • Setup embed view for shared list (currently BLOCKED) no longer blocked, thanks @dholms

To test, make sure you are on the ansh/list-embed branch from atproto

@ansh ansh added the blocked Waiting on a separate issue to finish label Jun 13, 2023
@ansh ansh requested a review from pfrazee June 22, 2023 00:28
@ansh ansh marked this pull request as ready for review June 22, 2023 00:28
@ansh ansh removed the blocked Waiting on a separate issue to finish label Jun 22, 2023
@ansh ansh marked this pull request as draft June 22, 2023 18:54
@ansh ansh marked this pull request as ready for review June 22, 2023 19:11
Copy link
Collaborator

@pfrazee pfrazee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay this is great. Good stuff

@@ -97,6 +97,10 @@ export class ListModel {
return this.list?.creator.did === this.rootStore.me.did
}

get isSubscribed() {
return this.list?.viewer?.muted
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this supposed to be .muted ?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh it might be, right. Just double check me on this.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah for some reason it’s called muted in the lexicon but what it’s really trying to tell us if the user is subscribed to the list or not. the other code also treats it as "subscribed" and puts it in a variable within the components so this getter follows convention.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah I think the logic is "this list is muted". Cool

@pfrazee pfrazee merged commit b9abd44 into main Jun 26, 2023
@pfrazee pfrazee deleted the ansh/app-657-add-share-list-functionality branch June 26, 2023 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants