You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: developer_manual/design/introduction.rst
+9-4Lines changed: 9 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,16 +4,21 @@
4
4
Introduction
5
5
============
6
6
7
-
Nextcloud design and brand standards are used to maintain the identity of Nextcloud apps. If you're a developer who wants to create or contribute to a Nextcloud app, following this guide will make sure your app looks like it belongs to the Nextcloud family.
7
+
Nextcloud design and brand standards are used to maintain the identity of Nextcloud apps.
8
+
If you're a developer who wants to create or contribute to a Nextcloud app, following this guide will make sure your app looks like it belongs to the Nextcloud family.
8
9
9
-
Each Nextcloud app is unique and different, but there are a couple of standards that are used in everything. All Nextcloud apps are built keeping some basic principles in mind.
10
+
Each Nextcloud app is unique and different, but there are a couple of standards that are used in everything.
11
+
All Nextcloud apps are built keeping some basic principles in mind.
10
12
11
13
12
14
* Software should be quick and easy to use. Show only the most important elements. Secondary elements can be showed on hover or via an "Advanced" function.
13
15
* Nextcloud apps are built for everybody. Use a friendly tone with simple sentences. Make sure your app is responsive and runs on all browsers and devices.
14
16
* Accessibility: Make sure to regularly test accessibility, for example with `Lighthouse <https://developers.google.com/web/tools/lighthouse>`_\ , `WAVE <https://wave.webaim.org/>`_\ , and `Google Accessibility Scanner <https://play.google.com/store/apps/details?id=com.google.android.apps.accessibility.auditor>`_. Aim for WCAG Level AA. You can learn more about accessibility standards in the `W3 website <https://www.w3.org/WAI/standards-guidelines/wcag/glance/>`_
15
-
* Software should work. Only put features into master when they are complete. It is better to not have a feature instead of having one that works poorly.
16
-
* Software should get out of the way. Do things automatically instead of offering configuration options. When people ask for a setting, find out what the root of the problem is and fix that instead. Also read `Choosing our Preferences <http://ometer.com/preferences.html>`_.
17
+
* Software should work.
18
+
Only put features into main branch when they are complete. It is better to not have a feature instead of having one that works poorly.
19
+
* Software should get out of the way.
20
+
Do things automatically instead of offering configuration options. When people ask for a setting, find out what the root of the problem is and fix that instead.
21
+
Also read `Choosing our Preferences <http://ometer.com/preferences.html>`_.
17
22
* People’s data is sacred. Provide undo for most operations and optionally a confirmation for bigger more complex operations, but be careful about confirmations `as they might be dismissed <http://www.alistapart.com/articles/neveruseawarning/>`_.
18
23
* The state of the application should be clear. If something loads, provide feedback. Reactions should be quick, ideally under 100ms as per `response time limits <https://www.nngroup.com/articles/response-times-3-important-limits/>`_\.
19
24
* The state of the application should be clear. If something loads, provide feedback.
Copy file name to clipboardExpand all lines: developer_manual/getting_started/codingguidelines.rst
+19-9Lines changed: 19 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,13 +9,20 @@ General
9
9
10
10
* Ideally, discuss your plans on the `forums <https://help.nextcloud.com>`_ to see if others want to work with you on it
11
11
* We use `GitHub <https://github.com/nextcloud>`_, please get an account there and clone the repositories you want to work on
12
-
* Fixes go directly to master, nevertheless they need to be tested thoroughly.
13
-
* New features are always developed in a branch and only merged to master once they are fully done.
14
-
* Software should work. We only put features into master when they are complete. It's better to not have a feature instead of having one that works poorly.
15
-
* It is best to start working based on an issue - create one if there is none. You describe what you want to do, ask feedback on the direction you take it and take it from there.
16
-
* When you are finished, use the merge request function on GitHub to create a pull request. The other developers will look at it and give you feedback. You can signify that your PR is ready for review by adding the label "3. to review" to it. See `the code review page for more information <../prologue/bugtracker/codereviews.html>`_
17
-
* It is key to keep changes separate and small. The bigger and more hairy a PR grows, the harder it is to get it in. So split things up where you can in smaller changes - if you need a small improvement like a API addition for a big feature addition, get it in first rather than adding it to the big piece of work!
18
-
* Decisions are made by consensus. We strive for making the best technical decisions and as nobody can know everything, we collaborate. That means a first negative comment might not be the final word, neither is positive feedback an immediate GO. Nextcloud is built out of modular pieces (apps) and maintainers have a strong influence. In case of disagreement we consult other seasoned contributors.
12
+
* Fixes go directly to the main branch, nevertheless they need to be tested thoroughly.
13
+
* New features are always developed in a branch and only merged to the main branch once they are fully done.
14
+
* Software should work. We only put features into the main branch when they are complete.
15
+
It's better to not have a feature instead of having one that works poorly.
16
+
* It is best to start working based on an issue - create one if there is none.
17
+
You describe what you want to do, ask feedback on the direction you take it and take it from there.
18
+
* When you are finished, use the merge request function on GitHub to create a pull request.
19
+
The other developers will look at it and give you feedback. You can signify that your PR is ready for review by adding the label "3. to review" to it.
20
+
See `the code review page for more information <../prologue/bugtracker/codereviews.html>`_
21
+
* It is key to keep changes separate and small. The bigger and more hairy a PR grows, the harder it is to get it in.
22
+
So split things up where you can in smaller changes - if you need a small improvement like a API addition for a big feature addition, get it in first rather than adding it to the big piece of work!
23
+
* Decisions are made by consensus. We strive for making the best technical decisions and as nobody can know everything, we collaborate.
24
+
That means a first negative comment might not be the final word, neither is positive feedback an immediate GO. Nextcloud is built out of modular pieces (apps) and maintainers have a strong influence.
25
+
In case of disagreement we consult other seasoned contributors.
19
26
20
27
Labels
21
28
------
@@ -64,12 +71,15 @@ Coding
64
71
* No global variables or functions
65
72
* Unit tests
66
73
* HTML should be HTML5 compliant
67
-
* When you ``git pull``, always ``git pull --rebase`` to avoid generating extra commits like: *merged master into master*
74
+
* When you ``git pull``, always ``git pull --rebase`` to avoid generating extra commits like: *merged main into main*
68
75
69
76
License headers
70
77
---------------
71
78
72
-
Nextcloud is licensed under the `GNU AGPLv3 <https://www.gnu.org/licenses/agpl>`_. From June, 16 2016 on we switched to "GNU AGPLv3 or any later version" for better long-term maintainability. If you create a new file please use this header:
79
+
Nextcloud is licensed under the `GNU AGPLv3 <https://www.gnu.org/licenses/agpl>`_.
80
+
From June, 16 2016 on we switched to "GNU AGPLv3 or any later version" for better long-term maintainability.
Copy file name to clipboardExpand all lines: developer_manual/prologue/bugtracker/triaging.rst
+12-5Lines changed: 12 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -75,11 +75,18 @@ Let's go over each step.
75
75
Finding duplicates
76
76
^^^^^^^^^^^^^^^^^^
77
77
78
-
To find duplicates, the search tool in GitHub is your first stop. In `this screen <https://github.com/nextcloud/server/issues>`_ you can easily search for a few keywords from the bug report. If you find other bugs with the same content, decide what the best bug report is (often the oldest or the one where one or more developers have already started to engage and discuss the problem). That is the 'master' bug report, you can now close the other one (or comment that it can be closed as duplicate).
79
-
80
-
If the bug report you were reviewing contains additional information, you can add that information to the 'master' bug report in a comment. Mention this bug report (using #<bug report number>) so a developer can look up the original, closed, report and perhaps ask the initial reporter there for additional information.
81
-
82
-
If you can't find anything, look in closed bug reports. The problem might be solved already and be listed there! Of course, these other bug reports might be closed as duplicates of the one you are looking at now - if you can't find one that is solved nor can find any duplicates, you can move on to the next step. If you are unsure, just add a comment: "might be a duplicate of #<bug nr here>" will usually suffice.
78
+
To find duplicates, the search tool in GitHub is your first stop.
79
+
In `this screen <https://github.com/nextcloud/server/issues>`_ you can easily search for a few keywords from the bug report.
80
+
If you find other bugs with the same content, decide what the best bug report is (often the oldest or the one where one or more developers have already started to engage and discuss the problem).
81
+
That is the 'prime' bug report, you can now close the other one (or comment that it can be closed as duplicate).
82
+
83
+
If the bug report you were reviewing contains additional information, you can add that information to the 'prime' bug report in a comment.
84
+
Mention this bug report (using #<bug report number>) so a developer can look up the original, closed, report and perhaps ask the initial reporter there for additional information.
85
+
86
+
If you can't find anything, look in closed bug reports.
87
+
The problem might be solved already and be listed there!
88
+
Of course, these other bug reports might be closed as duplicates of the one you are looking at now - if you can't find one that is solved nor can find any duplicates, you can move on to the next step.
89
+
If you are unsure, just add a comment: "might be a duplicate of #<bug nr here>" will usually suffice.
83
90
84
91
When the issue is a feature request, you can be helpful in the same way: merge related requests by adding information of one to the other and closing the first.
0 commit comments