Skip to content

Development: Process

Ben Bucksch edited this page Apr 10, 2025 · 16 revisions

If you implement a completely new feature, e.g. Calendar Invitations or PGP Encryption, here's how you proceed, from a high level point of view. Please follow the steps in order, because earlier steps inform the later steps. By skipping steps, you will make engineering decisions that will be very hard to revise.

We follow these steps per feature, not for the entire app at once (Agile). We work together on these.

User needs

  • Why does the user want this feature? What is his goal?
  • What information does the user need to accomplish the goal?
  • What controls does the user need to direct the feature and adapt it to his circumstances? In which ways does he need to direct the app?
  • Which parts of that (information and controls, previous 2 points) are inherently needed by typical use cases? Which parts will every user understand? Which parts are needed only by special circumstances or very advanced users?

Concept

Object model: Classes, functions, relations

  • Which inherent concepts and objects exist? E.g. email account, email, invitation, calendar event, calendar. Can we make a new class for this new feature?
  • Avoid overloading functions for your new feature to existing core objects - they existed fine without it so far, so your new function is likely not needed for the core object.

User flow

  • Create a user flow, i.e. where does the information and the controls fit most naturally into the existing application?
  • Which parts can be done automatically by the application, without bothering the user? If the user would have to gather the information, can the application help him with that and automate it?
  • Which parts are user choices and preferences?

API

  • Based on the concept, create the new classes, with their properties, functions and relations, as stubs. Define all types tightly.
  • Create dummy fake objects, in TestData.ts.
  • APIs should be callable, but not do anything useful.

UI

  • Should it be exposed during setup, in preferences, in contacts, or in the normal UI?
  • UX makes mockups
  • Create the UI controls, in the actual app
  • Style it
  • Polish, together with UX and UI Designer
  • Show it off within the team. Celebrate.

Implementation

  1. Core logic
  2. Protocol
  3. Storage of the objects and properties on disk
  4. Unit tests

Test

  • Let other team members try it out. Receive feedback, openly listen to it, adapt to it.
  • Iterate through previous steps, where feedback shows that it's not right yet.
  • Show to a few external users or testers, get their feedback, adapt.
  • Dev: Set up integration tests with servers, third party apps etc. (Where possible)

Done

  • Celebrate

Clone this wiki locally