diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b818ddea48c..e73843f4487 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -64,7 +64,7 @@ jobs: MYSQL_PASSWORD: MasterPassword MYSQL_DATABASE: test_SpecifyDB MYSQL_ROOT_PASSWORD: password - options: --health-cmd="mysqladmin ping" --health-interval=5s --health-timeout=2s --health-retries=3 + options: --health-cmd="mariadb-admin ping" --health-interval=5s --health-timeout=2s --health-retries=3 steps: - uses: actions/checkout@v3 diff --git a/CHANGELOG.md b/CHANGELOG.md index a9558bc51fe..89dea99811f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,7 +12,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## Unreleased - + Coming in the next few months: @@ -25,6 +25,31 @@ Coming in the next few months: - [And many more features](https://github.com/specify/specify7/pulls) +## [7.8.12](https://github.com/specify/specify7/compare/v7.8.11...v7.8.12) (7 June 2023) + +### Added +- Collection Object Relationships can now be uploaded in the WorkBench ([#3089](https://github.com/specify/specify7/issues/3089) *- Requested by CSIRO and others*) +- The language picker on the login screen now has a "Language" subheading above, consistent with username and password ([#3530](https://github.com/specify/specify7/issues/3530)) +- The new `[intert]` attribute has been added to dialogs to help with accessibility and focusability in browsers for dialogs ([#2618](https://github.com/specify/specify7/issues/2618)) +- Specify Network is now integrated into Specify 7! ([#2265](https://github.com/specify/specify7/issues/2265), [#3064](https://github.com/specify/specify7/issues/3064)) +- Button colors in the interface can now be customized application-wide ([#2091](https://github.com/specify/specify7/issues/2091) *- Requested by CSIRO and others*) +- The Spanish localization has been improved thanks to Iñigo Granzow de la Cerda at CSIC! ([#3469](https://github.com/specify/specify7/pull/3469)) +- "Skeleton loaders" have been added to improve the user experience when waiting for items to load in place of dialogs ([#2998](https://github.com/specify/specify7/issues/2998)) +- Institutions can now be added to the navigation menu ([#2100](https://github.com/specify/specify7/issues/2100)) + +### Changed +- Small buttons now are darker when hovered over in light mode and lighter when hovered over in dark mode. These buttons were previously orange. ([#3543](https://github.com/specify/specify7/pull/3543)) +- When using the attachment viewer, the hide form button now has a different value based on whether the form is displayed or not. ([#3479](https://github.com/specify/specify7/issues/3479)) +- The paginator now uses proper icons for the navigation arrows. ([#3536](https://github.com/specify/specify7/issues/3536)) +- "Express Search" is now known as "Simple Search" to be consistent with Specify 6. + +### Fixed +- Console errors caused by exiting query builder have been removed ([#3523](https://github.com/specify/specify7/issues/3523)) +- Auto-generated tree queries are no longer missing the second quote when using the English language ([#3126](https://github.com/specify/specify7/issues/3126)) +- Export to CSV now respects the selected rows ([#2348](https://github.com/specify/specify7/issues/2348) *– Reported by CSIRO*) +- App resources can now be edited on narrow screens ([#3437](https://github.com/specify/specify7/issues/3437)) +- When viewing interaction-based data forms, Interactions is now highlighted in the navigation menu ([#3459](https://github.com/specify/specify7/issues/3459)) + ## [7.8.11](https://github.com/specify/specify7/compare/v7.8.10...v7.8.11) (17 May 2023) ### Added diff --git a/specifyweb/frontend/js_src/lib/components/FormPlugins/LatLongUi.tsx b/specifyweb/frontend/js_src/lib/components/FormPlugins/LatLongUi.tsx index ecde0bddad1..ec0e75a7b94 100644 --- a/specifyweb/frontend/js_src/lib/components/FormPlugins/LatLongUi.tsx +++ b/specifyweb/frontend/js_src/lib/components/FormPlugins/LatLongUi.tsx @@ -98,8 +98,15 @@ function Coordinate({ ); isChanging.current = true; - resource.set(coordinateField, parsed?.asFloat() ?? null); - resource.set(coordinateTextField, trimmedValue || null); + + /** + * Do not set unload protect because very precise coodinateFields + * may experience a change of precision during the conversion from + * string to float + */ + resource.set(coordinateField, parsed?.asFloat() ?? null, { silent: true }); + + resource.set(coordinateTextField, trimmedValue); // Since these fields are no used by sp7, they shouldn't trigger unload protect resource.set( 'srcLatLongUnit', diff --git a/specifyweb/frontend/js_src/lib/components/Preferences/ApplyPreferences.tsx b/specifyweb/frontend/js_src/lib/components/Preferences/ApplyPreferences.tsx index e4422d2ad8b..223d86369a6 100644 --- a/specifyweb/frontend/js_src/lib/components/Preferences/ApplyPreferences.tsx +++ b/specifyweb/frontend/js_src/lib/components/Preferences/ApplyPreferences.tsx @@ -169,7 +169,7 @@ export function SetCssVariables(): null { ), }), // eslint-disable-next-line react-hooks/exhaustive-deps - [version] + [version, darkMode] ); const scaleTarget = prefs.scaleUi ? document.documentElement : document.body; diff --git a/specifyweb/frontend/js_src/lib/components/QueryBuilder/Export.tsx b/specifyweb/frontend/js_src/lib/components/QueryBuilder/Export.tsx index 8a9806c5961..0b4953ac03d 100644 --- a/specifyweb/frontend/js_src/lib/components/QueryBuilder/Export.tsx +++ b/specifyweb/frontend/js_src/lib/components/QueryBuilder/Export.tsx @@ -134,8 +134,9 @@ export function QueryExportButtons({ : downloadFile( `${ queryResource.isNew() - ? `${queryText.newQueryName()} - - ${schema.models[baseTableName].label}` + ? `${queryText.newQueryName()} ${ + schema.models[baseTableName].label + }` : queryResource.get('name') } - ${new Date().toDateString()}.csv`, handleSelectedResults()