Releases: owncloud/file-picker
0.12.0
Changes in 0.12.0
Summary
- Bugfix - Clear state when unauthorized: #211
- Bugfix - Reduce requests on token renewal: #211
- Bugfix - Use bearerToken prop when set: #218
- Enhancement - Rename select action label in resource picker: #194
- Enhancement - Token event: #205
- Enhancement - Use refresh token on init: #213
- Enhancement - Drop UIkit from examples: #219
- Enhancement - Bring back shadowRoot: #222
- Enhancement - Use Inter font: #222
Details
-
Bugfix - Clear state when unauthorized: #211
The filepicker now reacts to
401
responses by resetting the internal authentication state
tounauthorized
, forcing the user to log in again. This situation can happen when an access
token that's not expired, yet, was invalidated server side (e.g. through a backchannel logout
or session inactivity) and would previously lead to a broken application state. -
Bugfix - Reduce requests on token renewal: #211
We've fixed a bug that caused always re-fetching the logged in user and the server capabilities
on token renewal under certain circumstances. Now the logged in user and the server
capabilities are only fetched once after successful authentication. -
Bugfix - Use bearerToken prop when set: #218
We've fixed a bug causing the
bearerToken
prop not being used when it is passed to the File
picker. It will no longer try to get the token from the authentication instance and trigger an
error blocking the load of the File picker. -
Enhancement - Rename select action label in resource picker: #194
We've renamed the label of the select action (previously "Select resource") to "Choose". This
label is only visible when the File picker is set to type "resource". -
Enhancement - Token event: #205
We're emitting a
token
event with the current access token whenever the access token gets
updated internally. -
Enhancement - Use refresh token on init: #213
We've added a silent token renewal attempt during filepicker initialization. This way the
user doesn't need to log in again if there still is a valid refresh token in the local storage. -
Enhancement - Drop UIkit from examples: #219
We've dropped the last imports of UIkit inside of oCIS and oC examples. UIkit will no longer be
imported anymore. -
Enhancement - Bring back shadowRoot: #222
We've brought back the
shadowRoot
functionality of custom elements to encapsulate the
styles inside of it. This will now prevent any leak of the styles to the parent document. -
Enhancement - Use Inter font: #222
We've added the Inter font into the File picker bundle so that it can be imported by the app. This
aligns the File picker with ownCloud Web. The font is imported automatically. Developers need
to only make sure that the font is available at path/fonts/inter.css
and
/fonts/inter.ttf
0.11.0
Changes in 0.11.0
Summary
- Bugfix - Update dependencies: #86
- Bugfix - Authentication fixes: #92
- Enhancement - Spaces support: #194
Details
-
Bugfix - Update dependencies: #86
We've updated some of this project's dependencies.
-
Bugfix - Authentication fixes: #92
We've fixed a bug causing the file-picker becoming stuck on the loading spinner when the access
token is already expired. -
Enhancement - Spaces support: #194
We've brought support for the "Spaces" feature of ownCloud Infinite Scale to the file picker.
0.10.0
Changes in 0.10.0
Summary
- Enhancement - Focus last breadcrumb item: #79
Details
-
Enhancement - Focus last breadcrumb item: #79
We've added focus management so that the last breadcrumb item will be focused after a folder has
been loaded. By default, this focus management is disabled on the first load when opening the
file picker. To enable it also during the first load, set propisInitialFocusEnabled
to
true
.
0.9.0
0.8.0
Changes in 0.8.0
Summary
- Bugfix - Current breadcrumb item shouldn't be interactable: #64
- Bugfix - Emit location as an array: #71
- Enhancement - Emit current folder in "folderLoaded" event: #71
- Enhancement - Add memory storage option: #67
Details
-
Bugfix - Current breadcrumb item shouldn't be interactable: #64
We've fixed the last item in the breadcrumb which is equal to the current folder so that it is not
interactable anymore. -
Bugfix - Emit location as an array: #71
When loading new folder in Location picker, we are emitting an "update" with the current route
as an argument. We've fixed that the argument has type array now so that it is consistent with all
other arguments returned in the "update" event. -
Enhancement - Emit current folder in "folderLoaded" event: #71
We've added event called "folderLoaded" that is emitted every time a loading of any folder has
ended. It is emitting the current folder as an argument. -
Enhancement - Add memory storage option: #67
We've added an option to store the Bearer token in memory storage instead of session storage.
0.7.0
0.6.0
Changes in 0.6.0
Summary
Details
-
Bugfix - Decode path: #69
We've started decoding the path to the resource so that loading folders when using breadcumbs
navigation can work properly. -
Enhancement - Update ODS to 7.2.0: #65
We've updated ODS to version 7.2.0. This version brings fix for a wrong selected background css
custom property.#65
https://github.com/owncloud/owncloud-design-system/releases/tag/v7.2.0
0.5.0
Changes in 0.5.0
Summary
- Change - Remove focus management: #61
- Enhancement - Add a prop to hide the select button: #60
- Enhancement - Always emit event when a resource is selected: #60
- Enhancement - Emit event when clicking the select button: #60
Details
-
Change - Remove focus management: #61
We've removed the initial focus management and shift the responsibility to the consuming app.
-
Enhancement - Add a prop to hide the select button: #60
We've added a new prop
isSelectBtnDisplayed
which can be used to hiding the select button. -
Enhancement - Always emit event when a resource is selected: #60
We've started emitting
update
event every time a resource or location is selected or
deselected. -
Enhancement - Emit event when clicking the select button: #60
We've started emitting
select
event when the select button is clicked.
0.4.0
Changes in 0.4.0
Summary
- Bugfix - Do not propagate click event on checkbox: #53
- Bugfix - Emit current folder: #42
- Enhancement - Add accessible location select: #54
- Enhancement - Improve resource name and info readability: #55
- Enhancement - Add initial focus: #44
- Enhancement - Build File picker as a library: #32
- Enhancement - Make it possible to select folder via keyboard: #51
- Enhancement - Add translations: #49
- Enhancement - Update ODS to 6.2.0: #36
Details
-
Bugfix - Do not propagate click event on checkbox: #53
When clicking on the checkbox to select a resource, it hasn't been selected because a click on
the row would have been caught as well which would reset the selection again. We've fixed this
issue by not propagating the click event on checkbox to the parent. -
Bugfix - Emit current folder: #42
When selecting the current folder in the location picker, an empty array has been emitted.
We've fixed this by emitting the current folder. -
Enhancement - Add accessible location select: #54
We've added a hidden button that becomes visible only when focused via keyboard navigation to
ensure it is possible to select a location also when using a screen reader only. -
Enhancement - Improve resource name and info readability: #55
We've added paragraph elements for resource name and info so that the readability is improved
when using screen readers. -
Enhancement - Add initial focus: #44
We've added an initial focus so that when the File picker is mounted, it immediately becomes
focused. -
Enhancement - Build File picker as a library: #32
We've added a build script which creates a library bundle with the File picker. This bundle can
be directly imported during build time into any Vuejs app. -
Enhancement - Make it possible to select folder via keyboard: #51
We've made the table row in the File picker focusable and the selection of folder in location
picker triggerable by hitting enter. -
Enhancement - Add translations: #49
We've added vue-gettext library to add support for translations.
-
Enhancement - Update ODS to 6.2.0: #36
We've updated ODS to version 6.2.0. This version brings new components that we used to make the
location picker an actual table of resources.#36
https://github.com/owncloud/owncloud-design-system/releases/tag/v6.2.0
0.3.0
Changes in 0.3.0
Summary
- Enhancement - Cancelling the file picker: #29
- Enhancement - Allow string as configObject attribute: #27
- Enhancement - Select button label: #29
Details
-
Enhancement - Cancelling the file picker: #29
We added two options for emitting a
cancel
event from the file picker: - pressing ESC on the
keyboard while the file picker is focussed - clicking the newCancel
button which appears in
the top bar as soon as acancelBtnLabel
is provided -
Enhancement - Allow string as configObject attribute: #27
The property/attribute "configObject" is now allowed to be a string. We'll parse it as JSON.
-
Enhancement - Select button label: #29
It is now possible to provide a dedicated label overriding the default Select button label.