Notify users about new content

thanks. How about “Favorites” I would like to restore that also.

This topic reminds me of this feature request :

Please support the request by voting for it.

2 Likes

It would be the same thing. A horizontal choice component and visibility on two inline lists.

1 Like

Still a bit confused Jeff…
I have setup two inline lists one for “Favorites” and one for “All”. So the choice component will be placed to a user specific text column. If user select favorites then it should go to list A (for example) and All go to list B. What action do I use to switch between the list? If-then-else?

You don’t need an action, you just set the visibility condition of each list based on the value of the User Specific column.

You’ll need to cater for the case where the User Specific column is empty (initial state), but you can use that to set a default view. So for example, let’s say you want “Favourites” as the default, set the visibility on that list to be where usc is empty OR usc is Favourites, and set the other one to be where usc is All

2 Likes

Understand now. Thanks

1 Like

I don’t. I’m still struggling. Maybe you can show me once you implemented it?

@ThinhDinh initially said I need to create a user specific column in my sheet (which is my staff sheet), so I set the “Is Favorited” to be user specific and added another column to write to, so I created a “Favorites” column in the same sheet and made it user specific as well (does it have to be boolean?). I then added a horizontal choice component to my two inline lists (one of them filtered by “Is Favorited is true” to show my selection). But instead of showing two options, the choice button tends to show four options, probably because I have two user specific columns? Do I have to set up a new sheet for this operation or get rid of one of the columns?

I played around with inline list visibilities as advised by @Jeff_Hager, but the maximum I can achieve with this setup is that one tab shows all staff entries while the second tab, which is supposed to show Favorites only, shows ALL staff members PLUS the Favorites, so it basically shows both inlines lists. I can’t turn off the regular list (ALL) with the non-favorite staff members. So apparently I’m doing something fundamentally wrong. :woozy_face:

Are you willing to share a copy of your app?
One of us could fix that quite quickly for you, I’d expect

1 Like

See if can make you a short video

Can’t share yet. It currently contains private data and it will remain a private app, but I’m planning to publish a copy with dummy data once done. I have to exchange the data, before I can share it. I’ll give myself another day to figure this out, but if I don’t succeed, I’ll happily accept your kind offer! :sweat_smile:

That would be great. Your last video helped me a lot, thank you!

Okay, so here is what you need to do:

  • In your Staff table, you need two User Specific columns
    • The first one should be a boolean, let’s call it Favourite. This is where the user favourites will be stored.
    • The second can be just text - your Choice component will write to this one. Let’s call this one selected
  • Somewhere in another sheet (anywhere), add a column with two rows: “All” and “Favourites”. These will be the source options for your choice component
  • In the staff details screen, add either a checkbox or switch component, and target it at the Favourite user specific column. Your users will use this to mark their favourites.
  • In the screen with your Inline lists, add the following:
    • Choice Component, using the All/Favourites as a source, and the user specific text column (selected) as the target
    • An Inline list to display all. This one should have a visibility condition: where selected is empty or selected is All
    • A second inline list to display the favourites. This one should have a visibility condition where selected is Favourites, AND should also have a filter applied where Favourite is true

That should get you what you need, I think?

5 Likes

Thanks a lot for this detailed tutorial! Still encountering problems, though…

  1. My choice button doesn’t display ALL & FAVORITES, instead it shows — & FAVORITES. If I add a headline to the row, it will display three items: —, ALL & FAVORITES.

  2. When marking a person as a favorite (by clicking the heart icon in the detail screen, which is linked to my boolean “Is Favorited”-column) it ticks off the box in the column, but there are no changes in the Selected column, which remains empty. Sometimes, after clicking several buttons, I find that suddenly there might be a TRUE entry, but it’s usually not on the row of the marked person, but in the row of the person who made the selection (in this case my own).

  3. List ALL displays as planned, list of FAVORITES remains empty, although I marked an entry.

  4. I can no longer click/visit the detail screens of the staff members and my choice button is frozen. :see_no_evil:

When setting the visibility for the lists, do I have to choose User Profile > Selected or simply Selected?

Actually, all of my lists in the app are frozen now. Replacing them or rebooting the app doesn’t fix it. Not sure what happened. I can open lists in other apps, only mine is frozen. :frowning:

To get rid of the dash (-) option, all you need to do is make the choice component required.

As to the rest of it, I’m not exactly sure what you done - can you share a couple of screen shots that show how you have things configured?

Thank you, button looks good now! :slight_smile:

As for the rest, the entire app is frozen now. I can still click tabs, but all the lists, buttons incl. undo are frozen.

I noticed I had previously added “Favorite is true” as a visibility condition instead of a filter. I changed it when I noticed my mistake, but I cannot check if it works, because everything’s frozen now.

This is the choice button
ALL staff list options
SELECTION list options
This sheet is called ChoiceFave.
This is the user specific boolean column in the Staff sheet that is connected to the heart in the detail screen.
And this is the second user specific (text) column that the choice is supposed to write to.

When setting the visibility I used “User Profile > Selected”, let me know if I need to change it to a simple Selected without the User Profile.

I need to go for a walk now, otherwise my head is going to explode. :exploding_head: Will get back to this in a bit.
Thank you so much for your help!

Here’s the general setup.

That “or” condition doesn’t look right. I think it should be “or selected is All”

Other than that, I can’t see anything obviously wrong with the screenshots you shared.

Is this a details screen using your Staff table as a base, or?

Thank you, changed it. And yes, I converted them into detail screens after someone explained to me that I couldn’t use Rich Text CSS on a regular screen.

Apparently, I had accidentally clicked on Select Mode, that’s why my app was frozen. Feeling silly now. :see_no_evil:

Now FAVORITES shows the Favorites as planned, but ALL remains empty. :thinking: