Commit Graph

28 Commits

Author SHA1 Message Date
Jordan Knott
9c4fe2594a fix: prevent checklist title being hidden when description editor is open 2020-08-12 20:57:36 -05:00
Jordan Knott
7bba294897 fix: get correct new postion after dropping task in different list
was getting the current draggable list based on whatever task group
the task was in, ignoring that that task group might be different (when
    the task was dragged to a new list)
2020-08-12 15:23:57 -05:00
Jordan Knott
2e9767f1a0 chore: remove debug console.log statements 2020-08-12 14:44:28 -05:00
Jordan Knott
6761d4571e feat: add change password tab to user profile settings 2020-08-12 14:09:12 -05:00
Jordan Knott
e64f6f8569 feat: enforce user roles
enforces user admin role requirement for
- creating / deleting / setting role for organization users
- creating / deleting / setting role for project users
- updating project name
- deleting project

hides action elements based on role for
- admin console
- team settings if team is only visible through project membership
- add project tile if not team admin
- project name text editor if not team / project admin
- add redirect from team page if settings only visible through project
  membership
- add redirect from admin console if not org admin

role enforcement is handled on the api side through a custom GraphQL
directive `hasRole`. on the client side, role information is fetched in
the TopNavbar's `me` query and stored in the `UserContext`.

there is a custom hook, `useCurrentUser`, that provides a user object
with two functions, `isVisibile` & `isAdmin` which is used to check
roles in order to render/hide relevant UI elements.
2020-08-11 21:03:21 -05:00
Jordan Knott
5dbdc20b36 chore: rename Citadel to Taskcafe 2020-08-06 20:50:35 -05:00
Jordan Knott
7ffd0ff6b8 fix: rename projects typescript declaration file to types
import conflict with Projects module in Routes

fixes #27
2020-07-31 19:00:17 -05:00
Jordan Knott
70802ff4c9 fix: replace hardcoded API url's with absolute paths
fixes issue #10
2020-07-20 17:37:31 -05:00
Jordan Knott
a4ff94d78b fix: add roboto & sans-serif fallback font 2020-07-20 17:34:33 -05:00
Jordan Knott
6f33cc5799 fix: update api import paths & fix Dockerfile not copying frontend build
fixes issue #7 & #9

also remove agGrid dependency from package.json to reduce download size
2020-07-19 17:25:58 -05:00
Jordan Knott
e5bfe9b9ab feature: fix user admin related bugs 2020-07-17 21:55:38 -05:00
Jordan Knott
68fa7aef94 feature: add user project count to Admin component 2020-07-17 19:40:05 -05:00
Jordan Knott
1222111bef fix: unify popup content padding 2020-07-16 22:31:33 -05:00
Jordan Knott
c35f63e668 change: set start height of quick card text area to 90px 2020-07-16 22:21:58 -05:00
Jordan Knott
c236681cd2 fix: hide card edit icon while in quick card editor 2020-07-16 22:21:37 -05:00
Jordan Knott
6c55b89ee2 fix(Input): floating label now floats when the input has a value 2020-07-16 22:01:26 -05:00
Jordan Knott
810e74e99f fix: show correct label variant based on setting 2020-07-16 21:57:20 -05:00
Jordan Knott
45a92636cb change: add loading state to project board 2020-07-16 21:14:26 -05:00
Jordan Knott
a90ace7a06 change: sort task labels based on label color position 2020-07-16 20:27:48 -05:00
Jordan Knott
559fcbc0e4 fix: all cards in lists animate on label toggle at same time 2020-07-16 20:26:21 -05:00
Jordan Knott
8c610b11bf feature: fix label manager popup padding & switch input to ControlledInput 2020-07-16 20:14:13 -05:00
Jordan Knott
2cf6be082c feature: add first time install process 2020-07-16 19:40:23 -05:00
Jordan Knott
90515f6aa4 feature: add web & migrate commands 2020-07-15 18:22:25 -05:00
Jordan Knott
1e9813601e bugfix: fix user checklist item toggle completion 2020-07-13 16:21:37 -05:00
Jordan Knott
d8daa60729 feature: add user pass popups and remove user popup 2020-07-13 16:20:55 -05:00
Jordan Knott
609baa98aa feature: connect card operation icon to quick card editor 2020-07-13 16:20:06 -05:00
Jordan Knott
a20ff90106 chore: project cleanup and bugfixes 2020-07-12 02:06:11 -05:00
Jordan Knott
e5d5e6da01 arch: move web folder into api & move api to top level 2020-07-04 18:08:37 -05:00