Skip to content

Read only addition, bug fixes and modal refactors

Pre-release
Pre-release

Choose a tag to compare

@NathanNovak NathanNovak released this 29 Sep 16:46
· 228 commits to master since this release

2.22.0 (2025-09-27)

New Features
  • Home Menu: Added a search to the Home Menu (b906683)
  • Map: Made Spots in Read Only datasets uneditable (266ada8)
  • Datasets: Added ability to set Datasets as Read Only (fe65333)
Bug Fixes
  • Spot:
    • Fixed error getting spot Ids of read only dataset with no spots (8d699e1)
    • Removed back arrow from Surface Feature and Trace Feature header (a352106)
    • Missed a switch on the Strat Section page that needed to be disabled if read only (9b11238)
  • Overlay: Removed extra and minor formatting. (d145a3c)
Refactors
  • DailyNotesModal: clean up unused imports and refactor delete note logic (0cc4cc0)
  • UI:
    • Used shared components for buttons (0286495)
    • Renamed the SaveButton to ActionButton.js to make it more universal in wrappers or as a stand-alone button. (0faac8f)
  • Modal:
    • update StatusModal and DailyNotesModal props for consistency (6526e17)
    • update modal props and integrate ActionButton for consistent behavior (982e392)
    • update DatasetDetail modal props for improved clarity (770a121)
    • replace Overlay with ModalWrapper for consistent modal behavior across modules (b72a9ee)
    • replace Overlay with ModalWrapper in NotebookMenu and CustomMapDetails (53f172b)
    • replace Overlay with ModalWrapper for consistent modal behavior (8b9e7a1)
    • replace Overlay with ModalWrapper for consistent behavior (cda3c98)
    • consolidate footer button handling and simplify modal configurations (66f0455)
    • replace StatusDialogBox with ModalWrapper for unified modal behavior (e877de3)
    • enhance modal handling and status messaging (54eda61)
    • unify primary action handling and adopt new ModalWrapper API - Route Save/Export/Close through a single handler and update the action button label dynamically (shows “Close” on completion or error). - Remove the separate “OK” button; control visibility via showActionButton/showCancelButton and hide Cancel during in-progress states. - Migrate to headerTitle and disable action/cancel buttons for status-only displays. - Improve save/export UX with clearer progress titles, loading state updates, and robust completion/error flows; simplify export zipping by removing warning-modal side effects. (d623f51)
    • Continued WIP on Modal refactoring. (ca0fbd8)
    • Continued WIP on Modal refactoring. (2e0d623)
    • Continued WIP on Modal refactoring. (b40777f)
    • Continued refactor of Overlays (62a6d5f)
    • Minor formatting and style changes (4037bc0)
    • Continued refactor of all Overlays called in all components. (48f70d0)
    • Renamed OverlaySaveAndCancelButtons.js to ModalSaveAndCancelButtons.js and are passing action props. (bbd97d1)
    • Removing the DeleteConformationModal because we are not using it. (b9f5e05)
    • Added OverlaySaveAndCancelButtons.js to the project (1b7e415)
    • Fixed height of InitialProjectLoadModal.js views and StatusModals (1195a38)
  • Backup: remove UploadProgressModal and ProgressModal components (e0be08f)
  • Web: add require polyfill, platform-specific checks, and AppStack for web support (60e3b08)
  • Spot: Left align Spot name (5102037)
  • Maps: add defensive checks, improve cleanup, and enhance rendering logic (011ce22)
  • Download: Updated text warning if project to download is not newer than current project (4e5de5a)
  • Images: replace ImageModal with ModalWrapper in ImageInfo for consistent modal behavior (e57bbaa)
  • Documentation: replace Overlay with ModalWrapper and introduce dedicated DocumentationScreen (1f6a751)
  • TablesData: enhance modal width handling and streamline styles (086e541)
  • TagsModal:
    • replace deprecated modals and introduce targeted modal components (809aa65)
    • remove deprecated modals and consolidate modal usage under TagsModal (6dbc3c7)
  • Forms: Removed the autoFocus prop because it was creating an issue with fields in the form using the values of the fields in a modal. (38e0d57)
  • UI Styles: Chaged text weight constant to TEXT_WEIGHT_500 (5328d91)
  • OverlayWrapper:
    • Modifying the overlays to make them more appealing and functional. (1aa13c9)
    • Added focused styles to some components to override the overlayContainer style. (054f16f)