Title: Users can exclude custom categories from base weight by Callisto13 · Pull Request #43 · Packstack-Tech/packstack · GitHub
Open Graph Title: Users can exclude custom categories from base weight by Callisto13 · Pull Request #43 · Packstack-Tech/packstack
X Title: Users can exclude custom categories from base weight by Callisto13 · Pull Request #43 · Packstack-Tech/packstack
Description: This is the first bit of my work on #11. I have worked off #42 as I like @darinalleman's toggle feature 😄 so this PR will need to wait for that one. For this feature to be complete, I believe it needs the following: When creating a new Category as part of an Inventory Item create, users should be able to toggle to exclude that category from the base weight. When editing an Item (via the edit item modal) and moving it to a new custom category, users should be able to toggle to exclude that category from the base weight. In the Inventory display table, users should be able to click the name of their custom category and see something giving them the option (toggle) to change the exclude_weight field of their category. (There should also be a warning about how changing this value will affect all Items in that category.) In the Inventory and Pack display tables, there should be an indicator to show that the category is excluded from base weight. (eg CAT NAME (excluded from base weight) or a cute icon) In the Pack weight breakdown, items in custom categories which are excluded from weight, should not be counted as part of the "Worn" or "Consumable" weights, but have a separate breakdown row. (If a pack has no custom categories with excluded weights, this row should not appear in the breakdown.) I have done the easy bits (see demo below), but the others are trickier: I may actually need to learn some React rather than simply going by trial-and-error/guesswork on how things wire together 😅 . Any tips/help (especially with the 3rd task which is killing me) would be awesome 🙏 . Screen.Recording.2021-02-06.at.12.59.15.mov
Open Graph Description: This is the first bit of my work on #11. I have worked off #42 as I like @darinalleman's toggle feature 😄 so this PR will need to wait for that one. For this feature to be complete, I believe i...
X Description: This is the first bit of my work on #11. I have worked off #42 as I like @darinalleman's toggle feature 😄 so this PR will need to wait for that one. For this feature to be complete, I belie...
Opengraph URL: https://github.com/Packstack-Tech/packstack/pull/43
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:8c5230ff-f450-c567-8f11-e003976217c6 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | 9ABA:11C456:6B7674:880ACA:69900213 |
| html-safe-nonce | 32b626810af58c7117c38af263ae371408b6cadce1a65bda3c0b88b944e8f265 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QUJBOjExQzQ1Njo2Qjc2NzQ6ODgwQUNBOjY5OTAwMjEzIiwidmlzaXRvcl9pZCI6IjQxODgyNjc3MDQ0MDkzOTE2MzUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 0da65a56820396f97b41620be811c21b79e2e56ca75d6fd462407899e3a6c38e |
| hovercard-subject-tag | pull_request:568786815 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/Packstack-Tech/packstack/pull/43/checks |
| twitter:image | https://avatars.githubusercontent.com/u/8898786?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/8898786?s=400&v=4 |
| og:image:alt | This is the first bit of my work on #11. I have worked off #42 as I like @darinalleman's toggle feature 😄 so this PR will need to wait for that one. For this feature to be complete, I believe i... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/Packstack-Tech/packstack git https://github.com/Packstack-Tech/packstack.git |
| octolytics-dimension-user_id | 88605445 |
| octolytics-dimension-user_login | Packstack-Tech |
| octolytics-dimension-repository_id | 190431388 |
| octolytics-dimension-repository_nwo | Packstack-Tech/packstack |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 190431388 |
| octolytics-dimension-repository_network_root_nwo | Packstack-Tech/packstack |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3b33c5aedc9808f45bc5fcf0b1e4404cf749dac7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width