-
Notifications
You must be signed in to change notification settings - Fork 289
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
[UI] Public adventures view #4757
Conversation
- separate ts functions - more options; hide empty filters, links, info - more info to db; more data=power
I love the tile UI @hasan-sh, looks very good! |
Fair enough! We will think about a redesign of this page for the future and keep it in mind!
Oooowwww, good thinking!! We could add |
INDEED! For instance, a card that has some info icon when clicked, it would show more info (in a modal) and/or direct to different places; same for classes! |
Yess sure! Shall i add it as a filter? or just sort adventures by how many times they're cloned in the backend? |
Let's for now just put it as info on the tiles? We can do more if we have thought about it a bit more :) |
I agree!
Ah I see. I understand the model now but I am not sure that makes sense for a user. Maybe we should have a modal that says: adventure cloned, do you want to go to edit? And then yes brings you to the edit page and no brings you back to search (closes the modal).
Ok, never mind my comments about the bin then. Indeed, there could be a button with more options (later) |
@@ -585,6 +585,9 @@ def batch_get_adventures(self, adventure_ids): | |||
keys = {id: {"id": id} for id in adventure_ids} | |||
return ADVENTURES.batch_get(keys) if keys else {} | |||
|
|||
def get_public_adventures(self): |
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.
Let's not forget to add this table to prod and alpha when this gets deployed
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.
This is the adventures table which exists on prod, right? Or does that have to be changed when we change its schema? Because I did include a new index to the table!
Hi! Just left a few comments regarding the code :D I like the way this is looking so far. Great idea! |
Hello, @hasan-sh! As we agreed upon during the meeting, for this PR to move forward, we first need to change the existing design of the Explore Programs' cards. Also we need a button here to flag submissions to the admin, for moderation purposes. |
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.
We decided to merge this to main and use the styles for replacing the old styles!
@hasan-sh Can you solve the conflicts 🙏 ? |
Thank you for contributing! Your pull request is now going on the merge train (choo choo! Do not click update from main anymore, and be sure to allow changes to be pushed to your fork). |
@hasan-sh Do you know why so many Cypress tests are failing in this PR? A bunch of stuff that doesn't even has to do with your changes, so maybe there was an error when merging? |
Yeah hopefully the new Cypress Cloud access will help us to figure out what is going on! |
Thank you for contributing! Your pull request is now going on the merge train (choo choo! Do not click update from main anymore, and be sure to allow changes to be pushed to your fork). |
Thank you for contributing! Your pull request is now going on the merge train (choo choo! Do not click update from main anymore, and be sure to allow changes to be pushed to your fork). |
Fixes #4604
Info
Features and Todo