Commit Graph
100 Commits
Author SHA1 Message Date
ShootingStar91 5e7477acc1 Add a few setup scripts; try to fix build version with log db 2024-06-11 15:35:15 +03:00
arttu 74ef9b3096 Fix order in workflow 2024-06-11 14:24:47 +03:00
arttu a48d23e5b9 Generate prisma-client in workflows 2024-06-11 14:21:01 +03:00
arttu 559159cd3f Fix merge things & add prisma generate script 2024-06-11 14:16:12 +03:00
arttu 97a2351d5d Merge branch 'main' into logConnection 2024-06-11 13:58:45 +03:00
arttu 701a0ee244 Connect to log db 2024-06-11 13:57:06 +03:00
arttu 0c31055dec Add id's to details buttons data-cy 2024-06-11 12:51:02 +03:00
arttu 03e637108a Locality > Species tab: Returned code for selecting species 2024-06-11 10:55:29 +03:00
arttu f83ca2717e Fix type issues 2024-06-11 10:25:19 +03:00
arttu d83e4f8999 Ignore prisma folder in eslint 2024-06-11 10:25:11 +03:00
arttu 227fc1a0a6 Fix vulnerability 2024-06-11 10:07:00 +03:00
arttu a87676fca7 add generated to gitignore 2024-06-11 09:55:31 +03:00
ShootingStar91 62806a18c6 Type fixes; comment species selecting out for now, editdatatype is not working 2024-06-10 12:57:36 +03:00
ShootingStar91 4a86a6f3e8 Merge Week-23 2024-06-10 12:08:35 +03:00
ShootingStar91 d4df7d8bdf remove taxa 2024-06-10 12:04:45 +03:00
arttu 1571b5cd97 Set height to menuitems in dropdown to make empty option same height 2024-06-07 15:36:10 +03:00
arttu 40cbe170c7 ReferenceTab: Make some text fields big 2024-06-07 14:59:43 +03:00
arttu 23f76b2e54 Fix boolean handling and read-mode display value functionality in dropdown & radiobutton 2024-06-07 14:27:24 +03:00
arttu 5c7e7b8f80 Change locality private status to draft. Also fix saving radiobutton booleans to db 2024-06-07 13:01:17 +03:00
arttu 737ffc9b59 Fix referencetab crashing after type change 2024-06-07 12:12:51 +03:00
arttu 28a0e3cd10 Improve & update readme's 2024-06-07 00:38:03 +03:00
arttu 2fcd29df26 Fix locality editing 2024-06-06 22:25:11 +03:00
arttu 5283b08c9f Make frontend work with actual types instead of turning edit data to string 2024-06-06 22:19:43 +03:00
arttu bde3534757 Change number type textfield to save & validate in number type 2024-06-06 18:53:28 +03:00
arttu f86d21e619 Minor code quality fixes 2024-06-06 18:47:06 +03:00
arttu 06ff51285a Fix tsc error 2024-06-06 18:30:22 +03:00
arttu 4d2a220a29 validation fixes in backend and frontend, saving still broken 2024-06-06 18:27:46 +03:00
arttu 7598d1bb8b Improve age validator code 2024-06-06 18:23:04 +03:00
arttu a80a3ab87c Refactor 2024-06-06 18:22:00 +03:00
arttu eaba5b1671 Make bigint into number instead of string 2024-06-06 18:18:32 +03:00
arttu 81581e447f Refactor backend edit route & service things 2024-06-06 17:57:33 +03:00
arttu d4a4fa08a3 Fix tests that broke in navbar change 2024-06-06 17:13:53 +03:00
arttu 8b8e6f5c3f Make input field with table selector read only (doesnt show caret) 2024-06-06 16:49:01 +03:00
arttu 36c6e15c77 Rework NavBar 2024-06-06 16:40:48 +03:00
arttu 24a6c94701 Fix ts errors 2024-06-06 13:39:36 +03:00
arttu f3cd9f7a94 Fix moderate vulnerability 2024-06-06 13:09:40 +03:00
arttu f7247d08b5 Fix cypress texts 2024-06-06 13:05:04 +03:00
arttu 11d333591c e2e workflow: Install root deps 2024-06-06 12:55:31 +03:00
arttu 7e0bb2afa9 e2e workflow: don't hang terminal 2024-06-06 12:50:41 +03:00
arttu c05891e77b Add workflow for e2e tests & npm test command for headless cypress 2024-06-06 12:48:56 +03:00
arttu 968e0452f6 Add simple test that checks all pages are functioning (tableview & detailview) 2024-06-06 12:34:23 +03:00
arttu bc13c36f7f Install cypress & make npm script to open 2024-06-06 12:04:40 +03:00
arttu 6fac6ab0cb Add anon-data, dockersetup, start script. User passwords set to test 2024-06-06 11:56:47 +03:00
ShootingStar91 c24d86a40b Add Reference-selecting to staging view 2024-06-05 23:01:08 +03:00
ShootingStar91 4627c64dfa Region & Project pages fixed 2024-06-05 15:52:24 +03:00
ShootingStar91 5955aa79aa Add initial version of fields to ReferenceTab: Works, but all are textfield 2024-06-05 15:27:32 +03:00
ShootingStar91 88efdd81c3 Ref type selection 2024-06-05 14:55:56 +03:00
ShootingStar91 0ffe1e16be Fix dropdown display value not showing if its different type e.g. number/string 2024-06-05 14:55:43 +03:00
ShootingStar91 5a78192f6e Make backend for ref types 2024-06-05 14:55:16 +03:00
ShootingStar91 4f8ef156d9 Make frontend queries for reference types 2024-06-05 14:55:01 +03:00
ShootingStar91 d6c900eacc Add initial version of ReferenceDetails 2024-06-05 13:59:05 +03:00
ShootingStar91 18c1196765 Small prop adjust 2024-06-05 13:58:51 +03:00
ShootingStar91 2b9695cade Rework title showing: fade too long text, simplify 2024-06-05 13:57:46 +03:00
ShootingStar91 8b74728942 Rename type projectdetails to ProjectDetailsType 2024-06-05 13:25:56 +03:00
ShootingStar91 a8689620ad Create handy check-script in root 2024-06-05 13:25:46 +03:00
ShootingStar91 a0f540d3d4 Make timeboundreducer accept id as also number 2024-06-05 13:25:14 +03:00
ShootingStar91 3d3b429dbd Create new table: SimpleTable, which should be used in tabs when table does not need to be editable 2024-06-05 13:11:07 +03:00
arttu f6f88fbab0 Merged week 23 2024-06-04 17:22:36 +03:00
ShootingStar91 c846cb5ec5 Merge week 22: Time unit details, project, region, admin links 2024-06-03 14:01:02 +03:00
ShootingStar91 b9f99603df time unit fixes 2024-06-03 10:09:00 +03:00
arttu 969bda6a4d Fix type errors 2024-05-30 13:50:11 +03:00
arttu 94937fe9e2 Re-do editdata type: make all fields strings and optional for edit data 2024-05-30 13:34:04 +03:00
arttu 573a138edf Add notice of shared files in validators readme 2024-05-30 11:50:20 +03:00
arttu 420172d880 Fix backend renamed types 2024-05-30 09:03:43 +03:00
arttu d67df8ce3c Remove ignore rule 2024-05-30 09:03:31 +03:00
arttu 20822070c4 Add ability to disable editing fields 2024-05-30 09:01:38 +03:00
arttu a73f92c108 Fix lint error 2024-05-30 09:01:18 +03:00
arttu c7bc3dfddb Add missing bfa abs fields to agetab, adjust field width 2024-05-30 09:00:56 +03:00
arttu 2d4288097a Use time unit selector also in bfa_max 2024-05-29 23:05:38 +03:00
arttu 0d344a4778 Fix typescript errors tableview 2024-05-29 21:41:54 +03:00
arttu e1a62f5445 Add component for selecting single value from table to field 2024-05-29 21:39:46 +03:00
arttu 829a93d7fc TableView: make idfieldname optional 2024-05-29 21:39:22 +03:00
arttu fc1184ce7b Dont update idList when in selecting table 2024-05-29 20:18:55 +03:00
arttu 6db587adce Rename museum reference away from SelectingTable 2024-05-29 15:48:35 +03:00
arttu 07c754c1ab Make update tabs non-editable 2024-05-29 15:27:23 +03:00
arttu f1105f6c15 Adjust detail mode text to work better in edit and create new modes 2024-05-29 15:26:27 +03:00
arttu 55c7b2593f Refactor page definitions to their own file 2024-05-29 15:15:36 +03:00
arttu 56f0ccebcf Add title (name of item) to each detail view, rename detailtypes 2024-05-29 15:11:30 +03:00
arttu a8eff5bb34 Refactor detailview modes 2024-05-29 13:50:46 +03:00
arttu 47d33761f3 Rename referenceselection to StagingView and add some fields 2024-05-29 13:02:38 +03:00
arttu dc9c57e5a2 Add initial version of reference selection on saving 2024-05-29 12:00:56 +03:00
arttu aba08c450e Fix tsc error 2024-05-28 22:28:37 +03:00
arttu 12adb5db04 Improve validators readme 2024-05-28 22:27:04 +03:00
arttu ddec200a5e Add link to validators readme 2024-05-28 22:25:21 +03:00
arttu ec91f494e6 Rework validators, create readme for validators 2024-05-28 22:24:22 +03:00
arttu f8410fe7f4 TableView: Fix re-render loop 2024-05-28 22:23:57 +03:00
arttu 438392164a Rework EditableTable to separate data & editData 2024-05-28 19:36:40 +03:00
arttu 40bcf455ac Fix few bugs of TopBar item indexes 2024-05-28 18:37:38 +03:00
ShootingStar91 1c472e525f Minor fixes to validations 2024-05-28 15:43:14 +03:00
ShootingStar91 3c11327bad Refactor TableView to use hook; create new Page component, save search id's in list, add TopBar with previous/next buttons on DetailView 2024-05-28 14:46:44 +03:00
ShootingStar91 61e7c462bd Use bigTextField in necessary fields 2024-05-28 12:17:44 +03:00
ShootingStar91 2756f54b52 Make new function bigTextField which renders textfield as multiline version 2024-05-28 12:12:54 +03:00
ShootingStar91 ff2ba44184 Update contributing.md 2024-05-28 11:50:27 +03:00
ShootingStar91 b884137a63 Add example validator 2024-05-28 11:47:42 +03:00
ShootingStar91 91c295a3fc Remove adding new sed struct 2024-05-28 11:46:53 +03:00
arttu e789d0470b Fix types, adjust SelectingTable to work when editabletable and selectingtable have differing types 2024-05-27 22:56:09 +03:00
ShootingStar91 e5d1831f5f Merge branch 'main' into Week-21-Kari 2024-05-24 12:07:30 +03:00
ShootingStar91 a93f775c4d Make Sedimentary structure adding use EditingForm 2024-05-24 11:54:55 +03:00
ShootingStar91 f93d2e1e53 Fix EditingForm hard-coded field 2024-05-24 11:43:53 +03:00
ShootingStar91 9b9d3a47b9 Unify field widths 2024-05-24 11:43:53 +03:00