aboutsummaryrefslogtreecommitdiffstats
path: root/DESIGN.md
blob: ebc522d9b3772de85be520497cfee3149839d02a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!--
 - SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors
 - SPDX-License-Identifier: AGPL-3.0-or-later
-->
# Nextcloud Design contribution guidelines

## 👋 Welcome

At Nextcloud we want to make sure to have everything in place to enable designers to contribute – making our apps universally accessible and easy to use.

## 🚢 How to contribute design

We have a dedicated page with more in-detail guidelines on our website: 
https://nextcloud.com/design/

**TL;DR**

1. Check out open [issues](https://github.com/nextcloud/server/issues) here on GitHub (we label them with `design`)
2. Make sure create publicly accessible assets 
3. Add your contributions to an issue and we promise we will review your contribution carefully and foster discussions

[This issue](https://github.com/nextcloud/desktop/issues/877) has examples of other apps, some simple mockups, and specifications about the design. In the discussions in the comments there are updates to the design as well.

[This pull request](https://github.com/nextcloud/desktop/pull/1565) by a developer has the implementation of that issue, the changes they made, and more design discussions and adjustments.

**We encourage you to:**

- Get in touch with the team by joining our [public Talk channel](https://cloud.nextcloud.com/call/gqff69i8)
n class="sd"> * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ namespace Test\Command; use OC\Core\Command\Background\Ajax; use OC\Core\Command\Background\Cron; use OC\Core\Command\Background\WebCron; use Symfony\Component\Console\Input\StringInput; use Symfony\Component\Console\Output\NullOutput; use Test\TestCase; class BackgroundJobsTest extends TestCase { public function testCronCommand() { $config = \OC::$server->getConfig(); $job = new Cron($config); $job->run(new StringInput(''), new NullOutput()); $this->assertEquals('cron', $config->getAppValue('core', 'backgroundjobs_mode')); } public function testAjaxCommand() { $config = \OC::$server->getConfig(); $job = new Ajax($config); $job->run(new StringInput(''), new NullOutput()); $this->assertEquals('ajax', $config->getAppValue('core', 'backgroundjobs_mode')); } public function testWebCronCommand() { $config = \OC::$server->getConfig(); $job = new WebCron($config); $job->run(new StringInput(''), new NullOutput()); $this->assertEquals('webcron', $config->getAppValue('core', 'backgroundjobs_mode')); } }