Commit Graph

13 Commits

Author SHA1 Message Date
Simone Gotti
3f2c57394a *: Format with prettier
Use latest prettier as devDependency so tools will use (or can be
configured to use) the npm provided version.
The unique config change is to use single quotes instead of double
quotes.
2022-02-24 09:02:02 +01:00
Paulo
64c9a807c7
feat: add create remote source form 2021-07-22 00:28:12 -03:00
Simone Gotti
6eba09aa5a register/login: display if there are no remote sources
Show if no remote sources are defined or if no remote sources are register/login
enabled.
2020-02-14 11:21:18 +01:00
Simone Gotti
4af98fb75b Redirect to previous url after login 2019-09-26 10:23:21 +02:00
Simone Gotti
7c80b875f8 register/login: show only remotesources with register/login enabled 2019-07-05 13:49:16 +02:00
Simone Gotti
43e860d3c5 auth/data: avoid setting global errors when receiving a 401
If we do a router.push to the login view the previous component will receive
anyway the error and set the global error after the login view is mounted (!!!)
and so the main app will show the global error instead of the login view.

Not sure how to avoid this. As a really ugly workaround just return an empty
response on 401 so the components (since they are currently assumong the
response is always define) will throw an exception and not set the global error.
2019-07-05 13:41:43 +02:00
Simone Gotti
2891b62b6c *: move to tailwind css
I really like it!

TODO: Extract more components
2019-05-21 12:13:21 +02:00
Simone Gotti
789d0f5fcd *: handle api errors
* Use a global error when fetching data
* Use a local error message when calling a mutating api
2019-05-13 16:29:47 +02:00
Simone Gotti
fb3509fc9d login: use fetchRemoteSources 2019-05-06 17:57:52 +02:00
Simone Gotti
19fdb1d08f initial implementation of projectgroups
and related tree based navigation
2019-04-02 18:08:03 +02:00
Simone Gotti
ef5a9c4994 Add user registration 2019-03-29 18:08:54 +01:00
Simone Gotti
b9fb3d6860 update for new api 2019-03-20 13:51:00 +01:00
Simone Gotti
b780e148cc Initial commit 2018-12-09 14:21:20 +01:00