Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Catalog: Bucket permissions: GraphQL #2228

Merged
merged 7 commits into from
Jul 1, 2021
Merged

Catalog: Bucket permissions: GraphQL #2228

merged 7 commits into from
Jul 1, 2021

Conversation

nl0
Copy link
Member

@nl0 nl0 commented Jun 15, 2021

Description

TODO

  • schema
  • model definition
  • wire up admin ui mutations
  • write updaters / optimistic results for mutations
  • normalize form input values (trim, etc)
  • fetch roles for users table via graphql
  • Changelog entry

@codecov
Copy link

codecov bot commented Jun 15, 2021

Codecov Report

Merging #2228 (8802feb) into master (d9d287d) will decrease coverage by 0.20%.
The diff coverage is 2.85%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2228      +/-   ##
==========================================
- Coverage   44.46%   44.26%   -0.21%     
==========================================
  Files         479      491      +12     
  Lines       23229    23407     +178     
  Branches     2931     2990      +59     
==========================================
+ Hits        10329    10360      +31     
- Misses      12009    12160     +151     
+ Partials      891      887       -4     
Flag Coverage Δ
api-python 89.85% <ø> (ø)
catalog 14.81% <2.85%> (+0.03%) ⬆️
lambda 93.99% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
catalog/app/containers/Admin/Buckets.tsx 0.00% <ø> (ø)
...atalog/app/containers/Admin/BucketsPermissions.tsx 0.00% <0.00%> (ø)
catalog/app/containers/Admin/RFForm.tsx 0.00% <0.00%> (ø)
...og/app/containers/Admin/RoleSelection.generated.ts 0.00% <0.00%> (ø)
catalog/app/containers/Admin/Roles.tsx 0.00% <0.00%> (ø)
...log/app/containers/Admin/RolesBuckets.generated.ts 0.00% <0.00%> (ø)
...p/containers/Admin/RolesCreateManaged.generated.ts 0.00% <0.00%> (ø)
...containers/Admin/RolesCreateUnmanaged.generated.ts 0.00% <0.00%> (ø)
...alog/app/containers/Admin/RolesDelete.generated.ts 0.00% <0.00%> (ø)
...talog/app/containers/Admin/RolesRoles.generated.ts 0.00% <0.00%> (ø)
... and 26 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d9d287d...8802feb. Read the comment docs.

@nl0 nl0 force-pushed the per-bucket-roles-gql branch 2 times, most recently from e3699bb to e217891 Compare July 1, 2021 07:55
@nl0 nl0 mentioned this pull request Jul 1, 2021
@nl0 nl0 marked this pull request as ready for review July 1, 2021 11:38
@nl0 nl0 requested review from fiskus and sir-sigurd July 1, 2021 11:38
meta: $TSFixMe
input: {
value: $TSFixMe
onChange: (value: $TSFixMe) => void
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see, that you are in a hurry :)
So, I'm approving now and review later, even after merging

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the problem with this is more fundamental -- we need a way to define form typings properly, so every field is strongly typed wrt field value, validator, initial value, errors and such (smth like this probably: https://github.com/ForbesLindesay/define-form/tree/master/packages/react-define-form), otherwise it doesnt make much sense

@nl0 nl0 merged commit 759ef0f into master Jul 1, 2021
@nl0 nl0 deleted the per-bucket-roles-gql branch July 1, 2021 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants