-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
feature: added new FavouriteWidget to display favorite files in dashboard widget #49534
base: master
Are you sure you want to change the base?
feature: added new FavouriteWidget to display favorite files in dashboard widget #49534
Conversation
09e1e7c
to
341e377
Compare
Looping in @jancborchardt for
This seems unintuitive since "no favorites" implies Or I misunderstand the description @yemkareems 😄 |
Following Andy's comment, I would actually say we show the last xx updated favorites (like 20 🤷 ) |
I agree that this would be a good approach. cc @jancborchardt |
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.
Following Andy's comment, I would actually say we show the last xx updated favorites (like 20 🤷 )
Sounds good to me as well!
Also 2 smaller things:
- The title should be "Favorite files" so it's clearer what it is. (Just like we say "Recommended files")
- The icon can be a favorite star to show a little difference
cc @yemkareems |
Irrespective of the limit the ui is showing only the latest 6. Hence removed the limit logic here and after 6 items, More favorites button is displayed which takes the user to file listing. |
Changed the title and icon. The icon star loads with a grey color color initially and then it changes to black. The SVG is black however. |
I think @nickvergessen fixed this a while ago for all icons until then, maybe you remember the PR @nickvergessen ? |
@yemkareems I would remove the circular masking, we don't have it in the files interface nor any other list in the dashboard except for avatars - see for reference in your screenshots: recommended files |
Yep agree, missed this somehow. Circular masking is only for avatars. File previews get a little border-radius and filetype icons should be displayed as is. |
I had to change the DashboardApp.vue to have :id=" |
25b513a
to
c6fdaca
Compare
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.
A small change to avoid computing one more node than necessary and helping with code readability, but otherwise all good.
909e9ee
to
9745aaa
Compare
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.
Looks good to me design-wise!
a0453bf
to
818f0b3
Compare
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.
Backend looks good, can't judge frontend
17b17c8
to
0d613b8
Compare
…in dashboard widget * Added widget star icon * run build/autoloaderchecker.sh * removed unwanted IWidget and usersession * renamed id * renamed class to FavoriteWidget * removed limit logic * removed IAPIWidget * ui fixes to remove rounded corners and make the ui/ux similar to recommendation widget. * cs fix + composer fix no dev and review comments from Joas and Côme addressed * added count and removed slice Signed-off-by: yemkareems <[email protected]> Co-authored-by: Ferdinand Thiessen <[email protected]> Co-authored-by: Kate <[email protected]>
Signed-off-by: Ferdinand Thiessen <[email protected]>
Signed-off-by: Ferdinand Thiessen <[email protected]>
0d613b8
to
6da691d
Compare
feature: added new FavouriteWidget to display favorite files in dashboard widget
added a new widget to display favorite files in dashboard and to show a link to more favorites to apps/files/favorites. if max count of favorites of 50 is reached then also 'No favorites' is displayed
First version:
fixes: #23308
Summary
TODO
Checklist