text stringlengths 1 2.83M | id stringlengths 16 152 | metadata dict | __index_level_0__ int64 0 949 |
|---|---|---|---|
Bugfix: Introduce "upload finalizing"-state in upload overlay
The "upload finalizing"-state has been introduced to the upload overlay. This state is relevant during the time window when all data has been transferred to the server (= progress bar is at 100%), but the server still needs to write all data to the storage.
The "cancel"- and "pause"-actions are disabled during the "upload finalizing"-state as the data transfer is technically finished. Previously, when pausing and resuming when being in this state, the upload would be marked as successful instantly, despite the server still writing to the storage.
https://github.com/owncloud/web/issues/7956
https://github.com/owncloud/web/pull/7974
https://github.com/owncloud/web/pull/7999
| owncloud/web/changelog/6.0.0_2022-11-29/bugfix-upload-finalizing-state/0 | {
"file_path": "owncloud/web/changelog/6.0.0_2022-11-29/bugfix-upload-finalizing-state",
"repo_id": "owncloud",
"token_count": 180
} | 597 |
Enhancement: Enable renaming on received shares
As a receiver the user can rename a share which will only take effect for the respective user
but won't change the name for the sharee or other share receivers.
https://github.com/owncloud/web/pull/7725
https://github.com/owncloud/web/issues/6247
| owncloud/web/changelog/6.0.0_2022-11-29/enhancement-enable-renaming-received-shares/0 | {
"file_path": "owncloud/web/changelog/6.0.0_2022-11-29/enhancement-enable-renaming-received-shares",
"repo_id": "owncloud",
"token_count": 80
} | 598 |
Bugfix: Application menu active display on hover
The text color of the active application menu item on hover as been fixed.
https://github.com/owncloud/web/pull/8265
| owncloud/web/changelog/7.0.0_2023-06-02/bugfix-app-menu-active-display/0 | {
"file_path": "owncloud/web/changelog/7.0.0_2023-06-02/bugfix-app-menu-active-display",
"repo_id": "owncloud",
"token_count": 44
} | 599 |
Bugfix: Hide upload hint in empty read-only folders
Empty read-only folders now don't show the upload hint to the user.
https://github.com/owncloud/web/issues/8834
https://github.com/owncloud/web/pull/8846
| owncloud/web/changelog/7.0.0_2023-06-02/bugfix-hide-upload-hint-in-read-only-folders/0 | {
"file_path": "owncloud/web/changelog/7.0.0_2023-06-02/bugfix-hide-upload-hint-in-read-only-folders",
"repo_id": "owncloud",
"token_count": 64
} | 600 |
Bugfix: Paste action conflict dialog broken
We've fixed a bug that resulted in the paste action not doing anything in cases of a conflict
https://github.com/owncloud/web/pull/8480
https://github.com/owncloud/web/issues/8462 | owncloud/web/changelog/7.0.0_2023-06-02/bugfix-paste-action-conflict-dialog-broken/0 | {
"file_path": "owncloud/web/changelog/7.0.0_2023-06-02/bugfix-paste-action-conflict-dialog-broken",
"repo_id": "owncloud",
"token_count": 62
} | 601 |
Bugfix: Select all checkbox
We've fixed a bug in the shared-with-me page which caused unrelated checkboxes to be checked.
https://github.com/owncloud/web/pull/9131
https://github.com/owncloud/web/issues/9122
| owncloud/web/changelog/7.0.0_2023-06-02/bugfix-select-all-checkbox/0 | {
"file_path": "owncloud/web/changelog/7.0.0_2023-06-02/bugfix-select-all-checkbox",
"repo_id": "owncloud",
"token_count": 65
} | 602 |
Bugfix: Users without role assignment
Listing and editing users without a role assignment in the admin settings has been fixed.
https://github.com/owncloud/web/issues/8585
https://github.com/owncloud/web/pull/8590
| owncloud/web/changelog/7.0.0_2023-06-02/bugfix-users-without-role-assignment/0 | {
"file_path": "owncloud/web/changelog/7.0.0_2023-06-02/bugfix-users-without-role-assignment",
"repo_id": "owncloud",
"token_count": 60
} | 603 |
Enhancement: Batch edit quota in admin panel
We've added the batch edit quota functionality to the admin panel for users personal space and in the spaces list
https://github.com/owncloud/web/pull/8387
https://github.com/owncloud/web/pull/8430
https://github.com/owncloud/web/pull/8438
https://github.com/owncloud/web/pull/8555
https://github.com/owncloud/web/pull/8603
https://github.com/owncloud/web/issues/8417
| owncloud/web/changelog/7.0.0_2023-06-02/enhancement-admin-change-spaces-quota-batch-action/0 | {
"file_path": "owncloud/web/changelog/7.0.0_2023-06-02/enhancement-admin-change-spaces-quota-batch-action",
"repo_id": "owncloud",
"token_count": 132
} | 604 |
Enhancement: Create Space from selection
We've added a new action 'Create Space from selection' to the users
personal home so they can create a Space with the copied content of their
selected files and folders.
https://github.com/owncloud/web/pull/8730
https://github.com/owncloud/web/issues/8735
| owncloud/web/changelog/7.0.0_2023-06-02/enhancement-create-space-from-selection/0 | {
"file_path": "owncloud/web/changelog/7.0.0_2023-06-02/enhancement-create-space-from-selection",
"repo_id": "owncloud",
"token_count": 80
} | 605 |
Enhancement: Slight improvement of key up/down performance
The render performance of the key up/down events in file lists has been improved slightly.
https://github.com/owncloud/web/pull/8356
| owncloud/web/changelog/7.0.0_2023-06-02/enhancement-key-up-down-performance/0 | {
"file_path": "owncloud/web/changelog/7.0.0_2023-06-02/enhancement-key-up-down-performance",
"repo_id": "owncloud",
"token_count": 51
} | 606 |
Enhancement: Rename "Quicklink" to "link"
We've renamed "Quicklink" to "link" in the UI
https://github.com/owncloud/web/pull/8898
https://github.com/owncloud/web/issues/7891
| owncloud/web/changelog/7.0.0_2023-06-02/enhancement-rename-quicklink-to-link/0 | {
"file_path": "owncloud/web/changelog/7.0.0_2023-06-02/enhancement-rename-quicklink-to-link",
"repo_id": "owncloud",
"token_count": 64
} | 607 |
Enhancement: Spaces list in admin settings
The admin settings now have a view to list all spaces for the current instance. This makes it possible for space admins to manage all spaces in one place.
https://github.com/owncloud/web/pull/8178
https://github.com/owncloud/web/pull/8195
https://github.com/owncloud/web/pull/8190
https://github.com/owncloud/web/pull/8192
https://github.com/owncloud/web/pull/8199
https://github.com/owncloud/web/pull/8224
https://github.com/owncloud/web/pull/8228
https://github.com/owncloud/web/pull/8229
https://github.com/owncloud/web/pull/8231
https://github.com/owncloud/web/pull/8236
https://github.com/owncloud/web/pull/8238
https://github.com/owncloud/web/pull/8234
https://github.com/owncloud/web/pull/8249
https://github.com/owncloud/web/pull/8230
https://github.com/owncloud/web/pull/8262
https://github.com/owncloud/web/pull/8247
https://github.com/owncloud/web/pull/8273
https://github.com/owncloud/web/pull/8268
https://github.com/owncloud/web/pull/8233
https://github.com/owncloud/web/pull/8333
https://github.com/owncloud/web/pull/8334
https://github.com/owncloud/web/pull/8477
https://github.com/owncloud/web/issues/8219
https://github.com/owncloud/web/issues/8267
| owncloud/web/changelog/7.0.0_2023-06-02/enhancement-spaces-list-in-admin-settings/0 | {
"file_path": "owncloud/web/changelog/7.0.0_2023-06-02/enhancement-spaces-list-in-admin-settings",
"repo_id": "owncloud",
"token_count": 428
} | 608 |
Bugfix: Space creation does not block reoccurring event
We've fixed a bug that caused multiple spaces to be created in case of a slow internet connection and if the user clicks confirm multiple times.
https://github.com/owncloud/web/pull/9213
https://github.com/owncloud/web/issues/9189
| owncloud/web/changelog/7.1.0_2023-08-23/bugfix-create-new-space-reoccurring/0 | {
"file_path": "owncloud/web/changelog/7.1.0_2023-08-23/bugfix-create-new-space-reoccurring",
"repo_id": "owncloud",
"token_count": 76
} | 609 |
Enhancement: Add whitespace context-menu
We've added a generic context-menu for right clicking on whitespace.
https://github.com/owncloud/web/pull/8921
https://github.com/owncloud/web/issues/5861
| owncloud/web/changelog/7.1.0_2023-08-23/enhancement-add-whitespace-context-menu/0 | {
"file_path": "owncloud/web/changelog/7.1.0_2023-08-23/enhancement-add-whitespace-context-menu",
"repo_id": "owncloud",
"token_count": 61
} | 610 |
Enhancement: Resolve pulic links to their actual location
Public links are now being resolved to their actual location if the user has proper access to the resource (either via space or share).
https://github.com/owncloud/web/pull/9299
https://github.com/owncloud/web/issues/9296
| owncloud/web/changelog/7.1.0_2023-08-23/enhancement-resolve-public-link-to-actual-location/0 | {
"file_path": "owncloud/web/changelog/7.1.0_2023-08-23/enhancement-resolve-public-link-to-actual-location",
"repo_id": "owncloud",
"token_count": 75
} | 611 |
Bugfix: Private link resolving via share jail ID
Resolving private links via the share jail ID has been fixed.
https://github.com/owncloud/web/pull/9913
https://github.com/owncloud/web/issues/9867
| owncloud/web/changelog/7.1.2_2023-11-16/bugfix-resolving-via-share-jail-id/0 | {
"file_path": "owncloud/web/changelog/7.1.2_2023-11-16/bugfix-resolving-via-share-jail-id",
"repo_id": "owncloud",
"token_count": 59
} | 612 |
Bugfix: Create .space folder if it does not exist
Creating .space folder and README.md in space if folder has been removed by user.
https://github.com/owncloud/web/issues/9788
https://github.com/owncloud/web/pull/9793
| owncloud/web/changelog/8.0.0_2024-03-08/bugfix-hidden-space-folder/0 | {
"file_path": "owncloud/web/changelog/8.0.0_2024-03-08/bugfix-hidden-space-folder",
"repo_id": "owncloud",
"token_count": 67
} | 613 |
Bugfix: Restore space
We've fixed a bug where restoring a space was not possible in some constellations for (space) admins.
https://github.com/owncloud/web/pull/10424
| owncloud/web/changelog/8.0.0_2024-03-08/bugfix-restore-space/0 | {
"file_path": "owncloud/web/changelog/8.0.0_2024-03-08/bugfix-restore-space",
"repo_id": "owncloud",
"token_count": 48
} | 614 |
Change: DavProperties without namespace
The `DavProperties` coming from the `web-client` package don't include their namespace anymore. E.g. `{http://owncloud.org/ns}fileid` has now become `fileid`. This change was part of moving away from the WebDAV implementation of the ownCloudSDK in favor of a new implementation in `web-client`.
There is a new subset `DavProperties.DavNamespace` to identify all properties living under the default namespace `{DAV:}`. All other properties live under the owncloud namespace `{http://owncloud.org/ns}`.
https://github.com/owncloud/web/issues/9709
https://github.com/owncloud/web/pull/9764
| owncloud/web/changelog/8.0.0_2024-03-08/change-dav-properties-without-namespace/0 | {
"file_path": "owncloud/web/changelog/8.0.0_2024-03-08/change-dav-properties-without-namespace",
"repo_id": "owncloud",
"token_count": 177
} | 615 |
Enhancement: Create shortcuts
We've added a new functionality to add to shortcuts to web, those can be created via the "+ New" context menu.
Users can enter URLs or pick a file via the drop down menu and create a '.url' file.
'.url' files can be opened via web or downloaded and opened on the desktop.
https://github.com/owncloud/web/pull/9890
https://github.com/owncloud/web/pull/9908
https://github.com/owncloud/web/pull/9936
https://github.com/owncloud/web/pull/9971
https://github.com/owncloud/web/issues/9796
https://github.com/owncloud/web/issues/9887
https://github.com/owncloud/web/issues/9850
https://github.com/owncloud/web/issues/9963
https://github.com/owncloud/web/issues/9969
| owncloud/web/changelog/8.0.0_2024-03-08/enhancement-create-shortcuts/0 | {
"file_path": "owncloud/web/changelog/8.0.0_2024-03-08/enhancement-create-shortcuts",
"repo_id": "owncloud",
"token_count": 220
} | 616 |
Enhancement: Harmonize AppSwitcher icon colors
We've adjusted the AppSwitcher icon colors to be more inline with the design.
https://github.com/owncloud/web/pull/10224
https://github.com/owncloud/web/issues/10121
| owncloud/web/changelog/8.0.0_2024-03-08/enhancement-harmonize-appswitcher-icon-colors/0 | {
"file_path": "owncloud/web/changelog/8.0.0_2024-03-08/enhancement-harmonize-appswitcher-icon-colors",
"repo_id": "owncloud",
"token_count": 64
} | 617 |
Enhancement: Search query term linking
We've added the option to search for multiple terms with the same type,
at the moment only the tag search benefits from it.
This makes it possible to search for multiple resources with different tags in one query.
The UI now empowers the user to perform advanced searches like:
* all resources with the tags `tag1` OR `tag2`
* all resources with the tags `tag1` OR `tag2` AND containing text `content`
as a rule of thumb, if a property appears multiple times (like `tag1` OR `tag2`)
the search combines the query with an `OR` and different keys are linked with an `AND`.
https://github.com/owncloud/web/pull/9854
https://github.com/owncloud/web/issues/9829
| owncloud/web/changelog/8.0.0_2024-03-08/enhancement-search-term-linking/0 | {
"file_path": "owncloud/web/changelog/8.0.0_2024-03-08/enhancement-search-term-linking",
"repo_id": "owncloud",
"token_count": 189
} | 618 |
Bugfix: Add link in right sidebar sharing menu, doesn't copy link to clipboard
We've fixed a bug, where clicking the add link button in the right sidebar sharing menu,
created a new link but didn't copy it to the clipboard.
https://github.com/owncloud/web/pull/10573
https://github.com/owncloud/web/pull/10581
https://github.com/owncloud/web/issues/10563
| owncloud/web/changelog/8.0.1_2024-03-12/bugfix-add-link-does-not-copy-to-clipboard/0 | {
"file_path": "owncloud/web/changelog/8.0.1_2024-03-12/bugfix-add-link-does-not-copy-to-clipboard",
"repo_id": "owncloud",
"token_count": 102
} | 619 |
Change: Remove skeleton app
Due to improvements in the extension system in general, we have removed the skeleton app.
Documentation regarding the extension API and guides/examples can be found in the dev docs.
https://github.com/owncloud/web/issues/9892
https://github.com/owncloud/web/pull/10067
| owncloud/web/changelog/9.0.0_2024-02-26/change-remove-skeleton-app/0 | {
"file_path": "owncloud/web/changelog/9.0.0_2024-02-26/change-remove-skeleton-app",
"repo_id": "owncloud",
"token_count": 78
} | 620 |
Enhancement: Top loading bar increase visibility
We've improved the visibility in the top loading bar, the height has been increased along with the color contrast.
https://github.com/owncloud/web/issues/10383
| owncloud/web/changelog/9.0.0_2024-02-26/enhancement-top-loading-bar-increase-visibility/0 | {
"file_path": "owncloud/web/changelog/9.0.0_2024-02-26/enhancement-top-loading-bar-increase-visibility",
"repo_id": "owncloud",
"token_count": 51
} | 621 |
---
policy_selector:
static:
policy: ocis
policies:
- name: ocis
routes:
# serve oC Web assets from the Web container
- endpoint: /
backend: http://web:8080
unprotected: true
# servce oC Web config from oCIS
- endpoint: /config.json
backend: http://localhost:9100
unprotected: true
# begin of regular oCIS proxy configuration
# we don't need the root rule for oC Web, since we replaced it
# with the both rules above
# - endpoint: /
# service: com.owncloud.web.web
# unprotected: true
- endpoint: /.well-known/webfinger
service: com.owncloud.web.webfinger
unprotected: true
- endpoint: /.well-known/openid-configuration
service: com.owncloud.web.idp
unprotected: true
- endpoint: /branding/logo
service: com.owncloud.web.web
- endpoint: /konnect/
service: com.owncloud.web.idp
unprotected: true
- endpoint: /signin/
service: com.owncloud.web.idp
unprotected: true
- endpoint: /archiver
service: com.owncloud.web.frontend
- endpoint: /ocs/v2.php/apps/notifications/api/v1/notifications
service: com.owncloud.userlog.userlog
- type: regex
endpoint: /ocs/v[12].php/cloud/user/signing-key
service: com.owncloud.web.ocs
- type: regex
endpoint: /ocs/v[12].php/config
service: com.owncloud.web.frontend
unprotected: true
- endpoint: /ocs/
service: com.owncloud.web.frontend
- type: query
endpoint: /remote.php/?preview=1
service: com.owncloud.web.webdav
- method: REPORT
endpoint: /remote.php/dav/
service: com.owncloud.web.webdav
- method: REPORT
endpoint: /remote.php/webdav
service: com.owncloud.web.webdav
- method: REPORT
endpoint: /dav/spaces
service: com.owncloud.web.webdav
- type: query
endpoint: /dav/?preview=1
service: com.owncloud.web.webdav
- type: query
endpoint: /webdav/?preview=1
service: com.owncloud.web.webdav
- endpoint: /remote.php/
service: com.owncloud.web.ocdav
- endpoint: /dav/
service: com.owncloud.web.ocdav
- endpoint: /webdav/
service: com.owncloud.web.ocdav
- endpoint: /status
service: com.owncloud.web.ocdav
unprotected: true
- endpoint: /status.php
service: com.owncloud.web.ocdav
unprotected: true
- endpoint: /index.php/
service: com.owncloud.web.ocdav
- endpoint: /apps/
service: com.owncloud.web.ocdav
- endpoint: /data
service: com.owncloud.web.frontend
unprotected: true
- endpoint: /app/list
service: com.owncloud.web.frontend
unprotected: true
- endpoint: /app/
service: com.owncloud.web.frontend
- endpoint: /graph/v1.0/invitations
service: com.owncloud.graph.invitations
- endpoint: /graph/
service: com.owncloud.graph.graph
- endpoint: /api/v0/settings
service: com.owncloud.web.settings
| owncloud/web/deployments/examples/ocis_web/config/ocis/proxy.yaml/0 | {
"file_path": "owncloud/web/deployments/examples/ocis_web/config/ocis/proxy.yaml",
"repo_id": "owncloud",
"token_count": 1448
} | 622 |
# for m1 use SELENIUM_IMAGE=seleniarm/standalone-chromium:4.7.0-20221206 docker-compose run selenium
ARG SELENIUM_IMAGE
FROM ${SELENIUM_IMAGE}
RUN sudo apt -qqy update \
&& sudo apt -qqy --no-install-recommends install \
fonts-indic \
&& sudo rm -rf /var/lib/apt/lists/* \
&& sudo apt -qyy clean
| owncloud/web/dev/docker/selenium.Dockerfile/0 | {
"file_path": "owncloud/web/dev/docker/selenium.Dockerfile",
"repo_id": "owncloud",
"token_count": 127
} | 623 |
---
title: 'Repo structure and (published) packages'
date: 2022-01-28T00:00:00+00:00
weight: 30
geekdocRepo: https://github.com/owncloud/web
geekdocEditPath: edit/master/docs/development
geekdocFilePath: repo-structure.md
---
{{< toc >}}
## Repository Structure
From a developer's perspective, the most important parts of the [ownCloud Web repo](https://github.com/owncloud/web) are the following files and folders:
### dev Folder and docker-compose.yml File
The `/dev` folder contains all the configuration files that are needed in the `docker-compose.yml` file. This docker compose stack
contains all the backend and testing related infrastructure that is needed for an out-of-the-box usable localhost development setup,
as described in the [tooling section]({{< ref "tooling.md" >}}).
### docs Folder
Within the `/docs` folder you will find all the documentation source documents that get published to the [dev docs](https://owncloud.dev/clients/web/).
### packages Folder
We're using the [ownCloud Web repo](https://github.com/owncloud/web) as a mono repo. It contains a variety of packages. Some of them get
published to [npmjs.com](https://npmjs.com), others define the core packages, apps and extensions that are the foundation of
the `ownCloud Web` release artifact.
Having these packages side by side within the `/packages` folder of the repo is possible because of a `pnpm` feature called `Workspaces`. You can learn more about that by visiting the [pnpm docs](https://pnpm.io/workspaces).
### tests Folder
For historic reasons, there are two end-to-end test collections in the ownCloud Web project. The older one lives in `/tests/acceptance`,
using [Nightwatch.js](https://nightwatchjs.org). The newer one lives in `/tests/e2e`, using [Playwright](https://playwright.dev).
We're slowly moving away from the nightwatch.js-based e2e tests. As our coverage with playwright based e2e tests grows continuously, it might
happen that you will not find the `/tests/acceptance` folder anymore. If that's the case at the time of reading this, those are happy times.
You're more than welcome to make a pull request and adjust this section of the docs accordingly. :-)
The rest of the folder contains helpers and configuration files for our automated testing infrastructure.
You can read more about testing in our [testing section]({{< ref "../testing/_index.md" >}})
### package.json File
This is probably no surprise: the root level `package.json` file defines the project information, build scripts, dependencies and some more details.
Each package in `/packages` can and most likely will contain another `package.json` which does the same for the respective package.
### vite.config.ts
We're working with [Vite](https://vitejs.dev) as a local development server and build tool. `vite.config.ts` is the main configuration file for that.
You can read more about the usage in our [tooling section]({{< ref "tooling.md" >}}).
## (Published) Packages
Each package in the `/packages` folder can - not exclusively, but most commonly - consist of
- source code (`/src`),
- unit tests (`/tests`),
- translations (`/l10n`) and
- a `package.json` file for package specific details and dependencies.
### Code Style and Build Config
Some of our packages in `/packages` are pure helper packages which ensure a common code style and build configuration for all our
internal (mono repo) and external packages. We encourage you to make use of the very same packages. This helps the community
understand code more easily, even when coming from different developers or vendors in the ownCloud Web ecosystem.
Namely those packages are
- `/packages/babel-preset`
- `/packages/eslint-config`
- `/packages/extension-sdk`
- `/packages/prettier-config`
- `/packages/tsconfig/`
### ownCloud Design System
The ownCloud Design System (`/packages/design-system`) is a collection of components, design tokens and styles which ensure a
unique and consistent look and feel and branding throughout the ownCloud Web ecosystem. We hope that you use it, too, so that your
very own apps and extensions will blend in with all the others. Documentation and code examples can be found in
the [design system documentation](https://owncloud.design).
The ownCloud Design System is a standalone project, but to make development easier we have the code in our mono repo.
We're planning to publish it on npmjs.com as [@ownclouders/design-system](https://www.npmjs.com/package/@ownclouders/design-system)
as soon as possible. Since it's bundled with ownCloud Web, you should not bundle it with your app or extension.
### web-client
The client package (`/packages/web-client`) serves as an abstraction layer for the various ownCloud APIs, like
[LibreGraph](https://owncloud.dev/apis/http/graph/), [WebDAV](https://doc.owncloud.com/server/next/developer_manual/webdav_api/) and
[OCS](https://doc.owncloud.com/server/next/developer_manual/core/apis/ocs-capabilities.html). The package provides TypeScript
interfaces for various entities (like files, folders, shares and spaces) and makes sure that raw API responses are properly
transformed so that you can deal with more useful objects. The web-client package gets published
on npmjs.com as [@ownclouders/web-client](https://www.npmjs.com/package/@ownclouders/web-client).
Dedicated documentation for the `web-client` package is not available, yet, since our extension system is still work in progress.
### web-pkg
The web-pkg package (`/packages/web-pkg`) is a collection of opinionated components, composables, types and other helpers that aim
at making your app and extension developer experience as easy and seamless as possible. The web-pkg package gets published on
npmjs.com as [@ownclouders/web-pkg](https://www.npmjs.com/package/@ownclouders/web-pkg).
Dedicated documentation for the `web-pkg` package is not available, yet, since our extension system is still work in progress.
### web-runtime
At the very heart of ownCloud Web, the `web-runtime` is responsible for dependency injection, app bootstrapping, configuration,
authentication, data preloading and much more.
It is very likely that you will never get in touch with it as most of the developer-facing features are exposed via `web-pkg`. If you
have more questions about this package, please join our [public chat](https://talk.owncloud.com/channel/web) and simply ask
or write an issue in our [issue tracker](https://github.com/owncloud/web/issues).
### Standalone Core Apps
Both `web-app-admin-settings` and `web-app-files` are standalone apps which are bundled with the default ownCloud Web release artifact.
### Viewer and Editor Apps
Apps which fall into the categories `viewer` or `editor` can be opened from the context of a file or folder. This mostly happens from
within the `files` app. We currently bundle the following apps with the default ownCloud Web release artifact:
- `web-app-draw-io` an editor for `.drawio` files
- `web-app-external` an iframe integration of all the apps coming from the [app provider](https://owncloud.dev/services/app-provider/)
(e.g. OnlyOffice, Collabora Online and others)
- `web-app-pdf-viewer` a viewer for `.pdf` files, which relies on native PDF rendering support from the browser
- `web-app-preview` a viewer for various media files (audio / video / image formats)
- `web-app-text-editor` a simple editor for `.txt`, `.md` and other plain text files
If you're interested in writing your own viewer or editor app for certain file types, please get in touch with us for more info.
| owncloud/web/docs/development/repo-structure.md/0 | {
"file_path": "owncloud/web/docs/development/repo-structure.md",
"repo_id": "owncloud",
"token_count": 2013
} | 624 |
---
title: 'Running tests'
date: 2021-07-27T00:00:00+00:00
weight: 60
geekdocRepo: https://github.com/owncloud/web
geekdocEditPath: edit/master/docs/testing
geekdocFilePath: testing.md
---
{{< toc >}}
## Introduction
In order to allow us to make changes quickly, often and with a high level of confidence, we heavily rely on tests within the `web` repository.
All the steps below require you to have the `web` repo cloned locally and dependencies installed.
This can be achieved by running
```shell
$ git clone https://github.com/owncloud/web.git
$ cd web
$ pnpm install
```
### Unit Tests
We have a steadily growing coverage of unit tests. You can run them locally via
```shell
$ pnpm test:unit
```
You can also specify which tests to run by giving a path param, like so: `pnpm test:unit packages/<app-name>/tests/unit/path/to/test.spec.js`.
#### Unit Test File Structure
Our unit tests spec files follow a simple structure:
- fixtures and mocks at the top
- helper functions at the bottom
- tests in between
We usually organize tests with nested `describe` blocks. If you would like to get feedback from the core team about
the structure, scope and goals of your unit tests before actually writing some, we invite you to make a pull request
with only `describe` blocks and nested `it.todo("put your test description here")` lines.
### E2E Tests (Playwright)
Our end-to-end test suite is built upon the [Playwright Framework](https://github.com/microsoft/playwright),
which makes it easy to write tests, debug them and have them run cross-browser with minimal overhead.
#### Preparation
Please make sure you have installed all dependencies and started the server(s) as described in [tooling]({{< ref "tooling.md#development-setup" >}}).
#### Prepare & Start Web
Bundle the web frontend with the following command:
```shell
$ pnpm build:w
```
Our compose setup automatically mounts it into an oCIS backend, respectively. Web also gets recompiled on changes.
#### Run E2E Tests
The following command will run all available e2e tests:
```shell
$ pnpm test:e2e:cucumber 'tests/e2e/cucumber/**/*.feature'
```
#### Options
To run a particular test, simply add the feature file and line number to the test command, e.g. `pnpm test:e2e:cucumber tests/e2e/cucumber/features/smoke/admin-settings/users.feature:84`
Various options are available via ENV variables, e.g.
- `BASIC_AUTH=true` use basic authorization for api requests.
- `RETRY=n` to retry failures `n` times
- `SLOW_MO=n` to slow the execution time by `n` milliseconds
- `TIMEOUT=n` to set tests to timeout after `n` milliseconds
- `HEADLESS=bool` to open the browser while the tests run (defaults to true => headless mode)
- `BROWSER=name` to run tests against a specific browser. Defaults to chromium, available are chromium, firefox, webkit, chromium
- `ADMIN_PASSWORD` to set administrator password. By default, the `admin` password is used in the test
For debugging reasons, you may want to record a video or traces of your test run.
Again, you can use the following ENV variables in your command:
- `REPORT_DIR=another/path` to set a directory for your recorded files (defaults to "reports")
- `REPORT_VIDEO=true` to record a video of the test run
- `REPORT_HAR=true` to save request information from the test run
- `REPORT_TRACING=true` to record traces from the test run
To then open e.g. the tracing from the `REPORT_DIR`, run
```shell
$ npx playwright show-trace path/to/file.zip
```
#### Lint E2E Test Code
Run the following command to find out the lint issues early in the test codes:
```shell
$ pnpm lint
```
And to fix the lint problems run the following command:
```shell
$ pnpm lint --fix
```
If the lint problems are not fixed by `--fix` option, we have to manually fix the code.
### Acceptance Tests (Nightwatch)
{{< hint info >}}
We've decided to switch to playwright for end-to-end tests. As we steadily increase the coverage of our playwright
based e2e tests we keep the existing nightwatch based e2e tests maintained. However, we decided to not add new scenarios
to the nightwatch based e2e tests anymore.
In other words: only continue reading about our nightwatch based acceptance tests below if you need to debug a failing test.
{{< /hint >}}
At ownCloud, we have decided to adopt Docker as the main environment for developing our application. This also applies for running our acceptance tests.
#### Preparation
Please make sure you have installed all dependencies and started the server(s) as described in [tooling]({{< ref "tooling.md#development-setup" >}}).
#### Prepare & Start Web
Bundle the web frontend, which then gets mounted into the respective backends. It also gets recompiled on changes.
```shell
$ pnpm build:w
```
#### Start Docker
The acceptance tests need additional docker containers to be running.
```shell
$ docker compose up ocis selenium middleware-ocis
```
and make sure there are no conflicting ports and everything runs smoothly. You can check if everything has worked by opening [https://host.docker.internal:9200](https://host.docker.internal:9200) and logging in using the demo user (admin/admin).
If you're using a M1 Mac, you need to use `seleniarm/standalone-chromium:4.7.0-20221206`for now. To do so, export `SELENIUM_IMAGE=seleniarm/standalone-chromium:4.7.0-20221206`.
#### Run acceptance tests
- Change the directory to `tests/acceptance`
- Install all the test dependencies with `pnpm install` command
- Run the tests
```shell
$ pnpm test:acceptance:ocis features/path/to/test
```
#### Watch the Test Run
To watch the tests while running, open [http://host.docker.internal:7900/](http://host.docker.internal:7900/) in the browser to access your VNC client.
### Analyze the Test Report
The cucumber library is used as the test runner for both e2e and acceptance tests. The report generator script lives inside the `tests/e2e/cucumber/report` folder. If you want to create a report after the tests are done, run the command:
```bash
node tests/e2e/cucumber/report --report-input=tests/e2e/cucumber/report/report.json
```
`--report-input` is the path to the report file generated by the test runner. If you want to generate a report for the acceptance tests, you can run the command
```bash
node tests/e2e/cucumber/report --report-input=tests/acceptance/report/report.json
```
By default, the report gets generated to reports/e2e/cucumber/releaseReport/cucumber_report.html.
The location can be changed by adding the `--report-location` flag.
To see all available options run
```bash
node tests/e2e/cucumber/report --help
```
| owncloud/web/docs/testing/testing.md/0 | {
"file_path": "owncloud/web/docs/testing/testing.md",
"repo_id": "owncloud",
"token_count": 1922
} | 625 |
const { sortProps } = require('./utils')
module.exports = {
name: 'format/ods/scss',
formatter: (dictionary) => {
const props = sortProps(dictionary.allProperties)
const data = [
...props.map((p) => `$${p.name}: ${p.value};`),
'',
':host, :root {',
...props.map((p) => ` --${p.name}: #{$${p.name}};`),
'}',
''
].join('\n')
return data
}
}
| owncloud/web/packages/design-system/build/build-tokens/format-writer-scss.js/0 | {
"file_path": "owncloud/web/packages/design-system/build/build-tokens/format-writer-scss.js",
"repo_id": "owncloud",
"token_count": 193
} | 626 |
Enhancement: Add new icons
We've added new icons which can be used to symbolise adding new shares, creating links and shared with lists.
We've also removed a wrong fill color from visibility off icon.
https://fontawesome.com/icons/share-square?style=solid
https://material.io/resources/icons/?search=group&icon=group_add&style=baseline
https://github.com/owncloud/owncloud-design-system/pull/858
https://github.com/owncloud/owncloud-design-system/pull/864 | owncloud/web/packages/design-system/changelog/1.10.0_2020-09-16/add-new-icons/0 | {
"file_path": "owncloud/web/packages/design-system/changelog/1.10.0_2020-09-16/add-new-icons",
"repo_id": "owncloud",
"token_count": 131
} | 627 |
Enhancement: Add margin and padding utility classes
We've added utility classes which can assign margin and padding to elements.
In their own subsections of utilities section in our design system documentation can be found how to use them.
https://github.com/owncloud/owncloud-design-system/pull/890
| owncloud/web/packages/design-system/changelog/1.12.0_2020-10-03/utility-classes/0 | {
"file_path": "owncloud/web/packages/design-system/changelog/1.12.0_2020-10-03/utility-classes",
"repo_id": "owncloud",
"token_count": 70
} | 628 |
Enhancement: Added the modal component
We've added the modal component together with a basic documentation.
https://github.com/owncloud/owncloud-design-system/pull/723
| owncloud/web/packages/design-system/changelog/1.3.0_2020-04-23/modal_component/0 | {
"file_path": "owncloud/web/packages/design-system/changelog/1.3.0_2020-04-23/modal_component",
"repo_id": "owncloud",
"token_count": 47
} | 629 |
Enhancement: Use Source Sans Pro
We've started using Source Sans Pro in the default theme as the font.
https://github.com/owncloud/owncloud-design-system/issues/785
https://github.com/owncloud/owncloud-design-system/pull/791 | owncloud/web/packages/design-system/changelog/1.7.0_2020-06-17/oc-ci-font/0 | {
"file_path": "owncloud/web/packages/design-system/changelog/1.7.0_2020-06-17/oc-ci-font",
"repo_id": "owncloud",
"token_count": 67
} | 630 |
Enhancement: Allow hover option in OcTableFiles
We've added the possibility to use the `hover` option from
OcTable also in OcTableFiles.
https://github.com/owncloud/owncloud-design-system/pull/1632
https://github.com/owncloud/owncloud-design-system/pull/1680
| owncloud/web/packages/design-system/changelog/11.0.0_2021-10-04/enhancement-hover-for-filestable/0 | {
"file_path": "owncloud/web/packages/design-system/changelog/11.0.0_2021-10-04/enhancement-hover-for-filestable",
"repo_id": "owncloud",
"token_count": 83
} | 631 |
Enhancement: Breadcrumb contextmenu
We've added a button to the last item of the OcBreadcrumb component
that triggers a dropdown which can be customizably filled.
https://github.com/owncloud/web/issues/6030
https://github.com/owncloud/owncloud-design-system/pull/1786
| owncloud/web/packages/design-system/changelog/11.3.0_2021-12-03/enhancement-breadcrumb-contextmenu/0 | {
"file_path": "owncloud/web/packages/design-system/changelog/11.3.0_2021-12-03/enhancement-breadcrumb-contextmenu",
"repo_id": "owncloud",
"token_count": 83
} | 632 |
Change: Move OcSidebarNav and OcSidebarNavItem to web
We've moved OcSidebarNav and OcSidebarNavItem to web and renamed it
to SidebarNav and SidebarNavItem.
https://github.com/owncloud/web/issues/6036
https://github.com/owncloud/owncloud-design-system/pull/1810
| owncloud/web/packages/design-system/changelog/12.0.0_2022-02-07/change-remove-sidebar-nav/0 | {
"file_path": "owncloud/web/packages/design-system/changelog/12.0.0_2022-02-07/change-remove-sidebar-nav",
"repo_id": "owncloud",
"token_count": 89
} | 633 |
Enhancement: OcTable header alignment
We've applied the full row height to the table header and made it vertically centered to give a more fluffy experience for the eye.
https://github.com/owncloud/owncloud-design-system/pull/1922
| owncloud/web/packages/design-system/changelog/12.0.0_2022-02-07/enhancement-table-header-alignment/0 | {
"file_path": "owncloud/web/packages/design-system/changelog/12.0.0_2022-02-07/enhancement-table-header-alignment",
"repo_id": "owncloud",
"token_count": 60
} | 634 |
Change: Default type of OcButton
We've changed the default type of buttons rendered by `OcButton` to `button`.
Browsers otherwise assume they are of type `submit` which leads to very unexpected
behavior in forms, especially as we use `OcButton` in a lot of (not so obvious) places
for a11y reasons.
https://github.com/owncloud/owncloud-design-system/pull/2009
| owncloud/web/packages/design-system/changelog/13.0.0_2022-03-23/change-ocbutton-default-type/0 | {
"file_path": "owncloud/web/packages/design-system/changelog/13.0.0_2022-03-23/change-ocbutton-default-type",
"repo_id": "owncloud",
"token_count": 100
} | 635 |
Enhancement: Add selection range for OcModal and OcTextInput
We've added the possibility to set a selection range for
the initial focus selection in OcModal and OcTextinput.
https://github.com/owncloud/web/issues/6729
https://github.com/owncloud/owncloud-design-system/pull/2061 | owncloud/web/packages/design-system/changelog/13.1.0_2022-06-07/enhancement-add-selection-range-for-modal-and-textinput/0 | {
"file_path": "owncloud/web/packages/design-system/changelog/13.1.0_2022-06-07/enhancement-add-selection-range-for-modal-and-textinput",
"repo_id": "owncloud",
"token_count": 84
} | 636 |
Bugfix: Remove width shrinking of the ocAvatarItem
We fixed an issue that the width of ocAvatarItem is shrinking in the sidebar of web by longer group names
https://github.com/owncloud/owncloud-design-system/issues/2241
https://github.com/owncloud/owncloud-design-system/pull/2242
| owncloud/web/packages/design-system/changelog/14.0.0_2022-11-03/bugfix-oc-avatar-item-width-shrinking/0 | {
"file_path": "owncloud/web/packages/design-system/changelog/14.0.0_2022-11-03/bugfix-oc-avatar-item-width-shrinking",
"repo_id": "owncloud",
"token_count": 83
} | 637 |
Enhancement: OcCheckbox add outline
We've added an optional outline to be able to highlight the checkbox
https://github.com/owncloud/owncloud-design-system/pull/2218
https://github.com/owncloud/web/issues/6029 | owncloud/web/packages/design-system/changelog/14.0.0_2022-11-03/enhancement-checkbox-add-outline/0 | {
"file_path": "owncloud/web/packages/design-system/changelog/14.0.0_2022-11-03/enhancement-checkbox-add-outline",
"repo_id": "owncloud",
"token_count": 64
} | 638 |
Bugfix: Add `to` prop to `oc-tag` component
We've added an optional `to` prop to the `oc-tag` component so that it is properly assigned to the element in case of `router-link` type.
https://github.com/owncloud/owncloud-design-system/pull/975
| owncloud/web/packages/design-system/changelog/2.0.2_2020-12-07/tag-link/0 | {
"file_path": "owncloud/web/packages/design-system/changelog/2.0.2_2020-12-07/tag-link",
"repo_id": "owncloud",
"token_count": 76
} | 639 |
Change: Add resource path attribute to oc-resource-name
We added a custom attribute to the oc-resource-name component which contains the full resource path. While this is not needed for rendering the component, this makes end to end testing much easier.
https://github.com/owncloud/owncloud-design-system/pull/1103
| owncloud/web/packages/design-system/changelog/3.0.0_2021-02-24/resource-path-in-resource-name/0 | {
"file_path": "owncloud/web/packages/design-system/changelog/3.0.0_2021-02-24/resource-path-in-resource-name",
"repo_id": "owncloud",
"token_count": 78
} | 640 |
Bugfix: Folder names with dots
Folder names with dots showed were separated into a basename and extension part in the oc-resource-name component, which has been fixed. Additionally, the oc-resource-name component now as a `resource-type` attribute, which reflects the `type` property of the displayed resource. This makes testing easier.
https://github.com/owncloud/owncloud-design-system/pull/1153
| owncloud/web/packages/design-system/changelog/3.2.1_2021-03-17/bugfix-folder-names/0 | {
"file_path": "owncloud/web/packages/design-system/changelog/3.2.1_2021-03-17/bugfix-folder-names",
"repo_id": "owncloud",
"token_count": 98
} | 641 |
Enhancement: Make searchbar component a11y-compliant
It is now possible to reach and submit the "clear"-button within the search bar via keyboard. After a search query has been cleared, the input will be focused again. This change also removes the "uk-close" icon as it is not a11y-compliant.
https://github.com/owncloud/owncloud-design-system/pull/1164
https://github.com/owncloud/owncloud-design-system/issues/1160 | owncloud/web/packages/design-system/changelog/4.0.0_2021-03-25/enhancement-searchbar-accessibility/0 | {
"file_path": "owncloud/web/packages/design-system/changelog/4.0.0_2021-03-25/enhancement-searchbar-accessibility",
"repo_id": "owncloud",
"token_count": 116
} | 642 |
Bugfix: Use primary text color for the dropzone
We've changed the color of the dropzone hint message to the `oc-color` so that the text is visible even when brand and background colors are both dark.
https://github.com/owncloud/owncloud-design-system/pull/1192
| owncloud/web/packages/design-system/changelog/4.2.1_2021-04-01/bugfix-dropzone-color/0 | {
"file_path": "owncloud/web/packages/design-system/changelog/4.2.1_2021-04-01/bugfix-dropzone-color",
"repo_id": "owncloud",
"token_count": 70
} | 643 |
Enhancement: Files table accessibility
* Add accessible description in case a resource link opens in a new window
* Add accessible description for status indicators
* Adjust some of the labels to make them more descriptive
* Fix broken outline on directories
https://github.com/owncloud/owncloud-design-system/pull/1229
| owncloud/web/packages/design-system/changelog/6.1.0_2021-04-22/enhancement-files-table-a11y/0 | {
"file_path": "owncloud/web/packages/design-system/changelog/6.1.0_2021-04-22/enhancement-files-table-a11y",
"repo_id": "owncloud",
"token_count": 73
} | 644 |
Bugfix: OcSpinner make ariaLabel prop optional
The OcSpinner component had a required property that caused console errors.
Since we're not always using it in a case where a label is required, we've
made it optional but strongly recommend to use it unless the element is
wrapped in/equiped with a `aria-hidden="true"` attribute.
https://github.com/owncloud/owncloud-design-system/pull/1251
| owncloud/web/packages/design-system/changelog/6.4.0_2021-05-06/bugfix-ocspinner-remove-required-label/0 | {
"file_path": "owncloud/web/packages/design-system/changelog/6.4.0_2021-05-06/bugfix-ocspinner-remove-required-label",
"repo_id": "owncloud",
"token_count": 108
} | 645 |
Enhancement: a11y color contrasts
The color contrast checker now runs when generating tokens via the yarn token command
and reports if any colors don't match the minimum color contrast
https://github.com/owncloud/owncloud-design-system/pull/1302
https://github.com/owncloud/owncloud-design-system/pull/1316
| owncloud/web/packages/design-system/changelog/7.0.0_2021-05-31/enhancement-a11y-color-contrasts/0 | {
"file_path": "owncloud/web/packages/design-system/changelog/7.0.0_2021-05-31/enhancement-a11y-color-contrasts",
"repo_id": "owncloud",
"token_count": 83
} | 646 |
Enhancement: Add pagination component
We've added `OcPagination` component.
https://github.com/owncloud/owncloud-design-system/pull/1055 | owncloud/web/packages/design-system/changelog/7.2.0_2021-06-11/enhancement-pagination-component/0 | {
"file_path": "owncloud/web/packages/design-system/changelog/7.2.0_2021-06-11/enhancement-pagination-component",
"repo_id": "owncloud",
"token_count": 44
} | 647 |
Enhancement: Table Sorting by String or Function
Sorting inside the OcTable now can be done by passing a string or a function,
so you can e.g. sort objects inside Array by their properties.
https://github.com/owncloud/owncloud-design-system/pull/1377
| owncloud/web/packages/design-system/changelog/8.0.0_2021-07-08/enhancement-sortable-string-and-function/0 | {
"file_path": "owncloud/web/packages/design-system/changelog/8.0.0_2021-07-08/enhancement-sortable-string-and-function",
"repo_id": "owncloud",
"token_count": 72
} | 648 |
Change: Production Bundle Content
In the past, we shipped the docs `.scss` file and
some example images which now have been removed
from the production bundle to reduce size.
https://github.com/owncloud/owncloud-design-system/pull/1553
| owncloud/web/packages/design-system/changelog/9.0.0_2021-08-09/change-production-bundle-content/0 | {
"file_path": "owncloud/web/packages/design-system/changelog/9.0.0_2021-08-09/change-production-bundle-content",
"repo_id": "owncloud",
"token_count": 65
} | 649 |
Enhancement: OcTableFiles Contextmenu Tooltip
Since most of the quickactions in the OcTableFiles have a tooltip the
contextmenu button should get one, too. It also replaces the (removed) Showdetails
button and leads to better discoverability of the contextmenu (and therefore the sidebar).
https://github.com/owncloud/owncloud-design-system/pull/1610
| owncloud/web/packages/design-system/changelog/9.3.0_2021-08-23/enhancement-filestable-contextmenu-button-tooltip/0 | {
"file_path": "owncloud/web/packages/design-system/changelog/9.3.0_2021-08-23/enhancement-filestable-contextmenu-button-tooltip",
"repo_id": "owncloud",
"token_count": 94
} | 650 |
Enhancement: CSS classes for negative margin added
We added css classes to the design system which provide
negative margins. Can be used like normal css margin classes
with a prepended "-", e.g. "-oc-mt-l".
https://github.com/owncloud/web/pull/8504
| owncloud/web/packages/design-system/changelog/unreleased/enhancement-add-negative-margin/0 | {
"file_path": "owncloud/web/packages/design-system/changelog/unreleased/enhancement-add-negative-margin",
"repo_id": "owncloud",
"token_count": 72
} | 651 |
### Components are the smallest basic structures of an user interface. They cannot be broken down any further. Buttons, links, and inputs are good examples. Components utilize decisions made on the design token level.
You’re looking at ownCloud Design System’s demo <code>UI Components</code>. Everything you see here is editable in Markdown format. To change or remove this content, see [/docs/components.md](https://github.com/owncloud/owncloud-design-system/blob/master/docs/components.md). The documentation you see below is auto generated by Vue Styleguidist. To edit how it’s formatted, see [/docs/docs.styles.scss](https://github.com/owncloud/owncloud-design-system/blob/master/docs/docs.styles.scss).
## Overview
```
<docs-components-list />
```
| owncloud/web/packages/design-system/docs/components.md/0 | {
"file_path": "owncloud/web/packages/design-system/docs/components.md",
"repo_id": "owncloud",
"token_count": 208
} | 652 |
## Usage
Add one or more of the following classes to any element to create the same vertical and/or horizontal padding that a paragraph usually has.
| Class | Description |
| ----- | ----------- |
| .oc-p | Adds padding to all sides of the element. |
| .oc-pt | Adds top padding. |
| .oc-pb | Adds bottom padding. |
| .oc-pl | Adds left padding. |
| .oc-pr | Adds right padding. |
| .oc-px | Adds left and right paddings. |
| .oc-py | Adds top and bottom paddings. |
## X-Small padding
Add one of the following classes to add very small spacing to block elements.
| Class | Description |
| ----- | ----------- |
| .oc-p-xs | Adds x-small padding to all sides of the element. |
| .oc-pt-xs | Adds x-small top padding. |
| .oc-pb-xs | Adds x-small bottom padding. |
| .oc-pl-xs | Adds x-small left padding. |
| .oc-pr-xs | Adds x-small right padding. |
| .oc-px-xs | Adds x-small left and right paddings. |
| .oc-py-xs | Adds x-small top and bottom paddings. |
## Small padding
Add one of the following classes to add small spacing to block elements.
| Class | Description |
| ----- | ----------- |
| .oc-p-s | Adds small to all sides of the element. |
| .oc-pt-s | Adds small top padding. |
| .oc-pb-s | Adds small bottom padding. |
| .oc-pl-s | Adds small left padding. |
| .oc-pr-s | Adds small right padding. |
| .oc-px-s | Adds small left and right paddings. |
| .oc-py-s | Adds small top and bottom paddings. |
## Medium padding
Add one of the following classes to add medium spacing to block elements.
| Class | Description |
| ----- | ----------- |
| .oc-p-m | Adds medium padding to all sides of the element. |
| .oc-pt-m | Adds medium top padding.
| .oc-pb-m | Adds medium bottom padding. |
| .oc-pl-m | Adds medium left padding. |
| .oc-pr-m | Adds medium right padding. |
| .oc-px-m | Adds medium left and right paddings. |
| .oc-py-m | Adds medium top and bottom paddings. |
## Large padding
Add one of the following classes to add large spacing to block elements.
| Class | Description |
| ----- | ----------- |
| .oc-p-l | Adds large padding to all sides of the element. |
| .oc-pt-l | Adds large top padding. |
| .oc-pb-l | Adds large bottom padding. |
| .oc-pl-l | Adds large left padding. |
| .oc-pr-l | Adds large right padding. |
| .oc-px-l | Adds large left and right paddings. |
| .oc-py-l | Adds large top and bottom paddings. |
## X-Large padding
Add one of the following classes to add very large spacing to block elements.
| Class | Description |
| ----- | ----------- |
| .oc-p-xl | Adds larger padding to all sides of the element. |
| .oc-pt-xl | Adds larger top padding. |
| .oc-pb-xl | Adds larger bottom padding. |
| .oc-pl-xl | Adds larger left padding. |
| .oc-pr-xl | Adds larger right padding. |
| .oc-px-xl | Adds larger left and right paddings. |
| .oc-py-xl | Adds larger top and bottom paddings. |
## XX-Large padding
Add one of the following classes to add extra large spacing to block elements.
| Class | Description |
| ----- | ----------- |
| .oc-p-xxl | Adds extra larger padding to all sides of the element. |
| .oc-pt-xxl | Adds extra larger top padding. |
| .oc-pb-xxl | Adds extra larger bottom padding. |
| .oc-pl-xxl | Adds extra larger left padding. |
| .oc-pr-xxl | Adds extra larger right padding. |
| .oc-px-xxl | Adds extra larger left and right paddings. |
| .oc-py-xxl | Adds extra larger top and bottom paddings. |
## Remove padding
Add one of the following classes to remove padding from block elements.
| Class | Description |
| ----- | ----------- |
| .oc-p-rm | Removes all paddings. |
| .oc-pt-rm | Removes top padding. |
| .oc-pb-rm | Removes bottom padding. |
| .oc-pl-rm | Removes left padding. |
| .oc-pr-rm | Removes right padding. |
| .oc-px-rm | Removes left and right paddings. |
| .oc-py-rm | Removes top and bottom paddings. |
| owncloud/web/packages/design-system/docs/paddings.md/0 | {
"file_path": "owncloud/web/packages/design-system/docs/paddings.md",
"repo_id": "owncloud",
"token_count": 1236
} | 653 |
## Usage
### Visible
Add one or more of the following classes to any element to display elements only from a certain breakpoint.
| Class | Description |
| ---------------- | -------------------------------------------------------- |
| .oc-invisible | Hides element without removing it from the document flow |
| .oc-visible@s | Displays element on screens bigger or equal to 640px |
| .oc-visible@m | Displays element on screens bigger or equal to 960px |
| .oc-visible@l | Displays element on screens bigger or equal to 1200px |
| .oc-visible@xl | Displays element on screens bigger or equal to 1600px |
| .oc-invisible-sr | Hides element, keeping it accessible for screen readers |
### Hidden
Add one or more of the following classes to any element to hide elements from a certain breakpoint.
| Class | Description |
| ------------- | -------------------------------------------------- |
| .oc-hidden | Hides element, removing it from the document flow |
| .oc-hidden@s | Hides element on screens bigger or equal to 640px |
| .oc-hidden@m | Hides element on screens bigger or equal to 960px |
| .oc-hidden@l | Hides element on screens bigger or equal to 1200px |
| .oc-hidden@xl | Hides element on screens bigger or equal to 1600px |
| owncloud/web/packages/design-system/docs/visibility.md/0 | {
"file_path": "owncloud/web/packages/design-system/docs/visibility.md",
"repo_id": "owncloud",
"token_count": 456
} | 654 |
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<g>
<path fill="none" d="M0 0h24v24H0z"/>
<path d="M3 4.995C3 3.893 3.893 3 4.995 3h14.01C20.107 3 21 3.893 21 4.995v14.01A1.995 1.995 0 0 1 19.005 21H4.995A1.995 1.995 0 0 1 3 19.005V4.995zM5 5v14h14V5H5zm2.972 13.18a9.983 9.983 0 0 1-1.751-.978A6.994 6.994 0 0 1 12.102 14c2.4 0 4.517 1.207 5.778 3.047a9.995 9.995 0 0 1-1.724 1.025A4.993 4.993 0 0 0 12.102 16c-1.715 0-3.23.864-4.13 2.18zM12 13a3.5 3.5 0 1 1 0-7 3.5 3.5 0 0 1 0 7zm0-2a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z"/>
</g>
</svg>
| owncloud/web/packages/design-system/src/assets/icons/account-box-line.svg/0 | {
"file_path": "owncloud/web/packages/design-system/src/assets/icons/account-box-line.svg",
"repo_id": "owncloud",
"token_count": 343
} | 655 |
<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="M21 3a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h18zm-1 2H4v14h16V5zM9.399 8l3.199 8h-2.155l-.4-1h-3.29l-.4 1H4.199l3.2-8h2zM19 8v8h-3a3 3 0 0 1 0-6h.999L17 8h2zm-2 4h-1a1 1 0 0 0-.117 1.993L16 14h1v-2zm-8.601-1.115L7.552 13h1.692l-.845-2.115z"/>
</g>
</svg>
| owncloud/web/packages/design-system/src/assets/icons/advertisement-line.svg/0 | {
"file_path": "owncloud/web/packages/design-system/src/assets/icons/advertisement-line.svg",
"repo_id": "owncloud",
"token_count": 278
} | 656 |
<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 2l9.3 3.32-1.418 12.31L12 22l-7.882-4.37L2.7 5.32 12 2zm0 2.21L6.186 17.26h2.168l1.169-2.92h4.934l1.17 2.92h2.167L12 4.21zm1.698 8.33h-3.396L12 8.45l1.698 4.09z"/>
</g>
</svg>
| owncloud/web/packages/design-system/src/assets/icons/angularjs-fill.svg/0 | {
"file_path": "owncloud/web/packages/design-system/src/assets/icons/angularjs-fill.svg",
"repo_id": "owncloud",
"token_count": 205
} | 657 |
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<g>
<path fill="none" d="M0 0h24v24H0z"/>
<path d="M3 10h18v10.004c0 .55-.445.996-.993.996H3.993A.994.994 0 0 1 3 20.004V10zm6 2v2h6v-2H9zM2 4c0-.552.455-1 .992-1h18.016c.548 0 .992.444.992 1v4H2V4z"/>
</g>
</svg>
| owncloud/web/packages/design-system/src/assets/icons/archive-fill.svg/0 | {
"file_path": "owncloud/web/packages/design-system/src/assets/icons/archive-fill.svg",
"repo_id": "owncloud",
"token_count": 178
} | 658 |
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<g>
<path fill="none" d="M0 0h24v24H0z"/>
<path d="M8 7v4L2 6l6-5v4h5a8 8 0 1 1 0 16H4v-2h9a6 6 0 1 0 0-12H8z"/>
</g>
</svg>
| owncloud/web/packages/design-system/src/assets/icons/arrow-go-back-fill.svg/0 | {
"file_path": "owncloud/web/packages/design-system/src/assets/icons/arrow-go-back-fill.svg",
"repo_id": "owncloud",
"token_count": 131
} | 659 |
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<g>
<path fill="none" d="M0 0h24v24H0z"/>
<path d="M12 8l6 6H6z"/>
</g>
</svg>
| owncloud/web/packages/design-system/src/assets/icons/arrow-up-s-fill.svg/0 | {
"file_path": "owncloud/web/packages/design-system/src/assets/icons/arrow-up-s-fill.svg",
"repo_id": "owncloud",
"token_count": 97
} | 660 |
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<g>
<path fill="none" d="M0 0h24v24H0z"/>
<path d="M14 20v2H2v-2h12zM14.586.686l7.778 7.778L20.95 9.88l-1.06-.354L17.413 12l5.657 5.657-1.414 1.414L16 13.414l-2.404 2.404.283 1.132-1.415 1.414-7.778-7.778 1.415-1.414 1.13.282 6.294-6.293-.353-1.06L14.586.686z"/>
</g>
</svg>
| owncloud/web/packages/design-system/src/assets/icons/auction-fill.svg/0 | {
"file_path": "owncloud/web/packages/design-system/src/assets/icons/auction-fill.svg",
"repo_id": "owncloud",
"token_count": 212
} | 661 |
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<g>
<path fill="none" d="M0 0h24v24H0z"/>
<path d="M17.5 2a4.5 4.5 0 0 1 2.951 7.897c.355.967.549 2.013.549 3.103A9 9 0 1 1 3.55 9.897a4.5 4.5 0 1 1 6.791-5.744 9.05 9.05 0 0 1 3.32 0A4.494 4.494 0 0 1 17.5 2zM10 13H8a4 4 0 0 0 7.995.2L16 13h-2a2 2 0 0 1-3.995.15L10 13z"/>
</g>
</svg>
| owncloud/web/packages/design-system/src/assets/icons/bear-smile-fill.svg/0 | {
"file_path": "owncloud/web/packages/design-system/src/assets/icons/bear-smile-fill.svg",
"repo_id": "owncloud",
"token_count": 224
} | 662 |
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<g>
<path fill="none" d="M0 0h24v24H0z"/>
<path d="M18.5 9c1 1.06 1.5 2.394 1.5 4 0 3.466-3.7 4.276-5.5 9-.667-.575-1-1.408-1-2.5 0-3.482 5-5.29 5-10.5zm-4-4c1.2 1.238 1.8 2.572 1.8 4 0 4.951-6.045 5.692-4.8 13C9.833 20.84 9 19.173 9 17c0-3.325 5.5-6 5.5-12zM10 1c1.333 1.667 2 3.167 2 4.5 0 6.25-8.5 8.222-4 16.5-2.616-.58-4.5-3-4.5-6C3.5 9.5 10 8.5 10 1z"/>
</g>
</svg>
| owncloud/web/packages/design-system/src/assets/icons/blaze-fill.svg/0 | {
"file_path": "owncloud/web/packages/design-system/src/assets/icons/blaze-fill.svg",
"repo_id": "owncloud",
"token_count": 290
} | 663 |
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<g>
<path fill="none" d="M0 0h24v24H0z"/>
<path d="M3 18.5V5a3 3 0 0 1 3-3h14a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5A3.5 3.5 0 0 1 3 18.5zM19 20v-3H6.5a1.5 1.5 0 0 0 0 3H19zM5 15.337A3.486 3.486 0 0 1 6.5 15H19V4H6a1 1 0 0 0-1 1v10.337z"/>
</g>
</svg>
| owncloud/web/packages/design-system/src/assets/icons/book-line.svg/0 | {
"file_path": "owncloud/web/packages/design-system/src/assets/icons/book-line.svg",
"repo_id": "owncloud",
"token_count": 208
} | 664 |
<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="M16.5 2A5.5 5.5 0 0 1 22 7.5V10c0 .888-.386 1.686-1 2.235V17a3.001 3.001 0 0 1-2 2.829V21a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1v-1.17A3.001 3.001 0 0 1 3 17V6a4 4 0 0 1 4-4h9.5zm-7 9H5v6a1 1 0 0 0 .883.993L6 18h12a1 1 0 0 0 .993-.883L19 17v-4h-6.036A3.5 3.5 0 0 1 9.5 16H6v-2h3.5a1.5 1.5 0 0 0 1.493-1.356L11 12.5a1.5 1.5 0 0 0-1.356-1.493L9.5 11zm7-7H7a2 2 0 0 0-1.995 1.85L5 6v3h4.5a3.5 3.5 0 0 1 3.163 2H19a1 1 0 0 0 .993-.883L20 10V7.5a3.5 3.5 0 0 0-3.308-3.495L16.5 4z"/>
</g>
</svg>
| owncloud/web/packages/design-system/src/assets/icons/boxing-line.svg/0 | {
"file_path": "owncloud/web/packages/design-system/src/assets/icons/boxing-line.svg",
"repo_id": "owncloud",
"token_count": 402
} | 665 |
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<g>
<path fill="none" d="M0 0h24v24H0z"/>
<path d="M13 19.9a5.002 5.002 0 0 0 4-4.9v-3a4.98 4.98 0 0 0-.415-2h-9.17A4.98 4.98 0 0 0 7 12v3a5.002 5.002 0 0 0 4 4.9V14h2v5.9zm-7.464-2.21A6.979 6.979 0 0 1 5 15H2v-2h3v-1c0-.643.087-1.265.249-1.856L3.036 8.866l1-1.732L6.056 8.3a7.01 7.01 0 0 1 .199-.3h11.49c.069.098.135.199.199.3l2.02-1.166 1 1.732-2.213 1.278c.162.59.249 1.213.249 1.856v1h3v2h-3c0 .953-.19 1.862-.536 2.69l2.5 1.444-1 1.732-2.526-1.458A6.986 6.986 0 0 1 12 22a6.986 6.986 0 0 1-5.438-2.592l-2.526 1.458-1-1.732 2.5-1.443zM8 6a4 4 0 1 1 8 0H8z"/>
</g>
</svg>
| owncloud/web/packages/design-system/src/assets/icons/bug-line.svg/0 | {
"file_path": "owncloud/web/packages/design-system/src/assets/icons/bug-line.svg",
"repo_id": "owncloud",
"token_count": 421
} | 666 |
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<g>
<path fill="none" d="M0 0H24V24H0z"/>
<path d="M12 2c2.21 0 4 1.79 4 4v9h1c.55 0 1-.45 1-1V8c0-.552.448-1 1-1s1 .448 1 1v6c0 1.66-1.34 3-3 3h-1v3h2v2H6v-2h2v-6H7c-1.657 0-3-1.343-3-3V9c0-.552.448-1 1-1s1 .448 1 1v2c0 .55.45 1 1 1h1V6c0-2.21 1.79-4 4-4zm0 2c-1.105 0-2 .895-2 2v14h4V6c0-1.105-.895-2-2-2z"/>
</g>
</svg>
| owncloud/web/packages/design-system/src/assets/icons/cactus-line.svg/0 | {
"file_path": "owncloud/web/packages/design-system/src/assets/icons/cactus-line.svg",
"repo_id": "owncloud",
"token_count": 275
} | 667 |
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<g>
<path fill="none" d="M0 0H24V24H0z"/>
<path d="M19.778 4.222c2.343 2.343 2.343 6.142 0 8.485l-7.07 7.071c-2.344 2.343-6.143 2.343-8.486 0-2.343-2.343-2.343-6.142 0-8.485l7.07-7.071c2.344-2.343 6.143-2.343 8.486 0zm-5.656 11.313L8.465 9.878l-2.829 2.83c-1.562 1.561-1.562 4.094 0 5.656 1.562 1.562 4.095 1.562 5.657 0l2.829-2.83zm4.242-9.899c-1.562-1.562-4.095-1.562-5.657 0L9.88 8.464l5.657 5.657 2.828-2.828c1.562-1.562 1.562-4.095 0-5.657z"/>
</g>
</svg>
| owncloud/web/packages/design-system/src/assets/icons/capsule-line.svg/0 | {
"file_path": "owncloud/web/packages/design-system/src/assets/icons/capsule-line.svg",
"repo_id": "owncloud",
"token_count": 339
} | 668 |
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<g>
<path fill="none" d="M0 0h24v24H0z"/>
<path d="M5 15v4h4v2H3v-6h2zm16 0v6h-6v-2h4v-4h2zm-8.001-9l4.4 11h-2.155l-1.201-3h-4.09l-1.199 3H6.6l4.399-11h2zm-1 2.885L10.752 12h2.492l-1.245-3.115zM9 3v2H5v4H3V3h6zm12 0v6h-2V5h-4V3h6z"/>
</g>
</svg>
| owncloud/web/packages/design-system/src/assets/icons/character-recognition-line.svg/0 | {
"file_path": "owncloud/web/packages/design-system/src/assets/icons/character-recognition-line.svg",
"repo_id": "owncloud",
"token_count": 231
} | 669 |
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<g>
<path fill="none" d="M0 0H24V24H0z"/>
<path d="M21 3c.552 0 1 .448 1 1v14c0 .552-.448 1-1 1H6.455L2 22.5V4c0-.552.448-1 1-1h18zm-1 2H4v13.385L5.763 17H20V5zm-7 2v8h-2V7h2zm4 2v6h-2V9h2zm-8 2v4H7v-4h2z"/>
</g>
</svg>
| owncloud/web/packages/design-system/src/assets/icons/chat-poll-line.svg/0 | {
"file_path": "owncloud/web/packages/design-system/src/assets/icons/chat-poll-line.svg",
"repo_id": "owncloud",
"token_count": 198
} | 670 |
<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="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.929zM11 6h2v12h-2V6zM7 9h2v6H7V9zm8 0h2v6h-2V9z"/>
</g>
</svg>
| owncloud/web/packages/design-system/src/assets/icons/chat-voice-line.svg/0 | {
"file_path": "owncloud/web/packages/design-system/src/assets/icons/chat-voice-line.svg",
"repo_id": "owncloud",
"token_count": 236
} | 671 |
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<g>
<path fill="none" d="M0 0h24v24H0z"/>
<path d="M11 4.126V2h2v2.126a4.002 4.002 0 0 1 1.803 6.728l6.063 10.502-1.732 1-6.063-10.501a4.004 4.004 0 0 1-2.142 0L4.866 22.356l-1.732-1 6.063-10.502A4.002 4.002 0 0 1 11 4.126zM12 9a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"/>
</g>
</svg>
| owncloud/web/packages/design-system/src/assets/icons/compasses-fill.svg/0 | {
"file_path": "owncloud/web/packages/design-system/src/assets/icons/compasses-fill.svg",
"repo_id": "owncloud",
"token_count": 213
} | 672 |
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<g>
<path fill="none" d="M0 0h24v24H0z"/>
<path d="M5.636 6.636L12 .272l6.364 6.364a9 9 0 1 1-12.728 0zM7.05 8.05A7 7 0 0 0 12.004 20L12 3.1 7.05 8.05z"/>
</g>
</svg>
| owncloud/web/packages/design-system/src/assets/icons/contrast-drop-fill.svg/0 | {
"file_path": "owncloud/web/packages/design-system/src/assets/icons/contrast-drop-fill.svg",
"repo_id": "owncloud",
"token_count": 149
} | 673 |
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<g>
<path fill="none" d="M0 0h24v24H0z"/>
<path d="M11 21a1.5 1.5 0 0 0-3 0H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a1.5 1.5 0 0 0 3 0h10a1 1 0 0 1 1 1v5.5a2.5 2.5 0 1 0 0 5V20a1 1 0 0 1-1 1H11zM9.5 10.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3zm0 6a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z"/>
</g>
</svg>
| owncloud/web/packages/design-system/src/assets/icons/coupon-3-fill.svg/0 | {
"file_path": "owncloud/web/packages/design-system/src/assets/icons/coupon-3-fill.svg",
"repo_id": "owncloud",
"token_count": 241
} | 674 |
<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 2zm4 11H8v2h8v-2zm0-4H8v2h8V9z"/>
</g>
</svg>
| owncloud/web/packages/design-system/src/assets/icons/creative-commons-nd-fill.svg/0 | {
"file_path": "owncloud/web/packages/design-system/src/assets/icons/creative-commons-nd-fill.svg",
"repo_id": "owncloud",
"token_count": 151
} | 675 |
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<g>
<path fill="none" d="M0 0h24v24H0z"/>
<path d="M17 16h2V4H9v2h8v10zm0 2v3c0 .552-.45 1-1.007 1H4.007A1.001 1.001 0 0 1 3 21l.003-14c0-.552.45-1 1.007-1H7V3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1h-3zM7 16v2h2v1h2v-1h.5a2.5 2.5 0 1 0 0-5h-3a.5.5 0 1 1 0-1H13v-2h-2V9H9v1h-.5a2.5 2.5 0 1 0 0 5h3a.5.5 0 1 1 0 1H7z"/>
</g>
</svg>
| owncloud/web/packages/design-system/src/assets/icons/currency-fill.svg/0 | {
"file_path": "owncloud/web/packages/design-system/src/assets/icons/currency-fill.svg",
"repo_id": "owncloud",
"token_count": 281
} | 676 |
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<g>
<path fill="none" d="M0 0h24v24H0z"/>
<path d="M11 7V4a1 1 0 0 1 1-1h9a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1h8zm-6 9v2h5v-2H5zm9 0v2h5v-2h-5zm0-3v2h5v-2h-5zm0-3v2h5v-2h-5zm-9 3v2h5v-2H5z"/>
</g>
</svg>
| owncloud/web/packages/design-system/src/assets/icons/database-fill.svg/0 | {
"file_path": "owncloud/web/packages/design-system/src/assets/icons/database-fill.svg",
"repo_id": "owncloud",
"token_count": 221
} | 677 |
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<g>
<path fill="none" d="M0 0h24v24H0z"/>
<path d="M7 6V3a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v3h5v2h-2v13a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V8H2V6h5zm2-2v2h6V4H9z"/>
</g>
</svg>
| owncloud/web/packages/design-system/src/assets/icons/delete-bin-7-fill.svg/0 | {
"file_path": "owncloud/web/packages/design-system/src/assets/icons/delete-bin-7-fill.svg",
"repo_id": "owncloud",
"token_count": 166
} | 678 |
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<g>
<path fill="none" d="M0 0h24v24H0z"/>
<path d="M11 18v3H9v-3a8 8 0 1 1 7.458-10.901A5.5 5.5 0 1 1 17.5 18H11zm2 2h2v3h-2v-3z"/>
</g>
</svg>
| owncloud/web/packages/design-system/src/assets/icons/drizzle-fill.svg/0 | {
"file_path": "owncloud/web/packages/design-system/src/assets/icons/drizzle-fill.svg",
"repo_id": "owncloud",
"token_count": 142
} | 679 |
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<g>
<path fill="none" d="M0 0h24v24H0z"/>
<path d="M12.416 3.624l7.066 10.599a.5.5 0 0 1-.416.777H4.934a.5.5 0 0 1-.416-.777l7.066-10.599a.5.5 0 0 1 .832 0zM5 17h14a1 1 0 0 1 0 2H5a1 1 0 0 1 0-2z"/>
</g>
</svg>
| owncloud/web/packages/design-system/src/assets/icons/eject-fill.svg/0 | {
"file_path": "owncloud/web/packages/design-system/src/assets/icons/eject-fill.svg",
"repo_id": "owncloud",
"token_count": 180
} | 680 |
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<g>
<path fill="none" d="M0 0h24v24H0z"/>
<path d="M12 3c5.392 0 9.878 3.88 10.819 9-.94 5.12-5.427 9-10.819 9-5.392 0-9.878-3.88-10.819-9C2.121 6.88 6.608 3 12 3zm0 16a9.005 9.005 0 0 0 8.777-7 9.005 9.005 0 0 0-17.554 0A9.005 9.005 0 0 0 12 19zm0-2.5a4.5 4.5 0 1 1 0-9 4.5 4.5 0 0 1 0 9zm0-2a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5z"/>
</g>
</svg>
| owncloud/web/packages/design-system/src/assets/icons/eye-line.svg/0 | {
"file_path": "owncloud/web/packages/design-system/src/assets/icons/eye-line.svg",
"repo_id": "owncloud",
"token_count": 264
} | 681 |
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<g>
<path fill="none" d="M0 0L24 0 24 24 0 24z"/>
<path d="M16 2l5 4.999v14.01c0 .547-.445.991-.993.991H3.993C3.445 22 3 21.545 3 21.008V2.992C3 2.444 3.445 2 3.993 2H16zm-3 7h-2v6h5v-2h-3V9z"/>
</g>
</svg>
| owncloud/web/packages/design-system/src/assets/icons/file-history-fill.svg/0 | {
"file_path": "owncloud/web/packages/design-system/src/assets/icons/file-history-fill.svg",
"repo_id": "owncloud",
"token_count": 173
} | 682 |
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<g>
<path fill="none" d="M0 0h24v24H0z"/>
<path d="M15 4H5v16h14V8h-4V4zM3 2.992C3 2.444 3.447 2 3.999 2H16l5 5v13.993A1 1 0 0 1 20.007 22H3.993A1 1 0 0 1 3 21.008V2.992zm10.529 11.454a4.002 4.002 0 0 1-4.86-6.274 4 4 0 0 1 6.274 4.86l2.21 2.21-1.414 1.415-2.21-2.21zm-.618-2.032a2 2 0 1 0-2.828-2.828 2 2 0 0 0 2.828 2.828z"/>
</g>
</svg>
| owncloud/web/packages/design-system/src/assets/icons/file-search-line.svg/0 | {
"file_path": "owncloud/web/packages/design-system/src/assets/icons/file-search-line.svg",
"repo_id": "owncloud",
"token_count": 257
} | 683 |
<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="M16 17.472A5.978 5.978 0 0 0 20 19h2v2h-2a7.963 7.963 0 0 1-4-1.07A7.96 7.96 0 0 1 12 21a7.963 7.963 0 0 1-4-1.07A7.96 7.96 0 0 1 4 21H2v-2h2c1.537 0 2.94-.578 4-1.528A5.978 5.978 0 0 0 12 19c1.537 0 2.94-.578 4-1.528zm-3.427-15.94l.1.08L23 11h-3v6a5.99 5.99 0 0 1-2-.341V9.157l-6-5.455-6 5.454.001 7.502a5.978 5.978 0 0 1-1.702.335L4 17v-6H1l10.327-9.388a1 1 0 0 1 1.246-.08z"/>
</g>
</svg>
| owncloud/web/packages/design-system/src/assets/icons/flood-line.svg/0 | {
"file_path": "owncloud/web/packages/design-system/src/assets/icons/flood-line.svg",
"repo_id": "owncloud",
"token_count": 330
} | 684 |
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<g>
<path fill="none" d="M0 0h24v24H0z"/>
<path d="M8 21V11h14v9a1 1 0 0 1-1 1H8zm-2 0H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h7.414l2 2H21a1 1 0 0 1 1 1v3H7a1 1 0 0 0-1 1v11z"/>
</g>
</svg>
| owncloud/web/packages/design-system/src/assets/icons/folder-4-fill.svg/0 | {
"file_path": "owncloud/web/packages/design-system/src/assets/icons/folder-4-fill.svg",
"repo_id": "owncloud",
"token_count": 169
} | 685 |
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<g>
<path fill="none" d="M0 0L24 0 24 24 0 24z"/>
<path d="M10.414 3l2 2H21c.552 0 1 .448 1 1v14c0 .552-.448 1-1 1H3c-.552 0-1-.448-1-1V4c0-.552.448-1 1-1h7.414zm-.828 2H4v14h16V7h-8.414l-2-2zM13 9v4h3v2h-5V9h2z"/>
</g>
</svg>
| owncloud/web/packages/design-system/src/assets/icons/folder-history-line.svg/0 | {
"file_path": "owncloud/web/packages/design-system/src/assets/icons/folder-history-line.svg",
"repo_id": "owncloud",
"token_count": 193
} | 686 |
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<g>
<path fill="none" d="M0 0h24v24H0z"/>
<path d="M12.414 5H21a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h7.414l2 2zm-3.823 8.809l-.991.572 1 1.731.991-.572c.393.371.872.653 1.405.811v1.145h1.999V16.35a3.495 3.495 0 0 0 1.404-.811l.991.572 1-1.73-.991-.573a3.508 3.508 0 0 0 0-1.622l.99-.573-.999-1.73-.992.572a3.495 3.495 0 0 0-1.404-.812V8.5h-1.999v1.144a3.495 3.495 0 0 0-1.404.812L8.6 9.883 7.6 11.615l.991.572a3.508 3.508 0 0 0 0 1.622zm3.404.688a1.5 1.5 0 1 1 0-2.998 1.5 1.5 0 0 1 0 2.998z"/>
</g>
</svg>
| owncloud/web/packages/design-system/src/assets/icons/folder-settings-fill.svg/0 | {
"file_path": "owncloud/web/packages/design-system/src/assets/icons/folder-settings-fill.svg",
"repo_id": "owncloud",
"token_count": 378
} | 687 |
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<g>
<path fill="none" d="M0 0h24v24H0z"/>
<path d="M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zM8.523 7.109A6.04 6.04 0 0 0 7.11 8.523l8.368 8.368a6.04 6.04 0 0 0 1.414-1.414L8.523 7.109z"/>
</g>
</svg>
| owncloud/web/packages/design-system/src/assets/icons/forbid-fill.svg/0 | {
"file_path": "owncloud/web/packages/design-system/src/assets/icons/forbid-fill.svg",
"repo_id": "owncloud",
"token_count": 180
} | 688 |
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<g>
<path fill="none" d="M0 0h24v24H0z"/>
<path d="M17.409 19c-.776-2.399-2.277-3.885-4.266-5.602A10.954 10.954 0 0 1 20 11V3h1.008c.548 0 .992.445.992.993v16.014a1 1 0 0 1-.992.993H2.992A.993.993 0 0 1 2 20.007V3.993A1 1 0 0 1 2.992 3H6V1h2v4H4v7c5.22 0 9.662 2.462 11.313 7h2.096zM18 1v4h-8V3h6V1h2zm-1.5 9a1.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/gallery-fill.svg/0 | {
"file_path": "owncloud/web/packages/design-system/src/assets/icons/gallery-fill.svg",
"repo_id": "owncloud",
"token_count": 271
} | 689 |
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<g>
<path fill="none" d="M0 0h24v24H0z"/>
<path d="M12 2a9 9 0 0 1 9 9v7.5a3.5 3.5 0 0 1-6.39 1.976 2.999 2.999 0 0 1-5.223 0 3.5 3.5 0 0 1-6.382-1.783L3 18.499V11a9 9 0 0 1 9-9zm0 10c-1.105 0-2 1.12-2 2.5s.895 2.5 2 2.5 2-1.12 2-2.5-.895-2.5-2-2.5zM9.5 8a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zm5 0a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3z"/>
</g>
</svg>
| owncloud/web/packages/design-system/src/assets/icons/ghost-fill.svg/0 | {
"file_path": "owncloud/web/packages/design-system/src/assets/icons/ghost-fill.svg",
"repo_id": "owncloud",
"token_count": 281
} | 690 |
<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="M14 17v6h-2v-6H9l4-5 4 5h-3zm2 2h3v-3h-.8L13 9.5 7.647 16H6.5a1.5 1.5 0 0 0 0 3H10v2H6.5A3.5 3.5 0 0 1 3 17.5V5a3 3 0 0 1 3-3h14a1 1 0 0 1 1 1v17a1 1 0 0 1-1 1h-4v-2zM7 5v2h2V5H7zm0 3v2h2V8H7z"/>
</g>
</svg>
| owncloud/web/packages/design-system/src/assets/icons/git-repository-commits-fill.svg/0 | {
"file_path": "owncloud/web/packages/design-system/src/assets/icons/git-repository-commits-fill.svg",
"repo_id": "owncloud",
"token_count": 239
} | 691 |
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<g>
<path fill="none" d="M0 0h24v24H0z"/>
<path d="M3.064 7.51A9.996 9.996 0 0 1 12 2c2.695 0 4.959.99 6.69 2.605l-2.867 2.868C14.786 6.482 13.468 5.977 12 5.977c-2.605 0-4.81 1.76-5.595 4.123-.2.6-.314 1.24-.314 1.9 0 .66.114 1.3.314 1.9.786 2.364 2.99 4.123 5.595 4.123 1.345 0 2.49-.355 3.386-.955a4.6 4.6 0 0 0 1.996-3.018H12v-3.868h9.418c.118.654.182 1.336.182 2.045 0 3.046-1.09 5.61-2.982 7.35C16.964 21.105 14.7 22 12 22A9.996 9.996 0 0 1 2 12c0-1.614.386-3.14 1.064-4.49z"/>
</g>
</svg>
| owncloud/web/packages/design-system/src/assets/icons/google-fill.svg/0 | {
"file_path": "owncloud/web/packages/design-system/src/assets/icons/google-fill.svg",
"repo_id": "owncloud",
"token_count": 343
} | 692 |
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<g>
<path fill="none" d="M0 0h24v24H0z"/>
<path d="M13 8v8a3 3 0 0 1-3 3H7.83a3.001 3.001 0 1 1 0-2H10a1 1 0 0 0 1-1V8a3 3 0 0 1 3-3h3V2l5 4-5 4V7h-3a1 1 0 0 0-1 1z"/>
</g>
</svg>
| owncloud/web/packages/design-system/src/assets/icons/guide-fill.svg/0 | {
"file_path": "owncloud/web/packages/design-system/src/assets/icons/guide-fill.svg",
"repo_id": "owncloud",
"token_count": 166
} | 693 |
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<g>
<path fill="none" d="M0 0h24v24H0z"/>
<path d="M4 12h3a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-7C2 6.477 6.477 2 12 2s10 4.477 10 10v7a2 2 0 0 1-2 2h-3a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h3a8 8 0 1 0-16 0z"/>
</g>
</svg>
| owncloud/web/packages/design-system/src/assets/icons/headphone-fill.svg/0 | {
"file_path": "owncloud/web/packages/design-system/src/assets/icons/headphone-fill.svg",
"repo_id": "owncloud",
"token_count": 193
} | 694 |
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<g>
<path fill="none" d="M0 0h24v24H0z"/>
<path d="M13 18v5h-2v-5H9v3H7v-3.252a8 8 0 1 1 9.458-10.65A5.5 5.5 0 1 1 17.5 18l-.5.001v3h-2v-3h-2z"/>
</g>
</svg>
| owncloud/web/packages/design-system/src/assets/icons/heavy-showers-fill.svg/0 | {
"file_path": "owncloud/web/packages/design-system/src/assets/icons/heavy-showers-fill.svg",
"repo_id": "owncloud",
"token_count": 154
} | 695 |
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<g>
<path fill="none" d="M0 0h24v24H0z"/>
<path d="M21 4v14.721a.5.5 0 0 1-.298.458L12 23.03 3.298 19.18A.5.5 0 0 1 3 18.72V4H1V2h22v2h-2zM8 12v2h8v-2H8zm0-4v2h8V8H8z"/>
</g>
</svg>
| owncloud/web/packages/design-system/src/assets/icons/honour-fill.svg/0 | {
"file_path": "owncloud/web/packages/design-system/src/assets/icons/honour-fill.svg",
"repo_id": "owncloud",
"token_count": 171
} | 696 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.