-
-
Notifications
You must be signed in to change notification settings - Fork 168
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
feat: add a way to quickly subscribe from search results #713
Conversation
769a3cc
to
19de46e
Compare
19de46e
to
d75baa2
Compare
I just went with the heart because that was the icon used for subscribe when log pressing a community. Open to suggestions from @aeharding |
I want it to be a heart as well. Just that it follows the same design language as the star(that is a empty translucent heart to denote not subscribed and a filled heart to indicate subscribed) for UI design consistency across the app |
@SrivatsanSenthilkumar I tried it with the same style as the star but it seems like its barely visible in dark mode: I've committed the changes to another branch for now: sharunkumar@ff1a9d6 if this is fine, ill merge it into the PR |
Hmmm true. It is barely visible in the dark mode. The star for favouriting has the same issue. Maybe there can be border (if possible the same colour as the accent colour) to improve legibility. Please ignore my horrendous drawing skill Edit : If this looks good maybe I will open an issue related to adding a border on the star as well. |
Both of them look great. I will open a poll on the voyager community to ascertain which design is preferred. Also you have my thanks man. You are doing great work here and it's people like you who drive the open source community forward |
yeah I had noticed 😅 I'll push the relevant changes to this PR |
@SrivatsanSenthilkumar @aeharding I could make a similar change to the star icon too: |
af356a4
to
bc125ee
Compare
Hey, thanks for the PR! So I'm just taking my initial review of this. Regarding the UI, I'd like to match what we do for coloring/filled state for the star UI on the existing communities list page. I think it would be good to keep this consistent - and this is the UI that Apollo has. (The greyed out stars also reduce noise in the UI) |
I haven't updated the stars in the UI, it was just a mock up using local dev changes. Should I change the hearts to be faded too? |
I can take a look shortly, but yeah! :) |
…ng press of community link
|
||
# fly.io | ||
fly.toml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you mean to include this fly.toml
exclusion?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to prevent myself from accidentally committing mine to this PR ;)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sharunkumar I removed the local state from the useCommunityActions file. Instead I use the redux source of truth. The reason why it wasn't working is the data received from the search API for the community list wasn't populating the redux store. Check it out and let me know what you think |
got it, I checked it in my local and it seems to be working as expected 👍 |
🚀 |
This is especially helpful when using the "Migrate Subreddits" feature
Other features in this PR:
useCommunityActions
(Color scheme in the screenshot is from #711)