juhanikat
0f44d649ee
fix incorrect tab numbers in tests, and update tests that navigate from locality to occurrence/species details
2026-10-02 12:50:03 +03:00
juhanikat
99df4ceeaf
update props in Occurrence tabs
2026-10-02 12:49:26 +03:00
juhanikat
81a34a098a
remove it.only
2026-10-02 11:23:36 +03:00
juhanikat
361cccff69
fix locality tests
2026-10-02 11:22:51 +03:00
juhanikat
ccefe118f1
remove species tab from locality details, and add skips to tests
2026-09-28 14:27:07 +03:00
juhanikat
31d1306df1
change species-related tables to always show unique identifier column
2026-09-28 14:01:01 +03:00
juhanikat
49f340a27d
small update to editing forms
2026-09-28 13:47:49 +03:00
juhanikat
d74d41e081
add links to species details in locality -> occurrences tab, uand update EditableTable visuals
2026-09-25 13:56:22 +03:00
juhanikat
080e029320
add e2e tests for creating new species in locality -> occurrences
2026-09-25 13:13:35 +03:00
juhanikat
6292f60e07
new species can now be created inside locality -> occurrences tab -> open occurrence creation view
2026-09-25 12:02:11 +03:00
juhanikat
02e98067b0
fix issues pointed out by copilot
2026-09-19 14:10:48 +03:00
juhanikat
70e479e470
update types for occurrence backend routes, and update more unit tests
2026-09-19 14:10:48 +03:00
83ef8cf15c
Update editingAction to handle null species names
...
Use nullish coalescing to provide default values for species names.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
2026-09-19 13:52:30 +03:00
juhanikat
19e4d7fc63
update unit test, and update tsconfig inside the cypress folder
2026-09-19 13:04:16 +03:00
juhanikat
0ab868e758
update e2e tests
2026-09-19 12:56:11 +03:00
juhanikat
4248c0c260
re-enable useSyncTabSearch
2026-09-19 12:46:39 +03:00
juhanikat
cc0307d7ee
fix lint issue
2026-09-19 12:30:14 +03:00
juhanikat
b6c16efe57
change the way contact button and new button visibility works in tables, fix other small table issues
2026-09-19 12:26:44 +03:00
juhanikat
b9a44d0d63
add e2e tests to locality -> occurrence, and fix occurrence creation modal save button not disabling properly
2026-09-19 12:00:55 +03:00
juhanikat
a8d7506987
Add order_name field to OccurrenceDetailstype, other fixes and small updates
2026-09-19 11:24:41 +03:00
juhanikat
763fe331c4
show occurrence creation button in new localitieis too
2026-09-17 15:50:12 +03:00
juhanikat
36aee3a743
occurrence creation through locality -> Occurrence tab works
2026-09-17 15:04:55 +03:00
juhanikat
1d7a09a37e
revert textfield component changes
2026-09-17 15:04:14 +03:00
juhanikat
f59a32cf1f
remove outdated e2e tests
2026-09-17 15:03:51 +03:00
juhanikat
993e53b168
small fix to occurrencedetails
2026-09-17 14:05:08 +03:00
juhanikat
0b07fca352
update occurrence creation inisde locality -> occurrence tab
2026-09-17 14:04:43 +03:00
juhanikat
8f8284e824
update textfield component and occurrence vaildators
2026-09-17 13:52:43 +03:00
juhanikat
0d2d59a8c0
fix lint and tsc issues, remove unneeded code, and remove useOccurrenceDetails hook
2026-09-10 14:21:11 +03:00
juhanikat
7cc58856b2
add species unique identifier to occurrence details
2026-09-10 14:14:17 +03:00
juhanikat
10e6278a95
revert change to occurrence route error handling
2026-09-10 14:13:55 +03:00
juhanikat
f7a17d53c3
remove species options that are already occurrences for the locality
2026-09-10 14:02:16 +03:00
juhanikat
1bf20ea474
update occurrences tab info text
2026-09-10 13:46:22 +03:00
juhanikat
2e190f23e1
update occurrence cypress tests, and add id to the new button in table views
2026-09-10 13:33:13 +03:00
juhanikat
e8aaebc200
fix infinite request loop in OccurrenceDetails, and add error handler in occurrence route just in case
2026-09-10 13:04:30 +03:00
juhanikat
df459a3a2b
update occurrence tab visuals
2026-09-10 12:01:32 +03:00
juhanikat
ebe1dfec7e
change cypress config to enable snapshots, and add cypress tests for occurrence creation
2026-09-10 12:00:42 +03:00
juhanikat
fd4624ffc8
add refresh icon
2026-09-07 17:02:12 +03:00
juhanikat
3aff18f835
hide new button in occurrence table
2026-09-07 16:31:14 +03:00
juhanikat
2052164eb4
add comment
2026-09-07 16:29:02 +03:00
juhanikat
7d8e345bc4
add refresh button to Locality -> Occurrence tab
2026-09-07 16:21:37 +03:00
juhanikat
c0eb7adf78
fix lint issues and slight changes in OccurrenceDetails
2026-09-07 14:35:41 +03:00
juhanikat
8634ef12e3
Occurrence details page now edits or creates occurrences through the locality route in backend, also add button to select species for occurrence
2026-09-07 14:30:04 +03:00
juhanikat
6a82187fa0
add button in locality occurrence tab to create new occurrence, update occurrence creation
2026-09-03 12:51:53 +03:00
juhanikat and GitHub
5c065508b4
update project update process in frontend and backend, and add project validators ( #1230 )
...
* update project update prosess in frontend, and add project validators
* change project update process in backend
* update project backend files, projectReducer, project validators and tests
* update project api tests, and error handling in ProjectDetails
* update frontend project creation form
* remove ProjectEditPage tests and fix ProjectNewPage tests
* update project api tests, project write process, and project validators
* remove unneeded files relating to projects, and merge project/ and projects/ route files
* remove project validators from backend, and update other project files
* allow all users to view projects table
* fix import issue
* update project api tests to use correct url, and add --runInBand flag to backend unit tests
* update cypress test
2026-08-19 11:21:36 +03:00
juhanikat and GitHub
c3eeb10262
add --runInBand flag to front unit test command ( #1237 )
2026-08-17 16:20:20 +03:00
juhanikat and GitHub
dd4d1fed2f
remove cache flags from lint commands ( #1236 )
2026-08-17 12:25:22 +03:00
juhanikat and GitHub
7143da32c1
change import statement to import type ( #1227 )
2026-08-04 15:45:25 +03:00
juhanikat and GitHub
e9fa3e3b31
Improve loading times by splitting pages.tsx into smaller files and improving the locality map ( #1224 )
...
* split pages.tsx into multiple files, and update ui e2e test since occurrence rename
* reduce size of countryBoundingBoxes and countryPolygons
* update files again, and update countryExport script
* update files again, add more simplified geojson files, and update countryExport with Copilot
2026-08-04 13:51:13 +03:00
fa6dc11fee
Update backend services, user right tests and user right documentation ( #1217 )
...
* update some backend tests slightly, and update user right docs
* improve locality updating tests
* refactor species merge tests, and add more user rights tests to merging
* fix locality user right issue with users being able to bypass project membership requirements by adding new projects when updating a project, and add tests
* fix small, copilot suggested issues
* change bigint value back to number, and fix hanging test
* add error content checks and get request test for regions
* add error content checks and reorder tests in time bound/time unit
* add person get tests, update delete tests, and update user right docs
* update museum tests
* update testing docs
* add tests for all user groups in project delete tests
* add more user right tests to project/ and projects/
* Fix pid test
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
* Rename project get test describe block
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
2026-07-20 15:01:14 +03:00
juhanikat and GitHub
4dff86367b
Fix navigation inside tabs with a tableview replacing all query param… ( #1218 )
...
* fix navigation inside tabs with a tableview replacing all query params in url
* fix copilot suggested issues relating to encoding urls
2026-07-12 13:44:50 +03:00
juhanikat and GitHub
9b98a91ee4
fix menuitems not showing in table export menus, and give them keys ( #1214 )
2026-06-30 13:30:15 +03:00
juhanikat and GitHub
8f97de1019
Remove species test from root directory, and update the corresponding… ( #1180 )
...
* Remove species test from root directory, and update the corresponding test in api-tests
* fix permission test
* update species tests
2026-06-29 13:56:06 +03:00
juhanikat and GitHub
17eb6dda0a
Change renderExtraExportMenuItems to an array of ReactNodes ( #1205 )
...
* Change renderExtraExportMenuItems from a ReactNode to an array of ReactNodes
* update typing and extramenuitem rendering
* remove useless import
2026-06-29 12:53:00 +03:00
f2aa36c13f
Fix tables showing incorrect amount of pages, and some other table issues ( #1198 )
...
* fix pagination showing incorrect page amount when filtera are applied
* fix issue with occurences table resetting to first page, and make page numbers accurate in all tables
* fix error in occurences table menu bar
* remove pagination from TableView useEffect dependencies to break rerender loop
* update server side pagination useEffect with CoPilot
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
* remove useless else-clause from useEffect
---------
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
2026-06-29 12:16:04 +03:00
juhanikat
e100e41fd3
update gitignore
2026-06-09 13:36:28 +03:00
juhanikat
98801a6730
Revert "remove phpmyadmin service from docker compose files, since they cause issues"
...
This reverts commit 8b8f985642540d783b31b20ea747e7e7a93d3b9e.
2026-06-09 13:36:28 +03:00
juhanikat
9bb51872fc
Remove vscode settings from repo
2026-06-09 13:36:28 +03:00
juhanikat
5f92b6008f
remove phpmyadmin service from docker compose files, since they cause issues
2026-06-09 13:36:28 +03:00
juhanikat
72b42fff2e
fix small copy paste issue
2025-10-14 12:39:09 +03:00
juhanikat
b02940d11c
Update taxonomy docs
2025-10-14 12:38:33 +03:00
juhanikat
5bda3f3e67
Remove unneeded enablePagination check from editableTable
2025-10-14 12:34:35 +03:00
juhanikat
9fa32332fe
change museum table name to "Museums"
2025-09-30 11:24:09 +03:00
juhanikat
3b9347afbe
Make some tables unclickable to make them less annoying to use
2025-09-30 11:11:28 +03:00
juhanikat
bdab6ebc4c
removed consolelogs
2025-09-30 10:53:12 +03:00
juhanikat
3db869b3b6
add comment
2025-09-27 15:50:52 +03:00
juhanikat
aa17be9703
Change min and max age values to symbols in
...
Time Unit - Localities tab
2025-09-27 15:45:19 +03:00
juhanikat
914585dd11
check that a synonym does not already exist as a species
2025-09-27 15:28:16 +03:00
juhanikat
e63573f1d1
contact button is shown again
2025-09-27 14:05:40 +03:00
juhanikat
949582e6ed
add type for AnyReference
2025-09-17 11:46:39 +03:00
juhanikat
6dde6893a6
fix bug with update tab key props, and update references now show details properly, and the view link works, also change typing a lot
2025-09-17 11:46:39 +03:00
juhanikat
4d9e73b810
update more filenames, and rename cross_search file to locality-species
2025-09-17 11:45:58 +03:00
juhanikat
4a20fafcb0
add delimiter spesification in cross search export options
2025-09-17 10:56:31 +03:00
juhanikat
3cf9902af8
update link in cross search export docs
2025-09-17 10:56:31 +03:00
juhanikat
d1965c642b
change export file name to include name of table and a timestamp, and add title props to table views to make this work
2025-09-17 10:56:31 +03:00
juhanikat
4f7499e7d9
update taxonomic status validator error message
2025-09-17 10:55:08 +03:00
juhanikat
2a74d9b60e
update api test values for species, and change Locality -> SpeciesTab to set taxonomic_status to empty string instead of null when copying existing species
2025-09-08 11:43:34 +03:00
juhanikat
8629228e4a
change species validator to complain about spaces in species name
2025-09-08 10:57:46 +03:00
juhanikat
d3880d7019
species with null taxonomic_status are now changed to use empty string instead, also change emptySpecies taxonomic_status from null to empty string
2025-09-08 10:57:46 +03:00
juhanikat
289c8f2d34
change synonymTab button text and add validator for taxonomic_status, refactor taxonomicStatusOptions
2025-09-08 10:57:46 +03:00
juhanikat
33f54dcebb
add validation and other checks for species synonym adding
2025-09-08 10:57:46 +03:00
juhanikat
6f65cd2c3f
add com_taxa_synonym as an allowed table for species writeHandler
2025-09-08 10:57:46 +03:00
juhanikat
48ec4b5f43
update documentation titles, and update reference types doc
2025-09-08 10:57:46 +03:00
juhanikat
b50f0028d7
add class_name to species created with the add new species form
2025-09-08 10:57:46 +03:00
juhanikat
575c4f3e68
add subfamily field to add new species form in locality -> species tab
2025-09-08 10:57:46 +03:00
juhanikat
976902f933
add more locality -> species tests
2025-09-08 10:57:46 +03:00
juhanikat
9af3e1dd91
update every test with the new reference adding command, update copy taxonomy button id, and add more locality -> species tests
2025-09-08 10:57:46 +03:00
juhanikat
805a33473b
update existing locality tests
2025-09-08 10:57:46 +03:00
juhanikat
32e94495a9
add command for adding reference and saving an entry, and add test for locality -> species tab
2025-09-08 10:57:46 +03:00
juhanikat
390c69dd93
change taxonomic_status from empty string to null when clicking copy button
2025-09-08 10:57:46 +03:00
juhanikat
47268e879d
reset author, comment and taxon status when copying existing species, and add default value for unique identifier
2025-09-08 10:57:46 +03:00
juhanikat
8c8a285ab7
add more skipped tests
2025-09-08 10:57:46 +03:00
juhanikat
6f9800f9be
fixed bug with setting values through species forms
2025-09-08 10:57:46 +03:00
juhanikat
6c2c951a5c
rename taxonomyFunctions to taxonomyUtilities and add copy taxonomy button to the "add new species" form
2025-09-08 10:57:46 +03:00
juhanikat
7e6c62aff0
refactor taxonStatusOptions, add comment and author fields to editingForm inside locality -> species tab, and update Species type
2025-09-08 10:57:46 +03:00
juhanikat
4b07fe0bcf
refactor add new species button's editAction
2025-09-08 10:57:46 +03:00
juhanikat
2175a177ab
invalidate specieslist in locality editing redux to fix bug with locality -> species tab
2025-09-08 10:57:46 +03:00
juhanikat
df85100d4a
fix test and add before-section to locality tests
2025-09-08 10:57:46 +03:00
juhanikat
7e77f4dd15
add skeletons for future tests
2025-09-08 10:57:46 +03:00
juhanikat
6a0b1a288f
validate species immediately when adding it in locality -> species tab, and refactor null value fix
2025-09-08 10:57:46 +03:00
juhanikat
dcca0aefcd
add some tests for locality -> species tab and fix issue with null subclass, suborder and subfamily when selecting species
2025-09-08 10:57:46 +03:00