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

Move bucket settings to a separate page #4122

Merged
merged 21 commits into from
Sep 13, 2024
Merged

Move bucket settings to a separate page #4122

merged 21 commits into from
Sep 13, 2024

Conversation

fiskus
Copy link
Member

@fiskus fiskus commented Aug 27, 2024

  • Added two routes /admin/buckets/edit/:bucketName and /admin/buckets/add
  • Old route buckets?bucketName redirected to new one
  • Dialog components removed
  • Form components are mostly intact, but hierarchy of component slightly changed so the diff is bigger than actual change

"Add bucket" page. No preview cards, single form.
Screenshot from 2024-09-03 14-47-01


Bucket page. Bucket has avatar
Screenshot from 2024-09-03 14-48-20


Bucket page. No avatar, many tags.
Screenshot from 2024-09-03 15-11-19


Edit metadata on bucket page. All other cards are in preview mode.
Screenshot from 2024-09-03 15-11-29


Showing error
Screenshot from 2024-08-29 18-46-40

  • Changelog entry (skip if change is not significant to end users, e.g. docs only)

Copy link

codecov bot commented Aug 27, 2024

Codecov Report

Attention: Patch coverage is 0.24155% with 413 lines in your changes missing coverage. Please review.

Project coverage is 38.16%. Comparing base (e05f3d9) to head (c715c83).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
catalog/app/containers/Admin/Buckets/Buckets.tsx 0.00% 300 Missing and 18 partials ⚠️
catalog/app/containers/Admin/Buckets/List.tsx 0.00% 87 Missing and 1 partial ⚠️
catalog/app/containers/Admin/Form.tsx 0.00% 4 Missing ⚠️
catalog/app/constants/routes.ts 33.33% 2 Missing ⚠️
catalog/app/containers/Bucket/Overview.js 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4122      +/-   ##
==========================================
- Coverage   38.41%   38.16%   -0.25%     
==========================================
  Files         724      725       +1     
  Lines       33285    33505     +220     
  Branches     4896     4960      +64     
==========================================
+ Hits        12785    12786       +1     
+ Misses      19876    19551     -325     
- Partials      624     1168     +544     
Flag Coverage Δ
api-python 90.85% <ø> (ø)
catalog 11.32% <0.24%> (-0.11%) ⬇️
lambda 87.95% <ø> (ø)

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@fiskus fiskus changed the title the most minimal mvp Move bucket settings to a separate page Aug 29, 2024
@fiskus fiskus marked this pull request as ready for review August 29, 2024 17:34
@fiskus fiskus requested a review from nl0 August 30, 2024 11:20
@fiskus
Copy link
Member Author

fiskus commented Sep 3, 2024

Further refactoring of the page into separate cards is in #4126

nl0
nl0 previously approved these changes Sep 9, 2024
Copy link
Member

@nl0 nl0 left a comment

Choose a reason for hiding this comment

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

i think this is mostly ok

catalog/app/constants/routes.ts Outdated Show resolved Hide resolved
@fiskus fiskus requested a review from nl0 September 10, 2024 08:46
nl0
nl0 previously approved these changes Sep 13, 2024
catalog/CHANGELOG.md Outdated Show resolved Hide resolved
Co-authored-by: Alexei Mochalov <nl_0@quiltdata.io>
@fiskus fiskus added this pull request to the merge queue Sep 13, 2024
Merged via the queue into master with commit 22455cd Sep 13, 2024
35 of 38 checks passed
@fiskus fiskus deleted the admin-bucket-page branch September 13, 2024 10:44
nl0 added a commit that referenced this pull request Oct 7, 2024
* master: (97 commits)
  Remove `<Delay />` component (#4132)
  rewrite SUMMARY (doc reorg) (#4149)
  Tabulator, Admin: UI for modifying tabulator configs (#4135)
  Bump debian from `1b0b790` to `3f9e536` in /lambdas/thumbnail (#4158)
  Bump debian from bullseye-20240904-slim to bullseye-20240926-slim in /lambdas/thumbnail (#4156)
  Bump amazonlinux from 2023.5.20240903.0 to 2023.5.20240916.0 in /catalog (#4151)
  Bump amazonlinux from 2023.5.20240903.0 to 2023.5.20240916.0 in /s3-proxy (#4152)
  Edit file / Edit with config helper (#4147)
  Fix "bad `setState()`" warning (#4150)
  Update dependency webpack to v5.94.0 [SECURITY] (#4125)
  Fix `ui.package_description` example (#4146)
  Bump urllib3 from 1.26.18 to 1.26.19 in /lambdas/s3select (#4140)
  Move bucket settings to a separate page (#4122)
  Bump debian from bullseye-20240812-slim to bullseye-20240904-slim in /lambdas/thumbnail (#4131)
  Bump amazonlinux from 2023.5.20240819.0 to 2023.5.20240903.0 in /catalog (#4133)
  Bump amazonlinux from 2023.5.20240819.0 to 2023.5.20240903.0 in /s3-proxy (#4134)
  Bump certifi from 2023.7.22 to 2024.7.4 in /lambdas/preview (#4130)
  Bump zipp from 3.15.0 to 3.19.1 in /lambdas/preview (#4129)
  Bump cryptography from 42.0.4 to 43.0.1 in /lambdas/indexer (#4128)
  Ignore line-length lint rule for CHANGELOG (#4127)
  ...
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