1
0
mirror of https://github.com/SomboChea/ui synced 2024-11-16 11:14:26 +07:00
Commit Graph

375 Commits

Author SHA1 Message Date
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
Juan Picado @jotadeveloper
11f50919ef
chore(release): 0.1.2 2019-04-28 14:33:39 +02:00
Juan Picado @jotadeveloper
ea1ebde2f1
chore: reverts commit fc11429 2019-04-28 14:32:40 +02:00
Juan Picado @jotadeveloper
c4cb559137
chore(release): 0.1.1 2019-04-28 14:02:17 +02:00
Ayush Sharma
e8fd59696e fix: version rendering issue. (#38)
* fix: object passing for react rendering

* fix: const for 'not available'

* fix: const for 'not available'
2019-04-28 13:15:45 +02:00
Ayush Sharma
fc114298ad chore: adds pull request action (#37)
* chore: improvements in actions

* chore: improvements in actions

* chore: improvements in actions

* chore: aggregates action in a script

* chore: minor fix

* chore: adds node 12 in action

* chore: keep node 12 after 8 10 11

* chore: keep node 12 after 8 10 11

* chore: name fixes
2019-04-27 22:22:52 +02:00
Juan Picado @jotadeveloper
86bda48b79
chore(release): 0.1.0 2019-04-26 06:52:55 +02:00
Jamie Kyle
d6a8f5519f feat: accept primary color to be configured (#36) 2019-04-25 21:42:48 +02:00
Juan Picado @jotadeveloper
eda98b817e
chore: update readme 2019-04-25 19:53:01 +02:00
Juan Picado @jotadeveloper
12da966254
chore: update readme 2019-04-25 19:49:19 +02:00
Juan Picado @jotadeveloper
4ee6c2dfe4
chore(release): 0.0.13 2019-04-14 00:28:09 +02:00