Commit Graph

51 Commits

Author SHA1 Message Date
Elliot DeNolf
eec60d5883 chore: rename .eslintrc.cjs -> .js 2023-10-20 15:50:25 -04:00
Alessio Gravili
373e89a6ba chore: eslint, turbo and various configs 2023-09-01 16:59:45 +02:00
Elliot DeNolf
6e27795756 chore: migrate @trbl/eslint-config inline 2023-05-08 16:33:19 -04:00
James
0af29ff4db chore: dynamically uses generated types via tsconfig paths 2023-01-15 12:22:16 -05:00
Elliot DeNolf
c584c2ed47 test: rich text link e2e 2022-09-09 15:18:02 -07:00
Elliot DeNolf
b0eccdd12e chore: revert prettier
This reverts commit bc9de859c4.
2022-07-17 09:06:37 -07:00
Elliot DeNolf
bc9de859c4 chore: add prettier config, test dir only 2022-07-17 08:19:07 -07:00
Dan Ribbens
40b6afff2d feat: remove duplication of config in tests 2022-07-15 14:11:16 -04:00
Elliot DeNolf
90ba15f9bd feat: testing refactor (e2e/int) (#748)
Co-authored-by: James <james@trbl.design>
Co-authored-by: Dan Ribbens <dan.ribbens@gmail.com>
2022-07-13 11:00:10 -07:00
Dan Ribbens
1c37ec3902 feat: telemetry
* feat: add telemetry to payload config

wip: more telemetry

* feat: send telemetry events

* chore: update node ci versions

* chore: cleanup console log

* chore: updates ts due to dependency update

* chore: remove unused deps

* chore: fix origin and casing

* docs: telemetry

* feat: uses oneWayHash within telemetry

* chore: sends hashed domain in telemetry

* feat: improves reliability of telemetry projectID

* chore: revises telemetry docs

Co-authored-by: Elliot DeNolf <denolfe@gmail.com>
Co-authored-by: James <james@trbl.design>
2022-06-24 17:32:09 -04:00
Dan Ribbens
e8503232ba chore: changes eslint rules no-console and cleanup 2022-04-29 12:36:21 -04:00
Elliot DeNolf
9a9b28113a test: implement cypress test suite (#527) 2022-04-20 23:12:02 -04:00
Elliot DeNolf
839e3f9dae test: fix all ts errors, eslint overrides 2022-04-03 23:40:29 -04:00
Elliot DeNolf
9c6af860d4 test: migrate test files to ts 2022-04-03 23:40:29 -04:00
Jarrod Flesch
0e4eb906f2 feat: enhances rich text upload with custom field API
* feat: adds admin.upload.collections[collection-name].fields to the RTE to save specific data on upload elements

* chore: renames flatten to unflatten in reduceFieldsToValues, disables automatic arrow function return in eslint

* docs: adds documentation for upload.collections[collection-name].fields feature

* feat: adds recursion to richText field to populate relationship and upload nested fields

* chore: removes unused css

* fix: import path for createRichTextRelationshipPromise

* docs: updates docs to include images for the RTE upload docs
2022-01-21 10:15:51 -05:00
James
84f6a9d659 fix: more strict field typing 2021-10-12 21:18:12 -04:00
Dan Ribbens
fb60bc79a1 feat: user preferences (#195)
* feat: adds preferences to rest api and graphql

* feat: admin panel saves user preferences on locales

* feat: admin panel saves user column preferences for collection lists

* feat: adds new id field to blocks and array items

* feat: exposes new DocumentInfo context and usePreferences hooks to admin panel

* docs: preferences api documentation and useage details

Co-authored-by: James <james@trbl.design>
2021-06-21 12:49:10 -04:00
James
6bf141c6d4 fix: updates payload-config path within webpack 2021-01-05 14:18:50 -05:00
James
64cf32146a fix: disable requiring default props in eslint 2020-12-28 13:31:15 -05:00
James
ac92e1289b further typing 2020-12-20 09:13:25 -05:00
James
98b62df792 further types 2020-11-30 14:16:55 -05:00
James
cfdacea210 changes access permissions structure to be more typescript-friendly 2020-11-24 12:53:09 -05:00
James
c2d2702a59 - abstracts AuthProvider and ConfigProvider
- updates Webpack and React
- adds further typing
2020-11-23 19:29:11 -05:00
James
7d411622c6 progress to build 2020-11-20 14:21:48 -05:00
James
811e4bb265 avoids eslint on typescript files 2020-11-19 10:26:56 -05:00
Elliot DeNolf
0e15f8376c underscore prefix verification fields 2020-09-19 15:03:47 -04:00
James
4f383493c6 linting 2020-07-08 11:30:26 -04:00
Jacob Fletcher
3717962b52 configures @trbl/eslint-config 2020-06-22 11:35:37 -04:00
James
6e93782d90 refines frontend validations to use the same field validations as the backend 2020-06-02 19:12:25 -04:00
James
c383ebda66 responsive edit view 2020-05-29 14:52:25 -04:00
James
1c7c467191 removes securedConfig in favor of Webpack DefinePlugin 2020-05-08 15:27:14 -04:00
Elliot DeNolf
375f046cfa Resolve conflicts 2020-04-12 21:46:11 -04:00
James
c5ade41483 enables redirection after successfully creating document 2020-01-26 12:06:34 -05:00
James
2decea24d6 fixes issue preventing the successful linting of field types 2020-01-22 15:58:44 -05:00
James
519330e20e wires up User context 2020-01-19 20:32:26 -05:00
James
8beb457041 revises APIError import structure, updates Localizer and StepNav 2020-01-19 16:57:26 -05:00
James
8298fe8643 flattens content blocks and collections, cleans index.js, implements Airbnb ESLint 2019-12-21 15:54:30 -05:00
Dan Ribbens
2ab95676f8 adds depth of relations on rest queries 2019-04-27 14:11:40 -04:00
James
33534976aa enables class properties, updates eslint 2018-12-06 12:32:54 -08:00
James
c1fc954bf4 fixes misc eslint errors 2018-10-22 17:19:33 -04:00
Elliot DeNolf
cdd8097331 Relax eslint 2018-09-27 01:08:47 -04:00
James
70e76d80ef converts all filters in collection views to find 2018-09-17 20:11:56 -04:00
James
e44dfb46c6 es6-ified demo, flattened collections scaffold files 2018-09-17 18:45:55 -04:00
James
6723dee304 builds collection editor, builds stepnav 2018-08-01 16:11:20 -04:00
James
c0e4311279 scaffolds forms, ajax, redux, routers, scss 2018-07-28 23:17:28 -04:00
James
bfc03ecc72 modifies ESLint to be less aggressive 2018-07-28 13:03:23 -04:00
James
3da3ad90f8 fixes eslint by adding react plugin, scaffolds index / app hierarchy 2018-07-28 12:33:30 -04:00
James
446cb3e415 finishes production webpack build 2018-07-19 08:06:14 -04:00
James
83f135ef22 reverts back to 2 spaces instead of 4 2018-07-18 12:52:51 -04:00
James
3857ed4b63 builds webpack config, introduces babel, modifies ESLint to expect 4 spaces 2018-07-18 12:45:48 -04:00