rijkvanzanten e506b2dd95 Squashed commit of the following:
commit aabfcdb9fc75789e8b68a026297651dc3b9a432d
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Fri Jul 3 11:40:44 2020 -0400

    Fix more projects stuff

commit 5df3364e0887627fca8361297b92a9ff5b36c98f
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Fri Jul 3 11:36:28 2020 -0400

    More project deletions

commit 75d49100adffee5ad94736e62470cffa89a44aa3
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Fri Jul 3 11:32:04 2020 -0400

    Batch get rid of projects

commit 02a64a5d4c6ae02ece42878dc10560b662b1dfca
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Fri Jul 3 11:06:20 2020 -0400

    Some more things

commit 617e22e0abd5d6bf57e1eac95b9a68287cd0044b
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Fri Jul 3 10:35:43 2020 -0400

    Fix module bar logo projects check

commit a8fbf0be75055c31075f2352b150309fea424e8a
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Fri Jul 3 10:35:24 2020 -0400

    Set auth token in auth handler

commit c0c1c1bb164bd49d252c6dd1d944d7bc4b6aede5
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Fri Jul 3 10:18:30 2020 -0400

    public login
2020-07-03 11:40:54 -04:00
2020-06-09 15:10:13 -04:00
2020-05-21 18:16:12 -04:00
2020-07-03 11:40:54 -04:00
2020-02-05 14:02:32 -05:00
2020-02-05 14:02:32 -05:00
2020-05-05 14:22:01 -04:00
2020-07-03 09:39:06 -04:00
2020-06-01 16:50:08 -04:00
2020-03-13 16:34:06 -04:00
2020-02-05 14:02:32 -05:00
2020-02-05 14:02:32 -05:00
2020-02-05 14:02:32 -05:00
2020-04-23 14:01:27 -04:00
2020-02-05 14:02:32 -05:00
2020-07-03 09:39:06 -04:00
2020-07-03 09:39:06 -04:00
2020-06-04 14:17:15 -04:00
2020-04-20 14:11:16 -04:00

app-next

Coverage Status

Status: alpha

We're aiming to have the app codebase converted to TypeScript and fully unit test covered. This repo serves as a way for us to work on the bigger more foundational parts of the app codebase, without interferance of the legacy parts.

New components introduced in this repo will land in the current codebase where applicable. Bugfixes will continue to happen on the current codebase, until this version is fully done and merged.

This version is in no way shape or form intended to be used in production environments.

Once this codebase is complete enough to be used as main front-end, it will be moved to a branch on the main directus/app repo at which point it will be released as an beta / RC until confirmed ready.

Goals

  • Have everything in TypeScript
  • Have full test coverage
  • Have as much of the components in Storybook as possible
  • Rely on global state the least amount possible

Contributing

If you want to help out in the new version, please open an issue to discuss what you would like to do before opening a pull request. This makes sure we don't do overlapping work or work on something that's not intended to be in the app.

Development

You need Node.js v10+ and Yarn.

After cloning the repo, run:

$ yarn # install all dependencies of the project

Scripts

yarn serve

Bundles the app in dev mode and watches for changes.

Combine this with the API_URL environment variable to point it to a running API instance to debug fully:

$ API_URL=https://local.api.com yarn serve

yarn storybook

Fires up an instance of Storybook and watches for changes. Very useful to develop individual components in isolation.

yarn test

Runs all Jest tests in the app. Add the --coverage flag to see a print of what test coverage you've achieved.

Please aim for 100% coverage for newly added code.

Description
No description provided
Readme 642 MiB
Languages
TypeScript 73.3%
Vue 24.6%
SCSS 0.7%
JavaScript 0.7%
Liquid 0.4%
Other 0.3%