text
stringlengths
1
2.83M
id
stringlengths
16
152
metadata
dict
__index_level_0__
int64
0
949
Change: Remove UiKit The ownCloud design system has dropped the underlying UiKit library, which we've also removed from the web codebase to reduce the overall bundle size. https://github.com/owncloud/web/issues/6103 https://github.com/owncloud/web/pull/6213
owncloud/web/changelog/5.0.0_2022-02-14/change-remove-uikit/0
{ "file_path": "owncloud/web/changelog/5.0.0_2022-02-14/change-remove-uikit", "repo_id": "owncloud", "token_count": 75 }
593
Enhancement: Redesign appswitcher We've redesigned the appswitcher to follow the new design and highlight the currently used app. https://github.com/owncloud/web/issues/6102 https://github.com/owncloud/web/pull/6349
owncloud/web/changelog/5.0.0_2022-02-14/enhancement-redesign-app-switcher/0
{ "file_path": "owncloud/web/changelog/5.0.0_2022-02-14/enhancement-redesign-app-switcher", "repo_id": "owncloud", "token_count": 65 }
594
Bugfix: No selection info right sidebar We fixed that the right sidebar was not showing the "no selection" info panel anymore in the root of "All files". In addition we also use the same "no selection" info panel now in the root nodes of public links. https://github.com/owncloud/web/issues/6502 https://github.com/owncloud/web/issues/6182 https://github.com/owncloud/web/pull/6505
owncloud/web/changelog/5.2.0_2022-03-03/bugfix-right-sidebar-no-selection/0
{ "file_path": "owncloud/web/changelog/5.2.0_2022-03-03/bugfix-right-sidebar-no-selection", "repo_id": "owncloud", "token_count": 107 }
595
Bugfix: Remove iFrame border We fixed a UI issue which showed small borders around iFrames, e.g. in the external app. https://github.com/owncloud/web/issues/6555 https://github.com/owncloud/web/pull/6573
owncloud/web/changelog/5.3.0_2022-03-23/bugfix-iframe-border/0
{ "file_path": "owncloud/web/changelog/5.3.0_2022-03-23/bugfix-iframe-border", "repo_id": "owncloud", "token_count": 65 }
596
Enhancement: Improve resource loading within spaces We've improved the loading of resources within a space. This enhances performance and overall stability within spaces. * The loading task will determine if a space needs to be fetched or not. Route changes within a space do not require the space the be fetched again. This also ensures that the space image and readme won't be fetched when navigating into subfolders. * The space now gets set at the end of the loading task. This ensures that the space task has finished as soon as the image and readme get loaded. https://github.com/owncloud/web/pull/6601
owncloud/web/changelog/5.3.0_2022-03-23/enhancement-improve-space-resource-loading/0
{ "file_path": "owncloud/web/changelog/5.3.0_2022-03-23/enhancement-improve-space-resource-loading", "repo_id": "owncloud", "token_count": 140 }
597
Enhancement: Implement the spaces permission concept We've implemented the spaces permission concept and improved the code structure for further permission changes. https://github.com/owncloud/web/pull/6531
owncloud/web/changelog/5.3.0_2022-03-23/enhancement-spaces-permissions/0
{ "file_path": "owncloud/web/changelog/5.3.0_2022-03-23/enhancement-spaces-permissions", "repo_id": "owncloud", "token_count": 46 }
598
Enhancement: Full screen external apps It allows, for example, presentation apps to enter full screen. https://github.com/owncloud/web/pull/6688
owncloud/web/changelog/5.4.0_2022-04-11/enhancement-full-scree-apps/0
{ "file_path": "owncloud/web/changelog/5.4.0_2022-04-11/enhancement-full-scree-apps", "repo_id": "owncloud", "token_count": 41 }
599
Enhancement: Text Editor Replace MarkdownEditor with Text Editor and add the following improvements: * Disable preview for non md files (configurable) * Data integrity checks (prevent exiting with unsaved changes) * Better error information to the user * Keyboard shortcut to save * Read-only mode * Fix to open on non-authenticated public links * Open other extensions (js, json, xml, py, php, yaml) * UI polish https://github.com/owncloud/web/pull/6667 https://github.com/owncloud/web/pull/6754 https://github.com/owncloud/web/pull/6763
owncloud/web/changelog/5.4.0_2022-04-11/enhancement-text-editor/0
{ "file_path": "owncloud/web/changelog/5.4.0_2022-04-11/enhancement-text-editor", "repo_id": "owncloud", "token_count": 153 }
600
Bugfix: Password enforcement for public links Password enforcement for public links, which can be adjusted on a per-role basis, wasn't properly reflected in the UI. We have made the necessary adjustments to only enforce passwords for public links with the permissions that require a password according to the backend settings. https://github.com/owncloud/web/issues/6323 https://github.com/owncloud/web/pull/6749
owncloud/web/changelog/5.5.0_2022-06-20/bugfix-public-link-password-enforcement/0
{ "file_path": "owncloud/web/changelog/5.5.0_2022-06-20/bugfix-public-link-password-enforcement", "repo_id": "owncloud", "token_count": 97 }
601
Bugfix: Reload of an updated space-image and/or -readme We've fixed a bug where the image and/or readme for a space wouldn't reload automatically after being updated. https://github.com/owncloud/web/pull/7108
owncloud/web/changelog/5.5.0_2022-06-20/bugfix-space-image-readme-loading/0
{ "file_path": "owncloud/web/changelog/5.5.0_2022-06-20/bugfix-space-image-readme-loading", "repo_id": "owncloud", "token_count": 60 }
602
Enhancement: Add un-share confirmation dialog We have implemented a confirmation dialog which pops up if the user clicks the "remove share" button https://github.com/owncloud/web/pull/6795 https://github.com/owncloud/web/issues/6728
owncloud/web/changelog/5.5.0_2022-06-20/enhancement-add-unshare-confirmation-dialog/0
{ "file_path": "owncloud/web/changelog/5.5.0_2022-06-20/enhancement-add-unshare-confirmation-dialog", "repo_id": "owncloud", "token_count": 65 }
603
Enhancement: Make rename resource icon always visible instead just on hover https://github.com/owncloud/web/pull/6817 https://github.com/owncloud/web/issues/6755
owncloud/web/changelog/5.5.0_2022-06-20/enhancement-make-rename-resource-icon-always-visible/0
{ "file_path": "owncloud/web/changelog/5.5.0_2022-06-20/enhancement-make-rename-resource-icon-always-visible", "repo_id": "owncloud", "token_count": 48 }
604
Enhancement: Space store improvements We've improved the space's store, this allows us to keep the search reactive to space changes, for example, as a project space gets added or renamed. https://github.com/owncloud/web/pull/6868
owncloud/web/changelog/5.5.0_2022-06-20/enhancement-space-store-improvements/0
{ "file_path": "owncloud/web/changelog/5.5.0_2022-06-20/enhancement-space-store-improvements", "repo_id": "owncloud", "token_count": 60 }
605
Bugfix: Allow uploads outside of user's home despite quota being exceeded We've fixed a bug where a user was not able to upload a file in a share or space when the personal home quota was exceeded. We also show a message in the upload details if an upload to a share fails because the share owner's quota is exceeded. https://github.com/owncloud/web/pull/7522 https://github.com/owncloud/web/issues/6318 https://github.com/owncloud/web/issues/5817
owncloud/web/changelog/5.7.0_2022-09-09/bugfix-allow-uploads-outside-users-home-despite-quota-exceeded/0
{ "file_path": "owncloud/web/changelog/5.7.0_2022-09-09/bugfix-allow-uploads-outside-users-home-despite-quota-exceeded", "repo_id": "owncloud", "token_count": 124 }
606
Bugfix: Hide empty trash bin modal on error We've fixed a bug where the empty trash bin modal was shown if an error occurred. https://github.com/owncloud/web/pull/7248 https://github.com/owncloud/web/issues/7129
owncloud/web/changelog/5.7.0_2022-09-09/bugfix-hide-empty-trash-bin-modal-on-error/0
{ "file_path": "owncloud/web/changelog/5.7.0_2022-09-09/bugfix-hide-empty-trash-bin-modal-on-error", "repo_id": "owncloud", "token_count": 66 }
607
Bugfix: Open Folder in project space context menu We've fixed a bug that broke opening a folder in a project space from the context menu via "Open Folder" (simply clicking it wasn't affected). https://github.com/owncloud/web/pull/7425
owncloud/web/changelog/5.7.0_2022-09-09/bugfix-open-folder-in-project-space/0
{ "file_path": "owncloud/web/changelog/5.7.0_2022-09-09/bugfix-open-folder-in-project-space", "repo_id": "owncloud", "token_count": 62 }
608
Bugfix: Sidebar for current folder We've fixed a bug where the right sidebar for the current folder could not be opened when another resource was selected. https://github.com/owncloud/web/issues/7519 https://github.com/owncloud/web/pull/7527
owncloud/web/changelog/5.7.0_2022-09-09/bugfix-sidebar-for-current-folder/0
{ "file_path": "owncloud/web/changelog/5.7.0_2022-09-09/bugfix-sidebar-for-current-folder", "repo_id": "owncloud", "token_count": 67 }
609
Bugfix: User management app close side bar throws error We've fixed a bug, where closing the side bar in the user management app threw an error, when a group or user was selected. https://github.com/owncloud/web/pull/7445 https://github.com/owncloud/web/pull/7461
owncloud/web/changelog/5.7.0_2022-09-09/bugfix-user-management-app-close-sidebar-throws-error/0
{ "file_path": "owncloud/web/changelog/5.7.0_2022-09-09/bugfix-user-management-app-close-sidebar-throws-error", "repo_id": "owncloud", "token_count": 76 }
610
Enhancement: Added a toolbar to pdf-viewer app We've added a toolbar to the pdf-viewer app, where the user can see the name of the opened pdf file and also close the app. https://github.com/owncloud/web/pull/7201 https://github.com/owncloud/web/pull/7207 https://github.com/owncloud/web/issues/7198 https://github.com/owncloud/web/issues/7205
owncloud/web/changelog/5.7.0_2022-09-09/enhancement-pdf-viewer-app-toolbar/0
{ "file_path": "owncloud/web/changelog/5.7.0_2022-09-09/enhancement-pdf-viewer-app-toolbar", "repo_id": "owncloud", "token_count": 113 }
611
Enhancement: Sharing panel show label instead of description for links https://github.com/owncloud/web/pull/7364 https://github.com/owncloud/web/issues/7358
owncloud/web/changelog/5.7.0_2022-09-09/enhancement-sharing-panel-show-label-instead-of-description/0
{ "file_path": "owncloud/web/changelog/5.7.0_2022-09-09/enhancement-sharing-panel-show-label-instead-of-description", "repo_id": "owncloud", "token_count": 47 }
612
Bugfix: Prevent shares from disappearing after sharing with groups The disappearing of shares after sharing with groups on the "Shared with me"-page has been fixed. https://github.com/owncloud/web/issues/7946 https://github.com/owncloud/web/pull/8009
owncloud/web/changelog/6.0.0_2022-11-29/bugfix-disappearing-shares/0
{ "file_path": "owncloud/web/changelog/6.0.0_2022-11-29/bugfix-disappearing-shares", "repo_id": "owncloud", "token_count": 68 }
613
Bugfix: Prefer alias links over private links The private link capability has recently been enabled in oCIS to announce to clients that private links are available. However, if alias links are available the web ui is supposed to only show alias links. Thus the "copy private link" button has been disabled when alias links are available. https://github.com/owncloud/web/pull/7916
owncloud/web/changelog/6.0.0_2022-11-29/bugfix-prefer-alias-links-over-private-links/0
{ "file_path": "owncloud/web/changelog/6.0.0_2022-11-29/bugfix-prefer-alias-links-over-private-links", "repo_id": "owncloud", "token_count": 88 }
614
Bugfix: Hide actions in space trash bins Actions in space trash bins are now hidden if the current user has insufficient permissions. https://github.com/owncloud/web/pull/7768 https://github.com/owncloud/web/issues/7702
owncloud/web/changelog/6.0.0_2022-11-29/bugfix-space-trashbin-actions/0
{ "file_path": "owncloud/web/changelog/6.0.0_2022-11-29/bugfix-space-trashbin-actions", "repo_id": "owncloud", "token_count": 62 }
615
Enhancement: Respect the new sharing denials capability (experimental) The oCIS backend has added a new capability, files_sharing.enable_denials, which announces to clients if the experimental "No access" sharing role is supposed to be available. This capability is now respected by web, so that users only see the experimental "No access" role if the backend allows it. https://github.com/owncloud/web/pull/7892 https://github.com/owncloud/ocis/pull/4903
owncloud/web/changelog/6.0.0_2022-11-29/enhancement-capability-share-denial/0
{ "file_path": "owncloud/web/changelog/6.0.0_2022-11-29/enhancement-capability-share-denial", "repo_id": "owncloud", "token_count": 117 }
616
Enhancement: Make search results sortable The files table on the search-result-page is now sortable. https://github.com/owncloud/web/pull/7801 https://github.com/owncloud/web/issues/7798
owncloud/web/changelog/6.0.0_2022-11-29/enhancement-sort-search-results/0
{ "file_path": "owncloud/web/changelog/6.0.0_2022-11-29/enhancement-sort-search-results", "repo_id": "owncloud", "token_count": 60 }
617
Bugfix: Editing users who never logged in We've fixed a bug where the Edit panel for users who never logged in failed to load (happened due to a recent backend change). https://github.com/owncloud/web/pull/8326
owncloud/web/changelog/7.0.0_2023-06-02/bugfix-edit-user-empty-drive/0
{ "file_path": "owncloud/web/changelog/7.0.0_2023-06-02/bugfix-edit-user-empty-drive", "repo_id": "owncloud", "token_count": 58 }
618
Bugfix: PDF display issue - Update CSP object-src policy PDF display is associated with object-src / frame-src policy with blob values. We allow those for only : 'self' blob:; https://github.com/owncloud/web/pull/8498
owncloud/web/changelog/7.0.0_2023-06-02/bugfix-oc10-pdf-display/0
{ "file_path": "owncloud/web/changelog/7.0.0_2023-06-02/bugfix-oc10-pdf-display", "repo_id": "owncloud", "token_count": 67 }
619
Bugfix: Remove drop target in read-only folders The drop target in read-only folders has been removed. https://github.com/owncloud/web/pull/8825 https://github.com/owncloud/web/issues/8277
owncloud/web/changelog/7.0.0_2023-06-02/bugfix-remove-drop-target-in-read-only-folders/0
{ "file_path": "owncloud/web/changelog/7.0.0_2023-06-02/bugfix-remove-drop-target-in-read-only-folders", "repo_id": "owncloud", "token_count": 59 }
620
Bugfix: Spaces in search results Spaces in search results are no longer being displayed as folder resources, fixing wrong icons, parent folders and sidebar panels. https://github.com/owncloud/web/issues/9022 https://github.com/owncloud/web/pull/9026
owncloud/web/changelog/7.0.0_2023-06-02/bugfix-spaces-in-search-results/0
{ "file_path": "owncloud/web/changelog/7.0.0_2023-06-02/bugfix-spaces-in-search-results", "repo_id": "owncloud", "token_count": 67 }
621
Enhancement: Add `ItemFilter` component The `ItemFilter` component has been introduced to filter data. It fills the dropdown of `OcFilterChip` with content and can be fed with items, which then can be selected and filtered. The component also supports multi-selection and persists the current selection as route query. https://github.com/owncloud/web/issues/8354 https://github.com/owncloud/web/pull/8355
owncloud/web/changelog/7.0.0_2023-06-02/enhancement-add-item-filter-component/0
{ "file_path": "owncloud/web/changelog/7.0.0_2023-06-02/enhancement-add-item-filter-component", "repo_id": "owncloud", "token_count": 104 }
622
Enhancement: Update roles and permissions names, labels, texts and icons We changed the names of roles and permissions in sharing dialogs to verb-based terms. Also we changed other permission related labels, texts and icons. https://github.com/owncloud/web/pull/8876
owncloud/web/changelog/7.0.0_2023-06-02/enhancement-change-role-and-permission-names/0
{ "file_path": "owncloud/web/changelog/7.0.0_2023-06-02/enhancement-change-role-and-permission-names", "repo_id": "owncloud", "token_count": 66 }
623
Enhancement: Global loading indicator A global loading indicator for long running actions has been added to the top of the page. https://github.com/owncloud/web/issues/6183 https://github.com/owncloud/web/issues/2134 https://github.com/owncloud/web/pull/8611
owncloud/web/changelog/7.0.0_2023-06-02/enhancement-global-loading-indicator/0
{ "file_path": "owncloud/web/changelog/7.0.0_2023-06-02/enhancement-global-loading-indicator", "repo_id": "owncloud", "token_count": 77 }
624
Enhancement: Introduce full screen mode to the preview app https://github.com/owncloud/web/pull/7994 https://github.com/owncloud/web/issues/6700
owncloud/web/changelog/7.0.0_2023-06-02/enhancement-preview-app-introduce-full-screen-mode/0
{ "file_path": "owncloud/web/changelog/7.0.0_2023-06-02/enhancement-preview-app-introduce-full-screen-mode", "repo_id": "owncloud", "token_count": 47 }
625
Enhancement: Show detailed error messages while upload fails We now show detailed error messages while upload fails and the server provides the error cause. https://github.com/owncloud/web/pull/9076
owncloud/web/changelog/7.0.0_2023-06-02/enhancement-show-detailed-error-messages-while-upload-fails/0
{ "file_path": "owncloud/web/changelog/7.0.0_2023-06-02/enhancement-show-detailed-error-messages-while-upload-fails", "repo_id": "owncloud", "token_count": 49 }
626
Enhancement: Webfinger redirect app We've added an app with the name `webfinger` which queries the oCIS webfinger service for the url of the oCIS instance of the user and performs a redirect. This app is not meant to be used in a standard deployment in its current state. It only uses web and its extension system as a platform. In the future this will become a multi tenancy select. https://github.com/owncloud/web/issues/8883 https://github.com/owncloud/web/pull/8884 https://github.com/owncloud/web/pull/8950 https://github.com/owncloud/web/pull/8952
owncloud/web/changelog/7.0.0_2023-06-02/enhancement-webfinger-app/0
{ "file_path": "owncloud/web/changelog/7.0.0_2023-06-02/enhancement-webfinger-app", "repo_id": "owncloud", "token_count": 154 }
627
Enhancement: Add batch actions to search result list We've modified our batch actions so that they now finally work on the search result page as well. https://github.com/owncloud/web/pull/9200 https://github.com/owncloud/web/pull/9279 https://github.com/owncloud/web/issues/9230
owncloud/web/changelog/7.1.0_2023-08-23/enhancement-add-batch-actions-to-search-result-list/0
{ "file_path": "owncloud/web/changelog/7.1.0_2023-08-23/enhancement-add-batch-actions-to-search-result-list", "repo_id": "owncloud", "token_count": 83 }
628
Enhancement: Error notifications include x-request-id We've added a details box for the notifications, that pop up if an operation (e.g upload, download, add a share) fails. This box contains the x-request-id and may help to debug the error on the server side. https://github.com/owncloud/web/pull/9482 https://github.com/owncloud/web/pull/9474 https://github.com/owncloud/web/pull/9466 https://github.com/owncloud/web/pull/9448 https://github.com/owncloud/web/pull/9426 https://github.com/owncloud/web/issues/9449
owncloud/web/changelog/7.1.0_2023-08-23/enhancement-error-notifications-include-x-request-id/0
{ "file_path": "owncloud/web/changelog/7.1.0_2023-08-23/enhancement-error-notifications-include-x-request-id", "repo_id": "owncloud", "token_count": 164 }
629
Enhancement: Open individually shared file in dedicated view We have added functionality to open a single, publicly shared file in a different view (instead of showing it in a table). https://github.com/owncloud/web/issues/8445 https://github.com/owncloud/web/pull/8440 https://github.com/owncloud/web/pull/8446
owncloud/web/changelog/7.1.0_2023-08-23/enhancement-single-share-view/0
{ "file_path": "owncloud/web/changelog/7.1.0_2023-08-23/enhancement-single-share-view", "repo_id": "owncloud", "token_count": 88 }
630
Bugfix: Configurable concurrent requests In order to ease the load on the backend we've introduced config options to limit the number of concurrent requests in certain areas. https://github.com/owncloud/web/issues/10227 https://github.com/owncloud/web/pull/10230
owncloud/web/changelog/8.0.0_2024-03-08/bugfix-configurable-request-concurrency/0
{ "file_path": "owncloud/web/changelog/8.0.0_2024-03-08/bugfix-configurable-request-concurrency", "repo_id": "owncloud", "token_count": 68 }
631
Bugfix: Private link error messages Private links not showing proper error messages has been fixed. https://github.com/owncloud/web/pull/10321 https://github.com/owncloud/web/issues/10315
owncloud/web/changelog/8.0.0_2024-03-08/bugfix-private-link-error-messages/0
{ "file_path": "owncloud/web/changelog/8.0.0_2024-03-08/bugfix-private-link-error-messages", "repo_id": "owncloud", "token_count": 54 }
632
Bugfix: Turned off file extensions not always respected We've fixed a bug where file extensions were shown in different places, like Search and Top bar file info even if the user turned them off via setting. https://github.com/owncloud/web/pull/10176
owncloud/web/changelog/8.0.0_2024-03-08/bugfix-turned-off-file-extensions-had-no-effect/0
{ "file_path": "owncloud/web/changelog/8.0.0_2024-03-08/bugfix-turned-off-file-extensions-had-no-effect", "repo_id": "owncloud", "token_count": 63 }
633
Enhancement: Add password policy compatibility We consume password policy rules from the server and test public link passwords against those. Additionally we added a show/hide toggle button to password input field https://github.com/owncloud/web/pull/9682 https://github.com/owncloud/web/pull/9634 https://github.com/owncloud/web/pull/9686 https://github.com/owncloud/web/pull/9688 https://github.com/owncloud/web/pull/9735 https://github.com/owncloud/web/pull/9736 https://github.com/owncloud/web/issues/9638 https://github.com/owncloud/web/issues/9657
owncloud/web/changelog/8.0.0_2024-03-08/enhancement-add-password-policy-compatibility/0
{ "file_path": "owncloud/web/changelog/8.0.0_2024-03-08/enhancement-add-password-policy-compatibility", "repo_id": "owncloud", "token_count": 170 }
634
Enhancement: Registering quick actions as extension Quick actions can now registered as extension via our extension registry. They need to be of type `action` and have the `files.quick-action` scope. The old way of registering quick actions via the `quickaction` property of an app is now officially deprecated. https://github.com/owncloud/web/pull/10102 https://github.com/owncloud/web/issues/7338
owncloud/web/changelog/8.0.0_2024-03-08/enhancement-extensions-quick-actions/0
{ "file_path": "owncloud/web/changelog/8.0.0_2024-03-08/enhancement-extensions-quick-actions", "repo_id": "owncloud", "token_count": 103 }
635
Enhancement: Provide vendor neutral file icons We replaced the icons for Document, Spreadsheet, Presentation, Forms and Markdown https://github.com/owncloud/web/issues/9847 https://github.com/owncloud/web/pull/9911 https://github.com/owncloud/web/pull/10037
owncloud/web/changelog/8.0.0_2024-03-08/enhancement-provide-neutral-file-icons/0
{ "file_path": "owncloud/web/changelog/8.0.0_2024-03-08/enhancement-provide-neutral-file-icons", "repo_id": "owncloud", "token_count": 78 }
636
Enhancement: Support mandatory filter while listing users We've added the configuration option `WEB_OPTION_USER_LIST_REQUIRES_FILTER`. If set to true, an active filter is necessary to list users, as well users won't be listed initially. This might be necessary for big instances with a lot of users, where the server response might take very long or time out while requesting users. https://github.com/owncloud/web/pull/10099 https://github.com/owncloud/web/issues/10088
owncloud/web/changelog/8.0.0_2024-03-08/enhancement-support-mandatory-filter-while-listing-users/0
{ "file_path": "owncloud/web/changelog/8.0.0_2024-03-08/enhancement-support-mandatory-filter-while-listing-users", "repo_id": "owncloud", "token_count": 125 }
637
Bugfix: User data not updated while altering own user We've fixed a bug, where the user data was not updated when altering the own user via the admin settings app, this effected for example the username and email address in the top bar. https://github.com/owncloud/web/pull/10377 https://github.com/owncloud/web/issues/10373
owncloud/web/changelog/9.0.0_2024-02-26/bugfix-user-data-not-updated-while-altering-own-user/0
{ "file_path": "owncloud/web/changelog/9.0.0_2024-02-26/bugfix-user-data-not-updated-while-altering-own-user", "repo_id": "owncloud", "token_count": 86 }
638
Enhancement: Remember left nav bar state We've implemented a feature to remember the state of the left navbar. Now, when the user reopens the web application, the navbar will remain in its last state, either fully open or collapsed, based on the user's previous interaction with it. https://github.com/owncloud/web/pull/10611 https://github.com/owncloud/web/issues/9613
owncloud/web/changelog/9.0.0_2024-02-26/enhancement-remember-left-nav-bar-state/0
{ "file_path": "owncloud/web/changelog/9.0.0_2024-02-26/enhancement-remember-left-nav-bar-state", "repo_id": "owncloud", "token_count": 99 }
639
--- - name: continuous-deployment-ocis-web-daily server: server_type: cx21 image: ubuntu-22.04 location: nbg1 initial_ssh_key_names: - owncloud-web@drone.owncloud.com labels: owner: web-team for: oCIS-continuous-deployment-examples rebuild: $REBUILD rebuild_carry_paths: - /var/lib/docker/volumes/web_certs domains: - "*.ocis-web.daily.owncloud.works" vars: ssh_authorized_keys: - https://github.com/butonic.keys - https://github.com/fschade.keys - https://github.com/kulmann.keys - https://github.com/micbar.keys - https://github.com/wkloucek.keys docker_compose_projects: - name: web git_url: https://github.com/owncloud/web.git ref: master docker_compose_path: deployments/examples/ocis_web env: INSECURE: "false" TRAEFIK_ACME_MAIL: bkulmann@owncloud.com OCIS_DOCKER_TAG: latest WEB_DOCKER_TAG: latest OCIS_DOMAIN: ocis.ocis-web.daily.owncloud.works WOPISERVER_DOMAIN: wopiserver.ocis-web.daily.owncloud.works COLLABORA_DOMAIN: collabora.ocis-web.daily.owncloud.works ONLYOFFICE_DOMAIN: onlyoffice.ocis-web.daily.owncloud.works DEMO_USERS: true SHARE_DENIALS: true COMPOSE_FILE: docker-compose.yml:monitoring_tracing/docker-compose-additions.yml - name: monitoring git_url: https://github.com/owncloud-devops/monitoring-tracing-client.git ref: master env: NETWORK_NAME: ocis-net TELEMETRY_SERVE_DOMAIN: telemetry.ocis-web.daily.owncloud.works JAEGER_COLLECTOR: jaeger-collector.infra.owncloud.works:443 TELEGRAF_SPECIFIC_CONFIG: ocis_single_container OCIS_URL: ocis.ocis-web.daily.owncloud.works OCIS_DEPLOYMENT_ID: continuous-deployment-ocis-web-daily
owncloud/web/deployments/continuous-deployment-config/ocis_web/daily.yml/0
{ "file_path": "owncloud/web/deployments/continuous-deployment-config/ocis_web/daily.yml", "repo_id": "owncloud", "token_count": 916 }
640
{ "server": "https://ocis.owncloud.test:10200", "theme": "https://ocis.owncloud.test:10200/themes/owncloud/theme.json", "openIdConnect": { "metadata_url": "https://ocis.owncloud.test:10200/.well-known/openid-configuration", "authority": "https://ocis.owncloud.test:10200", "client_id": "web", "response_type": "code", "scope": "openid profile email" }, "options": { "topCenterNotifications": true, "disablePreviews": true, "displayResourcesLazy": false, "sidebar": { "shares": { "showAllOnLoad": true } }, "previewFileMimeTypes": [ "image/gif", "image/png", "image/jpeg", "text/plain", "image/tiff", "image/bmp", "image/x-ms-bmp" ], "contextHelpersReadMore": true }, "apps": [ "files", "text-editor", "pdf-viewer", "search", "external", "admin-settings", "ocm", "webfinger", "epub-reader" ], "external_apps": [ { "id": "preview", "path": "web-app-preview", "config": { "mimeTypes": ["image/tiff", "image/bmp", "image/x-ms-bmp"] } }, { "id": "draw-io", "path": "web-app-draw-io", "config": { "url": "https://embed.diagrams.net", "theme": "minimal" } }, { "id": "importer", "path": "web-app-importer", "config": { "companionUrl": "https://host.docker.internal:9200/companion" } } ] }
owncloud/web/dev/docker/ocis.web-federated.config.json/0
{ "file_path": "owncloud/web/dev/docker/ocis.web-federated.config.json", "repo_id": "owncloud", "token_count": 729 }
641
--- title: "Setup with oCIS" date: 2020-04-15T00:00:00+00:00 weight: 50 geekdocRepo: https://github.com/owncloud/web geekdocEditPath: edit/master/docs geekdocFilePath: backend-ocis.md --- {{< toc >}} ## Setting up Web - Clone the [repository](https://github.com/owncloud/web/) - Initally install all dependencies by running `pnpm install` - Copy `./config/config.json.sample-ocis` to `./config/config.json` and adjust values if required ## Running Web - Start bundling web with a watcher by running `pnpm build:w` ## Setting up oCIS - Setup oCIS by following the [setup instructions](https://owncloud.dev/ocis/getting-started/) - Start oCIS with local links to your bundled web frontend and config by running `WEB_ASSET_CORE_PATH=../../web/dist WEB_UI_CONFIG_FILE=../../web/dist/config.json OCIS_INSECURE=true IDM_CREATE_DEMO_USERS=true ./bin/ocis server` (and make sure to adjust paths as necessary) ## Start oCIS - open [https://localhost:9200](https://localhost:9200) and accept the certificate - when signing in, use one of the [available demo users](https://owncloud.dev/ocis/getting-started/demo-users/) - whenever code changes are made, you need to manually reload the browser page (no hot reload) ## Running tests For testing, please refer to the [testing docs]({{< ref "testing/_index.md" >}})
owncloud/web/docs/backend-ocis.md/0
{ "file_path": "owncloud/web/docs/backend-ocis.md", "repo_id": "owncloud", "token_count": 428 }
642
--- title: 'Viewer and editor apps' date: 2024-03-12T00:00:00+00:00 weight: 60 geekdocRepo: https://github.com/owncloud/web geekdocEditPath: edit/master/docs/extension-system geekdocFilePath: viewer-editor-apps.md geekdocCollapseSection: true --- {{< toc >}} ## Viewer and editor apps ownCloud Web allows developers to implement apps for viewing and editing specific file types. For instance, the built-in preview app serves as the default application for opening media files like images, videos, or audio. This section will guide you through the process of implementing such an app within ownCloud Web. ### Basic app structure An app is essentially a distinct package that must be specified as an external application in the Web configuration. The structure of an app is quite simple and straightforward. Consider, for example, the [draw.io app](https://github.com/owncloud/web/tree/master/packages/web-app-draw-io). It consists of a `package.json` file, a `src` directory containing all the source code, and a `l10n` directory for translations. Optionally, you may also include a `tests` directory if your application requires testing. To learn more about apps in general, please refer to the [Web app docs]({{< ref "_index.md#apps" >}}). ### App setup Inside the `src` folder you will need an `index.ts` file that sets up the app so it can be registered by the Web runtime. It follows the basic structure as described in [the apps section]({{< ref "_index.md#apps" >}}), so it may look like this: ```typescript import { AppWrapperRoute, defineWebApplication } from '@ownclouders/web-pkg' import translations from '../l10n/translations.json' import { useGettext } from 'vue3-gettext' // This is the base component of your app. import App from './App.vue' export default defineWebApplication({ setup() { // The ID of your app. const appId = 'advanced-pdf-viewer' const { $gettext } = useGettext() // This creates a route under which your app can be opened. // Later, this route will be bound to one or more file extensions. const routes = [ { name: 'advanced-pdf-viewer', path: '/:driveAliasAndItem(.*)?', component: AppWrapperRoute(App, { applicationId: appId }), meta: { authContext: 'hybrid', title: $gettext('Advanced PDF Viewer'), patchCleanPath: true } } ] return { appInfo: { name: 'Advanced PDF Viewer', id: appId, defaultExtension: 'pdf', isFileEditor: true, extensions: [ // This makes sure all files with the "pdf" extension will be routed to your app when being opened. // See the `ApplicationFileExtension` interface down below for a list of all possible properties. { extension: 'pdf', routeName: 'advanced-pdf-viewer', // Add this if you want your app to be present in the "New" file menu. newFileMenu: { menuTitle() { return $gettext('PDF document') } } } ], // Add this if you want your app to be present in the app menu on the top left. applicationMenu: { enabled: () => true, openAsEditor: true, priority: 10 } }, routes, translations } } }) ``` Here is the interface defining the `extensions` property of the `appInfo` object. ```typescript interface ApplicationFileExtension { app?: string extension?: string createFileHandler?: (arg: { fileName: string space: SpaceResource currentFolder: Resource }) => Promise<Resource> hasPriority?: boolean label?: string name?: string icon?: string mimeType?: string newFileMenu?: { menuTitle: () => string } routeName?: string } ```
owncloud/web/docs/extension-system/viewer-editor-apps.md/0
{ "file_path": "owncloud/web/docs/extension-system/viewer-editor-apps.md", "repo_id": "owncloud", "token_count": 1372 }
643
{ "extends": ["stylelint-config-standard", "stylelint-config-sass-guidelines"], "rules": { "scss/at-extend-no-missing-placeholder": null, "max-nesting-depth": null, "selector-class-pattern": null, "selector-max-compound-selectors": null, "selector-max-id": null, "selector-no-qualifying-type": null, "property-no-vendor-prefix": null, "string-quotes": "double" } }
owncloud/web/packages/design-system/.stylelintrc.json/0
{ "file_path": "owncloud/web/packages/design-system/.stylelintrc.json", "repo_id": "owncloud", "token_count": 168 }
644
Bugfix: Removed uppercase on buttons Buttons look nicer without the uppercase which was brought in by default by UIKit. https://github.com/owncloud/owncloud-design-system/issues/442 https://github.com/owncloud/owncloud-design-system/pull/652
owncloud/web/packages/design-system/changelog/1.0.3_2020-02-25/652/0
{ "file_path": "owncloud/web/packages/design-system/changelog/1.0.3_2020-02-25/652", "repo_id": "owncloud", "token_count": 72 }
645
Bugfix: Pass event in button click handler The click event for oc-button now passes the actual click event into the handler. https://github.com/owncloud/owncloud-design-system/pull/872
owncloud/web/packages/design-system/changelog/1.11.0_2020-09-18/fix-button-click-handler/0
{ "file_path": "owncloud/web/packages/design-system/changelog/1.11.0_2020-09-18/fix-button-click-handler", "repo_id": "owncloud", "token_count": 52 }
646
Enhancement: Add color prop to buttons We've added a new property to the button component to enable setting a different color when the variation is set to `raw`. Available colors are `default`, `primary` and `text`. https://github.com/owncloud/owncloud-design-system/pull/924
owncloud/web/packages/design-system/changelog/1.15.0_2020-11-04/raw-button-colors/0
{ "file_path": "owncloud/web/packages/design-system/changelog/1.15.0_2020-11-04/raw-button-colors", "repo_id": "owncloud", "token_count": 73 }
647
Bugfix: Made modal position fixed We've made the position of modal fixed and added z-index so it is always going to be visible on top of the content. https://github.com/owncloud/owncloud-design-system/pull/769
owncloud/web/packages/design-system/changelog/1.6.0_2020-05-26/modal-fixed-position/0
{ "file_path": "owncloud/web/packages/design-system/changelog/1.6.0_2020-05-26/modal-fixed-position", "repo_id": "owncloud", "token_count": 60 }
648
Change: Refactor OcAvatarGroup and rename to OcAvatars We've added more share types for the OcAvatars and refactored the components used, also we removed the expand animation when focused or hovered. https://github.com/owncloud/web/issues/5736 https://github.com/owncloud/owncloud-design-system/pull/1614 https://github.com/owncloud/owncloud-design-system/pull/1639
owncloud/web/packages/design-system/changelog/10.0.0_2021-09-13/change-refactor-oc-avatars/0
{ "file_path": "owncloud/web/packages/design-system/changelog/10.0.0_2021-09-13/change-refactor-oc-avatars", "repo_id": "owncloud", "token_count": 112 }
649
Enhancement: Add closure to mutate resource dom selector In some cases the resource or item id is not a valid dom selector, we've introduced an optional closure property for oc-table and oc-table-files to customize the selector to its need. https://github.com/owncloud/owncloud-design-system/pull/1766
owncloud/web/packages/design-system/changelog/11.2.0_2021-11-09/enhancement-resource-dom-selector/0
{ "file_path": "owncloud/web/packages/design-system/changelog/11.2.0_2021-11-09/enhancement-resource-dom-selector", "repo_id": "owncloud", "token_count": 80 }
650
Change: Pass folderLink to OcResource component For more flexibility, the folderLink needs to be passed to the OcResource component https://github.com/owncloud/owncloud-design-system/pull/1913
owncloud/web/packages/design-system/changelog/12.0.0_2022-02-07/change-pass-folder-link-to-oc-resource-component/0
{ "file_path": "owncloud/web/packages/design-system/changelog/12.0.0_2022-02-07/change-pass-folder-link-to-oc-resource-component", "repo_id": "owncloud", "token_count": 51 }
651
Enhancement: Improve OcList We've fixed some styling and added a 'raw' property in OcList to disable list styling. https://github.com/owncloud/owncloud-design-system/pull/1881
owncloud/web/packages/design-system/changelog/12.0.0_2022-02-07/enhancement-oclist-improve/0
{ "file_path": "owncloud/web/packages/design-system/changelog/12.0.0_2022-02-07/enhancement-oclist-improve", "repo_id": "owncloud", "token_count": 54 }
652
Bugfix: Initial focus in OcModal We've fixed a bug that was introduced in the last version, where the initial focus of modals with text fields was broken. https://github.com/owncloud/owncloud-design-system/pull/1995
owncloud/web/packages/design-system/changelog/12.2.1_2022-03-02/bugfix-modal-initial-focus/0
{ "file_path": "owncloud/web/packages/design-system/changelog/12.2.1_2022-03-02/bugfix-modal-initial-focus", "repo_id": "owncloud", "token_count": 60 }
653
Bugfix: Fix event handler for submit-via-enter in OcModal input We fixed a small difference between clicking the confirm button and hitting the enter key when using an OcModal with an input field, which lead to unexpected behaviour. https://github.com/owncloud/owncloud-design-system/pull/2159 https://github.com/owncloud/web/pull/6961#pullrequestreview-979854434
owncloud/web/packages/design-system/changelog/13.1.0_2022-06-07/bugfix-modal-input-enter-submission/0
{ "file_path": "owncloud/web/packages/design-system/changelog/13.1.0_2022-06-07/bugfix-modal-input-enter-submission", "repo_id": "owncloud", "token_count": 105 }
654
Enhancement: Add option to not truncate the resource name We've added a new property to the resourceName component that indicates whether a resource name should be truncated or not. https://github.com/owncloud/owncloud-design-system/pull/2157
owncloud/web/packages/design-system/changelog/13.1.0_2022-06-07/enhancement-resource-name-no-truncate/0
{ "file_path": "owncloud/web/packages/design-system/changelog/13.1.0_2022-06-07/enhancement-resource-name-no-truncate", "repo_id": "owncloud", "token_count": 62 }
655
Enhancement: Add OcInfoDrop We've added the new component OcInfoDrop, which will be consumed by the OcContextualHelper component. https://github.com/owncloud/owncloud-design-system/pull/2286
owncloud/web/packages/design-system/changelog/14.0.0_2022-11-03/enhancement-add-oc-info-drop/0
{ "file_path": "owncloud/web/packages/design-system/changelog/14.0.0_2022-11-03/enhancement-add-oc-info-drop", "repo_id": "owncloud", "token_count": 57 }
656
Enhancement: Use Inter font We've switched the default font from Roboto to Inter. https://github.com/owncloud/owncloud-design-system/pull/2270 https://github.com/owncloud/owncloud-design-system/pull/2299
owncloud/web/packages/design-system/changelog/14.0.0_2022-11-03/enhancement-use-inter/0
{ "file_path": "owncloud/web/packages/design-system/changelog/14.0.0_2022-11-03/enhancement-use-inter", "repo_id": "owncloud", "token_count": 65 }
657
Bugfix: Button hover color When hovering the oc-button (*primary*) component had different styling, depending on if it was used as `a` or `button` tag. This was caused by the underlying `ui-kit` styles, since no specific component-based styling was provided. By making the hover styling explicit in the component stylesheet, this is fixed. https://github.com/owncloud/owncloud-design-system/pull/1091
owncloud/web/packages/design-system/changelog/3.0.0_2021-02-24/fix-button-hover/0
{ "file_path": "owncloud/web/packages/design-system/changelog/3.0.0_2021-02-24/fix-button-hover", "repo_id": "owncloud", "token_count": 103 }
658
Bugfix: Update table component in OcIcon docs The `<oc-table>` component had a breaking change in the *2.1.0* release, which broke the [oc-icon component docs](https://owncloud.design/#/oC%20Components/OcIcon). To fix it we needed to use the new `<oc-table-simple>` component instead, which mimics the behaviour of the old `<oc-table>` component. https://github.com/owncloud/owncloud-design-system/pull/1127
owncloud/web/packages/design-system/changelog/3.2.0_2021-03-12/bugfix-table-in-icon-docs/0
{ "file_path": "owncloud/web/packages/design-system/changelog/3.2.0_2021-03-12/bugfix-table-in-icon-docs", "repo_id": "owncloud", "token_count": 130 }
659
Enhancement: Make alert component a11y-compliant It is now possible to reach and submit the "close"-button of an alert via keyboard. This change also removes the "uk-close" icon as it is not a11y-compliant. https://github.com/owncloud/owncloud-design-system/pull/1166
owncloud/web/packages/design-system/changelog/4.0.0_2021-03-25/enhancement-alert-accessibility/0
{ "file_path": "owncloud/web/packages/design-system/changelog/4.0.0_2021-03-25/enhancement-alert-accessibility", "repo_id": "owncloud", "token_count": 78 }
660
Bugfix: Muted text uikit class The `uk-text-muted` was overwritten to correctly use CI colors. https://github.com/owncloud/owncloud-design-system/pull/1185
owncloud/web/packages/design-system/changelog/4.1.2_2021-03-31/bugfix-muted-text/0
{ "file_path": "owncloud/web/packages/design-system/changelog/4.1.2_2021-03-31/bugfix-muted-text", "repo_id": "owncloud", "token_count": 53 }
661
Enhancement: Text-inital helper class Introducing a `oc-text-inital` class to set font-size, e.g. in headings, back to `1rem`. https://github.com/owncloud/owncloud-design-system/pull/1211
owncloud/web/packages/design-system/changelog/5.1.0_2021-04-15/enhancement-text-initial-helper/0
{ "file_path": "owncloud/web/packages/design-system/changelog/5.1.0_2021-04-15/enhancement-text-initial-helper", "repo_id": "owncloud", "token_count": 67 }
662
Bugfix: Remove unnecessary role attribute from oc-icon The oc-icon component had `role="presentation"` on the svg if there is no accessible label. Since we already have `aria-hidden="true"` the role is not needed. Removing it for less code complexity. https://github.com/owncloud/owncloud-design-system/pull/1241
owncloud/web/packages/design-system/changelog/6.3.0_2021-04-29/bugfix-unnecessary-icon-role/0
{ "file_path": "owncloud/web/packages/design-system/changelog/6.3.0_2021-04-29/bugfix-unnecessary-icon-role", "repo_id": "owncloud", "token_count": 88 }
663
Bugfix: Make OcSidebarNavitem text bold We've made the text of `OcSidebarNavItem` component bold again. https://github.com/owncloud/owncloud-design-system/pull/1308
owncloud/web/packages/design-system/changelog/7.0.0_2021-05-31/bugfix-make-sidebar-navitem-bold/0
{ "file_path": "owncloud/web/packages/design-system/changelog/7.0.0_2021-05-31/bugfix-make-sidebar-navitem-bold", "repo_id": "owncloud", "token_count": 54 }
664
Enhancement: Themable Table Row Height By moving the table row height from a component property to a themable variable, we give users of the web frontend a way to customize the appearance of their UI (instead of only giving the freedom to users of the ODS). https://github.com/owncloud/owncloud-design-system/pull/1291
owncloud/web/packages/design-system/changelog/7.0.0_2021-05-31/enhancement-themable-tr-height/0
{ "file_path": "owncloud/web/packages/design-system/changelog/7.0.0_2021-05-31/enhancement-themable-tr-height", "repo_id": "owncloud", "token_count": 85 }
665
Bugfix: show `--` as file-size when the folder size is not yet computed When the folder size is unknown (not yet calculated or cannot be calculated) the server returns `-1` as the size. In this case we now show `--` and not only an empty string https://github.com/owncloud/owncloud-design-system/issues/1402 https://github.com/owncloud/owncloud-design-system/pull/1393
owncloud/web/packages/design-system/changelog/7.5.0_2021-06-25/bugfix-show-dashes-when-negative-filesize-given/0
{ "file_path": "owncloud/web/packages/design-system/changelog/7.5.0_2021-06-25/bugfix-show-dashes-when-negative-filesize-given", "repo_id": "owncloud", "token_count": 106 }
666
Enhancement: add OcRecipient component We've added OcRecipient component. https://github.com/owncloud/owncloud-design-system/pull/1521
owncloud/web/packages/design-system/changelog/8.2.0_2021-07-23/enhancement-oc-recipient/0
{ "file_path": "owncloud/web/packages/design-system/changelog/8.2.0_2021-07-23/enhancement-oc-recipient", "repo_id": "owncloud", "token_count": 43 }
667
Enhancement: Show compile errors and enforce node.js version in package.json Ensure we show compile-time errors on the command line when present and enforce Node.js v14.0.0 or greater to permit optional chaining to be used https://github.com/owncloud/owncloud-design-system/pull/1579
owncloud/web/packages/design-system/changelog/9.1.0_2021-08-17/enhancement-build-system-error-improvements/0
{ "file_path": "owncloud/web/packages/design-system/changelog/9.1.0_2021-08-17/enhancement-build-system-error-improvements", "repo_id": "owncloud", "token_count": 79 }
668
Change: "inverse" variation removed from buttons and icons The "inverse" variation has been removed from the `OcButton` and `OcIcon` components respectively. They are unused in the ownCloud affiliated code bases, hence the clean up. For `OcButton` there is a new `raw-inverse` variation which utilizes the new `contrast` color swatch token of the chosen variation. https://github.com/owncloud/web/pull/8563
owncloud/web/packages/design-system/changelog/unreleased/change-remove-inverse-variation/0
{ "file_path": "owncloud/web/packages/design-system/changelog/unreleased/change-remove-inverse-variation", "repo_id": "owncloud", "token_count": 108 }
669
'use strict' const { merge } = require('webpack-merge') const prodEnv = require('./prod.env') module.exports = merge(prodEnv, { NODE_ENV: "'development'" })
owncloud/web/packages/design-system/config/dev.env.js/0
{ "file_path": "owncloud/web/packages/design-system/config/dev.env.js", "repo_id": "owncloud", "token_count": 62 }
670
## What is the ownCloud Design System? ownCloud Design System is an open source tool for building UI Design Systems with [Vue.js](https://vuejs.org). It provides you and your team a set of organized tools, patterns & practices that work as the foundation for your application development. [Read more about it](https://viljamis.com/2018/vue-design-system/). ## What browsers are supported? The development environment supports the following browsers. To tweak browsers supported in production you will want to edit the [browsers list in package.json](https://github.com/owncloud/owncloud-design-system/blob/master/package.json#L172-L180). To see what browsers are selected by the browser list, run `npx browserslist --config="package.json"` in the root directory of this project. | BROWSER | VERSION | | --------------- | ------- | | Google Chrome | Latest | | Microsoft Edge | Latest | | Mozilla Firefox | Latest | | Opera | Latest | | Safari | Latest | ## How do I get started? See the [Getting Started guide](https://github.com/owncloud/owncloud-design-system/wiki/getting-started) on GitHub. ## I want to use this in existing Vue project, is that possible? Definitely possible, see instructions in [Getting Started guide](https://github.com/owncloud/owncloud-design-system/wiki/getting-started#using-vue-design-system-in-an-existing-project). ## Why Vue and not React, Jekyll, or some other tool? The reason for choosing Vue.js over React or some other library is how easy it is to learn. If you know HTML, CSS, and a bit of JavaScript you’re ready to start using this tool and getting involved. This becomes especially important when we want to involve designers more into the process and move further away from static design tools. In addition, static site generators like Jekyll give you a bit too much freedom, which makes it harder for people to follow specific guidelines or a workflow. ## Is this tool only for Vue.js based applications? Organizations that have more than just Vue.js based applications can benefit from ownCloud Design System as well. Tokens which store visual design attributes are universal and can be used on any platform. ownCloud Design System also renders all components in both Vue.js & HTML which allows you to use the components on any web based platform. Additionally, it’s possible to configure the build process to output Web Components instead of Vue.js Components. ## Why aren’t there more components by default? ownCloud Design System is not a front-end component library and never will be. Instead it tries to provide you and your team a set of organized tools, patterns & practices to build upon, so that you can get started with the actual design system faster. ## Can I convert JSON tokens to more than just SCSS and JSON? Definitely. See [style-dictionary’s docs](https://github.com/amzn/style-dictionary). It allows you to convert the tokens to almost any format you can think of. The formats used are being configured in [build/build-tokens.js](https://github.com/owncloud/owncloud-design-system/blob/master/build/build-tokens.js). ## Does ownCloud Design System work on Windows? Yes, follow the [getting started guide](https://github.com/owncloud/owncloud-design-system/wiki/getting-started) to get things up and running. ## Any plan to support different component states? ownCloud Design System uses a customized version of [Vue Styleguidist](https://github.com/vue-styleguidist/vue-styleguidist) for the styleguide part which already supports something similar. You can for example define multiple examples in markdown format in the component’s `<docs>` section. I’ve added an example of this in the documentation’s [Components section](/#/Components?id=forminput). See the [documentation for Vue Styleguidist](https://github.com/vue-styleguidist/vue-styleguidist) and React Styleguidist’s [explanation on the differences between Storybook and Styleguidist](https://react-styleguidist.js.org/docs/cookbook.html#whats-the-difference-between-styleguidist-and-storybook). ## I can’t figure out what icons are available? Icons are inside `src/assets/icons` directory, so you can just add any icons that you need. Use for example SVG files from [Font Awesome](https://github.com/encharm/Font-Awesome-SVG-PNG/tree/master/black/svg). ## How do I change the default typeface/font? ownCloud Design System uses Typekit’s [Web Font Loader](https://github.com/typekit/webfontloader) which is easy to configure. To load your own font files, see [Getting Started with WebFontLoader](https://github.com/typekit/webfontloader#get-started). Currently, the design system bundles and loads _Inter_. See `src/utils/webFontLoader.js` for an example. ## How to use design tokens in JavaScript? First, import tokens inside the component you want to use them in: ```javascript import designTokens from '../../../src/assets/tokens/ods.json' ``` Then, pass the data: ```javascript export default { data() { return { tokens: designTokens } } } ``` Once done, you can utilize tokens inside `<template>` like this: ```html <template> <Thing :style="{color: tokens.oc-color-swatch-brand-hover.value}" /> </template> ``` ## How do you use media queries defined in tokens? ```scss .wrapper { padding: var(--oc-space-large); @media #{$media-query-l} { padding: $oc-space-large; } } ``` ## How to disable browser from auto opening a new window? Remove `--open` option from [this line in package.json](https://github.com/owncloud/owncloud-design-system/blob/master/package.json#L24). ## How do I use static image assets? You can put your assets under `src/assets`. It’s ok to create new directories under that directory as well. Since Webpack is used to include all static assets on the Vue app side, you’ll have to define the path like this in order for it to work on both the app and the styleguide: `<img src="@/assets/img/example.jpg" />`. For component’s `<docs>` section things work a bit differently. Using `<img src="img/example.jpg" />` without `@/assets/` works there. This is because [Styleguidist](https://github.com/vue-styleguidist/vue-styleguidist) handles the assets directory a bit differently. ## Does ownCloud Design System work with Nuxt.js? Yes! While we don’t currently have extensive documentation on this, there’s an official example and instructions provided, here: [github.com/viljamis/nuxt-design-system](https://github.com/viljamis/nuxt-design-system). ## I can’t get ownCloud Design System working as an NPM dependency? Please see the official example first: [github.com/viljamis/vue-design-system-example](https://github.com/owncloud/owncloud-design-system-example). If you’re getting an error about `export 'default' was not found` you’re probably trying to import the provided UMD module as an ES Module. ## Can I use the components from the system on our static website? Yes you can. See the official example on GitHub: [github.com/viljamis/vue-design-system-example-website](https://github.com/owncloud/owncloud-design-system-example-website) ## I want to use CSS Modules, are those supported? They are, but you need to add the following to the Webpack configuration for build: ```javascript options: { // enable CSS Modules modules: true, // customize generated class names localIdentName: "[local]_[hash:base64:8]" } ``` For more detailed instructions, please see: [vue-loader.vuejs.org/guide/css-modules.html](https://vue-loader.vuejs.org/guide/css-modules.html).
owncloud/web/packages/design-system/docs/faq.md/0
{ "file_path": "owncloud/web/packages/design-system/docs/faq.md", "repo_id": "owncloud", "token_count": 2136 }
671
import { createLocalVue, mount } from '@vue/test-utils' import filterSearch from './filterSearch.js' // create an extended `Vue` constructor const localVue = createLocalVue() // install plugins as normal localVue.mixin(filterSearch) const MockComponent = { name: 'example', status: 'prototype', template: "<div class='container'><div class='rsg--search-11'><input type='text' value='' /></div><div class='rsg--sidebar-23'><ul><ul class='rsg--list-23 test'></ul></ul></div></div>" } const div = document.createElement('div') document.body.appendChild(div) const wrapper = mount(MockComponent, { attachTo: div, localVue }) describe('filterSearch.js', () => { it('should show all links when searching', () => { const input = wrapper.find('input') const parent = wrapper.find('.test') input.value = 'test' input.trigger('keydown') expect(parent.classes()).toContain('vueds-visible') }) it('should hide all links when the input is cleared', () => { const input = wrapper.find('input') input.value = '' input.trigger('focus') input.trigger('input') input.trigger('blur') const visibleItem = wrapper.find('.vueds-visible') expect(visibleItem.exists()).toBe(false) }) })
owncloud/web/packages/design-system/docs/utils/filterSearch.spec.js/0
{ "file_path": "owncloud/web/packages/design-system/docs/utils/filterSearch.spec.js", "repo_id": "owncloud", "token_count": 427 }
672
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> <g> <path fill="none" d="M0 0H24V24H0z"/> <path d="M12 13c1.657 0 3 1.343 3 3 0 .85-.353 1.616-.92 2.162L12.17 20H15v2H9v-1.724l3.693-3.555c.19-.183.307-.438.307-.721 0-.552-.448-1-1-1s-1 .448-1 1H9c0-1.657 1.343-3 3-3zm6 0v4h2v-4h2v9h-2v-3h-4v-6h2zM4 12c0 2.527 1.171 4.78 3 6.246v2.416C4.011 18.933 2 15.702 2 12h2zm8-10c5.185 0 9.449 3.947 9.95 9h-2.012C19.446 7.054 16.08 4 12 4 9.536 4 7.332 5.114 5.865 6.865L8 9H2V3l2.447 2.446C6.28 3.336 8.984 2 12 2z"/> </g> </svg>
owncloud/web/packages/design-system/src/assets/icons/24-hours-fill.svg/0
{ "file_path": "owncloud/web/packages/design-system/src/assets/icons/24-hours-fill.svg", "repo_id": "owncloud", "token_count": 345 }
673
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> <g> <path fill="none" d="M0 0h24v24H0z"/> <path fill-rule="nonzero" d="M12.866 3l9.526 16.5a1 1 0 0 1-.866 1.5H2.474a1 1 0 0 1-.866-1.5L11.134 3a1 1 0 0 1 1.732 0zm-8.66 16h15.588L12 5.5 4.206 19zM11 16h2v2h-2v-2zm0-7h2v5h-2V9z"/> </g> </svg>
owncloud/web/packages/design-system/src/assets/icons/alert-line.svg/0
{ "file_path": "owncloud/web/packages/design-system/src/assets/icons/alert-line.svg", "repo_id": "owncloud", "token_count": 199 }
674
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> <g> <path fill="none" d="M0 0h24v24H0z"/> <path d="M18.901 10a2.999 2.999 0 0 0 4.075 1.113 3.5 3.5 0 0 1-1.975 3.55L21 21h-6v-2a3 3 0 0 0-5.995-.176L9 19v2H3v-6.336a3.5 3.5 0 0 1-1.979-3.553A2.999 2.999 0 0 0 5.098 10h13.803zm-1.865-7a3.5 3.5 0 0 0 4.446 2.86 3.5 3.5 0 0 1-3.29 3.135L18 9H6a3.5 3.5 0 0 1-3.482-3.14A3.5 3.5 0 0 0 6.964 3h10.072z"/> </g> </svg>
owncloud/web/packages/design-system/src/assets/icons/ancient-gate-fill.svg/0
{ "file_path": "owncloud/web/packages/design-system/src/assets/icons/ancient-gate-fill.svg", "repo_id": "owncloud", "token_count": 281 }
675
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> <g> <path fill="none" d="M0 0h24v24H0z"/> <path d="M7 11.5a4.5 4.5 0 1 1 0-9 4.5 4.5 0 0 1 0 9zm0 10a4.5 4.5 0 1 1 0-9 4.5 4.5 0 0 1 0 9zm10-10a4.5 4.5 0 1 1 0-9 4.5 4.5 0 0 1 0 9zm0 10a4.5 4.5 0 1 1 0-9 4.5 4.5 0 0 1 0 9z"/> </g> </svg>
owncloud/web/packages/design-system/src/assets/icons/apps-2-fill.svg/0
{ "file_path": "owncloud/web/packages/design-system/src/assets/icons/apps-2-fill.svg", "repo_id": "owncloud", "token_count": 203 }
676
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> <g> <path fill="none" d="M0 0h24v24H0z"/> <path d="M9 12l4-4v8z"/> </g> </svg>
owncloud/web/packages/design-system/src/assets/icons/arrow-drop-left-fill.svg/0
{ "file_path": "owncloud/web/packages/design-system/src/assets/icons/arrow-drop-left-fill.svg", "repo_id": "owncloud", "token_count": 98 }
677
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> <g> <path fill="none" d="M0 0h24v24H0z"/> <path d="M13 3v7.267l6.294-3.633 1 1.732-6.293 3.633 6.293 3.635-1 1.732L13 13.732V21h-2v-7.268l-6.294 3.634-1-1.732L9.999 12 3.706 8.366l1-1.732L11 10.267V3z"/> </g> </svg>
owncloud/web/packages/design-system/src/assets/icons/asterisk.svg/0
{ "file_path": "owncloud/web/packages/design-system/src/assets/icons/asterisk.svg", "repo_id": "owncloud", "token_count": 187 }
678
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> <g> <path fill="none" d="M0 0h24v24H0z"/> <path d="M22 10v10a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V10h20zm0-2H2V4a1 1 0 0 1 1-1h18a1 1 0 0 1 1 1v4zm-7 8v2h4v-2h-4z"/> </g> </svg>
owncloud/web/packages/design-system/src/assets/icons/bank-card-fill.svg/0
{ "file_path": "owncloud/web/packages/design-system/src/assets/icons/bank-card-fill.svg", "repo_id": "owncloud", "token_count": 164 }
679
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> <g> <path fill="none" d="M0 0h24v24H0z"/> <path d="M2 4h2v16H2V4zm4 0h2v16H6V4zm3 0h3v16H9V4zm4 0h2v16h-2V4zm3 0h2v16h-2V4zm3 0h3v16h-3V4z"/> </g> </svg>
owncloud/web/packages/design-system/src/assets/icons/barcode-fill.svg/0
{ "file_path": "owncloud/web/packages/design-system/src/assets/icons/barcode-fill.svg", "repo_id": "owncloud", "token_count": 163 }
680
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> <g> <path fill="none" d="M0 0h24v24H0z"/> <path d="M8 11h4.5a2.5 2.5 0 1 0 0-5H8v5zm10 4.5a4.5 4.5 0 0 1-4.5 4.5H6V4h6.5a4.5 4.5 0 0 1 3.256 7.606A4.498 4.498 0 0 1 18 15.5zM8 13v5h5.5a2.5 2.5 0 1 0 0-5H8z"/> </g> </svg>
owncloud/web/packages/design-system/src/assets/icons/bold.svg/0
{ "file_path": "owncloud/web/packages/design-system/src/assets/icons/bold.svg", "repo_id": "owncloud", "token_count": 199 }
681
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> <g> <path fill="none" d="M0 0h24v24H0z"/> <path d="M15.456 9.678l-.142-.142a5.475 5.475 0 0 0-2.39-1.349c-2.907-.778-5.699.869-6.492 3.83-.043.16-.066.34-.104.791-.154 1.87-.594 3.265-1.8 4.68 2.26.888 4.938 1.514 6.974 1.514a5.505 5.505 0 0 0 5.31-4.078 5.497 5.497 0 0 0-1.356-5.246zM13.29 6.216l4.939-3.841a1 1 0 0 1 1.32.082l2.995 2.994a1 1 0 0 1 .082 1.321l-3.84 4.938a7.505 7.505 0 0 1-7.283 9.292C8 21.002 3.5 19.5 1 18c3.98-3 3.047-4.81 3.5-6.5 1.058-3.95 4.842-6.257 8.789-5.284zm3.413 1.879c.065.063.13.128.193.194l1.135 1.134 2.475-3.182-1.746-1.746-3.182 2.475 1.125 1.125z"/> </g> </svg>
owncloud/web/packages/design-system/src/assets/icons/brush-line.svg/0
{ "file_path": "owncloud/web/packages/design-system/src/assets/icons/brush-line.svg", "repo_id": "owncloud", "token_count": 418 }
682
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> <g> <path fill="none" d="M0 0h24v24H0z"/> <path d="M17 20H7v1a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1v-9H2V8h1V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v3h1v4h-1v9a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1v-1zM5 5v6h14V5H5zm14 8H5v5h14v-5zM7.5 17a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm9 0a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z"/> </g> </svg>
owncloud/web/packages/design-system/src/assets/icons/bus-2-line.svg/0
{ "file_path": "owncloud/web/packages/design-system/src/assets/icons/bus-2-line.svg", "repo_id": "owncloud", "token_count": 266 }
683
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> <g> <path fill="none" d="M0 0h24v24H0z"/> <path d="M9.828 5l-2 2H4v12h16V7h-3.828l-2-2H9.828zM9 3h6l2 2h4a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h4l2-2zm3 15a5.5 5.5 0 1 1 0-11 5.5 5.5 0 0 1 0 11zm0-2a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7z"/> </g> </svg>
owncloud/web/packages/design-system/src/assets/icons/camera-line.svg/0
{ "file_path": "owncloud/web/packages/design-system/src/assets/icons/camera-line.svg", "repo_id": "owncloud", "token_count": 239 }
684
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> <g> <path fill="none" d="M0 0h24v24H0z"/> <path d="M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10H2l2.929-2.929A9.969 9.969 0 0 1 2 12zm4.828 8H12a8 8 0 1 0-8-8c0 2.152.851 4.165 2.343 5.657l1.414 1.414-.929.929zM8 13h8a4 4 0 1 1-8 0z"/> </g> </svg>
owncloud/web/packages/design-system/src/assets/icons/chat-smile-3-line.svg/0
{ "file_path": "owncloud/web/packages/design-system/src/assets/icons/chat-smile-3-line.svg", "repo_id": "owncloud", "token_count": 206 }
685
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> <g> <path fill="none" d="M0 0h24v24H0z"/> <path d="M7 4V2h10v2h3.007c.548 0 .993.445.993.993v16.014a.994.994 0 0 1-.993.993H3.993A.994.994 0 0 1 3 21.007V4.993C3 4.445 3.445 4 3.993 4H7zm0 2H5v14h14V6h-2v2H7V6zm2-2v2h6V4H9z"/> </g> </svg>
owncloud/web/packages/design-system/src/assets/icons/clipboard-line.svg/0
{ "file_path": "owncloud/web/packages/design-system/src/assets/icons/clipboard-line.svg", "repo_id": "owncloud", "token_count": 199 }
686
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> <g> <path fill="none" d="M0 0h24v24H0z"/> <path d="M14 18v-2h3.5a3.5 3.5 0 1 0-2.5-5.95V10a6 6 0 1 0-12 0v.007H1V10a8 8 0 0 1 15.458-2.901A5.5 5.5 0 1 1 17.5 18H14zm-8 2h10v2H6v-2zm0-8h8v2H6v-2zm-4 4h10v2H2v-2z"/> </g> </svg>
owncloud/web/packages/design-system/src/assets/icons/cloud-windy-line.svg/0
{ "file_path": "owncloud/web/packages/design-system/src/assets/icons/cloud-windy-line.svg", "repo_id": "owncloud", "token_count": 206 }
687
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> <g> <path fill="none" d="M0 0h24v24H0z"/> <path d="M23 12v2c0 3.314-4.925 6-11 6-5.967 0-10.824-2.591-10.995-5.823L1 14v-2c0 3.314 4.925 6 11 6s11-2.686 11-6zM12 4c6.075 0 11 2.686 11 6s-4.925 6-11 6-11-2.686-11-6 4.925-6 11-6z"/> </g> </svg>
owncloud/web/packages/design-system/src/assets/icons/coin-fill.svg/0
{ "file_path": "owncloud/web/packages/design-system/src/assets/icons/coin-fill.svg", "repo_id": "owncloud", "token_count": 199 }
688
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> <g> <path fill="none" d="M0 0h24v24H0z"/> <path d="M13 22C7.477 22 3 17.523 3 12S7.477 2 13 2s10 4.477 10 10-4.477 10-10 10zM8 11.5l4 1.5 1.5 4.002L17 8l-9 3.5z"/> </g> </svg>
owncloud/web/packages/design-system/src/assets/icons/compass-discover-fill.svg/0
{ "file_path": "owncloud/web/packages/design-system/src/assets/icons/compass-discover-fill.svg", "repo_id": "owncloud", "token_count": 151 }
689
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> <g> <path fill="none" d="M0 0h24v24H0z"/> <path d="M2 22a8 8 0 1 1 16 0H2zm8-9c-3.315 0-6-2.685-6-6s2.685-6 6-6 6 2.685 6 6-2.685 6-6 6zm10 4h4v2h-4v-2zm-3-5h7v2h-7v-2zm2-5h5v2h-5V7z"/> </g> </svg>
owncloud/web/packages/design-system/src/assets/icons/contacts-fill.svg/0
{ "file_path": "owncloud/web/packages/design-system/src/assets/icons/contacts-fill.svg", "repo_id": "owncloud", "token_count": 190 }
690
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> <g> <path fill="none" d="M0 0h24v24H0z"/> <path d="M12 2c5.52 0 10 4.48 10 10s-4.48 10-10 10S2 17.52 2 12 6.48 2 12 2zm0 5c-2.76 0-5 2.24-5 5s2.24 5 5 5c1.82 0 3.413-.973 4.288-2.428l-1.715-1.028A3 3 0 1 1 12 9c1.093 0 2.05.584 2.574 1.457l1.714-1.03A4.999 4.999 0 0 0 12 7z"/> </g> </svg>
owncloud/web/packages/design-system/src/assets/icons/copyright-fill.svg/0
{ "file_path": "owncloud/web/packages/design-system/src/assets/icons/copyright-fill.svg", "repo_id": "owncloud", "token_count": 223 }
691
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> <g> <path fill="none" d="M0 0h24v24H0z"/> <path d="M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2zm2 8h-4a1 1 0 0 0-.993.883L9 11v4h1.5v4h3v-4H15v-4a1 1 0 0 0-.883-.993L14 10zm-2-5a2 2 0 1 0 0 4 2 2 0 0 0 0-4z"/> </g> </svg>
owncloud/web/packages/design-system/src/assets/icons/creative-commons-by-fill.svg/0
{ "file_path": "owncloud/web/packages/design-system/src/assets/icons/creative-commons-by-fill.svg", "repo_id": "owncloud", "token_count": 198 }
692