Commit Graph
100 Commits
Author SHA1 Message Date
juhanikatandAaro Koivukangas 9c20094183 add text that teels user to wait in table view loading screens 2024-12-04 13:58:42 +01:00
juhanikatandGitHub 921f035881 Merge pull request #628 from nowcommunity/column-filter-modes
Add filtering mode selection for most text columns
2024-12-04 12:59:18 +02:00
juhanikatandAaro Koivukangas 4e63654392 added some tests for showing user the amount of errors in edit view 2024-11-29 15:49:05 +01:00
juhanikatandAaro Koivukangas c1d8c7d0c8 removed import 2024-11-28 16:10:27 +01:00
juhanikatandAaro Koivukangas 5c62c22bfe fix issue with unique keys in error list 2024-11-28 16:10:27 +01:00
juhanikatandAaro Koivukangas 69a65a9cbd fixed outdated wording 2024-11-28 14:20:44 +01:00
juhanikatandAaro Koivukangas e55787ce08 add documentation for error checking in edit view 2024-11-28 14:20:44 +01:00
juhanikatandAaro Koivukangas 90a312998b made it easier to see that a Journal is required when editing reference 2024-11-28 13:52:45 +01:00
juhanikatandAaro Koivukangas 69e70e5e9f add optional custom timeout value to notifications 2024-11-28 13:44:15 +01:00
juhanikatandGitHub 1d00396099 Merge branch 'main' into show-missing-fields-to-user-next-to-finalize-entry-button 2024-11-28 14:17:36 +02:00
juhanikatandGitHub 199bc63547 Merge pull request #603 from nowcommunity/add-links-to-details-in-detailview-tables
Add links to detail pages for rows in detail view tab tables
2024-11-28 13:49:46 +02:00
juhanikat 5c8e0a7b53 show invalid fields to user when editing/creating, also rename types 2024-11-27 13:09:49 +02:00
juhanikat d31088c576 fixed some boolean issues in references and other lint issues 2024-11-27 13:09:49 +02:00
juhanikat 594cf6d1e0 testing 2024-11-27 13:09:49 +02:00
juhanikatandAaro Koivukangas 92b179cd19 add no value options to many dropdowns 2024-11-26 09:00:08 +01:00
juhanikat f8a150e4a5 change button text from author to proper type in references 2024-11-25 11:29:41 +02:00
juhanikat 7dae8ba80b made missing authors/editors etc in reference easier to see and chnaged ArrayFrame/Grouped props a little to make this easier 2024-11-22 10:54:44 +02:00
juhanikatandGitHub 75a3497323 Merge pull request #581 from nowcommunity/improve-time-unit-edit-view
Improve time unit edit view
2024-11-22 10:31:45 +02:00
juhanikatandAaro Koivukangas e4fdb29fa0 changed order of comment/sequence in edit view 2024-11-22 08:29:04 +01:00
juhanikatandAaro Koivukangas ff3d81a9ff switched order of upper/lower bound in edit view 2024-11-22 08:29:04 +01:00
juhanikatandAaro Koivukangas 8db68d2291 changed value of of tableSelections to undefined if there is no editData, to not have an error in console 2024-11-22 08:29:04 +01:00
juhanikatandAaro Koivukangas 3357304813 chnaged the layout of time bound editing in time unit details 2024-11-22 08:29:04 +01:00
juhanikat f3294fed45 change tab title to reference name after creating a reference, also some style fixes 2024-11-21 16:11:44 +02:00
juhanikatandGitHub 8106a25539 Merge pull request #569 from nowcommunity/move-boxes-right
Move boxes right
2024-11-20 12:30:28 +02:00
juhanikat 4fc080d51d Merge branch 'move-boxes-right' of github.com:nowcommunity/nowdatabase into move-boxes-right 2024-11-20 12:22:16 +02:00
juhanikat 77dba57274 changed layout a little bit and added documentation 2024-11-20 12:21:51 +02:00
juhanikatandEero Antikainen b84a96e31d moved New button to the right side, and removed useless Box from combinedExport button 2024-11-20 11:05:29 +02:00
juhanikatandEero Antikainen 3bacc5fff3 moved combined export box to the right 2024-11-20 11:05:29 +02:00
juhanikat 33ce1d894e numbers with less than 3 decimal places no longer get zeroes added to them 2024-11-19 12:51:53 +02:00
juhanikat bf0aba6252 moved New button to the right side, and removed useless Box from combinedExport button 2024-11-19 12:36:56 +02:00
juhanikat b9135f53b8 moved combined export box to the right 2024-11-18 16:07:07 +02:00
juhanikatandAaro Koivukangas bfc994387f min/max ages in locality table view are now rounded to 3 decimals 2024-11-15 15:27:30 +01:00
juhanikat 08ed780141 major changes to locality tests 2024-11-15 14:34:35 +02:00
juhanikatandSampo f5b96d71c7 added delete tests for timeUnit/timeBound when they are used by other entities, also fixed weird lint problem 2024-11-15 00:16:21 +02:00
juhanikatandSampo 5ef4e21056 added basic documentation for species 2024-11-15 00:01:21 +02:00
juhanikatandSampo 3cbd406720 updated user rights matrix image 2024-11-14 23:54:21 +02:00
juhanikatandSampo 8563b4bbcc update some sections 2024-11-14 23:54:21 +02:00
juhanikatandSampo a41c6c6b80 update user_rights.md to explain some EditRestricted stuff 2024-11-14 23:54:21 +02:00
juhanikatandSampo 17682a38c6 table shows null values with number zero 2024-11-14 23:34:05 +02:00
juhanikatandSampo d1ad8db406 fixed bug with reference table view year filter 2024-11-14 23:34:05 +02:00
juhanikatandGitHub 5c72c145e8 Merge pull request #536 from nowcommunity/fix-potential-error-with-radio-selector
fixed potential error with radio selector's default value
2024-11-14 10:09:31 +02:00
juhanikatandGitHub 5f1bb53523 Merge pull request #500 from nowcommunity/validate-all-tabs-on-load
Validate all fields when opening new/edit view
2024-11-13 14:16:36 +02:00
juhanikat 3834ea46f0 fixed potential error with radio selector's default value 2024-11-13 13:58:34 +02:00
juhanikatandSampo 0571d4c34a disabled the create new view from unauthorized users 2024-11-13 13:11:17 +02:00
juhanikatandSampo e328f80c12 added validator for unique identifier in species 2024-11-13 03:00:12 +02:00
juhanikatandSampo dd49c2d3e4 added documentation for localities 2024-11-13 02:44:34 +02:00
juhanikatandSampo 3ba0250d1e fixed issue with radio selector not having a default value, also updated tests and docs 2024-11-08 17:48:10 +02:00
juhanikatandEero Antikainen efe7c78d04 added tests for time unit creating/editing and added an id for the staging view return button 2024-11-08 13:04:00 +02:00
juhanikatandEero Antikainen e6a23e25cb added permission tests for deleting each type of entry, also chnaged the wording of other delete tests a bit and added todos 2024-11-08 12:57:20 +02:00
juhanikatandAaro Koivukangas 60fa37ff8f removed skips from some e2e tests and fixed them, also improved test descriptions 2024-11-07 12:06:38 +01:00
juhanikat 38ea962fce added documentation for the useEffect hook in editingComponents 2024-11-07 12:32:25 +02:00
juhanikat 3f15d61cab added a test to ensure this works 2024-11-07 12:32:25 +02:00
juhanikat e584569a0f changed the way editingComponents update the allErrors state, to make sure it's always up to date 2024-11-07 12:32:25 +02:00
juhanikat bf092aa317 remove useless stuff from useEffect dependency arrays 2024-11-07 12:32:25 +02:00
juhanikatandGitHub 6dbd50c023 Merge pull request #509 from nowcommunity/fix-dec-lat-field
fix the clearing of dec_lat field
2024-11-07 12:32:00 +02:00
juhanikat 24b4341006 Merge branch 'disable-save-button-if-validators-fail' of github.com:nowcommunity/nowdatabase into disable-save-button-if-validators-fail 2024-11-06 10:56:37 +02:00
juhanikat 3d6d4ef036 made the useEffect blocks a bit easier to read 2024-11-06 10:55:58 +02:00
juhanikatandGitHub e8608b55bb Merge branch 'main' into disable-save-button-if-validators-fail 2024-11-01 12:50:52 +02:00
juhanikat 0349247b0b change tests to work with the disabled button 2024-11-01 12:25:35 +02:00
juhanikat 974c4c0886 add missing dependencies to useEffects 2024-11-01 12:25:22 +02:00
juhanikat 180c8d7c63 add docs for time bound and update time unit docs 2024-11-01 11:48:15 +02:00
juhanikat 7134ac1042 add same bound test when updating time unit 2024-10-31 15:07:53 +02:00
juhanikat 4ba535d658 button is new disabled when creating a new entry too, though tabs only add their erros to allErrors when opened which is a problem 2024-10-31 13:25:34 +02:00
juhanikat ccc43db8b4 add allErrors-array to context and disable save button if it has anything in it 2024-10-31 12:37:53 +02:00
juhanikat df06352ed2 update validator docs and link to it from frontend.md 2024-10-31 11:20:46 +02:00
juhanikatandGitHub 6a908944fc Merge branch 'main' into add-up/low_bound-checking-to-time-unit-route 2024-10-30 16:00:53 +02:00
juhanikat 65ebebcb5b time unit route now validates up/low bounds too 2024-10-30 13:09:47 +02:00
juhanikat 568413dc54 added test for permissions when deleting reference 2024-10-30 12:10:12 +02:00
juhanikatandGitHub d1382bee0e Merge pull request #420 from nowcommunity/api-tests-for-reference-2
add permission test for reference creation
2024-10-30 12:02:19 +02:00
juhanikatandAaro Koivukangas b02b36c002 fixed more brackets issues 2024-10-29 22:42:40 +01:00
juhanikatandAaro Koivukangas a88da09951 fix missing brackets 2024-10-29 22:42:40 +01:00
juhanikatandAaro Koivukangas a39ea9e1cf add permission test for reference creation 2024-10-29 22:42:40 +01:00
juhanikatandGitHub 454bcdaa82 Merge pull request #417 from nowcommunity/jest-fix-open-handle-timeBound-update
removed an open handle in jest api-tests
2024-10-29 14:46:55 +02:00
juhanikatandGitHub 8892b0817c Merge pull request #413 from nowcommunity/permission-api-tests
Permission api tests for creating/updating data
2024-10-29 14:37:08 +02:00
juhanikat b3e81f79aa renamed variables 2024-10-29 14:27:43 +02:00
juhanikat 0e0318fce9 permission test for locality 2024-10-29 14:27:43 +02:00
juhanikat 11e1972292 permission tests for species, timeunit and timebound 2024-10-29 14:27:43 +02:00
juhanikatandAaro Koivukangas 9e66d94d2a fix bug with bounds in time unit edit view 2024-10-28 15:46:17 +01:00
juhanikat 1428b4f392 updated userRights tests and documentation and added id value for delete button 2024-10-28 11:02:46 +02:00
juhanikatandAaro Koivukangas a189a56733 added docs for editData and context 2024-10-25 14:55:55 +03:00
juhanikatandAaro Koivukangas fc2300b110 onWrite function now clears editData if edit fails 2024-10-25 12:57:51 +03:00
juhanikat 9e0709362d enabled test and changed title 2024-10-25 12:09:16 +03:00
juhanikatandkaarleol 085e35d6f8 changed test 2024-10-24 19:55:22 +03:00
juhanikatandkaarleol c7108fa0a7 do not disable name field if creating new time unit 2024-10-24 19:55:22 +03:00
juhanikatandkaarleol 9e8036984b skipped a test because it tested editing the name field 2024-10-24 19:55:22 +03:00
juhanikatandkaarleol a6a6cc0335 disable time unit name field 2024-10-24 19:55:22 +03:00
juhanikatandkaarleol 1e5c6ddde0 more fixing 2024-10-24 19:36:18 +03:00
juhanikatandkaarleol 14b5f9abfc fixed a bug where TimeUnitTab expects editData to have low_bound and up_bound 2024-10-24 19:36:18 +03:00
juhanikatandkaarleol 7615d42026 added docs for more components and updated existing docs 2024-10-24 19:29:11 +03:00
juhanikatandAaro Koivukangas ea2b692f7f Added docs for FieldWithTableSelection and FormTextField 2024-10-23 13:35:17 +03:00
juhanikat 3fbe2bfb0e Added docs for dropdownselector and time units 2024-10-22 13:48:09 +03:00
juhanikatandkaarleol f2b1b40aee radio selector now adds its defaultValue to editData 2024-10-18 12:22:07 +03:00
juhanikatandAaro Koivukangas 8b753d05c4 small code style fix 2024-10-18 10:09:25 +03:00
juhanikatandAaro Koivukangas 54526a8ee8 added various frontend improvements to time unit editing 2024-10-18 10:09:25 +03:00
juhanikat fa2f6bb65b added docs for radio selector and a link to it from frontend.md 2024-10-17 15:31:39 +03:00
juhanikat 15dbbac842 remove comment 2024-10-17 13:10:31 +03:00
juhanikat 6a7b9a2bf8 test that logs are added properly when editing time bound 2024-10-17 13:09:52 +03:00
juhanikatandSampo c20448c069 radio selector buttons now always have default values 2024-10-16 17:22:30 +03:00
juhanikatandMiina Saroma 7af44b51d6 rename some things I forgot to rename 2024-10-16 16:05:24 +03:00
juhanikatandMiina Saroma bce164f5ba rename new function in validator 2024-10-16 16:05:24 +03:00