Skip to content

Latest commit

 

History

History
261 lines (190 loc) · 27.4 KB

CHANGELOG.md

File metadata and controls

261 lines (190 loc) · 27.4 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

1.4.10 (2022-06-01)

Bug Fixes

  • revert "refactor: add eslint-plugin-react-hooks, fix exhaustive-deps issues" (5f55231)

1.4.9 (2022-05-29)

Bug Fixes

  • remove rxjs and @sanity/client from peerDependencies (b4df1f5)
  • revert "fix: flatten blob gen + upload actions to ensure null blobs correctly throw errors and bubble up" (7a387c4)

1.4.8 (2022-05-05)

Bug Fixes

  • fix regression with onSelect not passing an array (dae8628)

1.4.7 (2022-05-04)

Bug Fixes

  • render search facets in a portal to prevent clipping at smaller breakpoints (b0c7f91)

1.4.6 (2022-05-04)

1.4.5 (2022-05-04)

Bug Fixes

  • don't re-upload files that are in the process of being uploaded (150df9e)
  • extract blurhash on new uploads, move @sanity/client and rxjs to peer deps (c67cae2)
  • flatten blob gen + upload actions to ensure null blobs correctly throw errors and bubble up (834ebb0)
  • prevent layout issues and 'zero-sized element' errors in react-virtuoso (c0233c9)
  • prevent upload cancellation when asset percentLoaded === 100 (501e452)
  • wrap tool browser in a flex element, fix layout issues on smaller breakpoints (20b1877)

1.4.4 (2021-11-14)

1.4.3 (2021-10-26)

Bug Fixes

  • expose _id, assetId and url in default input search (0f7d544)

1.4.2 (2021-10-21)

Bug Fixes

  • force minimum height on canvas when generating low res previews (8e30854)

1.4.1 (2021-10-14)

Bug Fixes

  • quickfix to work around a minor regression in sanity 2.21.0 (1abf9e8)

1.4.0 (2021-09-22)

Features

  • add filename facet (4f70fab)
  • add initial file custom asset source support: conditionally filter and facet by asset type (7a2b988)
  • add overscan to asset grid view (7b3aaba)
  • disable react-select until all tags have loaded in full (5948a94)
  • virtualize react-select views (f712c4c)

Bug Fixes

  • ensure that generic tag deletion errors are caught and displayed in notifications (b65e0e6)
  • ensure that no empty virtuoso views are rendered (04904e5)
  • force fixed positioning on sanity-ui Dialogs to prevent mobile scrolling issues (94465a5)
  • force search facet to render in a portal, remove hard-coded z-index (4afb51e)
  • tags: render all tags in a virtualized container (abdc7e3)

1.3.1 (2021-05-09)

Bug Fixes

  • only check against asset._type when searching for linked asset IDs (39a7a77)

1.3.0 (2021-04-27)

Features

  • add “Copy URL” button to asset metadata actions (4cf25cc)
  • wrap copy URL button with a timed popover and move to a separate component (4eb579e)

1.2.2 (2021-03-29)

Bug Fixes

  • fix portal container positioning: use @sanity/ui portal component with scoped provider (ea0cb07)

1.2.1 (2021-03-29)

1.2.0 (2021-03-25)

Features

  • use API-versioned client if available (c953d1e)

1.1.4 (2021-03-10)

1.1.3 (2021-03-10)

Bug Fixes

  • move sanity-ui and styled-components into peer deps (6c51ba3)

1.1.2 (2021-02-27)

Bug Fixes

  • re-add ability to display all assets in current document, create dedicated selected reducer (e89702d)

1.1.1 (2021-02-26)

Bug Fixes

  • prevent dnd propagation in select context to prevent accidental uploads with native inputs (6fe2297)
  • revert to wrapping select browser inside a custom portal to prevent z-index clashing (14462ab)

1.1.0 (2021-02-24)

