commit aa2876a64653f3cca2f35e513fdd1c370da14438 Merge: ee219e87fd5ccb5eAuthor: rijkvanzanten <rijkvanzanten@me.com> Date: Thu Jun 11 11:39:49 2020 -0400 Merge branch 'master' into tweaks commit ee219e872b4b41f3e0673dc673c8bb643e5f5f20 Merge: bf3dca7916cb51deAuthor: rijkvanzanten <rijkvanzanten@me.com> Date: Thu Jun 11 11:39:34 2020 -0400 Merge branch 'master' into tweaks commit bf3dca7906f031fea771c3a20c0529782416056d Merge: 1e114c0b51c59cdaAuthor: Ben Haynes <ben@rngr.org> Date: Thu Jun 11 10:59:51 2020 -0400 Merge branch 'master' into tweaks commit 1e114c0b5660a25574c3a0551fc4e87261d45e20 Author: Ben Haynes <ben@rngr.org> Date: Thu Jun 11 10:59:25 2020 -0400 preset field styling commit 43f3fbc98a68b6898294ed4c68a6240c1f8a72e8 Author: Ben Haynes <ben@rngr.org> Date: Thu Jun 11 10:58:56 2020 -0400 differentiate nested repeaters commit 6a4d9c9df64efd9161ce862d8b29c3be04dc90cb Author: Ben Haynes <ben@rngr.org> Date: Thu Jun 11 10:58:27 2020 -0400 repeater sizing commit ec136f0d3b1314f941afaeade6458b36266634fc Author: Ben Haynes <ben@rngr.org> Date: Wed Jun 10 19:37:25 2020 -0400 checkbox contract and hover styling commit 0118c0c76f7a650d567965accea972e68336e1d7 Author: Ben Haynes <ben@rngr.org> Date: Wed Jun 10 19:36:32 2020 -0400 increase repeater item edge contrast commit dc852c4e78989dc421c61b71f13058add86077f3 Author: Ben Haynes <ben@rngr.org> Date: Wed Jun 10 19:13:54 2020 -0400 fix repeater field spacing commit 23da947ad5f1b84127411f6b9e271414140348a3 Author: Ben Haynes <ben@rngr.org> Date: Wed Jun 10 19:13:42 2020 -0400 no “editing” on role title commit d84eaa7f3a8ec2a25d67514d5507a46e24521a6a Merge: 0f51244879f1f13aAuthor: Ben Haynes <ben@rngr.org> Date: Wed Jun 10 18:29:01 2020 -0400 Merge branch 'master' into tweaks commit 0f512448b76ab2c53f1a9059e2a130d52cc52b60 Merge: 7974bd2a0c5b0a6fAuthor: Ben Haynes <ben@rngr.org> Date: Wed Jun 10 16:18:01 2020 -0400 Merge branch 'master' into tweaks commit 7974bd2a81e2be5b4a2e1b24bf3ede017562bcf8 Author: Ben Haynes <ben@rngr.org> Date: Wed Jun 10 16:17:30 2020 -0400 project settings link to docs commit de46007be6eb5ff59332571b7c18caaba4ed815c Author: Ben Haynes <ben@rngr.org> Date: Wed Jun 10 14:50:05 2020 -0400 use new folder_move icon commit 0ac93d84f0f577d6cedda9a7498dd4caa3064fc9 Author: Ben Haynes <ben@rngr.org> Date: Wed Jun 10 14:49:46 2020 -0400 add custom “folder move” icon commit dd057f0c6fda81b5c1aa696f893c8e2e53d83ed7 Merge: 4034025c51b939beAuthor: Ben Haynes <ben@rngr.org> Date: Wed Jun 10 14:36:19 2020 -0400 Merge branch 'master' into tweaks commit 4034025cb3577def69f4540d1160c8be23b98c4a Author: Ben Haynes <ben@rngr.org> Date: Wed Jun 10 14:35:32 2020 -0400 more room for revision text commit c840e622db5d83db02ff279736eb9bc5c0fcd98d Author: Ben Haynes <ben@rngr.org> Date: Wed Jun 10 14:35:15 2020 -0400 fix revision header layering commit 3e5804a9fc6db0f7c7b5e35a4f6ea9f0aae563b5 Author: Ben Haynes <ben@rngr.org> Date: Wed Jun 10 14:34:50 2020 -0400 hide user box when new commit 485bc26f887198f0726e62efb71c94c9140eccaf Author: Ben Haynes <ben@rngr.org> Date: Wed Jun 10 13:44:49 2020 -0400 fix select all/none on cards commit bdc3615fbbe9ab29b5a132eeda1e2ced6aece4b7 Author: Ben Haynes <ben@rngr.org> Date: Wed Jun 10 13:44:27 2020 -0400 only show divider if there are other revisions commit 1bdb9644be621adbd6edca1d9ce49825518c02a0 Merge: dfd006a5aa23da68Author: Ben Haynes <ben@rngr.org> Date: Wed Jun 10 10:39:56 2020 -0400 Merge branch 'master' into tweaks commit dfd006a57f9a72718a4adcd6528bb45206542ea2 Merge: 01100feae2e86957Author: Ben Haynes <ben@rngr.org> Date: Tue Jun 9 18:20:08 2020 -0400 Merge branch 'master' into tweaks commit 01100fead3ef23fcb6b447544f17cb08e49e0d7a Merge: 809e7900945a19caAuthor: Ben Haynes <ben@rngr.org> Date: Tue Jun 9 18:06:04 2020 -0400 Merge branch 'master' of https://github.com/directus/app-next into tweaks commit 809e7900b8b5e04e389c61b78daa8c0237ce17d9 Merge: 84e484b1b4491602Author: Ben Haynes <ben@rngr.org> Date: Tue Jun 9 17:15:07 2020 -0400 Merge branch 'master' into tweaks commit 84e484b163db2b055e07c8e08a9bfbe09d3df20a Author: Ben Haynes <ben@rngr.org> Date: Mon Jun 8 18:58:28 2020 -0400 fix missing card hover shadow
app-next
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.