Rijk van Zanten 2c5ce38e65 Small tweaks, large benefits (#404)
* Add 160px bottom padding to all pages

* Force header column to have 24px min width

* Allow resizing of last column in v-table

* Fix table row unwanted spacing + offset 2px

* Add divider to end of drawer detail

* Add down chevron on project chooser hover

* Add support for color accented modules

* Use yellow header icon in settings

* Add link to collections module browse icon

* Dont show all items selected on load v-table

* Add prepend / append slot to v-checkbox

* Add drag handles to field setup settings in tabular

* Fix loading state in table

* Show all resize handles on hover

* Lose breadcrumb in collections module, show singleton title

* Wrap activity icon, render textarea full width

* Dont render comments section on batch

* Allow input to shrink for slots

* Fix cursor on v-selects

* Prevent input usage when they have click events

* Fix margin on divider in fields-management

* Fix drag handles on field selects

* Fix button / divider spacing

* Remove support for divider inset

* Fix test warning

* Fix table-row test

* Fix codesmell

* Fix missing scope attr
2020-04-13 17:15:58 -04:00
2020-03-11 16:36:04 -04:00
2020-04-02 21:18:21 -04:00
2020-04-02 21:18:21 -04:00
2020-04-13 17:15:58 -04:00
2020-02-05 14:02:32 -05:00
2020-02-05 14:02:32 -05:00
2020-02-17 14:28:16 -05:00
2020-02-24 18:17:53 -05: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-03-27 10:27:21 -04:00
2020-02-05 14:02:32 -05:00
2020-03-11 17:03:27 -04:00

app-next

Coverage Status Bugs Code Smells Duplicated Lines (%) Lines of Code Maintainability Rating Quality Gate Status Reliability Rating Security Rating Technical Debt Vulnerabilities

Status: pre-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%