Features

  • add batch tag add / remove actions, minor dialog cleanup (5e4170d)
  • add progress bars to both upload cards + rows (fcd80ad)
  • add support for cancelling uploads, tweak upload styles slightly (07f1bac)
  • create separate form submit button component with conditional toolip (19db57d)
  • first pass of tag create/edit/delete actions, add redux-toolkit, simplify redux actions (eb5d89e)
  • first pass of uploads with react-dropzone (955aaf5)

Bug Fixes

  • absolutely position react-window and prevent layout shift when picking assets (0058dd5)
  • add file icon to upload cards and rows (2148db4)
  • add focus / select styles to react-select components (5378162)
  • add notifications for tag updates (028122d)
  • add null check to sanitize form (413448b)
  • add tag listener to edit form (5038ae0)
  • add timed buffer to tag and asset listener epics to prevent action spam on batch operations (d982b0b)
  • buffer all listener changes to prevent unnecessary renders in batch operations (a7fa67e)
  • bump rhf + react-select, correctly store tag in store after creation (b457fd6)
  • correctly search by reference when updating search tag facets (abbf252)
  • correctly use @sanity/ui media queries, tweak control bar styles on small breakpoint (bdc8064)
  • disable folder + package uploads (ac05549)
  • disable submit button + tag tooltips on touch devices (bc9a4a5)
  • disable tag buttons during updates, don't clear tag search facet when removing active tags (139ba16)
  • disable word wrapping on table header cells (c4de069)
  • display message in tag panel if there are no tags (12689cd)
  • ensure that newly created tag ids are added to allIds array (36a7e4c)
  • fix issue where asset pick status wasn't being properly cleared on view / order change (a74c7c0)
  • fix issue where inline created tags weren't always appearing as expected (a5e81d2)
  • fix issue where MIME type order wasnt being displayed in order select dropdown (f1c73df)
  • fix issue with autoresizer height mismatch when selecting assets (0affa7c)
  • fix minor visual issue with tag search facet text cropping descenders (0bd0249)
  • fix regession with shared delete asset epic - no longer refer to current state, only payload (a13c79d)
  • fix regression with progress bar transform origin + order select dropdown z-index (8dcca3f)
  • fix regression with selected assets not appearing correctly (eb5a9e0)
  • fix spinner positioning and table row / card opacity during updates (71f9bd9)
  • force local tag + asset updates (in addition to those received by listeners) (4dde089)
  • include _createdAt in projection to try resolve ordering issues (4f7295a)
  • on tag delete: create sanity transaction and delete referenced tags from linked assets (625104a)
  • only allow image uploads in select context, update upload button label (9313a00)
  • render react-select menu list in a portal, avoid hardcoding z-index, use BEM class syntax (0e52a4c)
  • temporarily disable serializable check (f2a27ad)
  • trim all formdata strings across both asset + tag dialog forms (59ac8a1)
  • update page index after asset deletes, force asset fetch when deleting all visible assets (c3178d7)
  • upon creation, don't add ids to store if already present (b8645cc)
  • upon tag creation, don't add ids to store if already present (7866076)
  • various layout fixes to ensure compatibility with upcoming studio changes (da027f6)

1.0.2 (2021-02-19)

Bug Fixes

  • determine asset select context based on the presence of onSelect rather than document (4185c19)

1.0.1 (2021-01-23)

Bug Fixes

  • don't query for document ID when operating on pristine / unsaved drafts (4083fc2), closes #20

1.0.0 (2021-01-22)

