Comments (3)
1. https://github.com/owncloud/owncloud-design-system/blob/master/src/templates/Files.vue#L258-L261
I was missing this part ... let me retry this .... still not convinced in my vue comfort zone ;-)
from owncloud-design-system.
-
actions for the file are passed in the event like in https://github.com/owncloud/owncloud-design-system/blob/master/src/patterns/OcFileActions.vue#L173 and in https://github.com/owncloud/owncloud-design-system/blob/master/src/templates/Files.vue#L258-L261
While that works as designed the parameter payload should probably not be calledfile
. Maybe stich withpayload, as it contains a
fileobject and an
actions` array. -
toggling via a bound variable creates a coupling between the file actions and the template it is being used on. using events is less coupled, IMO. If we want the file actions to be triggered from anywhere in the UI doing that via a shared state requires more work than by using the global event system.
-
file name is passed in via the event as well.
it might make sense to pull all this from the store. @felixheidecke mentioned something like that ... but it was a little outside my vue comfort zone.
from owncloud-design-system.
works - no need to change anything -> closing
from owncloud-design-system.
Related Issues (20)
- Update component Avatars' status/stati
- SVG: Add Font Awesome attribution
- Give primary button the new gradient style HOT 1
- Checkboxes lack focus border HOT 5
- OcBreadcrumb broken on mobile HOT 1
- Sorting can't be focused/used via keyboard
- Settings in files view: The menu is too far away from the gear icon HOT 1
- Headers in align-right columns are different from other cells HOT 2
- [OcSelect] Background is not completely invisible
- Unreadable text on disabled OcTextArea when using dark mode
- Generated avatar contains special chars
- Missing icons for external applications HOT 5
- ocTable: strange column header alignment when sortable HOT 1
- Text color of buttons and avatars in hovered table rows has a bad contrast in light mode
- Nested ocDrop: both parent and child drop get hidden on show
- Group avatar width is shrinking for long group names in the sidebar
- Typo in repo labels HOT 2
- OcNotificationMessage impovements suggestions HOT 2
- ocSearchBar: add filters possibility
- Future of this repo? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from owncloud-design-system.