brendanlaschke
e5caa7a5df
Eslint prevent duplicate import ( #2516 )
...
- eslint: prevent duplicate import
2023-11-16 12:26:43 +01:00
Lucas Bordeau
3f2e1b622e
Feat/show page metadata ( #2234 )
...
* Fix view fetch bug
* Finished types
* Removed console.log
* Fixed todo
* Working Object Show Page
* Minor fixes
* Fix custom object requests pending (#2240 )
* Fix custom object requests pending
* fix typo
* Fix various bugs
* Typo
* Fix
* Fix
* Fix
---------
Co-authored-by: Weiko <corentin@twenty.com>
2023-10-27 11:06:07 +02:00
Lucas Bordeau
c335d19c97
Feat/add other metadata types v2 ( #2224 )
...
* Fix view fetch bug
* Finished types
* Removed console.log
* Fixed todo
* Reactivate no console
* Change no-console to warn
2023-10-26 12:07:43 +02:00
martmull
d61511262e
2060 create a new api key ( #2206 )
...
* Add folder for api settings
* Init create api key page
* Update create api key page
* Implement api call to create apiKey
* Add create api key mutation
* Get id when creating apiKey
* Display created Api Key
* Add delete api key button
* Remove button from InputText
* Update stuff
* Add test for ApiDetail
* Fix type
* Use recoil instead of router state
* Remane route paths
* Remove online return
* Move and test date util
* Remove useless Component
* Rename ApiKeys paths
* Rename ApiKeys files
* Add input text info testing
* Rename hooks to webhooks
* Remove console error
* Add tests to reach minimum coverage
2023-10-24 16:14:54 +02:00
gitstart-twenty
0c79217ba0
Add an ESLint rule to prevent the usage of useRef other than for HTML elements. ( #2014 )
...
* Add an ESLint rule to prevent the usage of useRef other than for HTML elements
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
* Bump eslint version and rewrite rule
* Fix
---------
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-10-14 11:32:46 +02:00
Lucas Bordeau
cafcfdc95e
Feat/front metadata request ( #1977 )
...
* wip
* Wip
* Wip
* Finished v1
* Fix from PR
* Removed unused fragment masking feature
2023-10-13 18:01:57 +02:00
Gaurav
acde034a1d
Replaced eslint rule twenty/no-spread-props to react/jsx-props-no-spreading ( #1976 )
...
* Replaced eslint rule twenty/no-spread-props to react/jsx-props-no-spreading
* Disable props spread on external libraries
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-10-13 16:52:19 +02:00
gitstart-twenty
77a1840611
Chore(front): Create a custom eslint rule for Props naming ( #1904 )
...
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Matheus <matheus_benini@hotmail.com>
Co-authored-by: bosiraphael <raphael.bosi@gmail.com>
2023-10-09 16:31:13 +02:00
Charles Bochet
07450df1a1
Add no-console eslint rule ( #1890 )
...
* Add no-console eslint rule
* Remove unused test
2023-10-05 21:16:02 +02:00
Aman
bc3fe59312
feat: added an enlint rule to enforce no-type-import ( #1838 )
...
* feat: added an enlint rule to enforce no-type-import
* Update style-guide.mdx
---------
Co-authored-by: aman1357 <101919821+aman1357@users.noreply.github.com>
2023-10-04 11:06:54 +02:00
brendanlaschke
c06712f161
Chore: eslint forbid useHotkeys ( #1777 )
...
- add eslint rule
2023-09-30 08:25:34 +02:00
gitstart-twenty
ba86be2c5b
Remove the {...props} pattern and props coupling, and create an eslint rule for that ( #1733 )
...
* Remove the {...props} pattern and props coupling, and create an eslint rule for that
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com>
* Add another test to the new rule
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com>
---------
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com>
2023-09-26 11:05:33 +02:00
Lucas Bordeau
3c4ab605db
Fix eslint-plugin-twenty ( #1640 )
...
* Fixed color rule
* Fixed naming
* Fix effect component rule
* Deactivated broken rules
* Fixed lint
* Complete eslint-plugin-twenty work
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-09-18 16:38:57 -07:00
Anik Dhabal Babu
84eaa45027
fix: Migrate all rules from eslint-plugin-twenty to eslint-plugin-twenty-ts ( #1618 )
...
* migrate rules
* fix
* final
* final
2023-09-17 08:13:05 -07:00
gitstart-twenty
00a3c8ca2b
Change to using arrow functions ( #1603 )
...
* Change to using arrow functions
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Matheus <matheus_benini@hotmail.com>
* Add lint rule
---------
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Matheus <matheus_benini@hotmail.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-09-15 18:41:10 -07:00
Lucas Bordeau
84a27b148f
Feat/sidecar components ( #1578 )
...
* Added a new eslint plugin in TypeScript for Effect components
* Fixed edge cases
* Fixed lint
* Fix eslint
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-09-14 17:04:45 -07:00
gitstart-twenty
878302dd31
[ESLint rule]: recoil value and setter should be named after their at… ( #1402 )
...
* Override unwanted changes
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br>
Co-authored-by: Rafael Toledo <87545086+Toledodev@users.noreply.github.com>
* Fix the tests
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br>
Co-authored-by: Rafael Toledo <87545086+Toledodev@users.noreply.github.com>
---------
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br>
Co-authored-by: Rafael Toledo <87545086+Toledodev@users.noreply.github.com>
Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
2023-09-05 10:34:11 +02:00
gitstart-twenty
96c41563cf
chore: Make a twenty Eslint Rule to make sure that icons are imported from @/ui/icons ( #1370 )
...
Fix the imports
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Mael FOSSO <fosso.mael.elvis@gmail.com>
2023-08-29 13:40:17 +02:00
Thaïs
c3d6451dd0
feat: create view from selected filters and sorts + switch to newly created view on view creation ( #1301 )
...
* feat: create view from selected filters and sorts
Closes #1292
* refactor: use selector to obtain table filters where query option
* refactor: activate exhaustive deps eslint rule for useRecoilCallback
* feat: switch to newly created view on view creation
Closes #1297
* refactor: code review
- use `useCallback` instead of `useRecoilCallback`
- rename `useTableViews` to `useViews`
- move filter-n-sort selectors to /states/selector subfolder
2023-08-25 12:43:21 +02:00
Weiko
9b34a0ff3d
Add styled component rule ( #1261 )
...
* Add StyledComponent rule
* update doc
* update doc
* update doc
2023-08-17 20:58:02 -07:00
Charles Bochet
e6b20b5ff2
Fix drag-performance ( #1184 )
...
* Fix drag-performance
* Fixes
* Fixes
* Fixes
* Fixes
2023-08-12 20:28:33 -07:00
Charles Bochet
66585fce9a
Refactor Checkbox ( #932 )
...
* Refactor Checkbox
* Complete note completion
* Fixes
* Fix login
2023-07-25 21:58:57 -07:00
Lucas Bordeau
b52745533a
Added unused imports and vars and fixed lint ( #929 )
2023-07-25 17:18:25 -07:00
Morning1139Angel
695ddd7a92
Func style allowing arrow ( #461 )
...
* eslint func-style rule added to server
* eslint func-style rule added to front-end
2023-06-29 11:19:03 -07:00
Félix Malfait
31f3950439
Add a custom rule to prevent colors from being hardcoded outside of theme ( #288 )
...
* Add a custom rule to prevent colors from being hardcoded in ESLint
* Refactor colors
* Create packages folder and fix colors
* Remove external dependency for css alphabetical order linting
* Fix install with yarn
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-06-14 16:56:29 +02:00
Félix Malfait
eb8fc50ff1
Add rule to order css in styled components alphabetically ( #284 )
...
* Add plugin
* Run plugin
2023-06-14 07:59:16 +02:00
Charles Bochet
7b858fd7c9
Reorganize frontend and install Craco to alias modules ( #190 )
2023-06-04 11:23:09 +02:00
Charles Bochet
ae7bad65ca
Setup GraphQL Code Generator ( #74 )
...
* chore: add types of schema
* Ease codegen use on FE
* chore: ignore prettier in generated files
* lint: generated files
* feature: strongly type filter of query
* chore: ignore generated files in prettier
* chore: eslint ignore generated files
---------
Co-authored-by: Sammy Teillet <sammy.teillet@gmail.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-04-25 17:25:30 +02:00
Charles Bochet
b8d089395f
Add linter on CI
2023-04-20 11:51:04 +02:00
Charles Bochet
0f2d8a556e
Add Navbar component, emotion for css and storybook
2022-12-04 22:59:30 +01:00
Charles Bochet
f685be3d22
Migrate to Typescript, add prettier and add linter
2022-12-02 12:06:22 +01:00