Features

  • add clear search facet button + redux action (a072074)
  • add confirmation dialog when deleting multiple assets (031e22b)
  • add dev mode debug bar and request throttling (c949c56)
  • add initial support for displaying file assets (cc01d00)
  • add initial tags reducer, add type safety to action creators and epics, style react-select (66e620a)
  • add keyboard shortcut to toggle debug panel, move state into debug reducer (e76a9d6)
  • add pick toggle checkbox to table header (8622901)
  • add separate search facets dialog, add small breakpoint facet layout (def9852)
  • add support for context-specific search facets (86a9c6d)
  • add support for future facet groups, re-work facet schema slightly, use smaller menu item size (bc3046b)
  • add tag schema, add listener redux events and update asset stores on listener mutations (63403e3)
  • add tag search facet with custom styles (beef859)
  • add width + height search facets, only apply modifier if function is present (c4a7351)
  • allow DPR sensitive image urls to accept height values, increase image size in details dialog (88c3e96)
  • dialog rewrite: allow for nestable dialogs - and use shared dialog for single + multi delete" (9ce09c9)
  • download files with original filenames (984a9b4)
  • display checkmark icons and prevent click actions on selected assets (30d174d)
  • fetch and expose a limited subset of exif metadata (da9f8bb)
  • first pass of search facet functionality, debounce redux actions rather than search input (493825f)
  • first pass of string search facet input, add operator conditional to hide inputs (67533b5)
  • initial pass of update modal, allow for targeted dialog close on update / delete (ee93438)
  • port more components to sanity/ui, add sortable table headers with additional sort orders (8ac5b6d)
  • significant structural changes in prep for custom tagging / editing (63aa7e5)
  • update search to find matches in altText, description and title fields (65a81f7)
  • update shift selection behaviour and allow for range picking (e0a3e8f)

Bug Fixes

  • add optional chaining / existential operator when querying for picked status (ea3cf93)
  • add tag listeners (77e8e05)
  • add text-overflow: ellipsis to header (6f39d28)
  • apply logical operators to number search facet (f6299f7)
  • dont close all edit dialogs on update/delete (e18565d)
  • correctly adjust viewport height on asset pick, clear picked status on filter / search changes (9d1b1b6)
  • correctly dirty form when a new tag has been manually added (c0333eb)
  • correctly query custom asset fields (altText, description + title) (fc987c1)
  • correctly store newly created tags, refactor custom throttle rxjs operator (93010a1)
  • correctly store tag id when create new tags in dialog form, trim whitespace from new tag names (36f01b3)
  • correctly update tags field when creating new tags (dcfeace)
  • don't display filled table header checkbox whilst fetching (d9645d9)
  • don't partially reset react-hook-form on mount (8636f4a)
  • dont send undefined values when submitting patches (9293957)
  • dont store lastTouched in assets, don't force re-fetch on search query change (a93ad62)
  • don't try and parse empty values, default text input number to 0 (19a4621)
  • ensure empty tags field returns null when empty (9fa83c0)
  • fallback to default facet number value if none provided (26deab6)
  • fix asset update notification label (9a2ae2a)
  • fix regression with dialogs not correctly invoking from table rows (7bb095d)
  • fix regression with progress bar not displaying (4a905b5)
  • fix regression with react-hook-form not being reset on asset listener update (2fdf0f8)
  • hide text overflow on asset metadata rows (7f104eb)
  • ignore draft image assets in all fetch requests (50679fb)
  • ignore draft listener mutations, fix issues with form defaultValues and syncing (ef83804)
  • only pick / unpick visible assets, not the entire set (eb78e02)
  • only splice / remove assets if a valid index has been found (70d7304)
  • prevent dialog from scrolling down to the download button on smaller screens (45bbd40)
  • prevent unnecesary re-renders on key presses (8118235)
  • remove mime type sort, allow for empty strings in number search facet input fields (4b1a07a)
  • remove redundant select lookup (fdadc84)
  • rename footer to picked bar, correctly measure react-window container height (071898b)
  • rename tag document name, move media-specific fields into opt.media namespace (d5666fc)
  • re-sort tags on all listener mutations, fix minor rendering issue with single value tag (c55c70a)
  • round custom filters to ensure correct file size comparison, use base 10 (SI) file sizes (b3c2cfc)
  • sanitise form data before submission: strip nullish values (17bdb4a)
  • unpick selected assets on delete, prevent pointer events / hover actions during update (698d0e5)
  • use generic 'asset' term when displaying errors, picked status and delete confirmation (74eb4ba)