1
0
Fork 1
mirror of https://github.com/SomboChea/ui synced 2024-06-18 17:29:43 +07:00
Commit Graph

285 Commits

Author SHA1 Message Date
Juan Picado @jotadeveloper 4746f4070c
Merge pull request #79 from griffithtp/refactor/typescript-warning-withRoute
fix: @typescript-eslint/no-explicit-any
2019-06-30 22:18:23 +02:00
Griffithtp ec8ed1214b fix: @typescript-eslint/no-explicit-any 2019-06-29 09:03:41 +01:00
Juan Picado @jotadeveloper a0f0c80e2e
Merge pull request #77 from griffithtp/refactor/74_linting-warnings
refactor: 74 linting warnings
2019-06-27 08:56:53 +02:00
Griffithtp d1ed3e705f fix: remove undefined error 2019-06-27 07:54:36 +01:00
Griffithtp b683b68a2c fix: @typescript-eslint/no-explicit-any for file-size.ts 2019-06-26 00:41:21 +01:00
Griffithtp 6eec4f45d9 fix: @typescript-eslint/no-explicit-any 2019-06-26 00:10:15 +01:00
Griffithtp 7cab3f289e fix: updated type to fix unit test 2019-06-25 23:29:53 +01:00
Griffithtp 2f28ade710 fix: @typescript-eslint/no-explicit-any 2019-06-25 00:44:12 +01:00
Griffithtp 31c11f2b5b fix: @typescript-eslint/explicit-function-return-type 2019-06-24 23:08:57 +01:00
Griffithtp 55f50e9f4d fix: @typescript-eslint/explicit-member-accessibility 2019-06-24 22:05:13 +01:00
Griffithtp e33570b3f0 fix: typescript warnings - prefer-rest-params 2019-06-24 22:04:24 +01:00
Griffithtp 91e603ef21 fix: type lint for login 2019-06-24 21:44:14 +01:00
Griffithtp 116055c5d1 fix: remove any types and added additional component state interfaces 2019-06-24 21:42:59 +01:00
Griffith Tchen Pan 3c54b116c9 fix: added packageMeta type 2019-06-24 21:42:34 +01:00
Juan Picado @jotadeveloper c0b0189cc6
chore(release): 0.2.0 2019-06-20 15:18:14 +02:00
Priscila Oliveira 6b5d0b7e2e feat: migrating flow to typescript (#47)
This PR convert the code base to Typescript, the changes are the following:

- migrate code base to Typescript (3.4.x)
- enable `eslint` and `@typescript-eslint/eslint-plugin` (warnings still need to be addressed in future pull request
- update relevant dependencies for this PR (linting, etc)
- enable `bundlezise` (it was disabled for some reason)

* refactor: refactoring to typescript

* refactor: migrating to typescript

* refactor: applied feedbacks

* fix: fixed conflicts

* refactored: changed registry

* refactor: updated registry & removed unnecessary lib

* fix: fixed registry ur

* fix: fixed page load

* refactor: refactored footer wip

* refactor: converting to ts..wip

* refactor: converting to ts. wip

* refactor: converting to ts. wip

* refactor: converting to ts

* refactor: converting to ts

* fix: fixed load errors

* refactor: converted files to ts

* refactor: removed flow from tests

* fix: removed transpiled files

* refactor: added ts-ignore

* fix: fixed errors

* fix: fixed types

* fix: fixing jest import -.-

* fix: fixing lint errors

* fix: fixing lint errors

* fix: fixed lint errors

* refactor: removed unnecessary tsconfig's config

* fix: fixing errors

* fix: fixed warning

* fix: fixed test

* refactor: wip

* refactor: wip

* refactor: wip

* fix: fixing tests: wip

* wip

* wip

* fix: fixed search test

* wip

* fix: fixing lint errors

* fix: re-added stylelint

* refactor: updated stylelint script

* fix: fixed: 'styles.js'  were found.

* fix: fixed Search tests

* chore: enable eslint

eslint needs expecitely to know which file has to lint, by default is JS, in this case we need also ts,tsx files eslint . --ext .js,.ts

* chore: vcode eslint settings

* chore: restore eslint previous conf

* chore: clean jest config

* chore: fix eslint warnings

* chore: eslint errors cleared

chore: clean warnings

chore: remove github actions test phases

chore: remove dupe rule

* chore: update handler name

* chore: restore logo from img to url css prop

- loading images with css is more performant than using img html tags, switching this might be a breaking change
- restore no-empty-source seems the linting do not accept false
- update snapshots
- remove @material-ui/styles

* chore: update stylelint linting

* chore: update stylelint linting

* chore: fix a mistake on move tabs to a function

* chore: eanble bundlezie

* chore: use default_executor in circleci

* chore: update readme
2019-06-20 14:37:28 +02:00
Juan Picado @jotadeveloper 7d1764458b
chore(release): 0.1.11 2019-06-10 11:59:33 +02:00
coolsp 7bac0886eb fix: fixed failed to load all packages after login (#73)
A login forces react to reload the list of available packages (by changing the state).
However the state (which triggers react to refresh) is set before storing the login token resulting in fetching (XHR GET) only the public packages as the token is not yet available in the GET request.

Fixed by setting the storage items ('username' and 'token') before this.setLoggedUser().
2019-06-10 11:49:18 +02:00
dependabot[bot] d5d6bd79ca chore(deps): bump handlebars from 4.1.1 to 4.1.2 (#70)
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.1.1 to 4.1.2.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.1.1...v4.1.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-06-09 08:33:50 +02:00
Juan Picado @jotadeveloper 11f4819e3c
chore: remove snapshot 2019-06-03 21:09:48 +02:00
Juan Picado @jotadeveloper c27c3f5827
chore: update verdaccio dependency 2019-06-03 21:04:27 +02:00
dependabot[bot] b11308ffe5 chore(deps): bump fstream from 1.0.11 to 1.0.12 (#68)
Bumps [fstream](https://github.com/npm/fstream) from 1.0.11 to 1.0.12.
- [Release notes](https://github.com/npm/fstream/releases)
- [Commits](https://github.com/npm/fstream/compare/v1.0.11...v1.0.12)
2019-06-03 21:01:40 +02:00
dependabot[bot] d6dcfc25ea chore(deps-dev): bump webpack-bundle-analyzer from 3.0.4 to 3.3.2 (#63)
Bumps [webpack-bundle-analyzer](https://github.com/webpack-contrib/webpack-bundle-analyzer) from 3.0.4 to 3.3.2.
- [Release notes](https://github.com/webpack-contrib/webpack-bundle-analyzer/releases)
- [Changelog](https://github.com/webpack-contrib/webpack-bundle-analyzer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/webpack-bundle-analyzer/compare/v3.0.4...v3.3.2)
2019-05-24 07:11:20 +02:00
Juan Picado @jotadeveloper 7ce81fd643
Create FUNDING.yml 2019-05-23 22:54:48 +02:00
Juan Picado @jotadeveloper a8365b9654
chore(release): 0.1.10 2019-05-17 08:00:54 +02:00
Juan Picado @jotadeveloper bd7329f807 chore: validator use less bundle size (#61) 2019-05-17 07:58:56 +02:00
Juan Picado @jotadeveloper 023b1159f7
chore(release): 0.1.9 2019-05-16 20:45:10 +02:00
Juan Picado @jotadeveloper e81cb308ea
chore: update snapshot 2019-05-16 20:45:05 +02:00
Juan Picado @jotadeveloper 937d15947b
chore(release): 0.1.8 2019-05-16 20:39:18 +02:00
Daniel Ruf 01da082c06 fix: use auto for overflow-y (#57) 2019-05-16 11:38:22 -07:00
Juan Picado @jotadeveloper 980dac5b2f
fix: verify validation url and email (#60)
* fix: verify validation url and email

* chore: disable one expect

* fix: lint issue

* fix: fix lint
2019-05-16 07:25:40 -07:00
Juan Picado @jotadeveloper 233ba196a0
chore(release): 0.1.7 2019-05-11 09:00:21 +02:00
Ayush Sharma c9fb3c4c50 fix: search suggestion container height (#54)
* fix: search suggestion container height

* fix: updates snapshot
2019-05-11 08:59:39 +02:00
Juan Picado @jotadeveloper 3d752e079c
chore: add missing __UI_OPTIONS (#53)
this object will replace the other variables, it is more easy to scale adding new properties.
I'll extend the info in a future documents about plugins.
2019-05-09 21:55:02 +02:00
Juan Picado @jotadeveloper df4e45cd6c
Merge branch '4.x-master' into test/bdd-acceptance-testing-setup 2019-05-08 22:07:24 +02:00
Juan Picado @jotadeveloper 7f07a322f4
chore(release): 0.1.6 2019-05-07 20:41:49 +02:00
Juan Picado @jotadeveloper 9ffa6290cc fix: pattern allow yarn to add all files on pack (#50) 2019-05-07 20:40:08 +02:00
Juan Picado @jotadeveloper 47b98c5550
chore(release): 0.1.5 2019-05-04 16:12:43 +02:00
Juan Picado @jotadeveloper da4ac7e851
chore: update name 2019-05-04 16:02:12 +02:00
Juan Picado @jotadeveloper c960fa76db
chore: restore circleci 2019-05-04 15:58:50 +02:00
Juan Picado @jotadeveloper 5e43ac0d49
chore(release): 0.1.4 2019-05-04 15:42:15 +02:00
Juan Picado @jotadeveloper 4e899a8574
chore: update snapshot 2019-05-04 15:41:57 +02:00
Juan Picado @jotadeveloper 01daf73bbf
chore(release): 0.1.3 2019-05-04 15:39:29 +02:00
Juan Picado @jotadeveloper df58d463e8
Merge branch '4.x-master' into test/bdd-acceptance-testing-setup 2019-05-04 12:15:18 +02:00
Juan Picado @jotadeveloper a89f363115
feat: browser history is aware of basename (#45)
* feat: browser history is aware of basename

* test: fix ui options global object

* chore: fix comment
2019-05-04 12:13:29 +02:00
Juan Picado @jotadeveloper 313fb33480
Merge branch '4.x-master' into test/bdd-acceptance-testing-setup 2019-05-03 08:05:06 +02:00
Daniel Ruf c3eac3d27b test: fix formatDateDistance test (#43)
Test formatDateDistance with a date which is about 2 months in the past and another which is exactly 2 months in the past.
2019-05-02 20:57:42 +02:00
Daniel Ruf d468ca7c5f
test: BDD / acceptance tests
Implement acceptance testing using codeceptjs and puppeteer.
2019-05-02 11:15:33 +02:00
Juan Picado @jotadeveloper 9d7be476ad chore: relocate unit test (#39)
add new json snapshot serializer
2019-05-01 21:02:46 +02:00
Ayush Sharma 1070e5c3aa chore: adds actions (#40)
* chore: adds actions

* chore: updates workflow

* chore: leave node 12 placeholder

* chore: leave node 12 placeholder
2019-04-29 09:06:00 +02:00