-
Notifications
You must be signed in to change notification settings - Fork 3k
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 feed
syntax key
#56855
Comments
Triggered auto assignment to @maddylewis ( |
@luacmartins - since you removed the |
Hello my name is Jakub and I work for SWM expert agency. I would like to work on this task, please assign me. |
📣 @JakubKorytko! 📣
|
@luacmartins, just to be sure, please let me know if my understanding is correct.
|
AFAIK this is correct. @mountiny to double check me
I believe that right now the behavior is if a user selects all cards on the feed, we select the feed itself. I think we want to keep this behavior. |
Just wanted to confirm an edge case related to:
In this scenario we will only save the specific card ids and not the feed - right? |
The fundID is equal to domainAccountID - so this works for both workspace and domain feeds. However, there might be a confusion here. Lets say you:
So in order to identify the correct feed of cards, I think we need to pass both, the This is the same for Domain; however, the user normally only has a single domain based on their email.
I feel like, for simplicity's sake, if the user goes and selects all the cards one by one, we should not change what the user selected. We should just select all the cardIDs and create the query that way, even if its at the time equal to the entire feed. If new card is added after that though, the search wont be the same - the user did not select the new card as it did not exist yet.
@Kicu I think that is right |
Just to be clear, the original post said that the UI should not be changed, and at the moment it works like this:
Example.movAnd of course this is only visual, because for the query there is always a list of cards by card ID. As for the domain-related stuff, unfortunately I have no knowledge of that, so I will let others address that. |
Yeah if its already working like that, dont change it.
it is important for the syntax. You will need to include both - workspaceAccountID and the feedName to uniquely identify the feed. |
Then let's agree that unique key for a feed, to be saved in the query (or onyx in some cases) will look something like this: |
That makes sense to me, but would wait for @luacmartins to confirm |
That works. So just to confirm, we'd send the following back to the API (following the example in the screenshots above)
Is that right? |
Let's just agree on a key structure and create a dedicated key that will be saved and send. and @luacmartins |
Good point, that's my bad, I've attached wrong screenshot of the structure, to clarify:
And because of that, we should indeed create a dedicated key, as there is a difference in
Correct. |
+1 to the onyx key structure |
Yea, let's use the Onyx key structure |
@luacmartins, @JakubKorytko Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
this is being worked on |
I'm still working on it, I'm very close to completely solving this issue, but I've found a related bug and I need to fix it in order for my solution to work. |
I gotta get started on the backend portion of this 😅 |
Problem
When users select a card feed, we currently select all cards in the feed and use the
card:
syntax key with those cardIDs. That's worked so far, but it creates an issue where saving this search will save a static list of cardIDs and won't reflect any cards added/removed from the feed.Why is this important?
Feature should handle a dynamic list of cards
Solution
Keep the UI the same, but use a
feed
syntax key in search that'll pass the fundID to the backendcc @SzymczakJ
The text was updated successfully, but these errors were encountered: